Searched refs:uuidSize (Results 1 - 9 of 9) sorted by relevance
/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/ |
H A D | bluetooth_ble_scan_result.cpp | 125 int32_t uuidSize = 0; in ReadServiceUuidsFromParcel() local 126 if (!parcel.ReadInt32(uuidSize) || uuidSize > BLE_SCAN_READ_DATA_SIZE_MAX_LEN) { in ReadServiceUuidsFromParcel() 130 for (int i = 0; i < uuidSize; ++i) { in ReadServiceUuidsFromParcel()
|
/foundation/communication/nfc/services/src/tag/ |
H A D | ndef_bt_data_parser.cpp | 169 uint32_t uuidSize;
in GetUuidFromPayload() local 174 uuidSize = Bluetooth::BLE_UUID_LEN_16;
in GetUuidFromPayload() 178 uuidSize = Bluetooth::BLE_UUID_LEN_32;
in GetUuidFromPayload() 182 uuidSize = Bluetooth::BLE_UUID_LEN_128;
in GetUuidFromPayload() 188 if (len == 0 || (len % uuidSize != 0) || len * HEX_BYTE_LEN > (payload.length() - (offset * HEX_BYTE_LEN))) {
in GetUuidFromPayload() 191 uint32_t uuidNum = len / uuidSize;
in GetUuidFromPayload() 193 std::string uuid = payload.substr(offset * HEX_BYTE_LEN, uuidSize * HEX_BYTE_LEN);
in GetUuidFromPayload() 194 offset += uuidSize;
in GetUuidFromPayload()
|
/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()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_remote_device_observer_stub.cpp | 112 uint16_t uuidSize = data.ReadUint16(); in OnRemoteNameUuidChangedInner() local 113 if (uuidSize > UUID_SIZE_MAX) { in OnRemoteNameUuidChangedInner() 114 HILOGE("uuidSize = %{public}hu exceeds the maximum 1024.", uuidSize); in OnRemoteNameUuidChangedInner() 118 for (uint16_t i = 0; i < uuidSize; ++i) { in OnRemoteNameUuidChangedInner()
|
/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 | 63 int32_t (*getRemoteUuidByIp)(const char *remoteIp, char *uuid, int32_t uuidSize);
|
H A D | wifi_direct_manager.cpp | 364 static int32_t GetRemoteUuidByIp(const char *remoteIp, char *uuid, int32_t uuidSize) in GetRemoteUuidByIp() argument 368 [&found, &uuid, uuidSize, remoteIp](const OHOS::SoftBus::InnerLink &innerLink) { in GetRemoteUuidByIp() 371 if (strcpy_s(uuid, uuidSize, innerLink.GetRemoteDeviceId().c_str()) != EOK) { in GetRemoteUuidByIp()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/ |
H A D | m3u8.cpp | 352 uint32_t uuidSize = 16; // 16: uuid len in SetDrmInfo() local 353 if (psshSize >= DRM_UUID_OFFSET + uuidSize) { in SetDrmInfo() 355 NZERO_RETURN_V(memcpy_s(uuid, sizeof(uuid), pssh + DRM_UUID_OFFSET, uuidSize), false); in SetDrmInfo() 358 for (uint32_t i = 0; i < uuidSize; i++) { in SetDrmInfo()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/ |
H A D | dash_mpd_downloader.cpp | 612 uint32_t uuidSize = 16; // 16: uuid len in ProcessDrmInfos() local 613 if (psshSize < DRM_UUID_OFFSET + uuidSize) { in ProcessDrmInfos() 618 errno_t ret = memcpy_s(uuid, sizeof(uuid), pssh + DRM_UUID_OFFSET, uuidSize); in ProcessDrmInfos() 625 for (uint32_t i = 0; i < uuidSize; i++) { in ProcessDrmInfos()
|
Completed in 9 milliseconds