Home
last modified time | relevance | path

Searched refs:gatt (Results 1 – 24 of 24) sorted by relevance

/system/bt/bta/
DAndroid.bp62 "gatt/bta_gattc_act.cc",
63 "gatt/bta_gattc_api.cc",
64 "gatt/bta_gattc_cache.cc",
65 "gatt/bta_gattc_main.cc",
66 "gatt/bta_gattc_queue.cc",
67 "gatt/bta_gattc_utils.cc",
68 "gatt/bta_gatts_act.cc",
69 "gatt/bta_gatts_api.cc",
70 "gatt/bta_gatts_main.cc",
71 "gatt/bta_gatts_utils.cc",
[all …]
DBUILD.gn42 "gatt/bta_gattc_act.cc",
43 "gatt/bta_gattc_api.cc",
44 "gatt/bta_gattc_cache.cc",
45 "gatt/bta_gattc_main.cc",
46 "gatt/bta_gattc_utils.cc",
47 "gatt/bta_gattc_queue.cc",
48 "gatt/bta_gatts_act.cc",
49 "gatt/bta_gatts_api.cc",
50 "gatt/bta_gatts_main.cc",
51 "gatt/bta_gatts_utils.cc",
[all …]
/system/bt/service/
Dgatt_server_old.cc76 static bluetooth::gatt::ServerInternals* g_internal = nullptr;
83 namespace gatt { namespace
115 const btgatt_interface_t* gatt; member
178 prev_char_properties & bluetooth::gatt::kPropertyNotify; in ServiceAddedCallback()
180 bluetooth::gatt::Characteristic& ctrl = in ServiceAddedCallback()
201 bt_status_t btstat = g_internal->gatt->client->register_client(client_id); in ServiceAddedCallback()
212 bluetooth::gatt::Characteristic& ch = in RequestReadCallback()
247 g_internal->gatt->server->send_response(conn_id, trans_id, 0, response); in RequestReadCallback()
263 bluetooth::gatt::Characteristic& ch = in RequestWriteCallback()
303 g_internal->gatt->server->send_response(conn_id, trans_id, 0, response); in RequestWriteCallback()
[all …]
Dgatt_server_old.h28 namespace gatt {
/system/bt/stack/
DBUILD.gn102 "gatt/att_protocol.cc",
103 "gatt/connection_manager.cc",
104 "gatt/gatt_api.cc",
105 "gatt/gatt_attr.cc",
106 "gatt/gatt_auth.cc",
107 "gatt/gatt_cl.cc",
108 "gatt/gatt_db.cc",
109 "gatt/gatt_main.cc",
110 "gatt/gatt_sr.cc",
111 "gatt/gatt_utils.cc",
[all …]
DAndroid.bp19 "gatt",
119 "gatt/att_protocol.cc",
120 "gatt/connection_manager.cc",
121 "gatt/gatt_api.cc",
122 "gatt/gatt_attr.cc",
123 "gatt/gatt_auth.cc",
124 "gatt/gatt_cl.cc",
125 "gatt/gatt_db.cc",
126 "gatt/gatt_main.cc",
127 "gatt/gatt_sr.cc",
[all …]
/system/bt/bta/gatt/
Ddatabase.h29 namespace gatt {
112 std::vector<gatt::StoredAttribute> Serialize() const;
114 static Database Deserialize(const std::vector<gatt::StoredAttribute>& nv_attr,
Dbta_gattc_int.h210 gatt::Database gatt_database;
214 gatt::DatabaseBuilder pending_discovery;
429 extern const std::list<gatt::Service>* bta_gattc_get_services(uint16_t conn_id);
430 extern const gatt::Service* bta_gattc_get_service_for_handle(uint16_t conn_id,
432 const gatt::Characteristic* bta_gattc_get_characteristic_srcb(
434 extern const gatt::Service* bta_gattc_get_service_for_handle_srcb(
436 extern const gatt::Characteristic* bta_gattc_get_characteristic(
438 extern const gatt::Descriptor* bta_gattc_get_descriptor(uint16_t conn_id,
440 extern const gatt::Characteristic* bta_gattc_get_owning_characteristic(
Dbta_gattc_cache.cc52 using gatt::Characteristic;
53 using gatt::Database;
54 using gatt::DatabaseBuilder;
55 using gatt::Descriptor;
56 using gatt::IncludedService;
57 using gatt::Service;
58 using gatt::StoredAttribute;
118 p_srvc_cb->gatt_database = gatt::Database(); in bta_gattc_init_cache()
750 p_srcb->gatt_database = gatt::Database::Deserialize(attr, &success); in bta_gattc_cache_load()
Dbta_gattc_api.cc272 const std::list<gatt::Service>* BTA_GATTC_GetServices(uint16_t conn_id) { in BTA_GATTC_GetServices()
289 const gatt::Characteristic* BTA_GATTC_GetCharacteristic(uint16_t conn_id, in BTA_GATTC_GetCharacteristic()
307 const gatt::Descriptor* BTA_GATTC_GetDescriptor(uint16_t conn_id, in BTA_GATTC_GetDescriptor()
314 const gatt::Characteristic* BTA_GATTC_GetOwningCharacteristic(uint16_t conn_id, in BTA_GATTC_GetOwningCharacteristic()
321 const gatt::Service* BTA_GATTC_GetOwningService(uint16_t conn_id, in BTA_GATTC_GetOwningService()
Ddatabase_builder.cc28 namespace gatt { namespace
122 gatt::Descriptor{.handle = handle, .uuid = uuid}); in AddDescriptor()
Ddatabase_builder.h25 namespace gatt {
Ddatabase.cc30 namespace gatt { namespace
Dbta_gattc_act.cc1134 const gatt::Characteristic* p_char = in bta_gattc_process_srvc_chg_ind()
1137 const gatt::Service* p_svc = in bta_gattc_process_srvc_chg_ind()
/system/bt/test/suite/
DAndroid.bp11 "gatt/gatt_test.cc",
12 "gatt/gatt_unittest.cc",
/system/bt/bta/hh/
Dbta_hh_le.cc460 static const gatt::Descriptor* find_descriptor_by_short_uuid( in find_descriptor_by_short_uuid()
462 const gatt::Characteristic* p_char = in find_descriptor_by_short_uuid()
470 for (const gatt::Descriptor& desc : p_char->descriptors) { in find_descriptor_by_short_uuid()
489 const gatt::Descriptor* p_desc = in bta_hh_le_read_char_descriptor()
674 const gatt::Descriptor* p_desc = find_descriptor_by_short_uuid( in bta_hh_le_write_ccc()
694 const gatt::Characteristic* characteristic = in write_rpt_ctl_cfg_cb()
1313 const gatt::Descriptor* p_desc = BTA_GATTC_GetDescriptor(conn_id, handle); in read_report_ref_desc_cb()
1320 const gatt::Characteristic* characteristic = in read_report_ref_desc_cb()
1322 const gatt::Service* service = in read_report_ref_desc_cb()
1400 const gatt::Service* service) { in bta_hh_le_search_hid_chars()
[all …]
/system/bt/bta/include/
Dbta_gatt_api.h494 extern const std::list<gatt::Service>* BTA_GATTC_GetServices(uint16_t conn_id);
509 extern const gatt::Characteristic* BTA_GATTC_GetCharacteristic(uint16_t conn_id,
525 extern const gatt::Descriptor* BTA_GATTC_GetDescriptor(uint16_t conn_id,
530 extern const gatt::Characteristic* BTA_GATTC_GetOwningCharacteristic(
535 extern const gatt::Service* BTA_GATTC_GetOwningService(uint16_t conn_id,
/system/bt/service/ipc/
Dlinux_ipc_host.h103 std::unordered_map<std::string, std::unique_ptr<bluetooth::gatt::Server>>
Dlinux_ipc_host.cc43 using namespace bluetooth::gatt;
/system/bt/tools/bdtool/
DAndroid.mk.disabled30 ../../test/suite/support/gatt.c \
/system/bt/bta/hearing_aid/
Dhearing_aid.cc619 const std::list<gatt::Service>* services = BTA_GATTC_GetServices(conn_id); in OnServiceSearchComplete()
621 const gatt::Service* service = nullptr; in OnServiceSearchComplete()
622 for (const gatt::Service& tmp : *services) { in OnServiceSearchComplete()
626 const gatt::Service* service_changed_service = &tmp; in OnServiceSearchComplete()
641 for (const gatt::Characteristic& charac : service->characteristics) { in OnServiceSearchComplete()
1554 const gatt::Service* service) { in find_server_changed_ccc_handle()
1560 for (const gatt::Characteristic& charac : service->characteristics) { in find_server_changed_ccc_handle()
1579 const gatt::Characteristic* p_char = in find_ccc_handle()
1587 for (const gatt::Descriptor& desc : p_char->descriptors) { in find_ccc_handle()
/system/bt/bta/test/gatt/
Ddatabase_test.cc29 namespace gatt { namespace
Ddatabase_builder_test.cc29 namespace gatt { namespace
Ddatabase_builder_sample_device_test.cc29 namespace gatt { namespace