Home
last modified time | relevance | path

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

12

/system/bt/bta/gatt/
Dbta_gattc_utils.cc47 tBTA_GATTC_RCB* bta_gattc_cl_get_regcb(uint8_t client_if) { in bta_gattc_cl_get_regcb() argument
52 if (p_clrcb->in_use && p_clrcb->client_if == client_if) return p_clrcb; in bta_gattc_cl_get_regcb()
82 tBTA_GATTC_CLCB* bta_gattc_find_clcb_by_cif(uint8_t client_if, in bta_gattc_find_clcb_by_cif() argument
89 if (p_clcb->in_use && p_clcb->p_rcb->client_if == client_if && in bta_gattc_find_clcb_by_cif()
123 tBTA_GATTC_CLCB* bta_gattc_clcb_alloc(tGATT_IF client_if, in bta_gattc_clcb_alloc() argument
140 p_clcb->p_rcb = bta_gattc_cl_get_regcb(client_if); in bta_gattc_clcb_alloc()
168 tBTA_GATTC_CLCB* bta_gattc_find_alloc_clcb(tGATT_IF client_if, in bta_gattc_find_alloc_clcb() argument
173 p_clcb = bta_gattc_find_clcb_by_cif(client_if, remote_bda, transport); in bta_gattc_find_alloc_clcb()
175 p_clcb = bta_gattc_clcb_alloc(client_if, remote_bda, transport); in bta_gattc_find_alloc_clcb()
406 bool bta_gattc_mark_bg_conn(tGATT_IF client_if, in bta_gattc_mark_bg_conn() argument
[all …]
Dbta_gattc_api.cc84 static void app_deregister_impl(tGATT_IF client_if) { in app_deregister_impl() argument
85 bta_gattc_deregister(bta_gattc_cl_get_regcb(client_if)); in app_deregister_impl()
99 void BTA_GATTC_AppDeregister(tGATT_IF client_if) { in BTA_GATTC_AppDeregister() argument
100 do_in_main_thread(FROM_HERE, base::Bind(&app_deregister_impl, client_if)); in BTA_GATTC_AppDeregister()
120 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() argument
124 BTA_GATTC_Open(client_if, remote_bda, is_direct, transport, opportunistic, in BTA_GATTC_Open()
128 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() argument
135 p_buf->client_if = client_if; in BTA_GATTC_Open()
160 void BTA_GATTC_CancelOpen(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_CancelOpen() argument
166 p_buf->client_if = client_if; in BTA_GATTC_CancelOpen()
[all …]
Dbta_gattc_act.cc144 if (!bta_hh_le_is_hh_gatt_if(bta_gattc_cb.cl_rcb[i].client_if)) { in bta_gattc_disable()
160 void bta_gattc_start_if(uint8_t client_if) { in bta_gattc_start_if() argument
161 if (!bta_gattc_cl_get_regcb(client_if)) { in bta_gattc_start_if()
162 LOG(ERROR) << "Unable to start app.: Unknown client_if=" << +client_if; in bta_gattc_start_if()
166 GATT_StartIf(client_if); in bta_gattc_start_if()
173 uint8_t client_if = 0; in bta_gattc_register() local
183 if ((bta_gattc_cb.cl_rcb[i].client_if = in bta_gattc_register()
193 client_if = bta_gattc_cb.cl_rcb[i].client_if; in bta_gattc_register()
196 base::Bind(&bta_gattc_start_if, client_if)); in bta_gattc_register()
204 if (!cb.is_null()) cb.Run(client_if, status); in bta_gattc_register()
[all …]
Dbta_gattc_int.h91 tGATT_IF client_if; member
168 tGATT_IF client_if; member
235 tGATT_IF client_if; /* client interface with BTE stack for this application */ member
383 extern tBTA_GATTC_CLCB* bta_gattc_find_clcb_by_cif(uint8_t client_if,
387 extern tBTA_GATTC_CLCB* bta_gattc_clcb_alloc(tGATT_IF client_if,
391 extern tBTA_GATTC_CLCB* bta_gattc_find_alloc_clcb(tGATT_IF client_if,
394 extern tBTA_GATTC_RCB* bta_gattc_cl_get_regcb(uint8_t client_if);
406 extern bool bta_gattc_mark_bg_conn(tGATT_IF client_if,
408 extern bool bta_gattc_check_bg_conn(tGATT_IF client_if,
/system/bt/include/hardware/
Dbt_gatt_client.h99 typedef void (*register_client_callback)(int status, int client_if,
103 typedef void (*connect_callback)(int conn_id, int status, int client_if,
107 typedef void (*disconnect_callback)(int conn_id, int status, int client_if,
147 typedef void (*read_remote_rssi_callback)(int client_if, const RawAddress& bda,
213 bt_status_t (*unregister_client)(int client_if);
216 bt_status_t (*connect)(int client_if, const RawAddress& bd_addr,
221 bt_status_t (*disconnect)(int client_if, const RawAddress& bd_addr,
225 bt_status_t (*refresh)(int client_if, const RawAddress& bd_addr);
270 bt_status_t (*register_for_notification)(int client_if,
275 bt_status_t (*deregister_for_notification)(int client_if,
[all …]
Dble_scanner.h27 typedef void (*batchscan_reports_callback)(int client_if, int status,
32 typedef void (*batchscan_threshold_callback)(int client_if);
84 uint8_t client_if, uint8_t action, uint8_t filt_index,
103 virtual void BatchscanConfigStorage(int client_if, int batch_scan_full_max,
117 virtual void BatchscanReadReports(int client_if, int scan_mode) = 0;
Dbt_common_types.h32 uint8_t client_if; member
/system/bt/btif/src/
Dbtif_gatt_client.cc140 p_data->open.status, p_data->open.client_if, in btif_gattc_upstreams_evt()
156 p_data->status, p_data->close.client_if, in btif_gattc_upstreams_evt()
244 void btif_gattc_unregister_app_impl(int client_if) { in btif_gattc_unregister_app_impl() argument
245 BTA_GATTC_AppDeregister(client_if); in btif_gattc_unregister_app_impl()
248 bt_status_t btif_gattc_unregister_app(int client_if) { in btif_gattc_unregister_app() argument
250 return do_in_jni_thread(Bind(&btif_gattc_unregister_app_impl, client_if)); in btif_gattc_unregister_app()
253 void btif_gattc_open_impl(int client_if, RawAddress address, bool is_direct, in btif_gattc_open_impl() argument
278 client_if, address); in btif_gattc_open_impl()
309 BTA_GATTC_Open(client_if, address, is_direct, transport, opportunistic, in btif_gattc_open_impl()
313 bt_status_t btif_gattc_open(int client_if, const RawAddress& bd_addr, in btif_gattc_open() argument
[all …]
Dbtif_ble_scanner.cc240 uint8_t client_if, uint8_t action, uint8_t filt_index, in ScanFilterParamSetup() argument
248 client_if)); in ScanFilterParamSetup()
296 void BatchscanConfigStorage(int client_if, int batch_scan_full_max, in BatchscanConfigStorage() argument
306 bta_batch_scan_threshold_cb, (tBTM_BLE_REF_VALUE)client_if)); in BatchscanConfigStorage()
322 void BatchscanReadReports(int client_if, int scan_mode) override { in BatchscanReadReports() argument
325 Bind(bta_batch_scan_reports_cb, client_if))); in BatchscanReadReports()
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cc37 bt_status_t FakeUnregisterClient(int client_if) { in FakeUnregisterClient() argument
38 if (g_client_handler) return g_client_handler->UnregisterClient(client_if); in FakeUnregisterClient()
43 bt_status_t FakeConnect(int client_if, const RawAddress& bd_addr, in FakeConnect() argument
47 return g_client_handler->Connect(client_if, bd_addr, is_direct, transport); in FakeConnect()
52 bt_status_t FakeDisconnect(int client_if, const RawAddress& bd_addr, in FakeDisconnect() argument
55 return g_client_handler->Disconnect(client_if, bd_addr, conn_id); in FakeDisconnect()
187 int status, int client_if, const bluetooth::Uuid& app_uuid) { in NotifyRegisterClientCallback() argument
189 observer.RegisterClientCallback(this, status, client_if, app_uuid); in NotifyRegisterClientCallback()
194 int client_if, in NotifyConnectCallback() argument
197 observer.ConnectCallback(this, conn_id, status, client_if, bda); in NotifyConnectCallback()
[all …]
Dfake_bluetooth_gatt_interface.h39 virtual bt_status_t UnregisterClient(int client_if) = 0;
41 virtual bt_status_t Connect(int client_if, const RawAddress& bd_addr,
43 virtual bt_status_t Disconnect(int client_if, const RawAddress& bd_addr,
79 void NotifyRegisterScannerCallback(int status, int client_if,
85 void NotifyRegisterClientCallback(int status, int client_if,
87 void NotifyConnectCallback(int conn_id, int status, int client_if,
89 void NotifyDisconnectCallback(int conn_id, int status, int client_if,
Dbluetooth_gatt_interface.cc84 void RegisterClientCallback(int status, int client_if, in RegisterClientCallback() argument
87 VLOG(2) << __func__ << " - status: " << status << " client_if: " << client_if; in RegisterClientCallback()
91 RegisterClientCallback(g_interface, status, client_if, app_uuid)); in RegisterClientCallback()
110 void ConnectCallback(int conn_id, int status, int client_if, in ConnectCallback() argument
115 VLOG(2) << __func__ << " - status: " << status << " client_if: " << client_if in ConnectCallback()
119 ConnectCallback(g_interface, conn_id, status, client_if, bda)); in ConnectCallback()
122 void DisconnectCallback(int conn_id, int status, int client_if, in DisconnectCallback() argument
128 << " client_if: " << client_if in DisconnectCallback()
131 DisconnectCallback(g_interface, conn_id, status, client_if, bda)); in DisconnectCallback()
Dbluetooth_gatt_interface.h69 int status, int client_if,
73 int conn_id, int status, int client_if,
77 int conn_id, int status, int client_if,
/system/connectivity/wificond/tests/
Dserver_unittest.cpp173 sp<IClientInterface> client_if; in TEST_F() local
176 kFakeInterfaceName, &client_if).isOk()); in TEST_F()
177 EXPECT_NE(nullptr, client_if.get()); in TEST_F()
191 sp<IClientInterface> client_if; in TEST_F() local
194 EXPECT_TRUE(server_.createClientInterface(kFakeInterfaceName, &client_if).isOk()); in TEST_F()
195 EXPECT_NE(nullptr, client_if.get()); in TEST_F()
219 sp<IClientInterface> client_if; in TEST_F() local
223 kFakeInterfaceName, &client_if).isOk()); in TEST_F()
224 EXPECT_NE(nullptr, client_if.get()); in TEST_F()
/system/bt/bta/include/
Dbta_gatt_api.h105 tGATT_IF client_if; member
146 tGATT_IF client_if; member
155 tGATT_IF client_if; member
177 tGATT_IF client_if; member
183 tGATT_IF client_if; member
404 extern void BTA_GATTC_AppDeregister(tGATT_IF client_if);
419 extern void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda,
422 extern void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda,
440 extern void BTA_GATTC_CancelOpen(tGATT_IF client_if,
668 tGATT_IF client_if, const RawAddress& remote_bda, uint16_t handle);
[all …]
/system/bt/service/
Dgatt_server_old.cc117 int client_if; member
348 void RegisterClientCallback(int status, int client_if, in RegisterClientCallback() argument
351 client_if, app_uuid.ToString().c_str()); in RegisterClientCallback()
352 g_internal->client_if = client_if; in RegisterClientCallback()
384 void ClientConnectCallback(int conn_id, int status, int client_if, in ClientConnectCallback() argument
388 conn_id, status, client_if, addr.c_str()); in ClientConnectCallback()
391 void ClientDisconnectCallback(int conn_id, int status, int client_if, in ClientDisconnectCallback() argument
395 conn_id, status, client_if, addr.c_str()); in ClientDisconnectCallback()
515 client_if(0), in ServerInternals()
525 gatt->client->unregister_client(client_if); in ~ServerInternals()
/system/bt/service/test/
Dlow_energy_scanner_unittest.cc49 void(uint8_t client_if, uint8_t action, uint8_t filt_index,
58 void(int client_if, int batch_scan_full_max,
68 MOCK_METHOD2(BatchscanReadReports, void(int client_if, int scan_mode));
78 uint8_t client_if, uint8_t action, uint8_t filt_index, in ScanFilterParamSetup() argument
81 ScanFilterParamSetupImpl(client_if, action, filt_index, filt_param.get(), in ScanFilterParamSetup()
/system/bt/service/doc/
DIBluetoothLowEnergy.txt31 * |client_if|.
33 void unregisterClient(in int client_if);
86 boolean startMultiAdvertising(in int client_if,
96 boolean stopMultiAdvertising(in int client_if);
DIBluetoothLowEnergyCallback.txt25 * if the client was successfully registered. |client_if| is the owning
29 void onClientRegistered(in int status, in int client_if);
/system/bt/service/common/android/bluetooth/
DIBluetoothLowEnergy.aidl26 void UnregisterClient(int client_if); in UnregisterClient() argument
/system/bt/stack/btm/
Dbtm_ble_batchscan.cc83 adv_data.client_if = (uint8_t)ble_advtrack_cb.ref_value; in btm_ble_batchscan_filter_track_adv_vse_cback()
524 track_adv_data.client_if = (uint8_t)ref_value; in BTM_BleTrackAdvertiser()
/system/bt/stack/include/
Dbtm_ble_api_types.h529 typedef void (*tBLE_SCAN_PARAM_SETUP_CBACK)(tGATT_IF client_if,
/system/bt/bta/hh/
Dbta_hh_int.h357 extern bool bta_hh_le_is_hh_gatt_if(tGATT_IF client_if);
/system/bt/bta/hearing_aid/
Dhearing_aid.cc347 tGATT_IF client_if, RawAddress address, in OnGattConnected() argument
1464 tGATT_IF client_if, RawAddress remote_bda, in OnGattDisconnected() argument
1657 instance->OnGattConnected(o.status, o.conn_id, o.client_if, o.remote_bda, in hearingaid_gattc_callback()
1665 instance->OnGattDisconnected(c.status, c.conn_id, c.client_if, in hearingaid_gattc_callback()
/system/bt/bta/dm/
Dbta_dm_int.h362 tGATT_IF client_if; member

12