Home
last modified time | relevance | path

Searched defs:client (Results 1 – 25 of 135) sorted by relevance

123456

/packages/services/Car/tests/carservice_test/src/com/android/car/vms/
DVmsClientTest.java105 VmsClient client = connectVmsClient(mClientCallback1); in testRegister() local
116 VmsClient client = connectVmsClient(mClientCallback1); in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions() local
143 VmsClient client = connectVmsClient(mClientCallback1); in testRegisterProvider_SameIdForSameInfo() local
153 VmsClient client = connectVmsClient(mClientCallback1); in testRegisterProvider_SameIdForSameInfo_MultipleClients() local
164 VmsClient client = connectVmsClient(mClientCallback1); in testRegisterProvider_DifferentIdForDifferentInfo() local
174 VmsClient client = connectVmsClient(mClientCallback1); in testUnregisterProvider() local
190 VmsClient client = connectVmsClient(mClientCallback1); in testUnregisterProvider_UnknownId() local
197 VmsClient client = connectVmsClient(mClientCallback1); in testGetProviderDescription_UnknownId() local
204 VmsClient client = connectVmsClient(mClientCallback1); in testGetProviderDescription_RegisteredProvider() local
213 VmsClient client = connectVmsClient(mClientCallback1); in testSetSubscriptions() local
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
DBlockingHttpClientTests.java65 final BlockingHttpClient client = new BlockingHttpClient(mMockHttpConnection); in testError_badGateway() local
81 final BlockingHttpClient client = new BlockingHttpClient(mMockHttpConnection); in testError_clientTimeout() local
98 final BlockingHttpClient client = new BlockingHttpClient(mMockHttpConnection); in testError_forbiddenWithRequest() local
117 final BlockingHttpClient client = new BlockingHttpClient(mMockHttpConnection); in testSuccess_emptyRequest() local
134 final BlockingHttpClient client = new BlockingHttpClient(mMockHttpConnection); in testSuccess() local
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanManager.java230 void startScan(ScanClient client) { in startScan()
235 ScanClient client = mScanNative.getBatchScanClient(scannerId); in stopScan() local
242 void flushBatchScanResults(ScanClient client) { in flushBatchScanResults()
256 private void sendMessage(int what, ScanClient client) { in sendMessage()
310 void handleStartScan(ScanClient client) { in handleStartScan()
366 private boolean requiresScreenOn(ScanClient client) { in requiresScreenOn()
371 private boolean requiresLocationOn(ScanClient client) { in requiresLocationOn()
377 void handleStopScan(ScanClient client) { in handleStopScan()
407 void handleFlushBatchResults(ScanClient client) { in handleFlushBatchResults()
414 private boolean isBatchClient(ScanClient client) { in isBatchClient()
[all …]
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/watchdog/
DCarWatchdogManagerPermissionTest.java72 CarWatchdogManager.CarWatchdogClientCallback client = in testRegisterClient() local
83 CarWatchdogManager.CarWatchdogClientCallback client = in testUnregisterClient() local
87 mCarWatchdogManager.registerClient(mContext.getMainExecutor(), client, in testUnregisterClient() local
98 CarWatchdogManager.CarWatchdogClientCallback client = in testTellClientAlive() local
116 mCarWatchdogManager.registerClient(mContext.getMainExecutor(), client, in testTellClientAlive() local
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DArchivesProviderTest.java83 try (ContentProviderClient client = resolver.acquireUnstableContentProviderClient( in testQueryRoots()
104 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient( in testOpen_Success() local
156 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient( in testOpen_Failure() local
208 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient( in testOpen_ClosesOnRelease() local
251 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient( in testNoNotificationAfterAllReleased() local
284 final ContentProviderClient client = in getDocumentMetadata_byDocumentId_shouldMatchSize() local
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/2/android/automotive/watchdog/
DICarWatchdog.aidl21 …void registerClient(in android.automotive.watchdog.ICarWatchdogClient client, in android.automotiv… in registerClient()
22 void unregisterClient(in android.automotive.watchdog.ICarWatchdogClient client); in unregisterClient()
27 void tellClientAlive(in android.automotive.watchdog.ICarWatchdogClient client, in int sessionId); in tellClientAlive()
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/1/android/automotive/watchdog/
DICarWatchdog.aidl21 …void registerClient(in android.automotive.watchdog.ICarWatchdogClient client, in android.automotiv… in registerClient()
22 void unregisterClient(in android.automotive.watchdog.ICarWatchdogClient client); in unregisterClient()
27 void tellClientAlive(in android.automotive.watchdog.ICarWatchdogClient client, in int sessionId); in tellClientAlive()
/packages/modules/adb/pairing_auth/tests/
Dpairing_auth_test.cpp52 PairingAuthUniquePtr client(nullptr, PairingAuthDeleter); in TEST_F() local
76 auto client = makeClient(pswd); in TEST_F() local
143 auto client = makeClient({0x01, 0x02, 0x03}); in TEST_F() local
193 auto client = makeClient(pswd); in TEST_F() local
246 auto client = makeClient(pswd); in TEST_F() local
/packages/services/Car/car-lib/src/android/car/vms/
DVmsClientManager.java57 void onClientConnected(@NonNull VmsClient client); in onClientConnected()
122 VmsClient client; in registerVmsClientCallback() local
167 VmsClient client; in unregisterVmsClientCallback() local
DVmsClient.java303 private IVmsClientCallbackImpl(VmsClient client, boolean autoCloseMemory) { in IVmsClientCallbackImpl()
311 executeCallback((client, callback) -> { in onLayerAvailabilityChanged() argument
322 executeCallback((client, callback) -> { in onSubscriptionStateChanged() argument
359 final VmsClient client = mClient.get(); in executeCallback() local
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/3/android/automotive/watchdog/
DICarWatchdog.aidl37 …void registerClient(in android.automotive.watchdog.ICarWatchdogClient client, in android.automotiv… in registerClient()
38 void unregisterClient(in android.automotive.watchdog.ICarWatchdogClient client); in unregisterClient()
55 void tellClientAlive(in android.automotive.watchdog.ICarWatchdogClient client, in int sessionId); in tellClientAlive()
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/
DICarWatchdog.aidl42 void registerClient(in ICarWatchdogClient client, in TimeoutLength timeout); in registerClient()
49 void unregisterClient(in ICarWatchdogClient client); in unregisterClient()
95 void tellClientAlive(in ICarWatchdogClient client, in int sessionId); in tellClientAlive()
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/current/android/automotive/watchdog/
DICarWatchdog.aidl37 …void registerClient(in android.automotive.watchdog.ICarWatchdogClient client, in android.automotiv… in registerClient()
38 void unregisterClient(in android.automotive.watchdog.ICarWatchdogClient client); in unregisterClient()
55 void tellClientAlive(in android.automotive.watchdog.ICarWatchdogClient client, in int sessionId); in tellClientAlive()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpCoverArtManager.java175 AvrcpBipClient client = getClient(device); in refreshSession() local
192 AvrcpBipClient client = getClient(device); in disconnect() local
223 AvrcpBipClient client = getClient(device); in getState() local
302 AvrcpBipClient client = getClient(device); in downloadImage() local
419 AvrcpBipClient client = getClient(mDevice); in onConnectionStateChanged() local
440 AvrcpBipClient client = getClient(mDevice); in onGetImagePropertiesComplete() local
474 AvrcpBipClient client = getClient(device); in toString() local
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DHttpClientFactory.java62 HttpClient client = (HttpClient) instance; in newHttpClient() local
90 public static void close(HttpClient client) { in close()
/packages/apps/Dialer/java/com/android/dialer/simulator/service/
DSimulatorServiceClient.java52 private SimulatorServiceClient client; field in SimulatorServiceClient.SimulatorServiceConnection
66 void bindToClient(SimulatorServiceClient client) { in bindToClient()
/packages/services/Car/car-lib/src/android/car/watchdog/
DICarWatchdogService.aidl29 void registerClient(in ICarWatchdogServiceCallback client, in int timeout); in registerClient()
30 void unregisterClient(in ICarWatchdogServiceCallback client); in unregisterClient()
31 void tellClientAlive(in ICarWatchdogServiceCallback client, in int sessionId); in tellClientAlive()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogProcessHandler.java131 public void registerClient(ICarWatchdogServiceCallback client, int timeout) { in registerClient()
166 public void unregisterClient(ICarWatchdogServiceCallback client) { in unregisterClient()
192 public void tellClientAlive(ICarWatchdogServiceCallback client, int sessionId) { in tellClientAlive()
243 private void onClientDeath(ICarWatchdogServiceCallback client, int timeout) { in onClientDeath()
404 public final ICarWatchdogServiceCallback client; field in WatchdogProcessHandler.ClientInfo
410 ClientInfo(ICarWatchdogServiceCallback client, int pid, @UserIdInt int userId, in ClientInfo()
/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogProcessServiceTest.cpp76 sp<MockCarWatchdogClient> client = new MockCarWatchdogClient(); in createMockCarWatchdogClient() local
110 sp<MockCarWatchdogClient> client = expectNormalCarWatchdogClient(); in TEST_F() local
119 sp<MockCarWatchdogClient> client = expectNormalCarWatchdogClient(); in TEST_F() local
128 sp<MockCarWatchdogClient> client = expectCarWatchdogClientBinderDied(); in TEST_F() local
185 sp<ICarWatchdogClient> client = expectNormalCarWatchdogClient(); in TEST_F() local
/packages/services/Car/service/src/com/android/car/vms/
DVmsBrokerService.java187 VmsClientInfo client = getClient(clientToken); in registerProvider() local
200 VmsClientInfo client = getClient(clientToken); in setProviderOfferings() local
229 VmsClientInfo client = getClient(clientToken); in deliverToSubscribers() local
268 VmsClientInfo client; in unregisterClient() local
283 VmsClientInfo client = mClientMap.get(clientToken); in getClient() local
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
DWalletPluginService.java54 void onCreate(Context sysuiContext, Context pluginContext, QuickAccessWalletClient client) { in onCreate()
79 QuickAccessWalletClient client) { in onPanelShown()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
DBluetoothScanner.java257 ClientRecord client = mClients.get(ptr); in stopListening() local
327 ClientRecord client = mClients.get(ptr); in removeDevice() local
482 ClientRecord client = mClients.get(i); in sendScanningStopped() local
491 ClientRecord client = mClients.get(ptr); in sendDeviceAdded() local
507 ClientRecord client = mClients.get(i); in sendDeviceChanged() local
522 ClientRecord client = mClients.get(ptr); in sendDeviceRemoved() local
/packages/services/Car/tests/carservice_test/src/com/android/car/watchdog/
DCarWatchdogServiceTest.java119 TestClient client = new TestClient(new SelfCheckGoodClient()); in testRegisterUnregisterClient() local
138 BadTestClient client = new BadTestClient(); in testBadClient() local
146 TestClient client = new TestClient(new BadTestClient()); in testClientUnderStoppedUser() local
200 TestClient client = new TestClient(androidClient); in testClientResponse() local
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java234 Client client = mClientMap.get(listenerBinder); in registerListener() local
264 private void getAndDispatchPropertyInitValue(CarPropertyConfig config, Client client) { in getAndDispatchPropertyInitValue()
311 Client client = mClientMap.get(listenerBinder); in unregisterListenerBinderLocked() local
483 Client client = mClientMap.get(listenerBinder); in setProperty() local
513 private void updateSetOperationRecorder(int propId, int areaId, Client client) { in updateSetOperationRecorder()
524 private void clearSetOperationRecorderLocked(int propId, Client client) { in clearSetOperationRecorderLocked()
/packages/services/Car/cpp/powerpolicy/client/src/
DPowerPolicyClientBase.cpp76 PowerPolicyClientBase* client = static_cast<PowerPolicyClientBase*>(cookie); in onBinderDied() local
136 std::shared_ptr<ICarPowerPolicyChangeCallback> client = in connectToDaemon() local

123456