Home
last modified time | relevance | path

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

12

/system/bt/test/mock/
Dmock_bta_gatts_api.cc58 std::vector<btgatt_db_element_t> service, in BTA_GATTS_AddService()
82 std::vector<btgatt_db_element_t> service, in bta_gatts_add_service_impl()
Dmock_stack_gatt.cc123 tGATT_STATUS GATTS_AddService(tGATT_IF gatt_if, btgatt_db_element_t* service, in GATTS_AddService()
Dmock_bta_gattc_api.cc107 uint16_t end_handle, btgatt_db_element_t** db, in BTA_GATTC_GetGattDb()
/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.cc198 void GetGattDbCallback(int conn_id, const btgatt_db_element_t* db, int size) { in GetGattDbCallback()
217 void ServicesAddedCallback(int conn_id, const btgatt_db_element_t& added, in ServicesAddedCallback()
251 std::vector<btgatt_db_element_t> service) { // NOLINT(pass-by-value) in ServiceAddedCallback()
629 const btgatt_db_element_t* /* gatt_db */, int /* size */) { in GetGattDbCallback() argument
641 const btgatt_db_element_t& /* added */, int /* added_count */) { in ServicesAddedCallback() argument
660 std::vector<btgatt_db_element_t> /* service */) { // NOLINT(pass-by-value) in ServiceAddedCallback() argument
Dfake_bluetooth_gatt_interface.h60 int server_if, std::vector<btgatt_db_element_t> service) = 0;
101 std::vector<btgatt_db_element_t> srvc);
Dfake_bluetooth_gatt_interface.cc77 std::vector<btgatt_db_element_t> service) { in FakeAddService()
227 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);
157 std::vector<btgatt_db_element_t> service);
Dbt_common_types.h77 } 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.cc754 void bta_gattc_fill_gatt_db_el(btgatt_db_element_t* p_attr, in bta_gattc_fill_gatt_db_el()
819 btgatt_db_element_t** db, int* count) { in bta_gattc_get_gatt_db_impl()
833 void* buffer = osi_malloc(db_size * sizeof(btgatt_db_element_t)); in bta_gattc_get_gatt_db_impl()
834 btgatt_db_element_t* curr_db_attr = (btgatt_db_element_t*)buffer; in bta_gattc_get_gatt_db_impl()
854 btgatt_db_element_t* characteristic = curr_db_attr; in bta_gattc_get_gatt_db_impl()
879 *db = (btgatt_db_element_t*)buffer; in bta_gattc_get_gatt_db_impl()
898 uint16_t end_handle, btgatt_db_element_t** db, in bta_gattc_get_gatt_db()
Dbta_gatts_api.cc122 std::vector<btgatt_db_element_t> service, in bta_gatts_add_service_impl()
175 std::vector<btgatt_db_element_t> service, in BTA_GATTS_AddService()
Dbta_gatts_int.h80 btgatt_db_element_t* service;
/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/bta/include/
Dbta_gatt_api.h580 uint16_t end_handle, btgatt_db_element_t** db,
877 std::vector<btgatt_db_element_t> service)>
881 std::vector<btgatt_db_element_t> service,
/system/bt/btif/src/
Dbtif_gatt_server.cc349 vector<btgatt_db_element_t> service) { in on_service_added_cb()
355 vector<btgatt_db_element_t> service) { in add_service_impl()
373 vector<btgatt_db_element_t> service) { in btif_gatts_add_service()
/system/bt/service/
Dgatt_server.cc69 std::vector<btgatt_db_element_t> svc; in AddService()
297 std::vector<btgatt_db_element_t> svc) { in ServiceAddedCallback()
310 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.cc424 btgatt_db_element_t service[] = { in gap_attr_db_init()
452 sizeof(service) / sizeof(btgatt_db_element_t)); in gap_attr_db_init()
/system/bt/stack/gatt/
Dgatt_api.cc103 static uint16_t compute_service_size(btgatt_db_element_t* service, int count) { in compute_service_size()
105 btgatt_db_element_t* el = service; in compute_service_size()
170 tGATT_STATUS GATTS_AddService(tGATT_IF gatt_if, btgatt_db_element_t* service, in GATTS_AddService()
232 btgatt_db_element_t* el = service + 1; in GATTS_AddService()
/system/bt/service/test/
Dgatt_server_unittest.cc38 MOCK_METHOD2(AddService, bt_status_t(int, std::vector<btgatt_db_element_t>));
270 std::vector<btgatt_db_element_t> service_with_handles = { in SetUpTestService()

12