Home
last modified time | relevance | path

Searched refs:clientIf (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java288 private boolean isScanClient(int clientIf) { in isScanClient() argument
290 if (client.clientIf == clientIf) { in isScanClient()
295 if (client.clientIf == clientIf) { in isScanClient()
349 public void unregisterClient(int clientIf) { in unregisterClient() argument
352 service.unregisterClient(clientIf); in unregisterClient()
378 public void clientConnect(int clientIf, String address, boolean isDirect, int transport) { in clientConnect() argument
381 service.clientConnect(clientIf, address, isDirect, transport); in clientConnect()
384 public void clientDisconnect(int clientIf, String address) { in clientDisconnect() argument
387 service.clientDisconnect(clientIf, address); in clientDisconnect()
390 public void refreshDevice(int clientIf, String address) { in refreshDevice() argument
[all …]
DScanManager.java159 void callbackDone(int clientIf, int status) { in callbackDone() argument
160 logd("callback done for clientIf - " + clientIf + " status - " + status); in callbackDone()
256 client = mScanNative.getRegularScanClient(client.clientIf); in handleStopScan()
279 logd("app died, unregister client - " + client.clientIf); in handleStopScan()
280 mService.unregisterClient(client.clientIf); in handleStopScan()
289 mScanNative.flushBatchResults(client.clientIf); in handleFlushBatchResults()
468 gattSetScanParametersNative(client.clientIf, scanInterval, scanWindow); in configureRegularScanParams()
536 int clientIf = client.clientIf; in resetBatchScan() local
542 gattClientStopBatchScanNative(clientIf); in resetBatchScan()
546 flushBatchResults(clientIf); in resetBatchScan()
[all …]
DAdvertiseManager.java128 void callbackDone(int clientIf, int status) { in callbackDone() argument
134 postCallback(clientIf, AdvertiseCallback.ADVERTISE_FAILED_INTERNAL_ERROR); in callbackDone()
139 private void postCallback(int clientIf, int status) { in postCallback() argument
141 AdvertiseClient client = getAdvertiseClient(clientIf); in postCallback()
144 mService.onMultipleAdvertiseCallback(clientIf, status, isStart, settings); in postCallback()
150 private AdvertiseClient getAdvertiseClient(int clientIf) { in getAdvertiseClient() argument
152 if (client.clientIf == clientIf) { in getAdvertiseClient()
186 int clientIf = client.clientIf; in handleStartAdvertising() local
187 if (mAdvertiseClients.contains(clientIf)) { in handleStartAdvertising()
188 postCallback(clientIf, AdvertiseCallback.ADVERTISE_FAILED_ALREADY_STARTED); in handleStartAdvertising()
[all …]
DAdvertiseClient.java31 int clientIf; field in AdvertiseClient
42 AdvertiseClient(int clientIf) { in AdvertiseClient() argument
43 this.clientIf = clientIf; in AdvertiseClient()
52 AdvertiseClient(int clientIf, AdvertiseSettings settings, AdvertiseData advertiseData, in AdvertiseClient() argument
54 this.clientIf = clientIf; in AdvertiseClient()
69 return clientIf == other.clientIf; in equals()
74 return Objects.hash(clientIf); in hashCode()
DScanClient.java34 int clientIf; field in ScanClient
82 this.clientIf = appIf; in ScanClient()
100 return clientIf == other.clientIf; in equals()
105 return Objects.hash(clientIf); in hashCode()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp217 void btgattc_register_app_cb(int status, int clientIf, bt_uuid_t *app_uuid) in btgattc_register_app_cb() argument
221 clientIf, UUID_PARAMS(app_uuid)); in btgattc_register_app_cb()
246 void btgattc_open_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda) in btgattc_open_cb() argument
257 clientIf, conn_id, status, address); in btgattc_open_cb()
262 void btgattc_close_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda) in btgattc_close_cb() argument
272 clientIf, conn_id, status, address); in btgattc_close_cb()
1001 static void gattClientUnregisterAppNative(JNIEnv* env, jobject object, jint clientIf) in gattClientUnregisterAppNative() argument
1004 sGattIf->client->unregister_client(clientIf); in gattClientUnregisterAppNative()
1023 static void gattClientDisconnectNative(JNIEnv* env, jobject object, jint clientIf, in gattClientDisconnectNative() argument
1029 sGattIf->client->disconnect(clientIf, &bda, conn_id); in gattClientDisconnectNative()
[all …]