/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/ |
H A D | gatt_profile_defines.h | 114 Uuid uuid_ = {}; member 118 : startHandle_(starthandle), endHandle_(endHandle), reqType_(reqType), uuid_(uuid), reqId_(reqId) in GattRequestInfo() 126 uuid_(uuid), in GattRequestInfo() 137 GattRequestInfo(const Uuid &uuid, ResponesType reqType, int reqId) : reqType_(reqType), uuid_(uuid), reqId_(reqId) in GattRequestInfo()
|
H A D | gatt_database.cpp | 58 AttributeEntity cccAttributeValue(ccc.permissions_, ccc.valueHandle_, ccc.uuid_); in AddService() 68 AttributeEntity descAttributeValue(descriptor.permissions_, descriptor.handle_, descriptor.uuid_); in AddService() 407 includeService.uuid_ = sIt->second.uuid_; in CheckIncludeServicesLegality() 436 if (service.uuid_.ConvertTo16Bits() == 0x180A) { // DIS in CheckRestrictedGattBasedService() 442 } else if (service.uuid_.ConvertTo16Bits() == 0x1800) { // GAS in CheckRestrictedGattBasedService() 448 } else if (service.uuid_.ConvertTo16Bits() == 0x1801) { // GATTS in CheckRestrictedGattBasedService() 461 return std::count_if(descriptors.begin(), descriptors.end(), [&uuid](auto &item) { return uuid == item.uuid_; }); in CountDescriptorByUuid()
|
H A D | gatt_server_profile.cpp | 401 uint16_t uuidLen = service->second.uuid_.GetUuidType(); in DiscoverAllPrimaryServiceResponse() 471 if (startHandle <= service->second.handle_ && service->second.uuid_.operator==(uuid) && in DiscoverPrimaryServiceByUuidResponse() 530 if (isvc->uuid_.GetUuidType() == UUID_16BIT_LEN) { in FindIncludedServiceResponse() 531 uint16_t uuid16bit = isvc->uuid_.ConvertTo16Bits(); in FindIncludedServiceResponse() 580 uint16_t uuidLen = characteristic->uuid_.GetUuidType(); in DiscoverCharacteristicResponse() 1211 db_.GetCharacteristic(attHandle)->uuid_.operator==(uuid)) { in FindCharacteristicValueByUuid() 1227 if (db_.GetDescriptor(attHandle) != nullptr && db_.GetDescriptor(attHandle)->uuid_.operator==(uuid)) { in FindCharacteristicDescriptorByUuid() 1246 Buffer *value = BufferMalloc(db_.GetService(attHandle)->uuid_.GetUuidType()); in AssembleServicePackage() 1247 if (db_.GetService(attHandle)->uuid_.GetUuidType() == UUID_16BIT_LEN) { in AssembleServicePackage() 1248 uint16_t uuid16Bit = db_.GetService(attHandle)->uuid_ in AssembleServicePackage() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
H A D | profile_info.h | 46 ProfileInfo(const std::string &name, uint32_t id, const std::string &uuid) : name_(name), id_(id), uuid_(uuid){}; in ProfileInfo() 55 std::string uuid_ = {""}; member
|
H A D | profile_service_manager.cpp | 517 (state == ServiceStateID::TURN_ON) && (sp.uuid_ != "") && in GetProfileServicesSupportedUuids() 518 (std::find(uuids.begin(), uuids.end(), sp.uuid_) == uuids.end())) { in GetProfileServicesSupportedUuids() 519 uuids.push_back(sp.uuid_); in GetProfileServicesSupportedUuids() 522 (state == ServiceStateID::TURN_ON) && (sp.uuid_ != "") && in GetProfileServicesSupportedUuids() 523 (std::find(uuids.begin(), uuids.end(), sp.uuid_) == uuids.end())) { in GetProfileServicesSupportedUuids() 524 uuids.push_back(sp.uuid_); in GetProfileServicesSupportedUuids()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/ |
H A D | bluetooth_sensing_info.cpp | 26 if (!parcel.WriteString(uuid_)) { in Marshalling() 64 if (!parcel.ReadString(uuid_)) { in ReadFromParcel()
|
H A D | bluetooth_hfp_hf_call.cpp | 53 BluetoothUuid uuid = BluetoothUuid(uuid_); in WriteToParcel() 90 uuid_ = BluetoothUuid(*uuid); in ReadFromParcel()
|
H A D | bluetooth_gatt_service_parcel.cpp | 39 BluetoothUuid uuid(uuid_); in Marshalling() 99 uuid_ = BluetoothUuid(*uuid); in ReadFromParcel()
|
H A D | bluetooth_gatt_descriptor_parcel.cpp | 40 BluetoothUuid uuid(uuid_); in Marshalling() 94 uuid_ = bluetooth::Uuid(*uuid); in ReadFromParcel()
|
H A D | bluetooth_gatt_characteristic_parcel.cpp | 50 BluetoothUuid uuid(uuid_); in Marshalling() 131 uuid_ = bluetooth::Uuid(*uuid); in ReadFromParcel()
|
/foundation/communication/bluetooth_service/test/unittest/spp/ |
H A D | spp_test.cpp | 44 UUID uuid_; member in OHOS::Bluetooth::SocketTest 58 uuid_ = UUID::FromString("11111111-0000-1000-8000-00805F9B34FB"); in SetUp() 61 sppServerSocket_ = SocketFactory::DataListenRfcommByServiceRecord("server", uuid_); in SetUp()
|
/foundation/ai/intelligent_voice_framework/services/intell_voice_trigger/server/ |
H A D | trigger_base_type.h | 47 return uuid_; in GetUuid() 71 int32_t uuid_ = -1; member in OHOS::IntellVoiceTrigger::TriggerModel
|
H A D | trigger_detector.h | 35 int32_t uuid_ = -1; member in OHOS::IntellVoiceTrigger::TriggerDetector
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/ |
H A D | hid_host_hogp.cpp | 341 if (service.uuid_ == Uuid::ConvertFrom16Bits(UUID_DEVICE_INFORMATION_SERVICE)) { in OnServicesDiscoveredTask_() 343 } else if (service.uuid_ == Uuid::ConvertFrom16Bits(HID_HOST_UUID_SERVCLASS_LE_HID)) { in OnServicesDiscoveredTask_() 345 } else if (service.uuid_ == Uuid::ConvertFrom16Bits(HID_HOST_UUID_BATTERY_SERVICE)) { in OnServicesDiscoveredTask_() 370 if (character.uuid_ == Uuid::ConvertFrom16Bits(HID_HOST_UUID_GATT_PNP_ID)) { in GetPnpInformation() 400 if (character.uuid_ == Uuid::ConvertFrom16Bits(HID_HOST_UUID_GATT_HID_INFORMATION)) { in GetHidInformation() 416 } else if (character.uuid_ == Uuid::ConvertFrom16Bits(HID_HOST_UUID_GATT_HID_REPORT_MAP)) { in GetHidInformation() 418 } else if (character.uuid_ == Uuid::ConvertFrom16Bits(HID_HOST_UUID_GATT_HID_REPORT)) { in GetHidInformation() 438 if (character.uuid_ == Uuid::ConvertFrom16Bits(HID_HOST_UUID_GATT_BATTERY_LEVEL)) { in GetBatteryInformation() 488 if (descriptor.uuid_ == Uuid::ConvertFrom16Bits(HID_HOST_UUID_GATT_EXT_RPT_REF)) { in GetExternalRptRefInfo() 510 if (descriptor.uuid_ in GetExternalCfgInfo() [all...] |
/foundation/multimedia/media_library/interfaces/kits/js/include/ |
H A D | thumbnail_manager.h | 121 uuid_ = uuid; in SetUUID() 126 return uuid_; in GetUUID() 148 std::string uuid_; member in OHOS::Media::ThumbnailRequest
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/task/ |
H A D | task.cpp | 24 const DHType dhType) : id_(DH_TASK_NAME_PREFIX + GetRandomID()), networkId_(networkId), uuid_(uuid), udid_(udid), in Task() 45 return this->uuid_; in GetUUID()
|
/foundation/arkui/ace_engine/interfaces/napi/kits/plugincomponent/ |
H A D | js_plugin_callback.cpp | 26 std::atomic_size_t JSPluginCallback::uuid_ = 0; member in OHOS::Ace::Napi::JSPluginCallback 56 uuid_++; in JSPluginCallback() 64 if (uuid_ > 0) { in ~JSPluginCallback() 65 uuid_--; in ~JSPluginCallback() 98 return uuid_; in GetID()
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_socket.cpp | 134 bluetooth::Uuid tempUuid = bluetooth::Uuid::ConvertFrom128Bits(uuid_.ConvertTo128Bits()); in Close() 286 UUID uuid_; member 366 uuid_(uuid), in impl() 394 uuid_(uuid), in impl() 448 bluetooth::Uuid tempUuid = bluetooth::Uuid::ConvertFrom128Bits(pimpl->uuid_.ConvertTo128Bits()); in Connect() 590 .uuid = bluetooth::Uuid::ConvertFrom128Bits(uuid_.ConvertTo128Bits()), in Listen() 798 UUID uuid_; local 817 : uuid_(uuid), type_(type), encrypt_(encrypt), fd_(-1), socketStatus_(SOCKET_INIT), name_(name) in impl()
|
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_gatt_descriptor.h | 193 UUID uuid_; member in OHOS::Bluetooth::GattDescriptor
|
H A D | uuid.h | 176 std::array<uint8_t, UUID128_BYTES_LEN> uuid_ = {0x00}; member in OHOS::Bluetooth::UUID
|
H A D | bluetooth_gatt_service.h | 201 UUID uuid_; member in OHOS::Bluetooth::GattService
|
H A D | bluetooth_gatt_characteristic.h | 306 UUID uuid_; member in OHOS::Bluetooth::GattCharacteristic
|
/foundation/communication/bluetooth/frameworks/inner/ipc/common/ |
H A D | hands_free_unit_calls.h | 242 Uuid uuid_ {};
|
/foundation/communication/bluetooth/frameworks/js/napi/src/socket/ |
H A D | napi_bluetooth_spp_client.cpp | 79 bool isSuccess = ParseString(env, sppOption->uuid_, value); in GetSppOptionFromJS() 80 if (!isSuccess || (!IsValidUuid(sppOption->uuid_))) { in GetSppOptionFromJS() 84 HILOGI("uuid is %{public}s", sppOption->uuid_.c_str()); in GetSppOptionFromJS() 97 sppOption->uuid_.c_str(), sppOption->secure_, sppOption->type_); in GetSppOptionFromJS() 119 UUID::FromString(callbackInfo->sppOption_->uuid_), in SppConnect()
|
/foundation/bundlemanager/distributed_bundle_framework/services/dbms/src/ |
H A D | distributed_data_storage.cpp | 528 if (result.find(uuid_) == result.end()) { in SyncCompleted() 530 OHOS::AppExecFwk::DistributedDataStorage::AnonymizeUdid(uuid_).c_str()); in SyncCompleted() 533 DistributedKv::Status status = result.at(uuid_); in SyncCompleted() 535 OHOS::AppExecFwk::DistributedDataStorage::AnonymizeUdid(uuid_).c_str(), status); in SyncCompleted() 547 uuid_ = uuid; in setUuid()
|