Home
last modified time | relevance | path

Searched refs:remoteCallback (Results 1 – 24 of 24) sorted by relevance

/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContentProvider.java84 public void getTypeAsync(Uri uri, RemoteCallback remoteCallback) { in getTypeAsync() argument
89 remoteCallback.sendResult(bundle); in getTypeAsync()
169 RemoteCallback remoteCallback) { in canonicalizeAsync() argument
175 remoteCallback.sendResult(bundle); in canonicalizeAsync()
191 RemoteCallback remoteCallback) { in uncanonicalizeAsync() argument
197 remoteCallback.sendResult(bundle); in uncanonicalizeAsync()
/aosp12/frameworks/base/test-mock/src/android/test/mock/
H A DMockIContentProvider.java70 public void getTypeAsync(Uri uri, RemoteCallback remoteCallback) { in getTypeAsync() argument
74 remoteCallback.sendResult(bundle); in getTypeAsync()
157 RemoteCallback remoteCallback) { in canonicalizeAsync() argument
162 remoteCallback.sendResult(bundle); in canonicalizeAsync()
174 RemoteCallback remoteCallback) { in uncanonicalizeAsync() argument
179 remoteCallback.sendResult(bundle); in uncanonicalizeAsync()
H A DMockContentProvider.java241 public void getTypeAsync(Uri uri, RemoteCallback remoteCallback) { in getTypeAsync() argument
245 remoteCallback.sendResult(bundle); in getTypeAsync()
/aosp12/frameworks/base/core/java/android/view/translation/
H A DUiTranslationManager.java318 final IRemoteCallback remoteCallback = in registerUiTranslationStateCallback() local
321 mService.registerUiTranslationStateCallback(remoteCallback, mContext.getUserId()); in registerUiTranslationStateCallback()
325 mCallbacks.put(callback, remoteCallback); in registerUiTranslationStateCallback()
338 final IRemoteCallback remoteCallback = mCallbacks.get(callback); in unregisterUiTranslationStateCallback() local
339 if (remoteCallback == null) { in unregisterUiTranslationStateCallback()
344 mService.unregisterUiTranslationStateCallback(remoteCallback, mContext.getUserId()); in unregisterUiTranslationStateCallback()
H A DTranslationManager.java319 final IRemoteCallback remoteCallback = new TranslationCapabilityRemoteCallback(executor, in addOnDeviceTranslationCapabilityUpdateListener() local
322 mService.registerTranslationCapabilityCallback(remoteCallback, in addOnDeviceTranslationCapabilityUpdateListener()
327 mCapabilityCallbacks.put(capabilityListener, remoteCallback); in addOnDeviceTranslationCapabilityUpdateListener()
373 final IRemoteCallback remoteCallback = mCapabilityCallbacks.get(capabilityListener); in removeOnDeviceTranslationCapabilityUpdateListener() local
374 if (remoteCallback == null) { in removeOnDeviceTranslationCapabilityUpdateListener()
380 mService.unregisterTranslationCapabilityCallback(remoteCallback, in removeOnDeviceTranslationCapabilityUpdateListener()
/aosp12/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraOfflineSessionClient.h49 const sp<ICameraDeviceCallbacks>& remoteCallback, in CameraOfflineSessionClient() argument
56 IInterface::asBinder(remoteCallback), in CameraOfflineSessionClient()
59 mRemoteCallback(remoteCallback), mOfflineSession(session), in CameraOfflineSessionClient()
H A DCameraDeviceClient.h50 const sp<hardware::camera2::ICameraDeviceCallbacks>& remoteCallback,
178 const sp<hardware::camera2::ICameraDeviceCallbacks>& remoteCallback,
H A DCameraDeviceClient.cpp59 const sp<hardware::camera2::ICameraDeviceCallbacks>& remoteCallback, in CameraDeviceClientBase() argument
70 IInterface::asBinder(remoteCallback), in CameraDeviceClientBase()
79 mRemoteCallback(remoteCallback) { in CameraDeviceClientBase()
87 const sp<hardware::camera2::ICameraDeviceCallbacks>& remoteCallback, in CameraDeviceClient() argument
97 Camera2ClientBase(cameraService, remoteCallback, clientPackageName, clientFeatureId, in CameraDeviceClient()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayHashController.java152 Bundle results = syncCommand.run((service, remoteCallback) -> { in verifyDisplayHash()
154 service.verifyDisplayHash(mSalt, displayHash, remoteCallback); in verifyDisplayHash()
242 Bundle results = syncCommand.run((service, remoteCallback) -> { in getDisplayHashAlgorithms()
244 service.getDisplayHashAlgorithms(remoteCallback); in getDisplayHashAlgorithms()
350 Bundle results = syncCommand.run((service, remoteCallback) -> { in getIntervalBetweenRequestMillis()
352 service.getIntervalBetweenRequestsMillis(remoteCallback); in getIntervalBetweenRequestMillis()
/aosp12/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.cpp48 const sp<TCamCallbacks>& remoteCallback, in Camera2ClientBase() argument
60 TClientBase(cameraService, remoteCallback, clientPackageName, clientFeatureId, in Camera2ClientBase()
63 mSharedCameraCallbacks(remoteCallback), in Camera2ClientBase()
H A DCamera2ClientBase.h49 const sp<TCamCallbacks>& remoteCallback,
/aosp12/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
H A DTetheringManager.java1209 final ITetheringEventCallback remoteCallback = new ITetheringEventCallback.Stub() {
1315 getConnector(c -> c.registerTetheringEventCallback(remoteCallback, callerPkg));
1316 mTetheringEventCallbacks.put(callback, remoteCallback);
1335 ITetheringEventCallback remoteCallback = mTetheringEventCallbacks.remove(callback);
1336 if (remoteCallback == null) {
1340 getConnector(c -> c.unregisterTetheringEventCallback(remoteCallback, callerPkg));
/aosp12/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
H A DLocationTimeZoneManagerService.java361 RemoteCallback remoteCallback = new RemoteCallback(x -> {
369 remoteCallback.sendResult(null);
373 providerIndex, testCommand, remoteCallback);
/aosp12/frameworks/base/core/java/android/service/voice/
H A DHotwordDetectionService.java382 private Callback(IDspHotwordDetectionCallback remoteCallback) { in Callback() argument
383 mRemoteCallback = remoteCallback; in Callback()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DInstantAppResolverConnection.java119 final IRemoteCallback remoteCallback = new IRemoteCallback.Stub() { in getInstantAppIntentFilterList() local
130 .getInstantAppIntentFilterList(request, remoteCallback); in getInstantAppIntentFilterList()
/aosp12/frameworks/native/services/surfaceflinger/tests/
H A DIPC_test.cpp325 auto remoteCallback = remoteListenerCallbacks.begin(); in TEST_F() local
326 auto remoteCallbackInfo = remoteCallback->second; in TEST_F()
/aosp12/frameworks/base/services/core/java/com/android/server/storage/
H A DCacheQuotaStrategy.java136 final RemoteCallback remoteCallback = in createServiceConnection()
139 mRemoteService.computeCacheQuotaHints(remoteCallback, requests); in createServiceConnection()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/
H A DCoexManagerTest.java838 ICoexCallback remoteCallback = mock(ICoexCallback.class); in testOnPhysicalChannelConfigChanged_sameChannels_doesNotUpdateListeners() local
839 when(remoteCallback.asBinder()).thenReturn(mock(IBinder.class)); in testOnPhysicalChannelConfigChanged_sameChannels_doesNotUpdateListeners()
840 coexManager.registerRemoteCoexCallback(remoteCallback); in testOnPhysicalChannelConfigChanged_sameChannels_doesNotUpdateListeners()
868 verify(remoteCallback, times(4)).onCoexUnsafeChannelsChanged(any(), anyInt()); in testOnPhysicalChannelConfigChanged_sameChannels_doesNotUpdateListeners()
/aosp12/packages/modules/Scheduling/service/java/com/android/server/scheduling/
H A DRebootReadinessManagerService.java415 RemoteCallback remoteCallback = new RemoteCallback( in checkSystemComponentsState() local
429 callback.onRequestRebootReadinessStatus(remoteCallback); in checkSystemComponentsState()
/aosp12/packages/modules/Scheduling/tests/unittests/src/com/android/server/scheduling/
H A DRebootReadinessUnitTest.java626 public void onRequestRebootReadinessStatus(RemoteCallback remoteCallback) { in getStatusListener()
632 remoteCallback.sendResult(bundle); in getStatusListener()
/aosp12/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp1311 sp<IBinder> remoteCallback = client->getRemote(); in finishConnectLocked() local
1312 if (remoteCallback != nullptr) { in finishConnectLocked()
1313 remoteCallback->linkToDeath(this); in finishConnectLocked()
1318 apiLevel effectiveApiLevel, const sp<IBinder>& remoteCallback, const String8& packageName, in handleEvictionsLocked() argument
1339 } else if (clientSp->getRemote() == remoteCallback) { in handleEvictionsLocked()
1959 sp<IBinder> remoteCallback = offlineClient->getRemote(); in addOfflineClient() local
1960 if (remoteCallback != nullptr) { in addOfflineClient()
1961 remoteCallback->linkToDeath(this); in addOfflineClient()
2987 const sp<IBinder>& remoteCallback, in BasicClient() argument
2999 mRemoteBinder(remoteCallback), in BasicClient()
H A DCameraService.h325 const sp<IBinder>& remoteCallback,
747 apiLevel effectiveApiLevel, const sp<IBinder>& remoteCallback, const String8& packageName,
/aosp12/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
H A DBlobStoreManagerService.java1565 public void waitForIdle(@NonNull RemoteCallback remoteCallback) { in waitForIdle() argument
1566 Objects.requireNonNull(remoteCallback, "remoteCallback must not be null"); in waitForIdle()
1575 mHandler.post(PooledLambda.obtainRunnable(remoteCallback::sendResult, null) in waitForIdle()
/aosp12/frameworks/base/core/java/android/view/
H A DView.java31209 RemoteCallback remoteCallback = new RemoteCallback(result -> in generateDisplayHash() local
31222 session.generateDisplayHash(window, visibleBounds, hashAlgorithm, remoteCallback); in generateDisplayHash()