/system/bt/bta/test/common/ |
D | bta_gatt_api_mock.h | 30 virtual void AppDeregister(tGATT_IF client_if) = 0; 31 virtual void Open(tGATT_IF client_if, const RawAddress& remote_bda, 34 virtual void Open(tGATT_IF client_if, const RawAddress& remote_bda, 36 virtual void CancelOpen(tGATT_IF client_if, const RawAddress& remote_bda, 46 virtual tGATT_STATUS RegisterForNotifications(tGATT_IF client_if, 49 virtual tGATT_STATUS DeregisterForNotifications(tGATT_IF client_if, 61 MOCK_METHOD((void), AppDeregister, (tGATT_IF client_if), (override)); 63 (tGATT_IF client_if, const RawAddress& remote_bda, bool is_direct, 66 (tGATT_IF client_if, const RawAddress& remote_bda, bool is_direct, 69 (tGATT_IF client_if, const RawAddress& remote_bda, [all …]
|
D | bta_gatt_api_mock.cc | 32 void BTA_GATTC_AppDeregister(tGATT_IF client_if) { in BTA_GATTC_AppDeregister() 36 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() 43 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() 48 void BTA_GATTC_CancelOpen(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_CancelOpen() 74 tGATT_STATUS BTA_GATTC_RegisterForNotifications(tGATT_IF client_if, in BTA_GATTC_RegisterForNotifications() 81 tGATT_STATUS BTA_GATTC_DeregisterForNotifications(tGATT_IF client_if, in BTA_GATTC_DeregisterForNotifications()
|
/system/bt/bta/include/ |
D | bta_gatt_api.h | 130 tGATT_IF client_if; 171 tGATT_IF client_if; 180 tGATT_IF client_if; 202 tGATT_IF client_if; 208 tGATT_IF client_if; 213 tGATT_IF server_if; 221 tGATT_IF server_if; 315 tGATT_IF server_if; 321 tGATT_IF server_if; 330 tGATT_IF server_if; [all …]
|
/system/bt/test/mock/ |
D | mock_stack_gatt.cc | 41 bool GATTS_DeleteService(tGATT_IF gatt_if, Uuid* p_svc_uuid, in GATTS_DeleteService() 50 bool GATT_CancelConnect(tGATT_IF gatt_if, const RawAddress& bd_addr, in GATT_CancelConnect() 55 bool GATT_Connect(tGATT_IF gatt_if, const RawAddress& bd_addr, bool is_direct, in GATT_Connect() 60 bool GATT_Connect(tGATT_IF gatt_if, const RawAddress& bd_addr, bool is_direct, in GATT_Connect() 66 bool GATT_GetConnIdIfConnected(tGATT_IF gatt_if, const RawAddress& bd_addr, in GATT_GetConnIdIfConnected() 71 bool GATT_GetConnectionInfor(uint16_t conn_id, tGATT_IF* p_gatt_if, in GATT_GetConnectionInfor() 85 tGATT_IF GATT_Register(const Uuid& app_uuid128, std::string name, in GATT_Register() 123 tGATT_STATUS GATTS_AddService(tGATT_IF gatt_if, btgatt_db_element_t* service, in GATTS_AddService() 154 void GATT_Deregister(tGATT_IF gatt_if) { mock_function_count_map[__func__]++; } in GATT_Deregister() 159 void GATT_StartIf(tGATT_IF gatt_if) { mock_function_count_map[__func__]++; } in GATT_StartIf()
|
D | mock_bta_gatts_api.cc | 45 void BTA_GATTS_AppDeregister(tGATT_IF server_if) { in BTA_GATTS_AppDeregister() 52 void BTA_GATTS_CancelOpen(tGATT_IF server_if, const RawAddress& remote_bda, in BTA_GATTS_CancelOpen() 57 void BTA_GATTS_AddService(tGATT_IF server_if, in BTA_GATTS_AddService() 70 void BTA_GATTS_Open(tGATT_IF server_if, const RawAddress& remote_bda, in BTA_GATTS_Open() 81 void bta_gatts_add_service_impl(tGATT_IF server_if, in bta_gatts_add_service_impl()
|
D | mock_bta_vc_device.cc | 43 tGATT_IF gatt_if, GATT_READ_OP_CB chrc_read_cb, in EnqueueInitialRequests() 65 bool VolumeControlDevice::subscribe_for_notifications(tGATT_IF gatt_if, in subscribe_for_notifications() 82 void VolumeControlDevice::Disconnect(tGATT_IF gatt_if) { in Disconnect() 86 tGATT_IF gatt_if, GATT_READ_OP_CB chrc_read_cb, in EnqueueRemainingRequests()
|
D | mock_bta_gattc_api.cc | 68 tGATT_STATUS BTA_GATTC_DeregisterForNotifications(tGATT_IF client_if, in BTA_GATTC_DeregisterForNotifications() 74 tGATT_STATUS BTA_GATTC_RegisterForNotifications(tGATT_IF client_if, in BTA_GATTC_RegisterForNotifications() 80 void BTA_GATTC_AppDeregister(tGATT_IF client_if) { in BTA_GATTC_AppDeregister() 87 void BTA_GATTC_CancelOpen(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_CancelOpen() 111 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() 115 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open()
|
D | mock_stack_gatt_main.cc | 50 tGATT_IF gatt_if) { in gatt_connect() 58 bool gatt_update_app_hold_link_status(tGATT_IF gatt_if, tGATT_TCB* p_tcb, in gatt_update_app_hold_link_status() 108 void gatt_update_app_use_link_flag(tGATT_IF gatt_if, tGATT_TCB* p_tcb, in gatt_update_app_use_link_flag()
|
/system/bt/bta/gatt/ |
D | bta_gatts_int.h | 72 tGATT_IF server_if; 79 tGATT_IF server_if; 107 tGATT_IF server_if; 133 tGATT_IF gatt_if; 182 extern tBTA_GATTS_RCB* bta_gatts_find_app_rcb_by_app_if(tGATT_IF server_if); 184 tGATT_IF server_if);
|
D | bta_gatts_api.cc | 111 void BTA_GATTS_AppDeregister(tGATT_IF server_if) { in BTA_GATTS_AppDeregister() 121 void bta_gatts_add_service_impl(tGATT_IF server_if, in bta_gatts_add_service_impl() 174 extern void BTA_GATTS_AddService(tGATT_IF server_if, in BTA_GATTS_AddService() 305 void BTA_GATTS_Open(tGATT_IF server_if, const RawAddress& remote_bda, in BTA_GATTS_Open() 333 void BTA_GATTS_CancelOpen(tGATT_IF server_if, const RawAddress& remote_bda, in BTA_GATTS_CancelOpen()
|
D | bta_gattc_int.h | 88 tGATT_IF client_if; 165 tGATT_IF client_if; 238 tGATT_IF client_if; /* client interface with BTE stack for this application */ 410 extern tBTA_GATTC_CLCB* bta_gattc_clcb_alloc(tGATT_IF client_if, 414 extern tBTA_GATTC_CLCB* bta_gattc_find_alloc_clcb(tGATT_IF client_if, 430 extern bool bta_gattc_mark_bg_conn(tGATT_IF client_if, 432 extern bool bta_gattc_check_bg_conn(tGATT_IF client_if,
|
D | bta_gatts_act.cc | 43 static void bta_gatts_conn_cback(tGATT_IF gatt_if, const RawAddress& bda, 51 static void bta_gatts_phy_update_cback(tGATT_IF gatt_if, uint16_t conn_id, 54 static void bta_gatts_conn_update_cback(tGATT_IF gatt_if, uint16_t conn_id, 372 tGATT_IF gatt_if; in bta_gatts_indicate_handle() 500 tGATT_IF gatt_if; in bta_gatts_close() 542 tGATT_IF gatt_if; in bta_gatts_send_request_cback() 584 static void bta_gatts_conn_cback(tGATT_IF gatt_if, const RawAddress& bdaddr, in bta_gatts_conn_cback() 621 static void bta_gatts_phy_update_cback(tGATT_IF gatt_if, uint16_t conn_id, in bta_gatts_phy_update_cback() 639 static void bta_gatts_conn_update_cback(tGATT_IF gatt_if, uint16_t conn_id, in bta_gatts_conn_update_cback() 669 tGATT_IF gatt_if; in bta_gatts_cong_cback()
|
D | bta_gatts_utils.cc | 62 tBTA_GATTS_RCB* bta_gatts_find_app_rcb_by_app_if(tGATT_IF server_if) { in bta_gatts_find_app_rcb_by_app_if() 85 tGATT_IF server_if) { in bta_gatts_find_app_rcb_idx_by_app_if()
|
D | bta_gattc_api.cc | 84 static void app_deregister_impl(tGATT_IF client_if) { in app_deregister_impl() 99 void BTA_GATTC_AppDeregister(tGATT_IF client_if) { in BTA_GATTC_AppDeregister() 120 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() 127 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() 159 void BTA_GATTC_CancelOpen(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_CancelOpen() 641 tGATT_STATUS BTA_GATTC_RegisterForNotifications(tGATT_IF client_if, in BTA_GATTC_RegisterForNotifications() 704 tGATT_STATUS BTA_GATTC_DeregisterForNotifications(tGATT_IF client_if, in BTA_GATTC_DeregisterForNotifications()
|
D | bta_gattc_utils.cc | 131 tBTA_GATTC_CLCB* bta_gattc_clcb_alloc(tGATT_IF client_if, in bta_gattc_clcb_alloc() 176 tBTA_GATTC_CLCB* bta_gattc_find_alloc_clcb(tGATT_IF client_if, in bta_gattc_find_alloc_clcb() 377 tGATT_IF gatt_if; in bta_gattc_clear_notif_registration() 414 bool bta_gattc_mark_bg_conn(tGATT_IF client_if, in bta_gattc_mark_bg_conn() 473 bool bta_gattc_check_bg_conn(tGATT_IF client_if, const RawAddress& remote_bda, in bta_gattc_check_bg_conn()
|
D | bta_gattc_act.cc | 51 static void bta_gattc_conn_cback(tGATT_IF gattc_if, const RawAddress& bda, 64 static void bta_gattc_enc_cmpl_cback(tGATT_IF gattc_if, const RawAddress& bda); 66 static void bta_gattc_phy_update_cback(tGATT_IF gatt_if, uint16_t conn_id, 69 static void bta_gattc_conn_update_cback(tGATT_IF gatt_if, uint16_t conn_id, 311 void bta_gattc_process_enc_cmpl(tGATT_IF client_if, const RawAddress& bda) { in bta_gattc_process_enc_cmpl() 468 tGATT_IF gatt_if; in bta_gattc_conn() 1081 tGATT_IF client_if = p_clreg->client_if; in bta_gattc_deregister_cmpl() 1103 static void bta_gattc_conn_cback(tGATT_IF gattc_if, const RawAddress& bdaddr, in bta_gattc_conn_cback() 1134 static void bta_gattc_enc_cmpl_cback(tGATT_IF gattc_if, const RawAddress& bda) { in bta_gattc_enc_cmpl_cback() 1290 tGATT_IF gatt_if; in bta_gattc_process_indicate() [all …]
|
/system/bt/stack/test/gatt/ |
D | stack_gatt_test.cc | 42 return sizeof(bluetooth::Uuid) + sizeof(tGATT_CBACK) + sizeof(tGATT_IF) + in actual_sizeof_tGATT_REG() 52 void tGATT_CONN_CBACK(tGATT_IF gatt_if, const RawAddress& bda, uint16_t conn_id, in tGATT_CONN_CBACK() 58 void tGATT_ENC_CMPL_CB(tGATT_IF gatt_if, const RawAddress& bda) {} in tGATT_ENC_CMPL_CB() 59 void tGATT_PHY_UPDATE_CB(tGATT_IF gatt_if, uint16_t conn_id, uint8_t tx_phy, in tGATT_PHY_UPDATE_CB() 61 void tGATT_CONN_UPDATE_CB(tGATT_IF gatt_if, uint16_t conn_id, uint16_t interval, in tGATT_CONN_UPDATE_CB() 128 tGATT_IF apps[GATT_MAX_APPS - 1]; in TEST_F()
|
/system/bt/stack/include/ |
D | gatt_api.h | 657 typedef void(tGATT_CONN_CBACK)(tGATT_IF gatt_if, const RawAddress& bda, 670 typedef void(tGATT_ENC_CMPL_CB)(tGATT_IF gatt_if, const RawAddress& bda); 673 typedef void(tGATT_PHY_UPDATE_CB)(tGATT_IF gatt_if, uint16_t conn_id, 678 typedef void(tGATT_CONN_UPDATE_CB)(tGATT_IF gatt_if, uint16_t conn_id, 800 extern tGATT_STATUS GATTS_AddService(tGATT_IF gatt_if, 817 extern bool GATTS_DeleteService(tGATT_IF gatt_if, bluetooth::Uuid* p_svc_uuid, 1030 extern tGATT_IF GATT_Register(const bluetooth::Uuid& p_app_uuid128, 1045 extern void GATT_Deregister(tGATT_IF gatt_if); 1060 extern void GATT_StartIf(tGATT_IF gatt_if); 1082 extern bool GATT_Connect(tGATT_IF gatt_if, const RawAddress& bd_addr, [all …]
|
/system/bt/bta/vc/ |
D | devices.h | 89 void Disconnect(tGATT_IF gatt_if); 103 bool EnqueueInitialRequests(tGATT_IF gatt_if, GATT_READ_OP_CB chrc_read_cb, 105 void EnqueueRemainingRequests(tGATT_IF gatt_if, GATT_READ_OP_CB chrc_read_cb, 120 bool subscribe_for_notifications(tGATT_IF gatt_if, uint16_t handle, 170 void Disconnect(tGATT_IF gatt_if) { in Disconnect()
|
D | device.cc | 29 void VolumeControlDevice::Disconnect(tGATT_IF gatt_if) { in Disconnect() 155 bool VolumeControlDevice::subscribe_for_notifications(tGATT_IF gatt_if, in subscribe_for_notifications() 184 tGATT_IF gatt_if, GATT_READ_OP_CB chrc_read_cb, in EnqueueInitialRequests() 207 tGATT_IF gatt_if, GATT_READ_OP_CB chrc_read_cb, in EnqueueRemainingRequests()
|
/system/bt/stack/gatt/ |
D | gatt_api.cc | 170 tGATT_STATUS GATTS_AddService(tGATT_IF gatt_if, btgatt_db_element_t* service, in GATTS_AddService() 358 bool GATTS_DeleteService(tGATT_IF gatt_if, Uuid* p_svc_uuid, in GATTS_DeleteService() 439 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); in GATTS_HandleValueIndication() 502 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); in GATTS_HandleValueNotification() 555 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); in GATTS_SendRsp() 605 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); in GATTC_ConfigureMTU() 666 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); in GATTC_Discover() 739 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); in GATTC_Read() 820 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); in GATTC_Write() 873 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); in GATTC_ExecuteWrite() [all …]
|
D | gatt_int.h | 39 #define GATT_GET_GATT_IF(conn_id) ((tGATT_IF)((uint8_t)(conn_id))) 192 tGATT_IF gatt_if{0}; /* one based */ 282 tGATT_IF gatt_if; /* this service is belong to which application */ 394 tGATT_IF gatt_if; 447 tGATT_IF gatt_if); 449 extern void gatt_update_app_use_link_flag(tGATT_IF gatt_if, tGATT_TCB* p_tcb, 531 extern bool gatt_auto_connect_dev_remove(tGATT_IF gatt_if, 537 extern tGATT_STATUS gatt_sr_process_app_rsp(tGATT_TCB& tcb, tGATT_IF gatt_if, 549 extern bool gatt_cancel_open(tGATT_IF gatt_if, const RawAddress& bda); 556 extern tGATT_REG* gatt_get_regcb(tGATT_IF gatt_if); [all …]
|
/system/bt/stack/test/common/ |
D | mock_gatt_main.cc | 49 tGATT_IF gatt_if) { in gatt_connect() 57 bool gatt_update_app_hold_link_status(tGATT_IF gatt_if, tGATT_TCB* p_tcb, in gatt_update_app_hold_link_status() 108 void gatt_update_app_use_link_flag(tGATT_IF gatt_if, tGATT_TCB* p_tcb, in gatt_update_app_use_link_flag()
|
/system/bt/stack/srvc/ |
D | srvc_eng_int.h | 51 tGATT_IF gatt_if;
|
/system/bt/btif/src/ |
D | btif_gatt_test.cc | 48 tGATT_IF gatt_if; 69 static void btif_test_connect_cback(tGATT_IF, const RawAddress&, in btif_test_connect_cback() argument
|