/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ScanManager.java | 139 for (ScanClient client : mBatchClients) { in getFullBatchScanQueue() 140 if (client.settings.getScanResultType() == ScanSettings.SCAN_RESULT_TYPE_FULL) { in getFullBatchScanQueue() 141 fullBatchClients.add(client); in getFullBatchScanQueue() 147 void startScan(ScanClient client) { in startScan() argument 148 sendMessage(MSG_START_BLE_SCAN, client); in startScan() 151 void stopScan(ScanClient client) { in stopScan() argument 152 sendMessage(MSG_STOP_BLE_SCAN, client); in stopScan() 155 void flushBatchScanResults(ScanClient client) { in flushBatchScanResults() argument 156 sendMessage(MSG_FLUSH_BATCH_RESULTS, client); in flushBatchScanResults() 167 private void sendMessage(int what, ScanClient client) { in sendMessage() argument [all …]
|
D | AdvertiseManager.java | 99 void startAdvertising(AdvertiseClient client) { in startAdvertising() argument 100 if (client == null) { in startAdvertising() 105 message.obj = client; in startAdvertising() 112 void stopAdvertising(AdvertiseClient client) { in stopAdvertising() argument 113 if (client == null) { in stopAdvertising() 118 message.obj = client; in stopAdvertising() 141 AdvertiseClient client = getAdvertiseClient(clientIf); in postCallback() local 142 AdvertiseSettings settings = (client == null) ? null : client.settings; in postCallback() 151 for (AdvertiseClient client : mAdvertiseClients) { in getAdvertiseClient() 152 if (client.clientIf == clientIf) { in getAdvertiseClient() [all …]
|
D | GattService.java | 278 ScanClient client = new ScanClient(mAppIf, false); in binderDied() local 279 client.appDied = true; in binderDied() 280 stopScan(client); in binderDied() 282 AdvertiseClient client = new AdvertiseClient(mAppIf); in binderDied() local 283 client.appDied = true; in binderDied() 284 stopMultiAdvertising(client); in binderDied() 289 for (ScanClient client : mScanManager.getRegularScanQueue()) { in isScanClient() 290 if (client.clientIf == clientIf) { in isScanClient() 294 for (ScanClient client : mScanManager.getBatchScanQueue()) { in isScanClient() 295 if (client.clientIf == clientIf) { in isScanClient() [all …]
|
/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
D | SnepValidationClientTests.java | 53 SnepClient client = getSnepClient(); in testNonFragmented() local 56 client.connect(); in testNonFragmented() 58 client.put(msg); in testNonFragmented() 61 byte[] responseBytes = client.get(msg).getNdefMessage().toByteArray(); in testNonFragmented() 69 client.close(); in testNonFragmented() 78 SnepClient client = getSnepClient(); in testFragmented() local 81 client.connect(); in testFragmented() 83 client.put(msg); in testFragmented() 86 byte[] responseBytes = client.get(msg).getNdefMessage().toByteArray(); in testFragmented() 93 client.close(); in testFragmented() [all …]
|
D | SnepDefaultClientTests.java | 47 SnepClient client = new SnepClient(); in testPutSmallToDefaultServer() local 48 client.connect(); in testPutSmallToDefaultServer() 49 client.put(getSmallNdef()); in testPutSmallToDefaultServer() 50 client.close(); in testPutSmallToDefaultServer() 54 SnepClient client = new SnepClient(); in testPutLargeToDefaultServer() local 55 client.connect(); in testPutLargeToDefaultServer() 56 client.put(getLargeNdef()); in testPutLargeToDefaultServer() 57 client.close(); in testPutLargeToDefaultServer() 61 SnepClient client = new SnepClient(); in testPutTwiceToDefaultServer() local 62 client.connect(); in testPutTwiceToDefaultServer() [all …]
|
D | SnepCustomClientTests.java | 47 SnepClient client = getSnepClient(); in testPutSmall() local 48 client.connect(); in testPutSmall() 49 client.put(getSmallNdef()); in testPutSmall() 50 client.close(); in testPutSmall() 54 SnepClient client = getSnepClient(); in testPutLarge() local 55 client.connect(); in testPutLarge() 56 client.put(getLargeNdef()); in testPutLarge() 57 client.close(); in testPutLarge() 61 SnepClient client = getSnepClient(); in testPutTwice() local 62 client.connect(); in testPutTwice() [all …]
|
D | SnepBasicTests.java | 41 final SnepMessenger client = new SnepMessenger(true, clientSocket, MIU); in testGetSmallNdef() local 57 client.sendMessage(SnepMessage.getGetRequest(ACCEPTABLE_LENGTH, getSmallNdef())); in testGetSmallNdef() 58 response = client.getMessage(); in testGetSmallNdef() 72 final SnepMessenger client = new SnepMessenger(true, clientSocket, MIU); in testGetLargeNdef() local 88 client.sendMessage(SnepMessage.getGetRequest(ACCEPTABLE_LENGTH, getNdef(900))); in testGetLargeNdef() 89 response = client.getMessage(); in testGetLargeNdef() 103 final SnepMessenger client = new SnepMessenger(true, clientSocket, MIU); in testGetExcessiveNdef() local 119 client.sendMessage(SnepMessage.getGetRequest(10, getSmallNdef())); in testGetExcessiveNdef() 120 response = client.getMessage(); in testGetExcessiveNdef() 134 final SnepMessenger client = new SnepMessenger(true, clientSocket, MIU); in testPutSmallNdef() local [all …]
|
/packages/services/Car/vehicle_network_service/ |
D | VehicleNetworkService.cpp | 638 sp<HalClient> client = findOrCreateClientLocked(ibinder, listener); in subscribe() local 639 if (client.get() == NULL) { in subscribe() 648 clientsForProperty->add(client); in subscribe() 663 client->setSubscriptionInfo(prop, sampleRate, zones); in subscribe() 705 sp<HalClient> client = findClientLocked(ibinder); in unsubscribe() local 706 if (client.get() == NULL) { in unsubscribe() 710 shouldUnsubscribe = removePropertyFromClientLocked(ibinder, client, prop); in unsubscribe() 730 sp<HalClient> client; in findClientLocked() local 733 return client; in findClientLocked() 740 sp<HalClient> client; in findOrCreateClientLocked() local [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | BluetoothPbapClient.java | 389 SessionHandler(BluetoothPbapClient client) { in SessionHandler() argument 390 mClient = new WeakReference<BluetoothPbapClient>(client); in SessionHandler() 397 BluetoothPbapClient client = mClient.get(); in handleMessage() local 398 if (client == null) { in handleMessage() 408 client.sendToClient(EVENT_PULL_PHONE_BOOK_SIZE_ERROR); in handleMessage() 410 client.sendToClient(EVENT_PULL_VCARD_LISTING_SIZE_ERROR); in handleMessage() 412 client.sendToClient(EVENT_PULL_PHONE_BOOK_ERROR); in handleMessage() 414 client.sendToClient(EVENT_PULL_VCARD_LISTING_ERROR); in handleMessage() 416 client.sendToClient(EVENT_PULL_VCARD_ENTRY_ERROR); in handleMessage() 418 client.sendToClient(EVENT_SET_PHONE_BOOK_ERROR); in handleMessage() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
D | BluetoothScanner.java | 257 ClientRecord client = mClients.get(ptr); in stopListening() local 258 if (client.listener == listener) { in stopListening() 327 ClientRecord client = mClients.get(ptr); in removeDevice() local 328 for (int devPtr = client.devices.size() - 1; devPtr > -1; devPtr--) { in removeDevice() 329 Device d = client.devices.get(devPtr); in removeDevice() 331 client.devices.remove(devPtr); in removeDevice() 482 ClientRecord client = mClients.get(i); in sendScanningStopped() local 483 client.listener.onScanningStopped(client.devices); in sendScanningStopped() 491 ClientRecord client = mClients.get(ptr); in sendDeviceAdded() local 492 for (BluetoothDeviceCriteria matcher : client.matchers) { in sendDeviceAdded() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/ |
D | BlockingHttpClientTests.java | 58 final BlockingHttpClient client = new BlockingHttpClient(mMockHttpConnection); in testError_badGateway() local 62 client.execute(null /* empty request */, processor); in testError_badGateway() 73 final BlockingHttpClient client = new BlockingHttpClient(mMockHttpConnection); in testError_clientTimeout() local 77 client.execute(null /* empty request */, processor); in testError_clientTimeout() 89 final BlockingHttpClient client = new BlockingHttpClient(mMockHttpConnection); in testError_forbiddenWithRequest() local 93 client.execute(new byte[100], processor); in testError_forbiddenWithRequest() 107 final BlockingHttpClient client = new BlockingHttpClient(mMockHttpConnection); in testSuccess_emptyRequest() local 111 client.execute(null /* empty request */, processor); in testSuccess_emptyRequest() 123 final BlockingHttpClient client = new BlockingHttpClient(mMockHttpConnection); in testSuccess() local 127 client.execute(new byte[100], processor); in testSuccess()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | HttpClientFactory.java | 25 import org.apache.http.client.HttpClient; 62 HttpClient client = (HttpClient) instance; in newHttpClient() local 65 HttpParams params = client.getParams(); in newHttpClient() 75 return client; in newHttpClient() 90 public static void close(HttpClient client) { in close() argument 94 Class<?> clazz = client.getClass(); in close() 96 method.invoke(client, (Object[]) null); in close()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryFileDumper.java | 151 final ContentProviderClient client = context.getContentResolver(). in getWordListWordListInfos() local 153 if (null == client) return Collections.<WordListInfo>emptyList(); in getWordListWordListInfos() 156 final Uri.Builder builder = getContentUriBuilderForType(clientId, client, in getWordListWordListInfos() 166 cursor = client.query(queryUri, DICTIONARY_PROJECTION, null, null, null); in getWordListWordListInfos() 168 reinitializeClientRecordInDictionaryContentProvider(context, client, clientId); in getWordListWordListInfos() 169 cursor = client.query(queryUri, DICTIONARY_PROJECTION, null, null, null); in getWordListWordListInfos() 200 client.release(); in getWordListWordListInfos() 492 final ContentProviderClient client, final String clientId) throws RemoteException { in reinitializeClientRecordInDictionaryContentProvider() argument 502 client.delete(metadataContentUri, null, null); in reinitializeClientRecordInDictionaryContentProvider() 508 client.insert(metadataContentUri, metadataValues); in reinitializeClientRecordInDictionaryContentProvider() [all …]
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_gatt.cpp | 988 return sGattIf->client->get_device_type(&bda); in gattClientGetDeviceTypeNative() 998 sGattIf->client->register_client(&uuid); in gattClientRegisterAppNative() 1004 sGattIf->client->unregister_client(clientIf); in gattClientUnregisterAppNative() 1010 sGattIf->client->scan(start); in gattClientScanNative() 1020 sGattIf->client->connect(clientif, &bda, isDirect, transport); in gattClientConnectNative() 1029 sGattIf->client->disconnect(clientIf, &bda, conn_id); in gattClientDisconnectNative() 1039 sGattIf->client->refresh(clientIf, &bda); in gattClientRefreshNative() 1049 sGattIf->client->search_service(conn_id, search_all ? 0 : &uuid); in gattClientSearchServiceNative() 1057 sGattIf->client->get_gatt_db(conn_id); in gattClientGetGattDbNative() 1065 sGattIf->client->read_characteristic(conn_id, handle, authReq); in gattClientReadCharacteristicNative() [all …]
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadDrmHelper.java | 66 final DrmManagerClient client = new DrmManagerClient(context); in getOriginalMimeType() local 69 if (client.canHandle(rawFile, null)) { in getOriginalMimeType() 70 return client.getOriginalMimeType(rawFile); in getOriginalMimeType() 75 client.release(); in getOriginalMimeType()
|
/packages/services/Car/service/src/com/android/car/ |
D | AppContextService.java | 136 for (BinderInterfaceContainer.BinderInterface<IAppContextListener> client : in setActiveContexts() 138 ClientInfo clientInfo = (ClientInfo) client; in setActiveContexts() 179 for (BinderInterfaceContainer.BinderInterface<IAppContextListener> client : in resetActiveContexts() 181 ClientInfo clientInfo = (ClientInfo) client; in resetActiveContexts() 221 for (BinderInterfaceContainer.BinderInterface<IAppContextListener> client : in dump() 223 ClientInfo clientInfo = (ClientInfo) client; in dump()
|
/packages/apps/Nfc/tests/src/com/android/nfc/ |
D | MockLlcpSocket.java | 71 public static void bind(MockLlcpSocket client, MockLlcpSocket server) { in bind() argument 72 client.mPairedSocket = server; in bind() 73 server.mPairedSocket = client; in bind()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | EmailServiceUtils.java | 390 ContentProviderClient client = context.getContentResolver() in updateAccountManagerType() local 394 calendarSyncKey = SyncStateContract.Helpers.get(client, in updateAccountManagerType() 400 client.release(); in updateAccountManagerType() 402 client = context.getContentResolver() in updateAccountManagerType() 406 contactsSyncKey = SyncStateContract.Helpers.get(client, in updateAccountManagerType() 412 client.release(); in updateAccountManagerType() 446 client = context.getContentResolver() in updateAccountManagerType() 449 SyncStateContract.Helpers.set(client, in updateAccountManagerType() 458 client.release(); in updateAccountManagerType() 463 client = context.getContentResolver() in updateAccountManagerType() [all …]
|
/packages/services/Car/service/src/com/android/car/cluster/ |
D | CarNavigationService.java | 148 CarNavigationEventListener client; in unregisterEventListener() local 150 client = findClientLocked(listener); in unregisterEventListener() 152 return client != null && removeClient(client); in unregisterEventListener()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
D | HfpClientConnection.java | 42 … public HfpClientConnection(Context context, BluetoothDevice device, BluetoothHeadsetClient client, in HfpClientConnection() argument 46 mHeadsetProfile = client; in HfpClientConnection() 60 public void onHfpConnected(BluetoothHeadsetClient client) { in onHfpConnected() argument 61 mHeadsetProfile = client; in onHfpConnected()
|
D | HfpClientConference.java | 38 BluetoothDevice device, BluetoothHeadsetClient client) { in HfpClientConference() argument 41 mHeadsetProfile = client; in HfpClientConference() 42 boolean manage = HfpClientConnectionService.hasHfpClientEcc(client, device); in HfpClientConference()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
D | VCardService.java | 324 final CustomMediaScannerConnectionClient client = in updateMediaScanner() local 326 mRemainingScannerConnections.add(client); in updateMediaScanner() 327 client.start(); in updateMediaScanner() 331 CustomMediaScannerConnectionClient client) { in removeConnectionClient() argument 335 mRemainingScannerConnections.remove(client); in removeConnectionClient()
|
/packages/services/Car/bluetooth/bt-map-service/src/com/google/android/auto/mapservice/ |
D | BluetoothMapService.java | 24 import android.bluetooth.client.map.BluetoothMapBmessage; 25 import android.bluetooth.client.map.BluetoothMasClient; 26 import android.bluetooth.client.map.BluetoothMasClient.CharsetType; 320 (android.bluetooth.client.map.BluetoothMapEventReport) msg.obj); in handleMessage() 335 (ArrayList<android.bluetooth.client.map.BluetoothMapMessage>) msg.obj); in handleMessage() 587 android.bluetooth.client.map.BluetoothMapEventReport eventReport) { in onEventReport() 691 ArrayList<android.bluetooth.client.map.BluetoothMapMessage> msgsListing) { in onGetMessagesListing() 695 for (android.bluetooth.client.map.BluetoothMapMessage msg : msgsListing) { in onGetMessagesListing()
|
/packages/apps/Email/provider_src/com/android/email/mail/internet/ |
D | OAuthAuthenticator.java | 15 import org.apache.http.client.HttpClient; 16 import org.apache.http.client.entity.UrlEncodedFormEntity; 17 import org.apache.http.client.methods.HttpPost; 18 import org.apache.http.impl.client.DefaultHttpClient;
|
/packages/services/Car/car_product/sepolicy/ |
D | te_macros | 3 # Allow client domain to connecto and send 5 # Also allow the client domain to remove
|