Home
last modified time | relevance | path

Searched refs:Uuid (Results 1 - 25 of 93) sorted by relevance

1234

/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Dbt_uuid.cpp30 Uuid Uuid::Random() in Random()
32 Uuid random; in Random()
82 Uuid Uuid::ConvertFromString(const std::string &name) in ConvertFromString()
84 Uuid ret; in ConvertFromString()
100 Uuid Uuid::ConvertFrom16Bits(uint16_t uuid) in ConvertFrom16Bits()
102 Uuid tmp; in ConvertFrom16Bits()
108 Uuid Uui
[all...]
H A Dbt_uuid.h36 class Uuid { class
77 Uuid() = default;
85 Uuid(const Uuid &other) = default;
91 * @return Returns the reference of Uuid.
94 Uuid &operator=(const Uuid &other) = default;
101 ~Uuid() = default;
106 * @return @c Uuid : The function return a random uuid.
108 static Uuid Rando
272 explicit Uuid(const UUID128Bit uuid) : uuid_(uuid) {}; Uuid() function in OHOS::bluetooth::Uuid
[all...]
H A Dble_parcel_data.h74 std::map<Uuid, std::string> GetServiceData() const in GetServiceData()
85 std::vector<Uuid> GetServiceUuids() const in GetServiceUuids()
148 * @param uuid Uuid of service data.
152 void AddServiceData(bluetooth::Uuid uuid, std::string serviceData) in AddServiceData()
163 void AddServiceUuid(const bluetooth::Uuid &serviceUuid) in AddServiceUuid()
213 std::vector<Uuid> serviceUuids_ {};
215 std::map<Uuid, std::string> serviceData_ {};
456 std::vector<Uuid> GetServiceUuids() const in GetServiceUuids()
478 std::map<Uuid, std::string> GetServiceData() const in GetServiceData()
542 * @param uuid Uuid o
[all...]
H A Dble_service_data.h403 void SetServiceUuid(const Uuid &serviceUuid);
407 Uuid GetServiceUuid() const;
409 void SetServiceUuidMask(const Uuid &serviceUuidMask);
413 Uuid GetServiceUuidMask() const;
415 void SetServiceSolicitationUuid(const Uuid &serviceSolicitationUuid);
419 Uuid GetServiceSolicitationUuid() const;
421 void SetServiceSolicitationUuidMask(const Uuid &serviceSolicitationUuidMask);
425 Uuid GetServiceSolicitationUuidMask() const;
467 Uuid serviceUuid_;
468 Uuid serviceUuidMask
[all...]
H A Dble_service_data.cpp130 void BleScanFilterImpl::SetServiceUuid(const Uuid &serviceUuid) in SetServiceUuid()
141 Uuid BleScanFilterImpl::GetServiceUuid() const in GetServiceUuid()
146 void BleScanFilterImpl::SetServiceUuidMask(const Uuid &serviceUuidMask) in SetServiceUuidMask()
157 Uuid BleScanFilterImpl::GetServiceUuidMask() const in GetServiceUuidMask()
162 void BleScanFilterImpl::SetServiceSolicitationUuid(const Uuid &serviceSolicitationUuid) in SetServiceSolicitationUuid()
173 Uuid BleScanFilterImpl::GetServiceSolicitationUuid() const in GetServiceSolicitationUuid()
178 void BleScanFilterImpl::SetServiceSolicitationUuidMask(const Uuid &serviceSolicitationUuidMask) in SetServiceSolicitationUuidMask()
189 Uuid BleScanFilterImpl::GetServiceSolicitationUuidMask() const in GetServiceSolicitationUuidMask()
490 * @param uuid Uuid of service data.
494 void BleAdvertiserDataImpl::AddServiceData(const Uuid
[all...]
H A Dgatt_data.h34 Descriptor(const Uuid& uuid, const int permissions) in Descriptor()
39 Descriptor(uint16_t handle, const Uuid& uuid, int permissions) in Descriptor()
44 Descriptor(const Uuid &uuid, uint16_t handle, int permissions, const uint8_t *value, size_t length);
69 Uuid uuid_;
77 Characteristic(const Uuid& uuid, uint16_t handle, int properties) in Characteristic()
84 const Uuid &uuid, uint16_t handle, int properties, int permissions, const uint8_t *value, size_t length);
123 Uuid uuid_;
133 Service(const Uuid& uuid, uint16_t handle, uint16_t starthandle, uint16_t endHandle) in Service()
161 Uuid uuid_;
H A Dhands_free_unit_calls.h101 HandsFreeUnitCalls(const std::string &device, int id, int state, const std::string &number, Uuid &uuid,
154 Uuid GetUuid() const;
242 Uuid uuid_ {};
H A Dhands_free_unit_calls.cpp24 : device_(device), id_(id), state_(state), number_(number), uuid_(Uuid::Random()), in HandsFreeUnitCalls()
31 Uuid &uuid, bool multiParty, bool outgoing, bool inBandRing, long creationTime) in HandsFreeUnitCalls()
48 Uuid HandsFreeUnitCalls::GetUuid() const in GetUuid()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_cache.h35 Uuid uuid_ = {};
40 IncludeService(uint16_t handle, uint16_t startHandle, uint16_t endHandle, const Uuid uuid) in IncludeService()
46 explicit IncludeService(const Uuid uuid) : uuid_(uuid) in IncludeService()
52 Uuid uuid_ = {};
54 Descriptor(uint16_t handle, const Uuid uuid) : handle_(handle), uuid_(uuid) in Descriptor()
63 Uuid uuid_ = {};
65 Characteristic(uint16_t handle, uint8_t properties, uint16_t valueHandle, const Uuid uuid) in Characteristic()
76 Uuid uuid_ = {};
81 Service(bool isPrimary, uint16_t handle, uint16_t endHandle, const Uuid uuid) in Service()
113 Uuid type
[all...]
H A Dgatt_database.h96 Uuid type_;
97 AttributeEntity(uint8_t permissions, uint16_t handle, const Uuid &uuid) in AttributeEntity()
116 Uuid uuid_;
133 Uuid uuid_;
154 Uuid uuid_;
167 Uuid uuid_;
169 Service(uint16_t handle, uint16_t endHandle, const Uuid uuid) in Service()
214 static int CountDescriptorByUuid(const std::vector<bluetooth::Descriptor> &descriptors, const Uuid &uuid);
/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/
H A Dbluetooth_ble_advertiser_data.cpp20 using OHOS::bluetooth::Uuid;
97 uint8_t buffer[Uuid::UUID128_BYTES_TYPE] = {0}; in WriteServiceUuids()
98 if (!serviceUuids.ConvertToBytesLE(buffer, Uuid::UUID128_BYTES_TYPE)) { in WriteServiceUuids()
101 if (!parcel.WriteBuffer(static_cast<void *>(buffer), Uuid::UUID128_BYTES_TYPE)) { in WriteServiceUuids()
108 bool BluetoothBleAdvertiserData::ReadServiceUuids(std::vector<Uuid> &serviceUuids, Parcel &parcel) in ReadServiceUuids()
116 const uint8_t *buffer = parcel.ReadBuffer(static_cast<size_t>(Uuid::UUID128_BYTES_TYPE)); in ReadServiceUuids()
121 Uuid uuid = Uuid::ConvertFromBytesLE(buffer, static_cast<size_t>(Uuid::UUID128_BYTES_TYPE)); in ReadServiceUuids()
180 bool BluetoothBleAdvertiserData::ReadServiceData(std::map<Uuid, st
[all...]
H A Dbluetooth_bt_uuid.h29 class BluetoothUuid : public Parcelable, public bluetooth::Uuid {
41 * @param other Other Uuid to create a new BluetoothUuid.
44 explicit BluetoothUuid(const bluetooth::Uuid &other) : bluetooth::Uuid(other) in BluetoothUuid()
53 BluetoothUuid(const BluetoothUuid &other) : bluetooth::Uuid(other) in BluetoothUuid()
H A Dparcel_bt_uuid.cpp21 bool ParcelBtUuid::WriteToParcel(MessageParcel &parcel, bluetooth::Uuid &uuid) in WriteToParcel()
23 bluetooth::Uuid::UUID128Bit uuid128 = uuid.ConvertTo128Bits(); in WriteToParcel()
44 bluetooth::Uuid ParcelBtUuid::ReadFromParcel(MessageParcel &parcel) in ReadFromParcel()
49 return bluetooth::Uuid::ConvertFromMostAndLeastBit(mostSigBits, leastSigBits); in ReadFromParcel()
H A Dparcel_bt_uuid.h33 static bool WriteToParcel(MessageParcel &parcel, bluetooth::Uuid &uuid);
42 static bluetooth::Uuid ReadFromParcel(MessageParcel &parcel);
/foundation/ability/ability_base/interfaces/inner_api/base/include/
H A Dbase_types.h27 using Uuid = struct Uuid {
36 static const struct Uuid Empty;
39 using InterfaceID = Uuid;
40 using ClassID = Uuid;
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_socket.h31 bluetooth::Uuid uuid;
39 bluetooth::Uuid uuid;
52 virtual int RegisterClientObserver(const BluetoothRawAddress &dev, const bluetooth::Uuid uuid,
54 virtual int DeregisterClientObserver(const BluetoothRawAddress &dev, const bluetooth::Uuid uuid,
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_ble_filter_matcher.cpp106 bluetooth::Uuid filterUuid = filter.GetServiceUuid(); in MatchesServiceUuids()
108 std::vector<bluetooth::Uuid> resultUuids = result.GetServiceUuids(); in MatchesServiceUuids()
124 bluetooth::Uuid uuidMask = filter.GetServiceUuidMask(); in MatchesServiceUuids()
180 bool BluetoothBleFilterMatcher::MatchesUuidWithMask(bluetooth::Uuid filterUuid, in MatchesUuidWithMask()
181 bluetooth::Uuid uuid, bluetooth::Uuid uuidMask) in MatchesUuidWithMask()
184 uint8_t uuid128[bluetooth::Uuid::UUID128_BYTES_TYPE]; in MatchesUuidWithMask()
185 uint8_t uuidMask128[bluetooth::Uuid::UUID128_BYTES_TYPE]; in MatchesUuidWithMask()
186 uint8_t resultUuid128[bluetooth::Uuid::UUID128_BYTES_TYPE]; in MatchesUuidWithMask()
213 std::string BluetoothBleFilterMatcher::ParseServiceDataUUidToString(bluetooth::Uuid uui
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
H A Dclassic_utils.cpp52 std::string ClassicUtils::ConvertUuidToString(const std::vector<Uuid> &uuids) in ConvertUuidToString()
71 std::vector<Uuid> ClassicUtils::ConvertStringToUuid(const std::string &value) in ConvertStringToUuid()
73 std::vector<Uuid> uuids; in ConvertStringToUuid()
82 Uuid uuid = Uuid::ConvertFromString(uuidStr); in ConvertStringToUuid()
H A Dclassic_adapter.h125 std::vector<Uuid> GetDeviceUuids(const RawAddress &device) const override;
743 Uuid GetUuidFromBtUuid(const BtUuid &inUuid) const;
839 void SendRemoteUuidChanged(const RawAddress &device, const std::vector<Uuid> &uuids) const;
1010 std::vector<Uuid> ParserUuidFromEir(int type, const std::vector<uint8_t> &value) const;
1018 std::vector<Uuid> Parser16BitUuidFromEir(const std::vector<uint8_t> &value) const;
1026 std::vector<Uuid> Parser32BitUuidFromEir(const std::vector<uint8_t> &value) const;
1034 std::vector<Uuid> Parser128BitUuidFromEir(const std::vector<uint8_t> &value) const;
1043 void SaveRemoteDeviceUuids(std::shared_ptr<ClassicRemoteDevice> remote, const std::vector<Uuid> &uuids) const;
1053 bool IsUuidsEqual(const std::vector<Uuid> &uuids1, const std::vector<Uuid>
[all...]
H A Dclassic_utils.h52 * @brief Convert Uuid list to string
54 * @param uuids: the Uuid list
57 static std::string ConvertUuidToString(const std::vector<Uuid> &uuids);
60 * @brief Convert string to Uuid list
63 * @return Returns std::vector<Uuid> value.
65 static std::vector<Uuid> ConvertStringToUuid(const std::string &value);
/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_ble_filter_matcher.h48 static bool MatchesUuidWithMask(bluetooth::Uuid filterUuid, bluetooth::Uuid uuid, bluetooth::Uuid uuidMask);
49 static std::string ParseServiceDataUUidToString(bluetooth::Uuid uuid, std::string data);
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ble_scan_filter/include/
H A Di_ble_scan_filter.h42 Uuid serviceUuid;
43 Uuid serviceUuidMask;
44 Uuid solicitationUuid;
45 Uuid solicitationUuidMask;
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/dis/
H A Ddevice_information_service.cpp151 std::make_unique<Service>(Uuid::ConvertFrom16Bits(UUID_DEVICE_INFORMATION_SERVICE), 0, 0, 0); in BuildService()
156 Characteristic(Uuid::ConvertFrom16Bits(GATT_UUID_MANUFACTURER_NAME_STRING_CHAR), in BuildService()
165 Characteristic(Uuid::ConvertFrom16Bits(GATT_UUID_MODEL_NUMBER_STRING_CHAR), in BuildService()
173 svc->characteristics_.push_back(Characteristic(Uuid::ConvertFrom16Bits(GATT_UUID_PNP_ID_CHAR), in BuildService()
182 Characteristic(Uuid::ConvertFrom16Bits(GATT_UUID_IEEE_REGULATORY_CERTIFICATION_DATA_LIST_CHAR), in BuildService()
191 Characteristic(Uuid::ConvertFrom16Bits(GATT_UUID_SERIAL_NUMBER_STRING_CHAR), in BuildService()
200 Characteristic(Uuid::ConvertFrom16Bits(GATT_UUID_SOFTWARE_REVISION_STRING_CHAR), in BuildService()
208 svc->characteristics_.push_back(Characteristic(Uuid::ConvertFrom16Bits(GATT_UUID_SYSTEM_ID_CHAR), in BuildService()
217 Characteristic(Uuid::ConvertFrom16Bits(GATT_UUID_HARDWARE_REVISION_STRING_CHAR), in BuildService()
226 Characteristic(Uuid in BuildService()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_profile_socket.h59 virtual int Connect(const std::string &addr, const Uuid &uuid, int securityFlag, int type) = 0;
72 virtual int Listen(const std::string &name, const Uuid &uuid, int securityFlag, int type) = 0;
/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/
H A Dsocket_sdp_server.h51 int RegisterSdpService(const std::string &name, const Uuid &uuid, uint8_t scn);
68 int AddServiceClassId(const Uuid &uuid);

Completed in 11 milliseconds

1234