Home
last modified time | relevance | path

Searched refs:Characteristic (Results 1 – 22 of 22) sorted by relevance

/system/bt/service/common/bluetooth/
Dcharacteristic.cc20 Characteristic::Characteristic(const Characteristic& other) { in Characteristic() function in bluetooth::Characteristic
28 Characteristic& Characteristic::operator=(const Characteristic& other) { in operator =()
40 bool Characteristic::Equals(const Characteristic& other) const { in Equals()
47 bool Characteristic::operator==(const Characteristic& rhs) const { in operator ==()
51 bool Characteristic::operator!=(const Characteristic& rhs) const { in operator !=()
Dcharacteristic.h25 class Characteristic {
27 Characteristic() = default;
28 Characteristic(const Characteristic& other);
29 Characteristic(uint16_t handle, const Uuid& uuid, uint8_t properties, in Characteristic() function
37 Characteristic& operator=(const Characteristic& other);
38 virtual ~Characteristic() = default;
41 bool Equals(const Characteristic& other) const;
42 bool operator==(const Characteristic& rhs) const;
43 bool operator!=(const Characteristic& rhs) const;
Dservice.h30 const std::vector<Characteristic>& characteristics, in Service()
48 const std::vector<Characteristic>& characteristics() const { in characteristics()
51 std::vector<Characteristic>& characteristics() { return characteristics_; } in characteristics()
60 std::vector<Characteristic> characteristics_;
/system/bt/service/common/android/bluetooth/
Dbluetooth_gatt_characteristic.h32 public ::bluetooth::Characteristic {
36 const ::bluetooth::Characteristic& characteristic) // NOLINT(implicit) in BluetoothGattCharacteristic()
37 : ::bluetooth::Characteristic(characteristic){}; in BluetoothGattCharacteristic()
/system/bt/service/test/
Dparcelable_unittest.cc34 using bluetooth::Characteristic;
171 Characteristic c = Characteristic(0x0004, Uuid::GetRandom(), 0, 0, in TEST()
177 TestData<Characteristic, android::bluetooth::BluetoothGattCharacteristic>( in TEST()
185 {Characteristic(0x0004, Uuid::GetRandom(), in TEST()
191 Characteristic(0x000D, Uuid::GetRandom(), in TEST()
196 Characteristic(0x0015, Uuid::GetRandom(), 0, 0, {})}, in TEST()
/system/bt/bta/gatt/
Ddatabase.h67 struct Characteristic;
76 std::vector<Characteristic> characteristics;
86 struct Characteristic { struct
Ddatabase.cc75 for (const Characteristic& c : service.characteristics) { in ToString()
112 for (const Characteristic& charac : service.characteristics) { in Serialize()
187 current_service_it->characteristics.emplace_back(Characteristic{ in Deserialize()
222 for (const Characteristic& c : service.characteristics) { in Hash()
272 for (const Characteristic& c : service.characteristics) { in Hash()
Dbta_gattc_cache.cc44 using gatt::Characteristic;
58 const Characteristic* bta_gattc_get_characteristic_srcb(tBTA_GATTC_SERV* p_srcb,
551 const Characteristic* bta_gattc_get_characteristic_srcb(tBTA_GATTC_SERV* p_srcb, in bta_gattc_get_characteristic_srcb()
558 for (const Characteristic& charac : service->characteristics) { in bta_gattc_get_characteristic_srcb()
565 const Characteristic* bta_gattc_get_characteristic(uint16_t conn_id, in bta_gattc_get_characteristic()
584 for (const Characteristic& charac : service->characteristics) { in bta_gattc_get_descriptor_srcb()
602 const Characteristic* bta_gattc_get_owning_characteristic_srcb( in bta_gattc_get_owning_characteristic_srcb()
609 for (const Characteristic& charac : service->characteristics) { in bta_gattc_get_owning_characteristic_srcb()
618 const Characteristic* bta_gattc_get_owning_characteristic(uint16_t conn_id, in bta_gattc_get_owning_characteristic()
789 for (const Characteristic& charac : service.characteristics) { in bta_gattc_get_db_size()
[all …]
Ddatabase_builder.cc104 service->characteristics.emplace_back(Characteristic{ in AddCharacteristic()
126 Characteristic* char_node = &service->characteristics.front(); in AddDescriptor()
200 Characteristic* char_node = &service->characteristics.front(); in FindDescriptorByHandle()
Dbta_gattc_int.h457 const gatt::Characteristic* bta_gattc_get_characteristic_srcb(
461 extern const gatt::Characteristic* bta_gattc_get_characteristic(
465 extern const gatt::Characteristic* bta_gattc_get_owning_characteristic(
Dbta_gattc_api.cc296 const gatt::Characteristic* BTA_GATTC_GetCharacteristic(uint16_t conn_id, in BTA_GATTC_GetCharacteristic()
321 const gatt::Characteristic* BTA_GATTC_GetOwningCharacteristic(uint16_t conn_id, in BTA_GATTC_GetOwningCharacteristic()
Dbta_gattc_act.cc1197 const gatt::Characteristic* p_char = in bta_gattc_process_srvc_chg_ind()
/system/bt/bta/test/common/
Dbta_gatt_api_mock.h42 virtual const Characteristic* GetCharacteristic(uint16_t conn_id,
75 MOCK_METHOD((const Characteristic*), GetCharacteristic,
Dbta_gatt_api_mock.cc64 const gatt::Characteristic* BTA_GATTC_GetCharacteristic(uint16_t conn_id, in BTA_GATTC_GetCharacteristic()
/system/bt/test/mock/
Dmock_bta_gattc_api.cc44 const gatt::Characteristic* BTA_GATTC_GetCharacteristic(uint16_t conn_id, in BTA_GATTC_GetCharacteristic()
49 const gatt::Characteristic* BTA_GATTC_GetOwningCharacteristic(uint16_t conn_id, in BTA_GATTC_GetOwningCharacteristic()
/system/bt/service/
Dgatt_server_old.cc85 struct Characteristic { struct
107 std::unordered_map<int, Characteristic> characteristics;
181 bluetooth::gatt::Characteristic& ctrl = in ServiceAddedCallback()
214 bluetooth::gatt::Characteristic& ch = in RequestReadCallback()
265 bluetooth::gatt::Characteristic& ch = in RequestWriteCallback()
708 Characteristic& ch = internal_->characteristics[attribute_id]; in SetCharacteristicValue()
/system/bt/bta/vc/
Ddevice.cc57 const gatt::Characteristic* p_char = in find_ccc_handle()
77 for (const gatt::Characteristic& chrc : service.characteristics) { in set_volume_control_service_handles()
Ddevices_test.cc224 uint16_t handle) -> const gatt::Characteristic* { in SetUp()
Dvc_test.cc172 uint16_t handle) -> const gatt::Characteristic* { in SetUp()
/system/bt/bta/hh/
Dbta_hh_le.cc441 const gatt::Characteristic* p_char = in find_descriptor_by_short_uuid()
667 const gatt::Characteristic* characteristic = in write_rpt_ctl_cfg_cb()
1279 const gatt::Characteristic* characteristic = in read_report_ref_desc_cb()
1362 for (const gatt::Characteristic& charac : service->characteristics) { in bta_hh_le_search_hid_chars()
1421 for (const gatt::Characteristic& charac : service->characteristics) { in bta_hh_le_search_hid_chars()
1473 for (const gatt::Characteristic& charac : service.characteristics) { in bta_hh_le_srvc_search_cmpl()
1487 for (const gatt::Characteristic& charac : service.characteristics) { in bta_hh_le_srvc_search_cmpl()
1524 const gatt::Characteristic* p_char = in bta_hh_le_input_rpt_notify()
1675 const gatt::Characteristic* p_char = in read_report_cb()
1772 const gatt::Characteristic* p_char = in write_report_cb()
[all …]
/system/bt/bta/include/
Dbta_gatt_api.h538 extern const gatt::Characteristic* BTA_GATTC_GetCharacteristic(uint16_t conn_id,
559 extern const gatt::Characteristic* BTA_GATTC_GetOwningCharacteristic(
/system/bt/bta/hearing_aid/
Dhearing_aid.cc645 for (const gatt::Characteristic& charac : service->characteristics) { in OnServiceSearchComplete()
1590 for (const gatt::Characteristic& charac : service->characteristics) { in find_server_changed_ccc_handle()
1609 const gatt::Characteristic* p_char = in find_ccc_handle()