Searched refs:uuidSize (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/ |
H A D | bluetooth_ble_scan_result.cpp | 128 int32_t uuidSize = 0; in ReadServiceUuidsFromParcel() local 129 if (!parcel.ReadInt32(uuidSize) || uuidSize > BLE_SCAN_READ_DATA_SIZE_MAX_LEN) { in ReadServiceUuidsFromParcel() 133 for (int i = 0; i < uuidSize; ++i) { in ReadServiceUuidsFromParcel()
|
/ohos5.0/foundation/communication/nfc/services/src/tag/ |
H A D | ndef_bt_data_parser.cpp | 166 uint32_t uuidSize; in GetUuidFromPayload() local 171 uuidSize = Bluetooth::BLE_UUID_LEN_16; in GetUuidFromPayload() 175 uuidSize = Bluetooth::BLE_UUID_LEN_32; in GetUuidFromPayload() 179 uuidSize = Bluetooth::BLE_UUID_LEN_128; in GetUuidFromPayload() 185 …if (len == 0 || (len % uuidSize != 0) || len * HEX_BYTE_LEN > (payload.length() - (offset * HEX_BY… in GetUuidFromPayload() 188 uint32_t uuidNum = len / uuidSize; in GetUuidFromPayload() 190 std::string uuid = payload.substr(offset * HEX_BYTE_LEN, uuidSize * HEX_BYTE_LEN); in GetUuidFromPayload() 191 offset += uuidSize; in GetUuidFromPayload()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
H A D | bluetooth_remote_device_observer_proxy.cpp | 82 size_t uuidSize = uuids.size(); in OnRemoteUuidChanged() local 83 if (uuidSize > UINT16_MAX) { in OnRemoteUuidChanged() 84 … HILOGE("[OnRemoteUuidChanged], uuidSize = %{public}zu exceeds the maximum number.", uuidSize); in OnRemoteUuidChanged() 87 if (!data.WriteUint16(uuidSize)) { in OnRemoteUuidChanged()
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_remote_device_observer_stub.cpp | 115 uint16_t uuidSize = data.ReadUint16(); in OnRemoteNameUuidChangedInner() local 116 if (uuidSize > UUID_SIZE_MAX) { in OnRemoteNameUuidChangedInner() 117 HILOGE("uuidSize = %{public}hu exceeds the maximum 1024.", uuidSize); in OnRemoteNameUuidChangedInner() 121 for (uint16_t i = 0; i < uuidSize; ++i) { in OnRemoteNameUuidChangedInner()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_manager_virtual.c | 81 static int32_t GetRemoteUuidByIp(const char *remoteIp, char *uuid, int32_t uuidSize) in GetRemoteUuidByIp() argument 85 (void)uuidSize; in GetRemoteUuidByIp()
|
H A D | wifi_direct_manager.h | 66 int32_t (*getRemoteUuidByIp)(const char *remoteIp, char *uuid, int32_t uuidSize);
|
H A D | wifi_direct_manager.cpp | 367 static int32_t GetRemoteUuidByIp(const char *remoteIp, char *uuid, int32_t uuidSize) in GetRemoteUuidByIp() argument 373 if (strcpy_s(uuid, uuidSize, innerLink.GetRemoteDeviceId().c_str()) != EOK) { in GetRemoteUuidByIp()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/ |
H A D | m3u8.cpp | 356 uint32_t uuidSize = 16; // 16: uuid len in SetDrmInfo() local 357 if (psshSize >= DRM_UUID_OFFSET + uuidSize) { in SetDrmInfo() 359 NZERO_RETURN_V(memcpy_s(uuid, sizeof(uuid), pssh + DRM_UUID_OFFSET, uuidSize), false); in SetDrmInfo() 362 for (uint32_t i = 0; i < uuidSize; i++) { in SetDrmInfo()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/ |
H A D | dash_mpd_downloader.cpp | 613 uint32_t uuidSize = 16; // 16: uuid len in ProcessDrmInfos() local 614 if (psshSize < DRM_UUID_OFFSET + uuidSize) { in ProcessDrmInfos() 619 errno_t ret = memcpy_s(uuid, sizeof(uuid), pssh + DRM_UUID_OFFSET, uuidSize); in ProcessDrmInfos() 626 for (uint32_t i = 0; i < uuidSize; i++) { in ProcessDrmInfos()
|