/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/spi/ |
H A D | spi_adapter.c | 164 transfer = kcalloc(1, sizeof(*transfer), GFP_KERNEL); in SpiAdapterTransferOneMsg() 165 if (transfer == NULL) { in SpiAdapterTransferOneMsg() 171 transfer->tx_buf = msg->wbuf; in SpiAdapterTransferOneMsg() 172 transfer->rx_buf = msg->rbuf; in SpiAdapterTransferOneMsg() 173 transfer->len = msg->len; in SpiAdapterTransferOneMsg() 174 transfer->speed_hz = msg->speed; in SpiAdapterTransferOneMsg() 185 kfree(transfer); in SpiAdapterTransferOneMsg() 228 transfer = kcalloc(count, sizeof(*transfer), GFP_KERNEL); in SpiAdapterTransferDifferent() 229 if (transfer == NULL) { in SpiAdapterTransferDifferent() 238 transfer[i].len = msg[i].len; in SpiAdapterTransferDifferent() [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | color_utils_test.cpp | 111 uint16_t transfer = 0; variable 114 …ColorUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::SRGB, primaries, transfer, matrix, ran… 115 …ColorUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::SRGB_LIMIT, primaries, transfer, matri… 116 …ColorUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::DISPLAY_P3, primaries, transfer, matri… 117 …orSpaceGetCicp(ColorManager::ColorSpaceName::DISPLAY_P3_LIMIT, primaries, transfer, matrix, range); 118 …ColorUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::DCI_P3, primaries, transfer, matrix, r… 119 …ColorUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::BT2020, primaries, transfer, matrix, r… 120 …ColorUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::BT2020_HLG, primaries, transfer, matri… 121 …orSpaceGetCicp(ColorManager::ColorSpaceName::BT2020_HLG_LIMIT, primaries, transfer, matrix, range); 122 …ColorUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::BT2020_PQ, primaries, transfer, matrix… [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | color_utils.cpp | 57 ColorManager::ColorSpaceName P3ToColorSpace(uint16_t transfer, uint8_t range) in P3ToColorSpace() argument 59 if (transfer == CICP_TRANSFER_PQ) { in P3ToColorSpace() 61 } else if (transfer == CICP_TRANSFER_HLG) { in P3ToColorSpace() 63 } else if (transfer == CICP_TRANSFER_SRGB) { in P3ToColorSpace() 69 ColorManager::ColorSpaceName BT2020ToColorSpace(uint16_t transfer, uint8_t range) in BT2020ToColorSpace() argument 71 if (transfer == CICP_TRANSFER_PQ) { in BT2020ToColorSpace() 73 } else if (transfer == CICP_TRANSFER_HLG) { in BT2020ToColorSpace() 79 ColorManager::ColorSpaceName ColorUtils::CicpToColorSpace(uint16_t primaries, uint16_t transfer, in CicpToColorSpace() argument 86 return P3ToColorSpace(transfer, range); in CicpToColorSpace() 88 return BT2020ToColorSpace(transfer, range); in CicpToColorSpace() [all …]
|
/ohos5.0/docs/en/application-dev/arkts-utils/ |
H A D | arraybuffer-object.md | 3 …tion and deserialization. However, the native memory has two transmission modes: copy and transfer. 9 If the transfer mode is used, the original thread cannot use the ArrayBuffer object. In cross-threa… 11  13 …transfer the image to a subthread to perform these operations. The transfer mode has higher perfor… 15 The following describes how to transfer an image to a subthread by copying and transferring the ima… 17 ## ArrayBuffer copy transfer mode 19 …Buffer data, the transfer mode is used by default. You can call the setTransferList () API to spec… 40 if (!isParamsByTransfer) {// Whether to use the transfer mode 86 ## ArrayBuffer transfer mode 88 In the TaskPool, the transfer mode is used by default when the ArrayBuffer data is transferred. The…
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/bundlemanager/bundle_framework/system/ |
H A D | service_router.te | 14 allow service_router samgr:binder { transfer}; 19 allow service_router system_basic_hap_attr:binder { call transfer }; 21 allow service_router foundation:binder { call transfer}; 29 allow service_router accesstoken_service:binder { call transfer }; 32 allow service_router accountmgr:binder { call transfer}; 35 allow accountmgr service_router:binder { call transfer}; 36 allow foundation service_router:binder { call transfer}; 37 allow system_core_hap_attr service_router:binder { call transfer }; 38 allow system_basic_hap_attr service_router:binder { call transfer };
|
H A D | foundation.te | 49 allow foundation bgtaskmgr_service:binder { call transfer }; 68 allow foundation distributeddata:binder { call transfer }; 72 allow foundation hdf_devmgr:binder { call transfer }; 73 allow foundation hiview:binder { transfer }; 74 allow foundation huks_service:binder { call transfer }; 87 allow foundation render_service:binder { call transfer }; 107 allow foundation softbus_server:binder { call transfer }; 108 allow foundation storage_manager:binder { call transfer }; 117 allow foundation time_service:binder { call transfer }; 122 allow foundation wifi_manager_service:binder { transfer }; [all …]
|
H A D | bm.te | 20 allow samgr bm:binder { call transfer }; 21 allow accountmgr bm:binder { transfer }; 28 allow bm foundation:binder { call transfer }; 38 allow foundation bm:binder { call transfer }; 42 allow bm accountmgr:binder { call transfer }; 56 allow bm quick_fix:binder { call transfer }; 71 allow bm samgr:binder { transfer }; 76 allow samgr bm:binder { call transfer }; 77 allow accountmgr bm:binder { transfer }; 84 allow bm foundation:binder { call transfer }; [all …]
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/bundlemanager/distributed_bundle_framework/system/ |
H A D | d-bms.te | 15 allow d-bms accesstoken_service:binder { call transfer }; 16 allow d-bms accountmgr:binder { call transfer }; 18 allow d-bms device_manager:binder { call transfer }; 23 allow d-bms distributeddata:binder { call transfer }; 25 allow d-bms foundation:binder { call transfer}; 34 allow d-bms softbus_server:binder { call transfer }; 36 allow d-bms system_basic_hap_attr:binder { call transfer }; 45 allow accountmgr d-bms:binder { call transfer }; 46 allow distributeddata d-bms:binder { call transfer }; 47 allow foundation d-bms:binder { call transfer };
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/ability/ability_runtime/system/ |
H A D | foundation.te | 22 allow foundation bgtaskmgr_service:binder { call transfer }; 35 allow foundation distributeddata:binder { call transfer }; 40 allow foundation hdcd:binder { transfer }; 41 allow foundation hdf_devmgr:binder { call transfer }; 43 allow foundation hiview:binder { transfer }; 44 allow foundation memmgrservice:binder { call transfer }; 45 allow foundation multimodalinput:binder { transfer }; 51 allow foundation render_service:binder { call transfer }; 81 allow foundation screenlock_server:binder { call transfer }; 97 allow foundation quick_fix:binder { call transfer }; [all …]
|
/ohos5.0/docs/en/application-dev/basic-services/usb/ |
H A D | usb-guidelines.md | 7 …sable the devices, manage device access permissions, and perform data transfer or control transfer. 12 …s the following functions: query of USB device list, bulk data transfer, control transfer, and acc… 38 You can set a USB device as a host to connect to a device for data transfer. The development proced… 119 // Open the device, and obtain the USB device pipe for data transfer. 129 4. Perform data transfer. Currently, only bulk transfer and control transfer are supported. 131 - Bulk transfer 137 Read data. Select the corresponding RX endpoint from deviceList for data transfer. 152 …// Send data. Select the corresponding TX endpoint from deviceList for data transfer. (endpoint.di… 164 - Control transfer 171 Construct control transfer parameters. [all …]
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/multimedia/av_session/system/ |
H A D | av_session.te | 28 allow av_session foundation:binder { call transfer }; 35 allow av_session sh:binder { call transfer }; 38 allow av_session system_core_hap_attr:binder { call transfer }; 44 allow av_session audio_server:binder { call transfer }; 45 allow av_session device_manager:binder { call transfer }; 46 allow av_session param_watcher:binder { call transfer }; 58 allow av_session normal_hap_attr:binder { transfer call }; 60 allow av_session distributeddata:binder { call transfer }; 61 allow av_session softbus_server:binder { call transfer }; 72 allow av_session bgtaskmgr_service:binder { call transfer }; [all …]
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/codec/ |
H A D | _color_aspects_v20.md | 22 | enum [Transfer](_codec_v20.md#transfer)[transfer](#transfer) | 视频传递函数 | 59 ### transfer subsection 62 enum Transfer ColorAspects::transfer
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/distributeddatamgr/distributeddatamgr/system/ |
H A D | distributeddata.te | 18 allow distributeddata audio_server:binder { call transfer }; 36 allow distributeddata device_manager:binder { call transfer }; 46 allow distributeddata dslm_service:binder { call transfer }; 49 allow distributeddata foundation:binder { call transfer }; 52 allow distributeddata hdcd:binder { call transfer }; 82 allow distributeddata samgr:binder { call transfer }; 118 allow distributeddata locationhub:binder { transfer }; 119 allow distributeddata netmanager:binder { call transfer }; 120 allow distributeddata accountmgr:binder { transfer }; 137 allow distributeddata dhardware:binder { call transfer }; [all …]
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/sharing_service/system/ |
H A D | sharing_service.te | 15 allow sharing_service foundation:binder { call transfer }; 33 allow sharing_service system_core_hap_attr:binder { call transfer }; 42 allow sharing_service device_manager:binder { call transfer }; 43 allow sharing_service softbus_server:binder { call transfer }; 46 allow sharing_service media_service:binder { call transfer }; 53 allow sharing_service wifi_manager_service:binder { call transfer}; 54 allow wifi_manager_service sharing_service:binder { call transfer }; 57 allow sharing_service av_codec_service:binder { call transfer }; 74 allow sharing_service audio_server:binder { call transfer }; 81 allow sharing_service render_service:binder { transfer }; [all …]
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/distributedschedule/samgr/system/ |
H A D | foundation.te | 28 allow foundation distributeddata:binder { call transfer }; 29 allow foundation distributedsche:binder { call transfer }; 31 allow foundation dscreen:binder { call transfer }; 34 allow foundation hdf_devmgr:binder { call transfer }; 35 allow foundation hiview:binder { transfer }; 37 allow foundation msdp_sa:binder { call transfer }; 43 allow foundation param_watcher:binder { call transfer }; 44 allow foundation power_host:binder { call transfer }; 54 allow foundation telephony_sa:binder { call transfer };
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/developtools/hdc/system/ |
H A D | su.te | 36 allow foundation su:binder { call transfer }; 37 allow powermgr su:binder { call transfer }; 46 allow accountmgr su:binder { transfer }; 82 allow dcamera su:binder { call transfer }; 86 allow dscreen su:binder { call transfer }; 91 allow samgr su:binder { call transfer }; 109 allow audio_host su:binder { transfer }; 139 allow hiview su:binder { call transfer }; 200 allow hdf_devmgr su:binder transfer; 263 allow foundation su:binder { transfer }; [all …]
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/resourceschedule/resource_schedule_service/system/ |
H A D | resource_schedule_service.te | 17 allow resource_schedule_service param_watcher:binder { call transfer }; 19 allow resource_schedule_service audio_server:binder { call transfer }; 20 allow resource_schedule_service msdp_sa:binder { call transfer }; 34 allow resource_schedule_service distributeddata:binder { transfer }; 94 # avc: denied { transfer } for pid=657 comm="IPC_3_2264" scontext=u:r:resource_schedule_service:s0… 95 allow resource_schedule_service sensors:binder { transfer }; 100 allow resource_schedule_service sa_time_service:binder { transfer }; 102 allow resource_schedule_service time_service:binder { transfer }; 124 #transfer : allow rss to transfer result to normal_hap_attr/system_basic_hap_attr/system_core_hap_a… 149 allow resource_schedule_service hiview:binder { call transfer }; [all …]
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/account/os_account/system/ |
H A D | accountmgr.te | 23 allow accountmgr init:binder { call transfer }; 60 allow accountmgr storage_manager:binder { transfer }; 61 allow accountmgr distributeddata:binder { transfer }; 65 allow accountmgr param_watcher:binder { transfer }; 88 allow accountmgr huks_service:binder { call transfer }; 90 allow accountmgr accessibility:binder { transfer }; 109 allow accountmgr time_service:binder { call transfer }; 113 allow accountmgr hiview:binder { transfer }; 121 allow accountmgr locationhub:binder { transfer }; 130 allow accountmgr softbus_server:binder { transfer }; [all …]
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-small-debug-shell-net-tftp.md | 6 …between clients and servers. TFTP provides simple and low-overhead file transfer services. The por… 8 The **tftp** command is used to transfer files with a TFTP server. 22 | -g/-p | Specifies the file transfer direction.<br>- **-g**: obtains a file from the TFTP server.<… 49 TFTP transfer finish 52 …ftp** command is executed, **TFTP transfer finish** is displayed if the file transfer is complete.…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | _native_color_space_manager.md | 146 | SRGB_LIMIT | Color space with the color primaries of SRGB, the transfer characteristics of SRGB, … 147 | BT709_LIMIT | Color space with the color primaries of BT.709, the transfer characteristics of BT.… 151 | BT2020_PQ_LIMIT | Color space with the color primaries of BT.2020, the transfer characteristics o… 152 | P3_HLG_LIMIT | Color space with the color primaries of P3_D65, the transfer characteristics of HL… 153 | P3_PQ_LIMIT | Color space with the color primaries of P3_D65, the transfer characteristics of PQ,… 154 | LINEAR_P3 | Color space with the color primaries of P3_D65 and the transfer characteristic of LIN… 155 | LINEAR_SRGB | Color space with the color primaries of SRGB and the transfer characteristic of LIN… 156 | LINEAR_BT709 | Color space with the color primaries of BT.709 and the transfer characteristic of … 157 | LINEAR_BT2020 | Color space with the color primaries of BT.2020 and the transfer characteristic o… 158 | DISPLAY_SRGB | Color space with the color primaries of SRGB, the transfer characteristics of SRGB… [all …]
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/drivers/adapter/vendor/ |
H A D | hdf_devmgr.te | 77 allow hdf_devmgr sh:binder { call transfer }; 84 allow hdf_devmgr a2dp_host:binder { call transfer }; 88 allow hdf_devmgr blue_host:binder { call transfer }; 115 allow hdf_devmgr dcamera:binder { call transfer }; 123 allow hdf_devmgr dscreen:binder { transfer }; 133 allow hdf_devmgr foundation:binder { call transfer }; 153 allow hdf_devmgr locationhub:binder { transfer }; 157 allow hdf_devmgr media_service:binder { transfer }; 181 allow hdf_devmgr power_host:binder { transfer }; 201 allow hdf_devmgr usb_host:binder { call transfer }; [all …]
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/telephony/telephony_sa/system/ |
H A D | telephony_sa.te | 25 allow telephony_sa distributeddata:binder { call transfer }; 28 allow telephony_sa foundation:binder { call transfer }; 30 allow telephony_sa init:binder { call transfer }; 33 allow telephony_sa netmanager:binder { call transfer }; 34 allow telephony_sa netsysnative:binder { call transfer }; 35 allow telephony_sa normal_hap_attr:binder { call transfer }; 41 allow telephony_sa riladapter_host:binder { call transfer }; 78 allow telephony_sa sh:binder { call transfer }; 99 allow telephony_sa locationhub:binder { call transfer }; 109 allow telephony_sa camera_service:binder { call transfer }; [all …]
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/miscservices/pasteboard_native/system/ |
H A D | pasteboard_service.te | 14 allow pasteboard_service system_core_hap_attr:binder { call transfer }; 16 allow pasteboard_service normal_hap_attr:binder { call transfer }; 19 allow pasteboard_service foundation:binder { call transfer }; 28 allow pasteboard_service distributeddata:binder { call transfer }; 32 allow pasteboard_service device_manager:binder { call transfer }; 33 allow pasteboard_service distributedsche:binder { call transfer }; 48 allow pasteboard_service accountmgr:binder { call transfer }; 49 allow pasteboard_service foundation:binder { call transfer }; 60 allow pasteboard_service ui_service:binder { call transfer }; 65 allow pasteboard_service sh:binder { call transfer }; [all …]
|
/ohos5.0/base/security/dataclassification/ |
H A D | README.md | 6 …e data transfer management module provides cross-device data transfer management and control polic… 8 The figure below illustrates the deployment logic of the data transfer management module. 14 - Data transfer management module: provides management and control policies for cross-device data… 16 … management module: provides device security level information for data transfer management and co… 26 …cks data transmission based on the data risk level returned by the data transfer management module… 42 **Table 2** APIs of the data transfer management module
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/distributedhardware/distributed_audio/system/ |
H A D | daudio.te | 20 allow daudio media_service:binder { call transfer}; 50 allow daudio daudio_host:binder { call transfer }; 68 allow daudio softbus_server:binder { call transfer }; 76 allow daudio hdf_devmgr:binder { call transfer }; 90 allow daudio audio_server:binder { call transfer }; 94 allow daudio param_watcher:binder { call transfer }; 134 allow daudio dhardware:binder { transfer }; 138 allow daudio dslm_service:binder { call transfer }; 140 allow daudio device_manager:binder { call transfer }; 156 allow daudio codec_host:binder { call transfer };
|