Home
last modified time | relevance | path

Searched refs:btgatt_db_element_t (Results 1 – 25 of 27) sorted by relevance

12

/system/bt/service/hal/
Dbluetooth_gatt_interface.h103 const btgatt_db_element_t* gatt_db,
112 const btgatt_db_element_t& added,
131 std::vector<btgatt_db_element_t> service); // NOLINT(pass-by-value)
Dbluetooth_gatt_interface.cc197 void GetGattDbCallback(int conn_id, const btgatt_db_element_t* db, int size) { in GetGattDbCallback()
216 void ServicesAddedCallback(int conn_id, const btgatt_db_element_t& added, in ServicesAddedCallback()
250 std::vector<btgatt_db_element_t> service) { // NOLINT(pass-by-value) in ServiceAddedCallback()
627 const btgatt_db_element_t* /* gatt_db */, int /* size */) { in GetGattDbCallback() argument
639 const btgatt_db_element_t& /* added */, int /* added_count */) { in ServicesAddedCallback() argument
658 std::vector<btgatt_db_element_t> /* service */) { // NOLINT(pass-by-value) in ServiceAddedCallback() argument
Dfake_bluetooth_gatt_interface.h57 int server_if, std::vector<btgatt_db_element_t> service) = 0;
98 std::vector<btgatt_db_element_t> srvc);
Dfake_bluetooth_gatt_interface.cc73 std::vector<btgatt_db_element_t> service) { in FakeAddService()
223 int status, int server_if, std::vector<btgatt_db_element_t> service) { in NotifyServiceAddedCallback()
/system/bt/include/hardware/
Dbt_gatt_server.h55 int status, int server_if, std::vector<btgatt_db_element_t> service);
156 std::vector<btgatt_db_element_t> service);
Dbt_common_types.h75 } btgatt_db_element_t; typedef
Dbt_gatt_client.h162 typedef void (*get_gatt_db_callback)(int conn_id, const btgatt_db_element_t* db,
171 const btgatt_db_element_t& added,
/system/bt/bta/gatt/
Dbta_gattc_cache.cc537 void bta_gattc_fill_gatt_db_el(btgatt_db_element_t* p_attr, in bta_gattc_fill_gatt_db_el()
602 btgatt_db_element_t** db, int* count) { in bta_gattc_get_gatt_db_impl()
616 void* buffer = osi_malloc(db_size * sizeof(btgatt_db_element_t)); in bta_gattc_get_gatt_db_impl()
617 btgatt_db_element_t* curr_db_attr = (btgatt_db_element_t*)buffer; in bta_gattc_get_gatt_db_impl()
656 *db = (btgatt_db_element_t*)buffer; in bta_gattc_get_gatt_db_impl()
675 uint16_t end_handle, btgatt_db_element_t** db, in bta_gattc_get_gatt_db()
Dbta_gatts_api.cc117 std::vector<btgatt_db_element_t> service, in bta_gatts_add_service_impl()
169 std::vector<btgatt_db_element_t> service, in BTA_GATTS_AddService()
Dbta_gatts_int.h77 btgatt_db_element_t* service;
Dbta_gattc_int.h443 uint16_t end_handle, btgatt_db_element_t** db,
/system/bt/test/suite/gatt/
Dgatt_test.h73 int server_if, std::vector<btgatt_db_element_t> service) override;
Dgatt_unittest.cc71 std::vector<btgatt_db_element_t> service = { in TEST_F()
Dgatt_test.cc117 int server_if, std::vector<btgatt_db_element_t> service) { in ServiceAddedCallback()
/system/bt/btif/src/
Dbtif_gatt_server.cc347 vector<btgatt_db_element_t> service) { in on_service_added_cb()
353 vector<btgatt_db_element_t> service) { in add_service_impl()
371 vector<btgatt_db_element_t> service) { in btif_gatts_add_service()
/system/bt/bta/include/
Dbta_gatt_api.h551 uint16_t end_handle, btgatt_db_element_t** db,
842 std::vector<btgatt_db_element_t> service)>
846 std::vector<btgatt_db_element_t> service,
/system/bt/service/
Dgatt_server.cc70 std::vector<btgatt_db_element_t> svc; in AddService()
299 std::vector<btgatt_db_element_t> svc) { in ServiceAddedCallback()
312 const btgatt_db_element_t& curr = svc[i]; in ServiceAddedCallback()
Dgatt_server_old.cc52 std::vector<btgatt_db_element_t> pending_svc_decl;
146 std::vector<btgatt_db_element_t> service) { in ServiceAddedCallback()
158 const btgatt_db_element_t& el = service[i]; in ServiceAddedCallback()
Dgatt_server.h200 std::vector<btgatt_db_element_t>) override;
/system/bt/stack/srvc/
Dsrvc_dis.cc338 btgatt_db_element_t service[DIS_MAX_ATTR_NUM] = {}; in DIS_SrInit()
361 sizeof(service) / sizeof(btgatt_db_element_t)); in DIS_SrInit()
/system/bt/stack/gap/
Dgap_ble.cc413 btgatt_db_element_t service[] = { in gap_attr_db_init()
441 sizeof(service) / sizeof(btgatt_db_element_t)); in gap_attr_db_init()
/system/bt/stack/gatt/
Dgatt_api.cc100 static uint16_t compute_service_size(btgatt_db_element_t* service, int count) { in compute_service_size()
102 btgatt_db_element_t* el = service; in compute_service_size()
152 uint16_t GATTS_AddService(tGATT_IF gatt_if, btgatt_db_element_t* service, in GATTS_AddService()
214 btgatt_db_element_t* el = service + 1; in GATTS_AddService()
Dgatt_attr.cc355 btgatt_db_element_t service[] = { in gatt_profile_db_init()
380 sizeof(service) / sizeof(btgatt_db_element_t)); in gatt_profile_db_init()
/system/bt/service/test/
Dgatt_server_unittest.cc37 MOCK_METHOD2(AddService, bt_status_t(int, std::vector<btgatt_db_element_t>));
269 std::vector<btgatt_db_element_t> service_with_handles = { in SetUpTestService()
/system/bt/stack/include/
Dgatt_api.h701 extern uint16_t GATTS_AddService(tGATT_IF gatt_if, btgatt_db_element_t* service,

12