Home
last modified time | relevance | path

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

12

/frameworks/base/test-mock/src/android/test/mock/
DMockIContentProvider.java71 Uri uri, RemoteCallback remoteCallback) { in getTypeAsync() argument
76 remoteCallback.sendResult(bundle); in getTypeAsync()
84 public void getTypeAnonymousAsync(Uri uri, RemoteCallback remoteCallback) { in getTypeAnonymousAsync() argument
88 remoteCallback.sendResult(bundle); in getTypeAnonymousAsync()
172 RemoteCallback remoteCallback) { in canonicalizeAsync() argument
177 remoteCallback.sendResult(bundle); in canonicalizeAsync()
189 RemoteCallback remoteCallback) { in uncanonicalizeAsync() argument
194 remoteCallback.sendResult(bundle); in uncanonicalizeAsync()
DMockContentProvider.java248 public void getTypeAsync(Uri uri, RemoteCallback remoteCallback) { in getTypeAsync() argument
252 remoteCallback.sendResult(bundle); in getTypeAsync()
265 public void getTypeAnonymousAsync(Uri uri, RemoteCallback remoteCallback) { in getTypeAnonymousAsync() argument
269 remoteCallback.sendResult(bundle); in getTypeAnonymousAsync()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContentProvider.java85 RemoteCallback remoteCallback) { in getTypeAsync() argument
91 remoteCallback.sendResult(bundle); in getTypeAsync()
106 public void getTypeAnonymousAsync(Uri uri, RemoteCallback remoteCallback) { in getTypeAnonymousAsync() argument
112 remoteCallback.sendResult(bundle); in getTypeAnonymousAsync()
192 RemoteCallback remoteCallback) { in canonicalizeAsync() argument
198 remoteCallback.sendResult(bundle); in canonicalizeAsync()
214 RemoteCallback remoteCallback) { in uncanonicalizeAsync() argument
220 remoteCallback.sendResult(bundle); in uncanonicalizeAsync()
/frameworks/base/core/java/android/view/translation/
DUiTranslationManager.java324 final IRemoteCallback remoteCallback = in registerUiTranslationStateCallback() local
327 mService.registerUiTranslationStateCallback(remoteCallback, mContext.getUserId()); in registerUiTranslationStateCallback()
331 mCallbacks.put(callback, remoteCallback); in registerUiTranslationStateCallback()
344 final IRemoteCallback remoteCallback = mCallbacks.get(callback); in unregisterUiTranslationStateCallback() local
345 if (remoteCallback == null) { in unregisterUiTranslationStateCallback()
350 mService.unregisterUiTranslationStateCallback(remoteCallback, mContext.getUserId()); in unregisterUiTranslationStateCallback()
DTranslationManager.java291 final IRemoteCallback remoteCallback = new TranslationCapabilityRemoteCallback(executor, in addOnDeviceTranslationCapabilityUpdateListener() local
294 mService.registerTranslationCapabilityCallback(remoteCallback, in addOnDeviceTranslationCapabilityUpdateListener()
299 mCapabilityCallbacks.put(capabilityListener, remoteCallback); in addOnDeviceTranslationCapabilityUpdateListener()
345 final IRemoteCallback remoteCallback = mCapabilityCallbacks.get(capabilityListener); in removeOnDeviceTranslationCapabilityUpdateListener() local
346 if (remoteCallback == null) { in removeOnDeviceTranslationCapabilityUpdateListener()
352 mService.unregisterTranslationCapabilityCallback(remoteCallback, in removeOnDeviceTranslationCapabilityUpdateListener()
/frameworks/base/core/java/android/service/ondeviceintelligence/
DIOnDeviceIntelligenceService.aidl38 void getVersion(in RemoteCallback remoteCallback); in getVersion() argument
43 void getReadOnlyFeatureFileDescriptorMap(in Feature feature, in RemoteCallback remoteCallback); in getReadOnlyFeatureFileDescriptorMap() argument
DOnDeviceIntelligenceService.java135 public void getVersion(RemoteCallback remoteCallback) { in onBind() argument
136 Objects.requireNonNull(remoteCallback); in onBind()
145 remoteCallback.sendResult(b); in onBind()
217 Feature feature, RemoteCallback remoteCallback) { in onBind() argument
219 Objects.requireNonNull(remoteCallback); in onBind()
227 remoteCallback.sendResult(bundle); in onBind()
DIRemoteStorageService.aidl33 void getReadOnlyFeatureFileDescriptorMap(in Feature feature, in RemoteCallback remoteCallback); in getReadOnlyFeatureFileDescriptorMap() argument
DIOnDeviceSandboxedInferenceService.aidl39 in IRemoteCallback remoteCallback) = 0; in registerRemoteStorageService() argument
DOnDeviceSandboxedInferenceService.java158 IRemoteCallback remoteCallback) throws RemoteException { in onBind()
161 remoteCallback.sendResult( in onBind()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.h50 const sp<ICameraDeviceCallbacks>& remoteCallback, in CameraOfflineSessionClient() argument
58 IInterface::asBinder(remoteCallback), in CameraOfflineSessionClient()
64 mRemoteCallback(remoteCallback), mOfflineSession(session), in CameraOfflineSessionClient()
DCameraDeviceClient.h52 const sp<hardware::camera2::ICameraDeviceCallbacks>& remoteCallback,
183 const sp<hardware::camera2::ICameraDeviceCallbacks>& remoteCallback,
DCameraDeviceClient.cpp62 const sp<hardware::camera2::ICameraDeviceCallbacks>& remoteCallback, in CameraDeviceClientBase() argument
76 IInterface::asBinder(remoteCallback), in CameraDeviceClientBase()
88 mRemoteCallback(remoteCallback) { in CameraDeviceClientBase()
94 const sp<hardware::camera2::ICameraDeviceCallbacks>& remoteCallback, in CameraDeviceClient() argument
109 Camera2ClientBase(cameraService, remoteCallback, cameraServiceProxyWrapper, in CameraDeviceClient()
/frameworks/base/core/java/android/app/ondeviceintelligence/
DIOnDeviceIntelligenceManager.aidl46 void getVersion(in RemoteCallback remoteCallback) = 1; field
49 void getFeature(in int featureId, in IFeatureCallback remoteCallback) = 2; in getFeature() argument
/frameworks/base/services/core/java/com/android/server/ondeviceintelligence/
DBundleUtil.java227 RemoteCallback remoteCallback) in wrapWithValidation() argument
236 remoteCallback.sendResult(augmentedData); in wrapWithValidation()
277 RemoteCallback remoteCallback)
285 remoteCallback.sendResult(augmentedData);
DOnDeviceIntelligenceManagerService.java237 public void getVersion(RemoteCallback remoteCallback) { in getOnDeviceIntelligenceManagerService() argument
239 Objects.requireNonNull(remoteCallback); in getOnDeviceIntelligenceManagerService()
244 remoteCallback.sendResult(null); in getOnDeviceIntelligenceManagerService()
253 remoteCallback.sendResult(result); in getOnDeviceIntelligenceManagerService()
785 RemoteCallback remoteCallback) {
793 remoteCallback.sendResult(null);
800 remoteCallback.sendResult(result);
/frameworks/base/services/core/java/com/android/server/wm/
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()
DRemoteDisplayChangeController.java105 final IDisplayChangeWindowCallback remoteCallback = createCallback(callback); in performRemoteDisplayChange() local
110 fromRotation, toRotation, newDisplayAreaInfo, remoteCallback); in performRemoteDisplayChange()
/frameworks/base/core/java/android/service/voice/
DHotwordDetectionService.java415 private Callback(IDspHotwordDetectionCallback remoteCallback) { in Callback() argument
416 mRemoteCallback = remoteCallback; in Callback()
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp54 const sp<TCamCallbacks>& remoteCallback, in Camera2ClientBase() argument
70 TClientBase(cameraService, remoteCallback, attributionAndPermissionUtils, clientPackageName, in Camera2ClientBase()
73 mSharedCameraCallbacks(remoteCallback), in Camera2ClientBase()
DCamera2ClientBase.h53 const sp<TCamCallbacks>& remoteCallback,
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppResolverConnection.java119 final IRemoteCallback remoteCallback = new IRemoteCallback.Stub() { in getInstantAppIntentFilterList() local
130 .getInstantAppIntentFilterList(request, remoteCallback); in getInstantAppIntentFilterList()
/frameworks/native/services/surfaceflinger/tests/
DIPC_test.cpp325 auto remoteCallback = remoteListenerCallbacks.begin(); in TEST_F() local
326 auto remoteCallbackInfo = remoteCallback->second; in TEST_F()
/frameworks/base/services/core/java/com/android/server/storage/
DCacheQuotaStrategy.java137 final RemoteCallback remoteCallback = in createServiceConnection()
140 mRemoteService.computeCacheQuotaHints(remoteCallback, requests); in createServiceConnection()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp1904 sp<IBinder> remoteCallback = client->getRemote(); in finishConnectLocked() local
1905 if (remoteCallback != nullptr) { in finishConnectLocked()
1906 remoteCallback->linkToDeath(this); in finishConnectLocked()
1911 apiLevel effectiveApiLevel, const sp<IBinder>& remoteCallback, in handleEvictionsLocked() argument
1932 } else if (clientSp->getRemote() == remoteCallback) { in handleEvictionsLocked()
2818 sp<IBinder> remoteCallback = offlineClient->getRemote(); in addOfflineClient() local
2819 if (remoteCallback != nullptr) { in addOfflineClient()
2820 remoteCallback->linkToDeath(this); in addOfflineClient()
4104 const sp<IBinder>& remoteCallback, in BasicClient() argument
4120 mRemoteBinder(remoteCallback), in BasicClient()

12