/aosp12/system/bt/bta/test/common/ |
H A D | bta_gatt_api_mock.cc | 32 void BTA_GATTC_AppDeregister(tGATT_IF client_if) { in BTA_GATTC_AppDeregister() argument 33 gatt_interface->AppDeregister(client_if); in BTA_GATTC_AppDeregister() 36 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() argument 39 gatt_interface->Open(client_if, remote_bda, is_direct, transport, in BTA_GATTC_Open() 43 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() argument 45 gatt_interface->Open(client_if, remote_bda, is_direct, opportunistic); in BTA_GATTC_Open() 48 void BTA_GATTC_CancelOpen(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_CancelOpen() argument 50 gatt_interface->CancelOpen(client_if, remote_bda, is_direct); in BTA_GATTC_CancelOpen() 74 tGATT_STATUS BTA_GATTC_RegisterForNotifications(tGATT_IF client_if, in BTA_GATTC_RegisterForNotifications() argument 77 return gatt_interface->RegisterForNotifications(client_if, remote_bda, in BTA_GATTC_RegisterForNotifications() [all …]
|
H A 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, 69 (tGATT_IF client_if, const RawAddress& remote_bda, 80 (tGATT_IF client_if, const RawAddress& remote_bda, [all …]
|
/aosp12/system/bt/bta/gatt/ |
H A D | bta_gattc_utils.cc | 55 tBTA_GATTC_RCB* bta_gattc_cl_get_regcb(uint8_t client_if) { in bta_gattc_cl_get_regcb() argument 60 if (p_clrcb->in_use && p_clrcb->client_if == client_if) return p_clrcb; in bta_gattc_cl_get_regcb() 97 if (p_clcb->in_use && p_clcb->p_rcb->client_if == client_if && in bta_gattc_find_clcb_by_cif() 131 tBTA_GATTC_CLCB* bta_gattc_clcb_alloc(tGATT_IF client_if, in bta_gattc_clcb_alloc() argument 148 p_clcb->p_rcb = bta_gattc_cl_get_regcb(client_if); in bta_gattc_clcb_alloc() 414 bool bta_gattc_mark_bg_conn(tGATT_IF client_if, in bta_gattc_mark_bg_conn() argument 426 *p_cif_mask |= (1 << (client_if - 1)); in bta_gattc_mark_bg_conn() 428 if (client_if != 0) in bta_gattc_mark_bg_conn() 429 *p_cif_mask &= (~(1 << (client_if - 1))); in bta_gattc_mark_bg_conn() 455 *p_cif_mask = (1 << (client_if - 1)); in bta_gattc_mark_bg_conn() [all …]
|
H A D | bta_gattc_api.cc | 84 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 120 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() argument 123 BTA_GATTC_Open(client_if, remote_bda, is_direct, BT_TRANSPORT_LE, in BTA_GATTC_Open() 127 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() argument 134 p_buf->client_if = client_if; in BTA_GATTC_Open() 165 p_buf->client_if = client_if; in BTA_GATTC_CancelOpen() 653 p_clreg = bta_gattc_cl_get_regcb(client_if); in BTA_GATTC_RegisterForNotifications() 712 tBTA_GATTC_RCB* p_clreg = bta_gattc_cl_get_regcb(client_if); in BTA_GATTC_DeregisterForNotifications() [all …]
|
H A D | bta_gattc_act.cc | 156 if (!bta_gattc_cl_get_regcb(client_if)) { in bta_gattc_start_if() 161 GATT_StartIf(client_if); in bta_gattc_start_if() 168 uint8_t client_if = 0; in bta_gattc_register() local 189 client_if = bta_gattc_cb.cl_rcb[i].client_if; in bta_gattc_register() 319 cb_data.enc_cmpl.client_if = client_if; in bta_gattc_process_enc_cmpl() 533 cb_data.close.client_if = p_clcb->p_rcb->client_if; in bta_gattc_close_fail() 552 .client_if = p_clcb->p_rcb->client_if, in bta_gattc_close() 1081 tGATT_IF client_if = p_clreg->client_if; in bta_gattc_deregister_cmpl() local 1087 GATT_Deregister(p_clreg->client_if); in bta_gattc_deregister_cmpl() 1090 cb_data.reg_oper.client_if = client_if; in bta_gattc_deregister_cmpl() [all …]
|
H A D | bta_gattc_int.h | 88 tGATT_IF client_if; member 165 tGATT_IF client_if; member 238 tGATT_IF client_if; /* client interface with BTE stack for this application */ member 406 extern tBTA_GATTC_CLCB* bta_gattc_find_clcb_by_cif(uint8_t client_if, 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, 417 extern tBTA_GATTC_RCB* bta_gattc_cl_get_regcb(uint8_t 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,
|
/aosp12/system/bt/btif/src/ |
H A D | btif_gatt_client.cc | 170 p_data->open.status, p_data->open.client_if, in btif_gattc_upstreams_evt() 280 static void btif_gattc_unregister_app_impl(int client_if) { in btif_gattc_unregister_app_impl() argument 281 BTA_GATTC_AppDeregister(client_if); in btif_gattc_unregister_app_impl() 284 static bt_status_t btif_gattc_unregister_app(int client_if) { in btif_gattc_unregister_app() argument 314 client_if, address); in btif_gattc_open_impl() 364 BTA_GATTC_CancelOpen(client_if, address, true); in btif_gattc_close_impl() 367 BTA_GATTC_CancelOpen(client_if, address, false); in btif_gattc_close_impl() 377 static bt_status_t btif_gattc_refresh(int client_if, in btif_gattc_refresh() argument 537 bt_status_t btif_gattc_reg_for_notification(int client_if, in btif_gattc_reg_for_notification() argument 565 client_if, bd_addr, handle)); in btif_gattc_dereg_for_notification() [all …]
|
H A D | btif_ble_scanner.cc | 243 uint8_t client_if, uint8_t action, uint8_t filt_index, in ScanFilterParamSetup() argument 251 client_if)); in ScanFilterParamSetup() 299 void BatchscanConfigStorage(int client_if, int batch_scan_full_max, in BatchscanConfigStorage() argument 309 bta_batch_scan_threshold_cb, (tBTM_BLE_REF_VALUE)client_if)); in BatchscanConfigStorage() 326 void BatchscanReadReports(int client_if, int scan_mode) override { in BatchscanReadReports() argument 330 Bind(bta_batch_scan_reports_cb, client_if))); in BatchscanReadReports()
|
/aosp12/system/bt/include/hardware/ |
H A D | bt_gatt_client.h | 99 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, 218 bt_status_t (*unregister_client)(int client_if); 221 bt_status_t (*connect)(int client_if, const RawAddress& bd_addr, 226 bt_status_t (*disconnect)(int client_if, const RawAddress& bd_addr, 230 bt_status_t (*refresh)(int client_if, const RawAddress& bd_addr); 275 bt_status_t (*register_for_notification)(int client_if, 280 bt_status_t (*deregister_for_notification)(int client_if, [all …]
|
H A D | ble_scanner.h | 29 typedef void (*batchscan_reports_callback)(int client_if, int status, 34 typedef void (*batchscan_threshold_callback)(int client_if); 89 virtual void OnBatchScanReports(int client_if, int status, int report_format, 92 virtual void OnBatchScanThresholdCrossed(int client_if) = 0; 127 uint8_t client_if, uint8_t action, uint8_t filt_index, 146 virtual void BatchscanConfigStorage(int client_if, int batch_scan_full_max, 160 virtual void BatchscanReadReports(int client_if, int scan_mode) = 0;
|
/aosp12/system/bt/service/hal/ |
H A D | fake_bluetooth_gatt_interface.cc | 39 bt_status_t FakeUnregisterClient(int client_if) { in FakeUnregisterClient() argument 40 if (g_client_handler) return g_client_handler->UnregisterClient(client_if); in FakeUnregisterClient() 45 bt_status_t FakeConnect(int client_if, const RawAddress& bd_addr, in FakeConnect() argument 54 bt_status_t FakeDisconnect(int client_if, const RawAddress& bd_addr, in FakeDisconnect() argument 57 return g_client_handler->Disconnect(client_if, bd_addr, conn_id); in FakeDisconnect() 191 int status, int client_if, const bluetooth::Uuid& app_uuid) { in NotifyRegisterClientCallback() argument 193 observer.RegisterClientCallback(this, status, client_if, app_uuid); in NotifyRegisterClientCallback() 198 int client_if, in NotifyConnectCallback() argument 201 observer.ConnectCallback(this, conn_id, status, client_if, bda); in NotifyConnectCallback() 206 int conn_id, int status, int client_if, const RawAddress& bda) { in NotifyDisconnectCallback() argument [all …]
|
H A D | fake_bluetooth_gatt_interface.h | 41 virtual bt_status_t UnregisterClient(int client_if) = 0; 43 virtual bt_status_t Connect(int client_if, const RawAddress& bd_addr, 45 virtual bt_status_t Disconnect(int client_if, const RawAddress& bd_addr, 82 void NotifyRegisterScannerCallback(int status, int client_if, 88 void NotifyRegisterClientCallback(int status, int client_if, 90 void NotifyConnectCallback(int conn_id, int status, int client_if, 92 void NotifyDisconnectCallback(int conn_id, int status, int client_if,
|
H A D | bluetooth_gatt_interface.cc | 85 void RegisterClientCallback(int status, int client_if, in RegisterClientCallback() argument 88 VLOG(2) << __func__ << " - status: " << status << " client_if: " << client_if; in RegisterClientCallback() 92 RegisterClientCallback(g_interface, status, client_if, app_uuid)); in RegisterClientCallback() 111 void ConnectCallback(int conn_id, int status, int client_if, in ConnectCallback() argument 116 VLOG(2) << __func__ << " - status: " << status << " client_if: " << client_if in ConnectCallback() 120 ConnectCallback(g_interface, conn_id, status, client_if, bda)); in ConnectCallback() 123 void DisconnectCallback(int conn_id, int status, int client_if, in DisconnectCallback() argument 129 << " client_if: " << client_if in DisconnectCallback() 132 DisconnectCallback(g_interface, conn_id, status, client_if, bda)); in DisconnectCallback()
|
H A D | bluetooth_gatt_interface.h | 69 int status, int client_if, 73 int conn_id, int status, int client_if, 77 int conn_id, int status, int client_if,
|
/aosp12/system/connectivity/wificond/tests/ |
H A D | server_unittest.cpp | 195 sp<IClientInterface> client_if; in TEST_F() local 198 kFakeInterfaceName, &client_if).isOk()); in TEST_F() 199 EXPECT_NE(nullptr, client_if.get()); in TEST_F() 213 sp<IClientInterface> client_if; in TEST_F() local 224 EXPECT_NE(nullptr, client_if.get()); in TEST_F() 288 sp<IClientInterface> client_if; in TEST_F() local 299 EXPECT_NE(nullptr, client_if.get()); in TEST_F() 392 sp<IClientInterface> client_if; in TEST_F() local 396 EXPECT_NE(nullptr, client_if.get()); in TEST_F() 420 sp<IClientInterface> client_if; in TEST_F() local [all …]
|
/aosp12/system/bt/bta/include/ |
H A D | bta_gatt_api.h | 130 tGATT_IF client_if; member 171 tGATT_IF client_if; member 180 tGATT_IF client_if; member 202 tGATT_IF client_if; member 208 tGATT_IF client_if; member 434 extern void BTA_GATTC_AppDeregister(tGATT_IF client_if); 449 extern void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, 451 extern void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, 469 extern void BTA_GATTC_CancelOpen(tGATT_IF client_if, 699 tGATT_IF client_if, const RawAddress& remote_bda, uint16_t handle); [all …]
|
/aosp12/system/bt/test/mock/ |
H A D | mock_bta_gattc_api.cc | 68 tGATT_STATUS BTA_GATTC_DeregisterForNotifications(tGATT_IF client_if, in BTA_GATTC_DeregisterForNotifications() argument 74 tGATT_STATUS BTA_GATTC_RegisterForNotifications(tGATT_IF client_if, in BTA_GATTC_RegisterForNotifications() argument 80 void BTA_GATTC_AppDeregister(tGATT_IF client_if) { in BTA_GATTC_AppDeregister() argument 87 void BTA_GATTC_CancelOpen(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_CancelOpen() argument 111 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() argument 115 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() argument
|
/aosp12/packages/apps/Bluetooth/jni/ |
H A D | com_android_bluetooth_gatt.cpp | 389 void btgattc_batchscan_threshold_cb(int client_if) { in btgattc_batchscan_threshold_cb() argument 959 void OnBatchScanThresholdCrossed(int client_if) { in OnBatchScanThresholdCrossed() argument 1370 status, client_if); in set_scan_params_cmpl_cb() 1379 base::Bind(&set_scan_params_cmpl_cb, client_if)); in gattSetScanParametersNative() 1401 uint8_t client_if = env->CallIntMethod(params, methodId); in gattClientScanFilterParamAddNative() local 1437 client_if, add_scan_filter_params_action, filt_index, in gattClientScanFilterParamAddNative() 1448 base::Bind(&scan_filter_param_cb, client_if)); in gattClientScanFilterParamDeleteNative() 1611 action, status, client_if); in scan_enable_cb() 1653 base::Bind(&batchscan_cfg_storage_cb, client_if)); in gattClientConfigBatchScanStorageNative() 1671 base::Bind(&batchscan_enable_cb, client_if)); in gattClientStartBatchScanNative() [all …]
|
/aosp12/system/bt/service/ |
H A D | gatt_server_old.cc | 117 int client_if; member 350 void RegisterClientCallback(int status, int client_if, in RegisterClientCallback() argument 352 LOG_INFO("%s: status:%d client_if:%d uuid[0]:%s", __func__, status, client_if, in RegisterClientCallback() 354 g_internal->client_if = client_if; in RegisterClientCallback() 386 void ClientConnectCallback(int conn_id, int status, int client_if, in ClientConnectCallback() argument 390 status, client_if, addr.c_str()); in ClientConnectCallback() 393 void ClientDisconnectCallback(int conn_id, int status, int client_if, in ClientDisconnectCallback() argument 397 status, client_if, addr.c_str()); in ClientDisconnectCallback() 518 client_if(0), in ServerInternals() 528 gatt->client->unregister_client(client_if); in ~ServerInternals()
|
/aosp12/system/bt/main/shim/ |
H A D | le_scanning_manager.cc | 85 uint8_t client_if, uint8_t action, uint8_t filter_index, in ScanFilterParamSetup() argument 95 bluetooth::shim::GetScanning()->TrackAdvertiser(client_if); in ScanFilterParamSetup() 172 void BatchscanConfigStorage(int client_if, int batch_scan_full_max, in BatchscanConfigStorage() argument 178 client_if); in BatchscanConfigStorage() 204 void BatchscanReadReports(int client_if, int scan_mode) { in BatchscanReadReports() argument 208 auto scanner_id = static_cast<bluetooth::hci::ScannerId>(client_if); in BatchscanReadReports() 305 void OnBatchScanReports(int client_if, int status, int report_format, in OnBatchScanReports() argument 310 base::Unretained(scanning_callbacks_), client_if, status, in OnBatchScanReports() 314 void OnBatchScanThresholdCrossed(int client_if) { in OnBatchScanThresholdCrossed() argument 318 base::Unretained(scanning_callbacks_), client_if)); in OnBatchScanThresholdCrossed()
|
/aosp12/system/bt/service/test/ |
H A D | low_energy_scanner_unittest.cc | 50 void(uint8_t client_if, uint8_t action, uint8_t filt_index, 59 void(int client_if, int batch_scan_full_max, 69 MOCK_METHOD2(BatchscanReadReports, void(int client_if, int scan_mode)); 81 uint8_t client_if, uint8_t action, uint8_t filt_index, in ScanFilterParamSetup() argument 84 ScanFilterParamSetupImpl(client_if, action, filt_index, filt_param.get(), in ScanFilterParamSetup()
|
/aosp12/system/bt/service/doc/ |
H A 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);
|
H A 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);
|
/aosp12/system/bt/gd/hci/facade/ |
H A D | le_scanning_manager_facade.cc | 92 …void OnBatchScanReports(int client_if, int status, int report_format, int num_records, std::vector… in OnBatchScanReports() argument 93 void OnBatchScanThresholdCrossed(int client_if){}; in OnBatchScanThresholdCrossed() argument
|
/aosp12/system/bt/gd/hci/ |
H A D | le_scanning_manager.h | 70 int client_if, int status, int report_format, int num_records, std::vector<uint8_t> data) = 0; 71 virtual void OnBatchScanThresholdCrossed(int client_if) = 0;
|