/system/bt/btif/src/ |
D | btif_gatt_client.c | 134 uint8_t client_if; member 153 uint8_t client_if; member 191 uint8_t client_if; member 242 static bt_status_t btif_gattc_multi_adv_disable(int client_if); 245 int client_if = PTR_TO_INT(data); in btif_multi_adv_stop_cb() local 246 btif_gattc_multi_adv_disable(client_if); // Does context switch in btif_multi_adv_stop_cb() 458 , p_data->reg_oper.client_if in btif_gattc_upstreams_evt() 542 , p_data->open.status, p_data->open.client_if, &bda); in btif_gattc_upstreams_evt() 560 , p_data->status, p_data->close.client_if, &bda); in btif_gattc_upstreams_evt() 613 HAL_CBACK(bt_gatt_callbacks, client->read_remote_rssi_cb, p_btif_cb->client_if, in btif_gattc_upstreams_evt() [all …]
|
D | btif_gatt_multi_adv_util.c | 101 int btif_multi_adv_add_instid_map(int client_if, int inst_id, BOOLEAN gen_temp_instid) in btif_multi_adv_add_instid_map() argument 111 if (client_if == p_multi_adv_data_cb->clntif_map[i + i]) in btif_multi_adv_add_instid_map() 144 p_multi_adv_data_cb->clntif_map[i + i] = client_if; in btif_multi_adv_add_instid_map() 162 int btif_multi_adv_instid_for_clientif(int client_if) in btif_multi_adv_instid_for_clientif() argument 174 if (client_if == p_multi_adv_data_cb->clntif_map[i + i]) in btif_multi_adv_instid_for_clientif() 176 BTIF_TRACE_DEBUG("%s - Client if found", __FUNCTION__, client_if); in btif_multi_adv_instid_for_clientif() 210 void btif_gattc_adv_data_packager(int client_if, bool set_scan_rsp, in btif_gattc_adv_data_packager() argument 218 p_multi_adv_inst->client_if = (uint8_t) client_if; in btif_gattc_adv_data_packager() 440 void btif_gattc_clear_clientif(int client_if, BOOLEAN stop_timer) in btif_gattc_clear_clientif() argument 449 if (client_if == p_multi_adv_data_cb->clntif_map[i]) in btif_gattc_clear_clientif() [all …]
|
/system/bt/service/hal/ |
D | fake_bluetooth_gatt_interface.cpp | 36 bt_status_t FakeUnregisterClient(int client_if) { in FakeUnregisterClient() argument 38 return g_client_handler->UnregisterClient(client_if); in FakeUnregisterClient() 50 bt_status_t FakeConnect(int client_if, const bt_bdaddr_t *bd_addr, in FakeConnect() argument 53 return g_client_handler->Connect(client_if, bd_addr, is_direct, transport); in FakeConnect() 58 bt_status_t FakeDisconnect(int client_if, const bt_bdaddr_t *bd_addr, in FakeDisconnect() argument 61 return g_client_handler->Disconnect(client_if, bd_addr, conn_id); in FakeDisconnect() 67 int client_if, int min_interval, int max_interval, int adv_type, in FakeMultiAdvEnable() argument 70 return g_client_handler->MultiAdvEnable(client_if, min_interval, max_interval, in FakeMultiAdvEnable() 77 int client_if, bool set_scan_rsp, bool include_name, in FakeMultiAdvSetInstData() argument 84 client_if, set_scan_rsp, include_name, in FakeMultiAdvSetInstData() [all …]
|
D | fake_bluetooth_gatt_interface.h | 37 virtual bt_status_t UnregisterClient(int client_if) = 0; 40 virtual bt_status_t Connect(int client_if, const bt_bdaddr_t *bd_addr, 42 virtual bt_status_t Disconnect(int client_if, const bt_bdaddr_t *bd_addr, 46 int client_if, int min_interval, int max_interval, int adv_type, 49 int client_if, bool set_scan_rsp, bool include_name, 54 virtual bt_status_t MultiAdvDisable(int client_if) = 0; 95 void NotifyRegisterClientCallback(int status, int client_if, 97 void NotifyConnectCallback(int conn_id, int status, int client_if, 99 void NotifyDisconnectCallback(int conn_id, int status, int client_if, 103 void NotifyMultiAdvEnableCallback(int client_if, int status); [all …]
|
D | bluetooth_gatt_interface.cpp | 73 void RegisterClientCallback(int status, int client_if, bt_uuid_t* app_uuid) { in RegisterClientCallback() argument 75 VLOG(2) << __func__ << " - status: " << status << " client_if: " << client_if; in RegisterClientCallback() 80 RegisterClientCallback(g_interface, status, client_if, *app_uuid)); in RegisterClientCallback() 95 void ConnectCallback(int conn_id, int status, int client_if, bt_bdaddr_t* bda) { in ConnectCallback() argument 101 << " client_if: " << client_if in ConnectCallback() 106 ConnectCallback(g_interface, conn_id, status, client_if, *bda)); in ConnectCallback() 109 void DisconnectCallback(int conn_id, int status, int client_if, in DisconnectCallback() argument 117 << " client_if: " << client_if in DisconnectCallback() 120 DisconnectCallback(g_interface, conn_id, status, client_if, *bda)); in DisconnectCallback() 182 void ListenCallback(int status, int client_if) { in ListenCallback() argument [all …]
|
D | bluetooth_gatt_interface.h | 56 int status, int client_if, 68 int client_if, 75 int client_if, 101 int status, int client_if); 109 int client_if, int status); 113 int client_if, int status); 117 int client_if, int status); 121 int client_if, int status);
|
/system/bt/btif/include/ |
D | btif_gatt_multi_adv_util.h | 37 int client_if; member 55 UINT8 client_if; member 75 extern int btif_multi_adv_add_instid_map(int client_if, int inst_id, 77 extern int btif_multi_adv_instid_for_clientif(int client_if); 79 extern void btif_gattc_clear_clientif(int client_if, BOOLEAN stop_timer); 85 extern void btif_gattc_adv_data_packager(int client_if, bool set_scan_rsp, 91 void btif_multi_adv_timer_ctrl(int client_if, alarm_callback_t cb);
|
/system/bt/bta/gatt/ |
D | bta_gattc_utils.c | 126 tBTA_GATTC_RCB * bta_gattc_cl_get_regcb(UINT8 client_if) in bta_gattc_cl_get_regcb() argument 134 p_clrcb->client_if == client_if) in bta_gattc_cl_get_regcb() 168 tBTA_GATTC_CLCB * bta_gattc_find_clcb_by_cif (UINT8 client_if, BD_ADDR remote_bda, in bta_gattc_find_clcb_by_cif() argument 177 p_clcb->p_rcb->client_if == client_if && in bta_gattc_find_clcb_by_cif() 216 tBTA_GATTC_CLCB * bta_gattc_clcb_alloc(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, in bta_gattc_clcb_alloc() argument 235 p_clcb->p_rcb = bta_gattc_cl_get_regcb(client_if); in bta_gattc_clcb_alloc() 265 tBTA_GATTC_CLCB *bta_gattc_find_alloc_clcb(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, in bta_gattc_find_alloc_clcb() argument 270 if ((p_clcb = bta_gattc_find_clcb_by_cif(client_if, remote_bda, transport)) == NULL) in bta_gattc_find_alloc_clcb() 272 p_clcb = bta_gattc_clcb_alloc(client_if, remote_bda, transport); in bta_gattc_find_alloc_clcb() 525 BOOLEAN bta_gattc_mark_bg_conn (tBTA_GATTC_IF client_if, BD_ADDR_PTR remote_bda_ptr, in bta_gattc_mark_bg_conn() argument [all …]
|
D | bta_gattc_api.c | 113 void BTA_GATTC_AppDeregister(tBTA_GATTC_IF client_if) in BTA_GATTC_AppDeregister() argument 119 p_buf->client_if = client_if; in BTA_GATTC_AppDeregister() 139 void BTA_GATTC_Open(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, in BTA_GATTC_Open() argument 146 p_buf->client_if = client_if; in BTA_GATTC_Open() 168 void BTA_GATTC_CancelOpen(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, BOOLEAN is_direct) in BTA_GATTC_CancelOpen() argument 174 p_buf->client_if = client_if; in BTA_GATTC_CancelOpen() 593 tBTA_GATT_STATUS BTA_GATTC_RegisterForNotifications (tBTA_GATTC_IF client_if, in BTA_GATTC_RegisterForNotifications() argument 606 if ((p_clreg = bta_gattc_cl_get_regcb(client_if)) != NULL) in BTA_GATTC_RegisterForNotifications() 644 APPL_TRACE_ERROR("Client_if: %d Not Registered", client_if); in BTA_GATTC_RegisterForNotifications() 663 tBTA_GATT_STATUS BTA_GATTC_DeregisterForNotifications (tBTA_GATTC_IF client_if, in BTA_GATTC_DeregisterForNotifications() argument [all …]
|
D | bta_gattc_act.c | 159 if (!bta_hh_le_is_hh_gatt_if(p_cb->cl_rcb[i].client_if)) { in bta_gattc_disable() 206 …if ((p_app_uuid == NULL) || (p_cb->cl_rcb[i].client_if = GATT_Register(p_app_uuid, &bta_gattc_cl_c… in bta_gattc_register() 218 cb_data.reg_oper.client_if = p_cb->cl_rcb[i].client_if; in bta_gattc_register() 223 p_buf->client_if = p_cb->cl_rcb[i].client_if; in bta_gattc_register() 255 if (bta_gattc_cl_get_regcb(p_msg->int_start_if.client_if) !=NULL ) in bta_gattc_start_if() 257 GATT_StartIf(p_msg->int_start_if.client_if); in bta_gattc_start_if() 261 … APPL_TRACE_ERROR("Unable to start app.: Unknown interface =%d",p_msg->int_start_if.client_if ); in bta_gattc_start_if() 285 if (p_cb->bg_track[i].cif_mask & (1 <<(p_clreg->client_if - 1))) in bta_gattc_deregister() 287 … bta_gattc_mark_bg_conn(p_clreg->client_if, p_cb->bg_track[i].remote_bda, FALSE, FALSE); in bta_gattc_deregister() 288 GATT_CancelConnect(p_clreg->client_if, p_cb->bg_track[i].remote_bda, FALSE); in bta_gattc_deregister() [all …]
|
D | bta_gattc_int.h | 105 tBTA_GATTC_IF client_if; member 115 tBTA_GATTC_IF client_if; member 182 tBTA_GATTC_IF client_if; member 197 tBTA_GATTC_IF client_if; member 207 tBTA_GATTC_IF client_if; member 313 … tBTA_GATTC_IF client_if; /* client interface with BTE stack for this application */ member 454 extern tBTA_GATTC_CLCB * bta_gattc_find_clcb_by_cif (UINT8 client_if, BD_ADDR remote_bda, tBTA_TRAN… 456 extern tBTA_GATTC_CLCB * bta_gattc_clcb_alloc(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, tBTA_TRA… 458 extern tBTA_GATTC_CLCB * bta_gattc_find_alloc_clcb(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, tBT… 459 extern tBTA_GATTC_RCB * bta_gattc_cl_get_regcb(UINT8 client_if); [all …]
|
D | bta_gattc_main.c | 355 p_clreg = bta_gattc_cl_get_regcb(((tBTA_GATTC_DATA *)p_msg)->api_dereg.client_if); in bta_gattc_hdl_event()
|
/system/bt/service/common/bluetooth/binder/ |
D | IBluetoothLowEnergy.h | 73 virtual void UnregisterClient(int client_if) = 0; 88 int client_if, 92 virtual bool StopMultiAdvertising(int client_if) = 0; 126 void UnregisterClient(int client_if) override; 140 int client_if, 144 bool StopMultiAdvertising(int client_if) override;
|
D | IBluetoothLowEnergyCallback.cpp | 54 int client_if = data.readInt32(); in onTransact() local 55 OnClientRegistered(status, client_if); in onTransact() 103 int status, int client_if) { in OnClientRegistered() argument 109 data.writeInt32(client_if); in OnClientRegistered()
|
D | IBluetoothLowEnergyCallback.h | 58 virtual void OnClientRegistered(int status, int client_if) = 0; 99 void OnClientRegistered(int status, int client_if) override;
|
/system/bt/service/ |
D | gatt_server_old.cpp | 117 int client_if; member 338 void RegisterClientCallback(int status, int client_if, bt_uuid_t *app_uuid) { in RegisterClientCallback() argument 340 client_if, app_uuid->uu[0]); in RegisterClientCallback() 341 g_internal->client_if = client_if; in RegisterClientCallback() 345 client_if, false, /* beacon, not scan response */ in RegisterClientCallback() 360 btstat = g_internal->gatt->client->listen(client_if, true); in RegisterClientCallback() 366 void ListenCallback(int status, int client_if) { in ListenCallback() argument 367 LOG_INFO(LOG_TAG, "%s: status:%d client_if:%d", __func__, status, client_if); in ListenCallback() 389 void ClientConnectCallback(int conn_id, int status, int client_if, in ClientConnectCallback() argument 393 conn_id, status, client_if, addr.c_str()); in ClientConnectCallback() [all …]
|
/system/bt/bta/include/ |
D | bta_gatt_api.h | 249 tBTA_GATTC_IF client_if; member 297 tBTA_GATTC_IF client_if; member 307 tBTA_GATTC_IF client_if; member 331 tBTA_GATTC_IF client_if; member 338 tBTA_GATTC_IF client_if; member 649 extern void BTA_GATTC_AppDeregister (tBTA_GATTC_IF client_if); 665 extern void BTA_GATTC_Open(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, 682 extern void BTA_GATTC_CancelOpen(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, BOOLEAN is_direct); 868 extern tBTA_GATT_STATUS BTA_GATTC_RegisterForNotifications (tBTA_GATTC_IF client_if, 885 extern tBTA_GATT_STATUS BTA_GATTC_DeregisterForNotifications (tBTA_GATTC_IF client_if, [all …]
|
/system/bt/service/doc/ |
D | IBluetoothLowEnergy.txt | 31 * |client_if|. 33 void unregisterClient(in int client_if); 86 boolean startMultiAdvertising(in int client_if, 96 boolean stopMultiAdvertising(in int client_if);
|
D | IBluetoothLowEnergyCallback.txt | 25 * if the client was successfully registered. |client_if| is the owning 29 void onClientRegistered(in int status, in int client_if);
|
/system/bt/test/suite/gatt/ |
D | gatt_test.cpp | 116 int status, int client_if) { in ListenCallback() argument 118 client_interface_id_ = client_if; in ListenCallback()
|
D | gatt_test.h | 64 int status, int client_if) override;
|
/system/bt/stack/include/ |
D | btm_ble_api.h | 889 typedef void (*tBLE_SCAN_PARAM_SETUP_CBACK)(tGATT_IF client_if, tBTM_STATUS status); 1009 extern void BTM_BleSetScanParams(tGATT_IF client_if, UINT32 scan_interval,
|
/system/bt/bta/dm/ |
D | bta_dm_int.h | 460 tBTA_GATTC_IF client_if; member 932 tBTA_GATTC_IF client_if; member
|
D | bta_dm_act.c | 4627 BTM_BleSetScanParams(p_data->ble_set_scan_params.client_if, in bta_dm_ble_set_scan_params() 5077 track_adv_data.client_if = (UINT8)p_data->ble_track_advert.ref_value; in bta_dm_ble_track_advertiser() 5321 if (bta_dm_search_cb.client_if == BTA_GATTS_INVALID_IF) in bta_dm_gattc_register() 5513 BTA_GATTC_Open(bta_dm_search_cb.client_if, bd_addr, TRUE, BTA_GATT_TRANSPORT_LE); in btm_dm_start_gatt_discovery() 5529 BTA_GATTC_CancelOpen(bta_dm_search_cb.client_if, bd_addr, TRUE); in bta_dm_cancel_gatt_discovery() 5561 p_data->client_if, in bta_dm_proc_open_evt() 5592 APPL_TRACE_DEBUG("BTA_GATTC_REG_EVT client_if = %d", p_data->reg_oper.client_if); in bta_dm_gattc_callback() 5594 bta_dm_search_cb.client_if = p_data->reg_oper.client_if; in bta_dm_gattc_callback() 5596 bta_dm_search_cb.client_if = BTA_GATTS_INVALID_IF; in bta_dm_gattc_callback()
|
D | bta_dm_api.c | 852 void BTA_DmSetBleScanParams(tGATT_IF client_if, UINT32 scan_interval, in BTA_DmSetBleScanParams() argument 860 p_msg->client_if = client_if; in BTA_DmSetBleScanParams()
|