/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattService.java | 228 private boolean isScanClient(int clientIf) { in isScanClient() argument 230 if (client.clientIf == clientIf) { in isScanClient() 235 if (client.clientIf == clientIf) { in isScanClient() 289 public void unregisterClient(int clientIf) { in unregisterClient() argument 292 service.unregisterClient(clientIf); in unregisterClient() 316 public void clientConnect(int clientIf, String address, boolean isDirect, int transport) { in clientConnect() argument 319 service.clientConnect(clientIf, address, isDirect, transport); in clientConnect() 322 public void clientDisconnect(int clientIf, String address) { in clientDisconnect() argument 325 service.clientDisconnect(clientIf, address); in clientDisconnect() 328 public void refreshDevice(int clientIf, String address) { in refreshDevice() argument [all …]
|
D | ScanManager.java | 147 void callbackDone(int clientIf, int status) { in callbackDone() argument 148 logd("callback done for clientIf - " + clientIf + " status - " + status); in callbackDone() 227 logd("app died, unregister client - " + client.clientIf); in handleStopScan() 228 mService.unregisterClient(client.clientIf); in handleStopScan() 237 mScanNative.flushBatchResults(client.clientIf); in handleFlushBatchResults() 466 int clientIf = client.clientIf; in resetBatchScan() local 472 gattClientStopBatchScanNative(clientIf); in resetBatchScan() 476 flushBatchResults(clientIf); in resetBatchScan() 485 logd("configuring batch scan storage, appIf " + client.clientIf); in resetBatchScan() 486 gattClientConfigBatchScanStorageNative(client.clientIf, fullScanPercent, in resetBatchScan() [all …]
|
D | AdvertiseManager.java | 126 void callbackDone(int clientIf, int status) { in callbackDone() argument 132 postCallback(clientIf, AdvertiseCallback.ADVERTISE_FAILED_INTERNAL_ERROR); in callbackDone() 137 private void postCallback(int clientIf, int status) { in postCallback() argument 139 AdvertiseClient client = getAdvertiseClient(clientIf); in postCallback() 142 mService.onMultipleAdvertiseCallback(clientIf, status, isStart, settings); in postCallback() 148 private AdvertiseClient getAdvertiseClient(int clientIf) { in getAdvertiseClient() argument 150 if (client.clientIf == clientIf) { in getAdvertiseClient() 184 int clientIf = client.clientIf; in handleStartAdvertising() local 185 if (mAdvertiseClients.contains(clientIf)) { in handleStartAdvertising() 186 postCallback(clientIf, AdvertiseCallback.ADVERTISE_FAILED_ALREADY_STARTED); in handleStartAdvertising() [all …]
|
D | AdvertiseClient.java | 31 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()
|
D | ScanClient.java | 33 int clientIf; field in ScanClient 65 this.clientIf = appIf; in ScanClient() 82 return clientIf == other.clientIf; in equals() 87 return Objects.hash(clientIf); in hashCode()
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_gatt.cpp | 215 void btgattc_register_app_cb(int status, int clientIf, bt_uuid_t *app_uuid) in btgattc_register_app_cb() argument 219 clientIf, UUID_PARAMS(app_uuid)); in btgattc_register_app_cb() 244 void btgattc_open_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda) in btgattc_open_cb() argument 255 clientIf, conn_id, status, address); in btgattc_open_cb() 260 void btgattc_close_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda) in btgattc_close_cb() argument 270 clientIf, conn_id, status, address); in btgattc_close_cb() 943 static void gattClientUnregisterAppNative(JNIEnv* env, jobject object, jint clientIf) in gattClientUnregisterAppNative() argument 946 sGattIf->client->unregister_client(clientIf); in gattClientUnregisterAppNative() 965 static void gattClientDisconnectNative(JNIEnv* env, jobject object, jint clientIf, in gattClientDisconnectNative() argument 971 sGattIf->client->disconnect(clientIf, &bda, conn_id); in gattClientDisconnectNative() [all …]
|