Home
last modified time | relevance | path

Searched refs:sendResult (Results 1 – 25 of 133) sorted by relevance

123456

/frameworks/base/core/java/android/service/storage/
DExternalStorageService.java201 sendResult(sessionId, null /* throwable */, callback); in startSession()
203 sendResult(sessionId, t, callback); in startSession()
214 sendResult(sessionId, null /* throwable */, callback); in notifyVolumeStateChanged()
216 sendResult(sessionId, t, callback); in notifyVolumeStateChanged()
227 sendResult(sessionId, null /* throwable */, callback); in freeCache()
229 sendResult(sessionId, t, callback); in freeCache()
239 sendResult(sessionId, null /* throwable */, callback); in endSession()
241 sendResult(sessionId, t, callback); in endSession()
258 private void sendResult(String sessionId, Throwable throwable, RemoteCallback callback) { in sendResult() method in ExternalStorageService.ExternalStorageServiceWrapper
264 callback.sendResult(bundle); in sendResult()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageMonitorCallbackHelperTest.java85 verify(callback, after(WAIT_CALLBACK_CALLED_IN_MS).never()).sendResult(any()); in testWithoutRegisterPackageMonitorCallback_callbackNotCalled()
98 verify(callback, after(WAIT_CALLBACK_CALLED_IN_MS).times(1)).sendResult(any()); in testUnregisterPackageMonitorCallback_callbackShouldNotCalled()
107 verify(callback, after(WAIT_CALLBACK_CALLED_IN_MS).never()).sendResult(any()); in testUnregisterPackageMonitorCallback_callbackShouldNotCalled()
121 verify(callback, after(WAIT_CALLBACK_CALLED_IN_MS).never()).sendResult(any()); in testPackageMonitorCallback_SuspendNoAccessCallbackNotCalled()
139 verify(callback, after(WAIT_CALLBACK_CALLED_IN_MS).times(1)).sendResult( in testPackageMonitorCallback_SuspendCallbackCalled()
164 verify(callback, after(WAIT_CALLBACK_CALLED_IN_MS).times(1)).sendResult( in testRegisterPackageMonitorCallback_callbackCalled()
188 verify(callback, after(WAIT_CALLBACK_CALLED_IN_MS).never()).sendResult(any()); in testRegisterPackageMonitorCallbackUserNotMatch_callbackShouldNotCalled()
206 verify(callback, after(WAIT_CALLBACK_CALLED_IN_MS).times(1)).sendResult( in testNotifyPackageChanged_callbackCalled()
235 verify(callback, after(WAIT_CALLBACK_CALLED_IN_MS).times(1)).sendResult( in testNotifyPackageAddedForNewUsers_callbackCalled()
259 verify(callback, after(WAIT_CALLBACK_CALLED_IN_MS).times(1)).sendResult( in testNotifyResourcesChanged_callbackCalled()
[all …]
DBackgroundInstallControlCallbackHelperTest.java47 public void sendResult(Bundle extras) {}
90 verify(mCallback, after(1000).times(1)).sendResult(bundleCaptor.capture()); in notifyAllCallbacks_broadcastsToCallbacks()
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/
DInitService.java85 sendResult(mCallback, Constants.REPLY_COMMAND_RESULT, msg.arg1, msg.arg2, null); in handleMessage()
95 sendResult(mCallback, Constants.REPLY_COMMAND_RESULT, c.mSeq, in handleMessage()
148 sendResult(mCallback, Constants.REPLY_COMMAND_RESULT, seq, in handleBindService()
157 sendResult(mCallback, Constants.REPLY_COMMAND_RESULT, seq, in handleBindService()
181 sendResult(mCallback, Constants.REPLY_COMMAND_RESULT, seq, in acquireProvider()
184 sendResult(mCallback, Constants.REPLY_COMMAND_RESULT, seq, in acquireProvider()
201 sendResult(mCallback, Constants.REPLY_COMMAND_RESULT, seq, in releaseProvider()
211 sendResult(mCallback, Constants.REPLY_COMMAND_RESULT, seq, in sendBroadcast()
237 private static void sendResult(Messenger callback, int what, int seq, int result, Object obj) { in sendResult() method in InitService
264 sendResult(mCallback, Constants.REPLY_COMMAND_RESULT, mSeq, in onServiceConnected()
[all …]
DTestActivity.java64 sendResult(Constants.RESULT_NO_ERROR); in onResume()
73 sendResult(Constants.RESULT_NO_ERROR); in onDestroy()
76 private void sendResult(int result) { in sendResult() method in TestActivity
/frameworks/base/core/java/android/os/
DRemoteCallback.java52 public void sendResult(Bundle data) { in RemoteCallback()
53 RemoteCallback.this.sendResult(data); in RemoteCallback()
65 public void sendResult(@Nullable final Bundle result) { in sendResult() method in RemoteCallback
81 mCallback.sendResult(result); in sendResult()
DIRemoteCallback.aidl25 void sendResult(in Bundle data); in sendResult() method
/frameworks/base/core/java/android/service/resumeonreboot/
DResumeOnRebootService.java134 resultCallback.sendResult(bundle);
138 resultCallback.sendResult(bundle);
151 resultCallback.sendResult(bundle);
155 resultCallback.sendResult(bundle);
/frameworks/base/core/java/android/service/displayhash/
DDisplayHashingService.java131 callback.sendResult(data); in verifyDisplayHash()
140 callback.sendResult(data); in getDisplayHashAlgorithms()
155 callback.sendResult(data); in getDurationBetweenRequestsMillis()
171 callback.sendResult(result); in generateDisplayHash()
178 callback.sendResult(result); in generateDisplayHash()
/frameworks/base/core/java/android/service/resolver/
DResolverRankerService.java137 private static void sendResult(List<ResolverTarget> targets, IResolverRankerResult result) { in sendResult() method in ResolverRankerService
139 result.sendResult(targets); in sendResult()
158 sendResult(targets, result); in predict()
161 sendResult(null, result); in predict()
DIResolverRankerResult.aidl26 void sendResult(in List<ResolverTarget> results); in sendResult() method
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java514 sendResult(mCallbackIntent, resultCode, extrasIntent); in onGetMetadataComplete()
519 sendResult(mCallbackIntent, ERROR, null /* extrasIntent */); in onEuiccServiceUnavailable()
633 sendResult(callbackIntent, ERROR, null); in downloadSubscription()
640 sendResult(callbackIntent, ERROR, null); in downloadSubscription()
709 sendResult(callbackIntent, RESOLVABLE_ERROR, extrasIntent); in downloadSubscription()
754 sendResult(mCallbackIntent, ERROR, null /* extrasIntent */); in onGetMetadataComplete()
770 sendResult(mCallbackIntent, RESOLVABLE_ERROR, extrasIntent); in onGetMetadataComplete()
789 sendResult(mCallbackIntent, ERROR, null /* extrasIntent */); in onGetMetadataComplete()
929 sendResult(callbackIntent, resultCode, extrasIntent); in downloadSubscriptionPrivileged()
934 sendResult(callbackIntent, ERROR, null /* extrasIntent */); in downloadSubscriptionPrivileged()
[all …]
/frameworks/base/core/java/android/service/wearable/
DWearableSensingService.java229 wearableHotwordCallback.sendResult(bundle); in onBind()
235 statusCallback.sendResult(bundle); in onBind()
248 statusCallback.sendResult(bundle); in onBind()
282 detectionResultCallback.sendResult(bundle); in onBind()
291 statusCallback.sendResult(bundle); in onBind()
321 callback.sendResult(bundle); in onBind()
684 dataRequestCallback.sendResult(bundle);
693 statusCallback.sendResult(bundle);
/frameworks/base/core/java/android/service/ambientcontext/
DAmbientContextDetectionService.java87 detectionResultCallback.sendResult(bundle); in onBind()
96 statusCallback.sendResult(bundle); in onBind()
126 callback.sendResult(bundle); in onBind()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccFileHandler.java441 private void sendResult(Message response, Object result, Throwable ex) { in sendResult() method in IccFileHandler
456 sendResult(response, null, ar.exception); in processException()
461 sendResult(response, null, iccException); in processException()
508 sendResult(response, recordSize, null); in handleMessage()
601 sendResult(response, result.payload, null); in handleMessage()
608 sendResult(response, lc.results, null); in handleMessage()
634 sendResult(response, result.payload, null); in handleMessage()
659 sendResult(response, size, null); in handleMessage()
664 sendResult(response, null, exc); in handleMessage()
/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/src/com/android/servicestests/apps/simpleservicetestapp/
DSimpleService.java56 public void sendResult(Bundle bundle) {
100 callback.sendResult(new Bundle()); in bindToService()
114 callback.sendResult(null); in bindToService()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContentProvider.java91 remoteCallback.sendResult(bundle); in getTypeAsync()
112 remoteCallback.sendResult(bundle); in getTypeAnonymousAsync()
198 remoteCallback.sendResult(bundle); in canonicalizeAsync()
220 remoteCallback.sendResult(bundle); in uncanonicalizeAsync()
/frameworks/base/test-mock/src/android/test/mock/
DMockIContentProvider.java76 remoteCallback.sendResult(bundle); in getTypeAsync()
88 remoteCallback.sendResult(bundle); in getTypeAnonymousAsync()
177 remoteCallback.sendResult(bundle); in canonicalizeAsync()
194 remoteCallback.sendResult(bundle); in uncanonicalizeAsync()
DMockContentProvider.java252 remoteCallback.sendResult(bundle); in getTypeAsync()
269 remoteCallback.sendResult(bundle); in getTypeAnonymousAsync()
338 callback.sendResult(bundle); in canonicalizeAsync()
350 callback.sendResult(bundle); in uncanonicalizeAsync()
/frameworks/base/core/java/android/permissionpresenterservice/
DRuntimePermissionPresenterService.java101 callback.sendResult(result);
103 callback.sendResult(null);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSmsStats.java183 proto.sendResult = OUTGOING_SMS__SEND_RESULT__SMS_SEND_RESULT_ERROR_FALLBACK; in onOutgoingSms()
185 proto.sendResult = OUTGOING_SMS__SEND_RESULT__SMS_SEND_RESULT_ERROR_RETRY; in onOutgoingSms()
187 proto.sendResult = OUTGOING_SMS__SEND_RESULT__SMS_SEND_RESULT_ERROR; in onOutgoingSms()
192 proto.sendResult = OUTGOING_SMS__SEND_RESULT__SMS_SEND_RESULT_ERROR_RETRY; in onOutgoingSms()
194 proto.sendResult = OUTGOING_SMS__SEND_RESULT__SMS_SEND_RESULT_ERROR; in onOutgoingSms()
255 proto.sendResult = OUTGOING_SMS__SEND_RESULT__SMS_SEND_RESULT_SUCCESS; in getOutgoingDefaultProto()
344 return Objects.hash(sms.smsFormat, sms.smsTech, sms.rat, sms.sendResult, sms.errorCode, in getSmsHashCode()
/frameworks/base/packages/CrashRecovery/framework/java/android/service/watchdog/
DExplicitHealthCheckService.java183 mCallback.sendResult(bundle); in notifyHealthCheckPassed()
322 callback.sendResult(bundle); in getSupportedPackages()
334 callback.sendResult(bundle); in getRequestedPackages()
/frameworks/base/core/java/android/app/
DIActivityPendingResult.aidl25 boolean sendResult(int code, String data, in Bundle ex); in sendResult() method
DSynchronousUserSwitchObserver.java39 reply.sendResult(null); in onUserSwitching()
/frameworks/base/core/java/android/service/chooser/
DIChooserTargetResult.aidl26 void sendResult(in List<ChooserTarget> targets); in sendResult() method

123456