Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java477 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
479 spiedContext.sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast()
485 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
487 spiedContext.sendOrderedBroadcast(intent, receiverPermission, options, resultReceiver, in sendOrderedBroadcast()
494 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
496 spiedContext.sendOrderedBroadcast(intent, receiverPermission, appOp, resultReceiver, in sendOrderedBroadcast()
526 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
528 spiedContext.sendOrderedBroadcastAsUser(intent, user, receiverPermission, resultReceiver, in sendOrderedBroadcastAsUser()
530 resultReceiver.onReceive(spiedContext, intent); in sendOrderedBroadcastAsUser()
535 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.java313 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
316 if (resultReceiver != null) { in sendOrderedBroadcast()
318 mOrderedBroadcastReceivers.put(intent, resultReceiver); in sendOrderedBroadcast()
325 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
327 sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast()
333 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
335 sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast()
358 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
362 if (resultReceiver != null) { in sendOrderedBroadcastAsUser()
364 mOrderedBroadcastReceivers.put(intent, resultReceiver); in sendOrderedBroadcastAsUser()
[all …]
/frameworks/base/core/java/android/content/
DContextWrapper.java456 Intent intent, String receiverPermission, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
460 resultReceiver, scheduler, initialCode, in sendOrderedBroadcast()
468 … Intent intent, String receiverPermission, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
472 options, resultReceiver, scheduler, initialCode, in sendOrderedBroadcast()
479 Intent intent, String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
483 resultReceiver, scheduler, initialCode, in sendOrderedBroadcast()
507 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
509 mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, resultReceiver, in sendOrderedBroadcastAsUser()
516 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
518 mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, appOp, resultReceiver, in sendOrderedBroadcastAsUser()
[all …]
DContext.java1937 @Nullable String receiverPermission, @Nullable BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
1987 @Nullable BroadcastReceiver resultReceiver, @Nullable Handler scheduler, in sendOrderedBroadcast() argument
1997 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
2084 UserHandle user, @Nullable String receiverPermission, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
2095 @Nullable String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
2107 BroadcastReceiver resultReceiver, @Nullable Handler scheduler, int initialCode, in sendOrderedBroadcastAsUser() argument
2186 BroadcastReceiver resultReceiver, in sendStickyOrderedBroadcast() argument
2277 UserHandle user, BroadcastReceiver resultReceiver, in sendStickyOrderedBroadcastAsUser() argument
/frameworks/native/libs/binder/
DBinder.cpp65 Vector<String16>& args, const sp<IResultReceiver>& resultReceiver) in shellCommand() argument
77 send.writeStrongBinder(resultReceiver != NULL ? IInterface::asBinder(resultReceiver) : NULL); in shellCommand()
235 sp<IResultReceiver> resultReceiver = IResultReceiver::asInterface( in onTransact() local
240 if (resultReceiver != NULL) { in onTransact()
241 resultReceiver->send(INVALID_OPERATION); in onTransact()
/frameworks/base/core/java/android/os/
DBinder.java364 ResultReceiver resultReceiver = ResultReceiver.CREATOR.createFromParcel(data); in onTransact() local
370 args, resultReceiver); in onTransact()
467 String[] args, ResultReceiver resultReceiver) throws RemoteException { in shellCommand() argument
468 onShellCommand(in, out, err, args, resultReceiver); in shellCommand()
480 String[] args, ResultReceiver resultReceiver) throws RemoteException { in onShellCommand() argument
485 resultReceiver.send(0, null); in onShellCommand()
653 String[] args, ResultReceiver resultReceiver) throws RemoteException { in shellCommand() argument
660 resultReceiver.writeToParcel(data, 0); in shellCommand()
DIBinder.java227 String[] args, ResultReceiver resultReceiver) throws RemoteException; in shellCommand() argument
DShellCommand.java77 String[] args, ResultReceiver resultReceiver) { in exec() argument
89 mResultReceiver = resultReceiver; in exec()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethod.java207 public void showSoftInput(int flags, ResultReceiver resultReceiver); in showSoftInput() argument
221 public void hideSoftInput(int flags, ResultReceiver resultReceiver); in hideSoftInput() argument
DInputMethodManager.java979 public boolean showSoftInput(View view, int flags, ResultReceiver resultReceiver) { in showSoftInput() argument
988 return mService.showSoftInput(mClient, flags, resultReceiver); in showSoftInput()
996 public void showSoftInputUnchecked(int flags, ResultReceiver resultReceiver) { in showSoftInputUnchecked() argument
998 mService.showSoftInput(mClient, flags, resultReceiver); in showSoftInputUnchecked()
1059 ResultReceiver resultReceiver) { in hideSoftInputFromWindow() argument
1067 return mService.hideSoftInput(mClient, flags, resultReceiver); in hideSoftInputFromWindow()
/frameworks/support/v13/java/android/support/v13/view/inputmethod/
DInputConnectionCompat.java109 ResultReceiver resultReceiver = null;
112 resultReceiver = data.getParcelable(COMMIT_CONTENT_RESULT_RECEIVER);
123 if (resultReceiver != null) {
124 resultReceiver.send(result ? 1 : 0, null);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java792 SmsBroadcastReceiver resultReceiver = new SmsBroadcastReceiver(tracker); in processMessagePart() local
795 return processMessagePartWithUserLocked(tracker, pdus, destPort, resultReceiver); in processMessagePart()
814 int result = mWapPush.dispatchWapPdu(output.toByteArray(), resultReceiver, this); in processMessagePart()
833 pdus, destPort, tracker, resultReceiver, true /* userUnlocked */); in processMessagePart()
836 dispatchSmsDeliveryIntent(pdus, tracker.getFormat(), destPort, resultReceiver); in processMessagePart()
852 byte[][] pdus, int destPort, SmsBroadcastReceiver resultReceiver) { in processMessagePartWithUserLocked() argument
861 pdus, destPort, tracker, resultReceiver, false /* userUnlocked */); in processMessagePartWithUserLocked()
922 InboundSmsTracker tracker, SmsBroadcastReceiver resultReceiver, boolean userUnlocked) { in filterSms() argument
936 tracker.getFormat(), resultReceiver); in filterSms()
951 tracker.getFormat(), resultReceiver); in filterSms()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DIInputMethod.aidl51 void showSoftInput(int flags, in ResultReceiver resultReceiver); in showSoftInput() argument
53 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/test-runner/src/android/test/mock/
DMockContext.java373 … BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, in sendOrderedBroadcast() argument
382 …Bundle options, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initi… in sendOrderedBroadcast() argument
390 … BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, in sendOrderedBroadcast() argument
415 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
423 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
431 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
443 … BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, in sendStickyOrderedBroadcast() argument
466 UserHandle user, BroadcastReceiver resultReceiver, in sendStickyOrderedBroadcastAsUser() argument
/frameworks/base/core/java/android/app/
DContextImpl.java975 String receiverPermission, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
979 resultReceiver, scheduler, initialCode, initialData, initialExtras, null); in sendOrderedBroadcast()
984 String receiverPermission, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
988 resultReceiver, scheduler, initialCode, initialData, initialExtras, options); in sendOrderedBroadcast()
993 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
997 resultReceiver, scheduler, initialCode, initialData, initialExtras, null); in sendOrderedBroadcast()
1001 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
1006 if (resultReceiver != null) { in sendOrderedBroadcast()
1012 resultReceiver, getOuterContext(), scheduler, in sendOrderedBroadcast()
1019resultReceiver, getOuterContext(), scheduler, null, false).getIIntentReceiver(); in sendOrderedBroadcast()
[all …]
DActivityTransitionState.java182 ResultReceiver resultReceiver = mEnterActivityOptions.getResultReceiver(); in enterReady() local
188 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.java319 public void showSoftInput(int flags, ResultReceiver resultReceiver) { in showSoftInput() argument
321 flags, resultReceiver)); in showSoftInput()
325 public void hideSoftInput(int flags, ResultReceiver resultReceiver) { in hideSoftInput() argument
327 flags, resultReceiver)); in hideSoftInput()
DInputMethodService.java421 public void hideSoftInput(int flags, ResultReceiver resultReceiver) { in hideSoftInput() argument
428 if (resultReceiver != null) { in hideSoftInput()
429 resultReceiver.send(wasVis != isInputViewShown() in hideSoftInput()
439 public void showSoftInput(int flags, ResultReceiver resultReceiver) { in showSoftInput() argument
459 if (resultReceiver != null) { in showSoftInput()
460 resultReceiver.send(wasVis != isInputViewShown() in showSoftInput()
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateService.java143 FileDescriptor err, String[] args, ResultReceiver resultReceiver) { in onShellCommand() argument
145 this, in, out, err, args, resultReceiver); in onShellCommand()
/frameworks/base/services/core/java/com/android/server/pm/
DOtaDexoptService.java86 String[] args, ResultReceiver resultReceiver) throws RemoteException { in onShellCommand() argument
88 this, in, out, err, args, resultReceiver); in onShellCommand()
/frameworks/native/include/binder/
DIBinder.h86 const sp<IResultReceiver>& resultReceiver);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1141 String[] args, ResultReceiver resultReceiver) { in getBinder()
1602 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
1625 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
1632 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
1640 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
1654 … BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, in sendStickyOrderedBroadcast() argument
1671 UserHandle user, BroadcastReceiver resultReceiver, in sendStickyOrderedBroadcastAsUser() argument

12