Home
last modified time | relevance | path

Searched refs:resultReceiver (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java254 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
256 spiedContext.sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast()
262 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
264 spiedContext.sendOrderedBroadcast(intent, receiverPermission, options, resultReceiver, in sendOrderedBroadcast()
271 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
273 spiedContext.sendOrderedBroadcast(intent, receiverPermission, appOp, resultReceiver, in sendOrderedBroadcast()
303 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
305 spiedContext.sendOrderedBroadcastAsUser(intent, user, receiverPermission, resultReceiver, in sendOrderedBroadcastAsUser()
307 resultReceiver.onReceive(spiedContext, intent); in sendOrderedBroadcastAsUser()
312 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
[all …]
/frameworks/base/packages/StatementService/src/com/android/statementservice/
DDirectStatementService.java191 ResultReceiver resultReceiver = extras.getParcelable(EXTRA_RESULT_RECEIVER); in onStartCommand() local
193 if (resultReceiver == null) { in onStartCommand()
199 resultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in onStartCommand()
204 resultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in onStartCommand()
209 resultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in onStartCommand()
214 new IsAssociatedCallable(sources, target, relation, resultReceiver), TAG)); in onStartCommand()
229 ResultReceiver resultReceiver) { in IsAssociatedCallable() argument
233 mResultReceiver = resultReceiver; in IsAssociatedCallable()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java332 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
335 if (resultReceiver != null) { in sendOrderedBroadcast()
337 mOrderedBroadcastReceivers.put(intent, resultReceiver); in sendOrderedBroadcast()
344 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
346 sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast()
352 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
354 sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast()
377 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
381 if (resultReceiver != null) { in sendOrderedBroadcastAsUser()
383 mOrderedBroadcastReceivers.put(intent, resultReceiver); in sendOrderedBroadcastAsUser()
[all …]
/frameworks/native/services/surfaceflinger/
DGpuService.cpp51 sp<IResultReceiver> resultReceiver; in onTransact() local
54 if ((status = data.readNullableStrongBinder(&resultReceiver)) != OK) in onTransact()
57 if (resultReceiver != nullptr) in onTransact()
58 resultReceiver->send(status); in onTransact()
/frameworks/native/libs/binder/
DBinder.cpp67 const sp<IResultReceiver>& resultReceiver) in shellCommand() argument
80 send.writeStrongBinder(resultReceiver != NULL ? IInterface::asBinder(resultReceiver) : NULL); in shellCommand()
240 sp<IResultReceiver> resultReceiver = IResultReceiver::asInterface( in onTransact() local
249 if (resultReceiver != NULL) { in onTransact()
250 resultReceiver->send(INVALID_OPERATION); in onTransact()
/frameworks/base/core/java/android/content/
DContextWrapper.java472 Intent intent, String receiverPermission, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
476 resultReceiver, scheduler, initialCode, in sendOrderedBroadcast()
484 … Intent intent, String receiverPermission, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
488 options, resultReceiver, scheduler, initialCode, in sendOrderedBroadcast()
495 Intent intent, String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
499 resultReceiver, scheduler, initialCode, in sendOrderedBroadcast()
530 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
532 mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, resultReceiver, in sendOrderedBroadcastAsUser()
539 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
541 mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, appOp, resultReceiver, in sendOrderedBroadcastAsUser()
[all …]
DContext.java2055 @Nullable String receiverPermission, @Nullable BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
2105 @Nullable BroadcastReceiver resultReceiver, @Nullable Handler scheduler, in sendOrderedBroadcast() argument
2115 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
2223 UserHandle user, @Nullable String receiverPermission, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
2235 @Nullable String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
2248 BroadcastReceiver resultReceiver, @Nullable Handler scheduler, int initialCode, in sendOrderedBroadcastAsUser() argument
2325 BroadcastReceiver resultReceiver, in sendStickyOrderedBroadcast() argument
2423 UserHandle user, BroadcastReceiver resultReceiver, in sendStickyOrderedBroadcastAsUser() argument
/frameworks/base/core/java/android/os/
DBinder.java489 ResultReceiver resultReceiver = ResultReceiver.CREATOR.createFromParcel(data); in onTransact() local
495 args, shellCallback, resultReceiver); in onTransact()
593 @NonNull ResultReceiver resultReceiver) throws RemoteException { in shellCommand() argument
594 onShellCommand(in, out, err, args, callback, resultReceiver); in shellCommand()
608 @NonNull ResultReceiver resultReceiver) throws RemoteException { in onShellCommand() argument
613 resultReceiver.send(0, null); in onShellCommand()
810 ResultReceiver resultReceiver) throws RemoteException { in shellCommand() argument
818 resultReceiver.writeToParcel(data, 0); in shellCommand()
DIBinder.java242 @NonNull ResultReceiver resultReceiver) throws RemoteException; in shellCommand() argument
DShellCommand.java79 String[] args, ShellCallback callback, ResultReceiver resultReceiver) { in exec() argument
91 mResultReceiver = resultReceiver; in exec()
/frameworks/base/core/java/com/android/internal/view/
DIInputMethod.aidl50 void showSoftInput(int flags, in ResultReceiver resultReceiver); in showSoftInput() argument
52 void hideSoftInput(int flags, in ResultReceiver resultReceiver); in hideSoftInput() argument
DIInputMethodManager.aidl53 in ResultReceiver resultReceiver); in showSoftInput() argument
55 in ResultReceiver resultReceiver); in hideSoftInput() argument
/frameworks/base/core/java/android/view/inputmethod/
DInputMethod.java247 public void showSoftInput(int flags, ResultReceiver resultReceiver); in showSoftInput() argument
261 public void hideSoftInput(int flags, ResultReceiver resultReceiver); in hideSoftInput() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java916 SmsBroadcastReceiver resultReceiver = new SmsBroadcastReceiver(tracker); in processMessagePart() local
919 return processMessagePartWithUserLocked(tracker, pdus, destPort, resultReceiver); in processMessagePart()
938 int result = mWapPush.dispatchWapPdu(output.toByteArray(), resultReceiver, this); in processMessagePart()
957 pdus, destPort, tracker, resultReceiver, true /* userUnlocked */); in processMessagePart()
960 dispatchSmsDeliveryIntent(pdus, tracker.getFormat(), destPort, resultReceiver); in processMessagePart()
976 byte[][] pdus, int destPort, SmsBroadcastReceiver resultReceiver) { in processMessagePartWithUserLocked() argument
985 pdus, destPort, tracker, resultReceiver, false /* userUnlocked */); in processMessagePartWithUserLocked()
1050 InboundSmsTracker tracker, SmsBroadcastReceiver resultReceiver, boolean userUnlocked) { in filterSms() argument
1053 pdus, destPort, tracker.getFormat(), resultReceiver, userUnlocked); in filterSms()
1063 dropSms(resultReceiver); in filterSms()
[all …]
/frameworks/support/v13/java/android/support/v13/view/inputmethod/
DInputConnectionCompat.java111 ResultReceiver resultReceiver = null;
114 resultReceiver = data.getParcelable(COMMIT_CONTENT_RESULT_RECEIVER);
125 if (resultReceiver != null) {
126 resultReceiver.send(result ? 1 : 0, null);
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java382 … BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, in sendOrderedBroadcast() argument
391 …Bundle options, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initi… in sendOrderedBroadcast() argument
399 … BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, in sendOrderedBroadcast() argument
432 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
440 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
448 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
460 … BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, in sendStickyOrderedBroadcast() argument
483 UserHandle user, BroadcastReceiver resultReceiver, in sendStickyOrderedBroadcastAsUser() argument
/frameworks/base/services/coverage/java/com/android/server/coverage/
DCoverageService.java59 String[] args, ShellCallback callback, ResultReceiver resultReceiver) { in onShellCommand() argument
60 new CoverageCommand().exec(this, in, out, err, args, callback, resultReceiver); in onShellCommand()
/frameworks/base/core/java/android/app/
DContextImpl.java1064 String receiverPermission, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
1068 resultReceiver, scheduler, initialCode, initialData, initialExtras, null); in sendOrderedBroadcast()
1073 String receiverPermission, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
1077 resultReceiver, scheduler, initialCode, initialData, initialExtras, options); in sendOrderedBroadcast()
1082 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
1086 resultReceiver, scheduler, initialCode, initialData, initialExtras, null); in sendOrderedBroadcast()
1090 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
1095 if (resultReceiver != null) { in sendOrderedBroadcast()
1101 resultReceiver, getOuterContext(), scheduler, in sendOrderedBroadcast()
1108resultReceiver, getOuterContext(), scheduler, null, false).getIIntentReceiver(); in sendOrderedBroadcast()
[all …]
DActivityTransitionState.java188 ResultReceiver resultReceiver = mEnterActivityOptions.getResultReceiver(); in enterReady() local
194 resultReceiver, sharedElementNames, mEnterActivityOptions.isReturning(), in enterReady()
/frameworks/base/core/java/android/view/
DWindowManagerImpl.java130 IResultReceiver resultReceiver = new IResultReceiver.Stub() { in requestAppKeyboardShortcuts() local
140 .requestAppKeyboardShortcuts(resultReceiver, deviceId); in requestAppKeyboardShortcuts()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodWrapper.java301 public void showSoftInput(int flags, ResultReceiver resultReceiver) { in showSoftInput() argument
303 flags, resultReceiver)); in showSoftInput()
307 public void hideSoftInput(int flags, ResultReceiver resultReceiver) { in hideSoftInput() argument
309 flags, resultReceiver)); in hideSoftInput()
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateService.java151 ResultReceiver resultReceiver) { in onShellCommand() argument
153 this, in, out, err, args, callback, resultReceiver); in onShellCommand()
/frameworks/native/libs/binder/include/binder/
DIBinder.h87 const sp<IResultReceiver>& resultReceiver);
/frameworks/base/services/core/java/com/android/server/pm/
DOtaDexoptService.java112 String[] args, ShellCallback callback, ResultReceiver resultReceiver) { in onShellCommand() argument
114 this, in, out, err, args, callback, resultReceiver); in onShellCommand()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareServiceImpl.java383 String[] args, ShellCallback callback, ResultReceiver resultReceiver) { in onShellCommand() argument
384 mShellCommand.exec(this, in, out, err, args, callback, resultReceiver); in onShellCommand()

123