/frameworks/base/core/java/android/view/contentcapture/ |
D | ContentCaptureManager.java | 396 final SyncResultReceiver resultReceiver = new SyncResultReceiver(SYNC_CALLS_TIMEOUT_MS); in getServiceComponentName() 398 mService.getServiceComponentName(resultReceiver); in getServiceComponentName() 399 return resultReceiver.getParcelableResult(); in getServiceComponentName() 421 final SyncResultReceiver resultReceiver = new SyncResultReceiver(SYNC_CALLS_TIMEOUT_MS); in getServiceSettingsComponentName() local 423 service.getServiceSettingsActivity(resultReceiver); in getServiceSettingsComponentName() 424 final int resultCode = resultReceiver.getIntResult(); in getServiceSettingsComponentName() 426 throw new SecurityException(resultReceiver.getStringResult()); in getServiceSettingsComponentName() 428 return resultReceiver.getParcelableResult(); in getServiceSettingsComponentName() 468 final SyncResultReceiver resultReceiver = syncRun( in getContentCaptureConditions() 471 final ArrayList<ContentCaptureCondition> result = resultReceiver in getContentCaptureConditions() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmMockContext.java | 292 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument 294 spiedContext.sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast() 300 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument 302 spiedContext.sendOrderedBroadcast(intent, receiverPermission, options, resultReceiver, in sendOrderedBroadcast() 309 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument 311 spiedContext.sendOrderedBroadcast(intent, receiverPermission, appOp, resultReceiver, in sendOrderedBroadcast() 347 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument 350 intent, user, receiverPermission, AppOpsManager.OP_NONE, resultReceiver, in sendOrderedBroadcastAsUser() 356 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 359 intent, user, receiverPermission, appOp, null, resultReceiver, in sendOrderedBroadcastAsUser() [all …]
|
/frameworks/base/media/apex/java/android/media/ |
D | MediaController2.java | 210 ResultReceiver resultReceiver = new ResultReceiver(mResultHandler) { in sendSessionCommand() local 225 mPendingCommands.put(resultReceiver, seq); in sendSessionCommand() 228 resultReceiver); in sendSessionCommand() 230 mPendingCommands.remove(resultReceiver); in sendSessionCommand() 231 resultReceiver.send(RESULT_ERROR_UNKNOWN_ERROR, null); in sendSessionCommand() 235 return resultReceiver; in sendSessionCommand() 315 @Nullable ResultReceiver resultReceiver) { in onSessionCommand() argument 325 if (resultReceiver != null) { in onSessionCommand() 326 resultReceiver.send(RESULT_INFO_SKIPPED, null); in onSessionCommand() 332 if (resultReceiver != null) { in onSessionCommand() [all …]
|
D | Controller2Link.java | 117 ResultReceiver resultReceiver) { in sendSessionCommand() argument 119 mIController.sendSessionCommand(seq, command, args, resultReceiver); in sendSessionCommand() 155 ResultReceiver resultReceiver) { in onSessionCommand() argument 156 mController.onSessionCommand(seq, command, args, resultReceiver); in onSessionCommand() 197 ResultReceiver resultReceiver) { in sendSessionCommand() argument 200 Controller2Link.this.onSessionCommand(seq, command, args, resultReceiver); in sendSessionCommand()
|
D | MediaSession2.java | 204 ResultReceiver resultReceiver = new ResultReceiver(mResultHandler) { in sendSessionCommand() local 213 controller.sendSessionCommand(command, args, resultReceiver); in sendSessionCommand() 214 return resultReceiver; in sendSessionCommand() 438 @Nullable ResultReceiver resultReceiver) { in onSessionCommand() argument 456 resultReceiver.send(RESULT_INFO_SKIPPED, null); in onSessionCommand() 461 if (resultReceiver != null) { in onSessionCommand() 463 resultReceiver.send(RESULT_INFO_SKIPPED, null); in onSessionCommand() 465 resultReceiver.send(result.getResultCode(), result.getResultData()); in onSessionCommand() 763 ResultReceiver resultReceiver) { in sendSessionCommand() argument 769 mPendingCommands.put(resultReceiver, seq); in sendSessionCommand() [all …]
|
D | Session2Link.java | 131 final Session2Command command, final Bundle args, ResultReceiver resultReceiver) { in sendSessionCommand() argument 133 mISession.sendSessionCommand(caller, seq, command, args, resultReceiver); in sendSessionCommand() 161 final Session2Command command, final Bundle args, ResultReceiver resultReceiver) { in onSessionCommand() argument 162 mSession.onSessionCommand(caller, seq, command, args, resultReceiver); in onSessionCommand() 201 final Session2Command command, final Bundle args, ResultReceiver resultReceiver) { in sendSessionCommand() argument 207 Session2Link.this.onSessionCommand(caller, seq, command, args, resultReceiver); in sendSessionCommand()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
D | DirectStatementService.java | 194 ResultReceiver resultReceiver = extras.getParcelable(EXTRA_RESULT_RECEIVER); in onStartCommand() local 196 if (resultReceiver == null) { in onStartCommand() 202 resultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in onStartCommand() 207 resultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in onStartCommand() 212 resultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in onStartCommand() 217 new IsAssociatedCallable(sources, target, relation, resultReceiver), TAG)); in onStartCommand() 232 ResultReceiver resultReceiver) { in IsAssociatedCallable() argument 236 mResultReceiver = resultReceiver; in IsAssociatedCallable()
|
/frameworks/base/cmds/statsd/src/shell/ |
D | ShellSubscriber.cpp | 33 void ShellSubscriber::startNewSubscription(int in, int out, sp<IResultReceiver> resultReceiver, in startNewSubscription() argument 44 mResultReceiver = resultReceiver; in startNewSubscription() 62 [this, resultReceiver] { return mResultReceiver != resultReceiver; }); in startNewSubscription() 64 mShellDied.wait(lk, [this, resultReceiver] { return mResultReceiver != resultReceiver; }); in startNewSubscription()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ContextFixture.java | 363 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument 366 if (resultReceiver != null) { in sendOrderedBroadcast() 368 mOrderedBroadcastReceivers.put(intent, resultReceiver); in sendOrderedBroadcast() 375 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument 378 sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast() 384 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument 386 sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast() 409 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument 413 if (resultReceiver != null) { in sendOrderedBroadcastAsUser() 415 mOrderedBroadcastReceivers.put(intent, resultReceiver); in sendOrderedBroadcastAsUser() [all …]
|
/frameworks/native/libs/binder/ |
D | Binder.cpp | 67 const sp<IResultReceiver>& resultReceiver) in shellCommand() argument 80 …send.writeStrongBinder(resultReceiver != nullptr ? IInterface::asBinder(resultReceiver) : nullptr); in shellCommand() 261 sp<IResultReceiver> resultReceiver = IResultReceiver::asInterface( in onTransact() local 270 if (resultReceiver != nullptr) { in onTransact() 271 resultReceiver->send(INVALID_OPERATION); in onTransact()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | MultiClientInputMethodClientCallbackAdaptor.java | 343 public void showSoftInput(int flags, ResultReceiver resultReceiver) { in showSoftInput() argument 350 resultReceiver)); in showSoftInput() 355 public void hideSoftInput(int flags, ResultReceiver resultReceiver) { in hideSoftInput() argument 362 resultReceiver)); in hideSoftInput() 455 void showSoftInput(int flags, ResultReceiver resultReceiver) { in showSoftInput() argument 459 mOriginalCallback.onShowSoftInput(flags, resultReceiver); in showSoftInput() 462 void hideSoftInput(int flags, ResultReceiver resultReceiver) { in hideSoftInput() argument 466 mOriginalCallback.onHideSoftInput(flags, resultReceiver); in hideSoftInput()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | IMultiClientInputMethodSession.aidl | 27 void showSoftInput(int flags, in ResultReceiver resultReceiver); in showSoftInput() argument 28 void hideSoftInput(int flags, in ResultReceiver resultReceiver); in hideSoftInput() argument
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 490 Intent intent, String receiverPermission, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument 494 resultReceiver, scheduler, initialCode, in sendOrderedBroadcast() 502 … Intent intent, String receiverPermission, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument 506 options, resultReceiver, scheduler, initialCode, in sendOrderedBroadcast() 513 Intent intent, String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument 517 resultReceiver, scheduler, initialCode, in sendOrderedBroadcast() 548 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument 550 mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, resultReceiver, in sendOrderedBroadcastAsUser() 557 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 559 mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, appOp, resultReceiver, in sendOrderedBroadcastAsUser() [all …]
|
/frameworks/base/tests/ActivityManagerPerfTests/utils/src/com/android/frameworks/perftests/am/util/ |
D | Utils.java | 66 ResultReceiver resultReceiver = intent.getParcelableExtra(Intent.EXTRA_RESULT_RECEIVER); in sendLooperIdle() local 67 resultReceiver.send(0, null); in sendLooperIdle()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputMethod.aidl | 51 void showSoftInput(int flags, in ResultReceiver resultReceiver); in showSoftInput() argument 53 void hideSoftInput(int flags, in ResultReceiver resultReceiver); in hideSoftInput() argument
|
D | IInputMethodManager.aidl | 45 in ResultReceiver resultReceiver); in showSoftInput() argument 47 in ResultReceiver resultReceiver); in hideSoftInput() argument
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContext.java | 394 … BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, in sendOrderedBroadcast() argument 403 …Bundle options, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initi… in sendOrderedBroadcast() argument 411 … BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, in sendOrderedBroadcast() argument 444 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument 452 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 460 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 472 … BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, in sendStickyOrderedBroadcast() argument 495 UserHandle user, BroadcastReceiver resultReceiver, in sendStickyOrderedBroadcastAsUser() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | InboundSmsHandler.java | 936 SmsBroadcastReceiver resultReceiver = new SmsBroadcastReceiver(tracker); in processMessagePart() local 939 return processMessagePartWithUserLocked(tracker, pdus, destPort, resultReceiver); in processMessagePart() 960 int result = mWapPush.dispatchWapPdu(output.toByteArray(), resultReceiver, in processMessagePart() 989 pdus, destPort, tracker, resultReceiver, true /* userUnlocked */); in processMessagePart() 992 dispatchSmsDeliveryIntent(pdus, tracker.getFormat(), destPort, resultReceiver, in processMessagePart() 1009 byte[][] pdus, int destPort, SmsBroadcastReceiver resultReceiver) { in processMessagePartWithUserLocked() argument 1018 pdus, destPort, tracker, resultReceiver, false /* userUnlocked */); in processMessagePartWithUserLocked() 1084 InboundSmsTracker tracker, SmsBroadcastReceiver resultReceiver, boolean userUnlocked) { in filterSms() argument 1087 pdus, destPort, tracker.getFormat(), resultReceiver, userUnlocked, in filterSms() 1099 dropSms(resultReceiver); in filterSms() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethod.java | 291 public void showSoftInput(int flags, ResultReceiver resultReceiver); in showSoftInput() argument 306 public void hideSoftInput(int flags, ResultReceiver resultReceiver); in hideSoftInput() argument
|
/frameworks/native/libs/graphicsenv/ |
D | IGpuService.cpp | 210 sp<IResultReceiver> resultReceiver; in onTransact() local 211 if ((status = data.readNullableStrongBinder(&resultReceiver)) != OK) return status; in onTransact() 214 if (resultReceiver != nullptr) resultReceiver->send(status); in onTransact()
|
/frameworks/base/services/coverage/java/com/android/server/coverage/ |
D | CoverageService.java | 59 String[] args, ShellCallback callback, ResultReceiver resultReceiver) { in onShellCommand() argument 60 new CoverageCommand().exec(this, in, out, err, args, callback, resultReceiver); in onShellCommand()
|
/frameworks/native/libs/sensor/ |
D | ISensorServer.cpp | 241 sp<IResultReceiver> resultReceiver; in onTransact() local 246 if ((status = data.readNullableStrongBinder(&resultReceiver)) != NO_ERROR) { in onTransact() 250 if (resultReceiver != nullptr) { in onTransact() 251 resultReceiver->send(status); in onTransact()
|
/frameworks/base/cmds/statsd/tests/shell/ |
D | ShellSubscriber_test.cpp | 82 sp<MyResultReceiver> resultReceiver = new MyResultReceiver(); in runShellTest() local 85 std::thread reader([&resultReceiver, &fds_config, &fds_data, &shellClient] { in runShellTest() 86 shellClient->startNewSubscription(fds_config[0], fds_data[1], resultReceiver, -1); in runShellTest()
|
/frameworks/base/core/java/android/os/ |
D | Binder.java | 762 ResultReceiver resultReceiver = ResultReceiver.CREATOR.createFromParcel(data); in onTransact() local 768 args, shellCallback, resultReceiver); in onTransact() 880 @NonNull ResultReceiver resultReceiver) throws RemoteException { in shellCommand() argument 881 onShellCommand(in, out, err, args, callback, resultReceiver); in shellCommand() 895 @NonNull ResultReceiver resultReceiver) throws RemoteException { in onShellCommand() argument 900 resultReceiver.send(0, null); in onShellCommand()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 1158 String receiverPermission, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument 1162 resultReceiver, scheduler, initialCode, initialData, initialExtras, null); in sendOrderedBroadcast() 1167 String receiverPermission, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument 1171 resultReceiver, scheduler, initialCode, initialData, initialExtras, options); in sendOrderedBroadcast() 1176 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument 1180 resultReceiver, scheduler, initialCode, initialData, initialExtras, null); in sendOrderedBroadcast() 1184 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument 1189 if (resultReceiver != null) { in sendOrderedBroadcast() 1195 resultReceiver, getOuterContext(), scheduler, in sendOrderedBroadcast() 1202 … resultReceiver, getOuterContext(), scheduler, null, false).getIIntentReceiver(); in sendOrderedBroadcast() [all …]
|