/packages/modules/Media/apex/framework/java/android/media/ |
D | MediaSession2.java | 212 ResultReceiver resultReceiver = new ResultReceiver(mResultHandler) { in sendSessionCommand() local 221 controller.sendSessionCommand(command, args, resultReceiver); in sendSessionCommand() 222 return resultReceiver; in sendSessionCommand() 455 @Nullable ResultReceiver resultReceiver) { in onSessionCommand() argument 473 if (resultReceiver != null) { in onSessionCommand() 474 resultReceiver.send(RESULT_INFO_SKIPPED, null); in onSessionCommand() 480 if (resultReceiver != null) { in onSessionCommand() 482 resultReceiver.send(RESULT_INFO_SKIPPED, null); in onSessionCommand() 484 resultReceiver.send(result.getResultCode(), result.getResultData()); in onSessionCommand() 788 ResultReceiver resultReceiver) { in sendSessionCommand() argument [all …]
|
D | MediaController2.java | 213 ResultReceiver resultReceiver = new ResultReceiver(mResultHandler) { in sendSessionCommand() local 228 mPendingCommands.put(resultReceiver, seq); in sendSessionCommand() 231 resultReceiver); in sendSessionCommand() 233 mPendingCommands.remove(resultReceiver); in sendSessionCommand() 234 resultReceiver.send(RESULT_ERROR_UNKNOWN_ERROR, null); in sendSessionCommand() 238 return resultReceiver; in sendSessionCommand() 318 @Nullable ResultReceiver resultReceiver) { in onSessionCommand() argument 328 if (resultReceiver != null) { in onSessionCommand() 329 resultReceiver.send(RESULT_INFO_SKIPPED, null); in onSessionCommand() 335 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 | 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()
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/os/ |
D | BinderHelper.java | 110 ResultReceiver resultReceiver = ResultReceiver.CREATOR.createFromParcel(data); in onTransactForCmd() local 133 if (resultReceiver != null) { in onTransactForCmd() 134 resultReceiver.send(r, null); in onTransactForCmd() 138 sendFailureToCaller(errFd, resultReceiver, in onTransactForCmd() 146 sendFailureToCaller(errFd, resultReceiver, in onTransactForCmd()
|
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/service/ |
D | AnomalyService.java | 40 final ResultReceiver resultReceiver = intent.getParcelableExtra( in onHandleIntent() local 45 if (resultReceiver != null) { in onHandleIntent() 46 resultReceiver.send(0 /* resultCode */, intent.getExtras()); in onHandleIntent()
|
/packages/modules/StatsD/statsd/tests/external/ |
D | StatsCallbackPuller_test.cpp | 69 void executePull(const shared_ptr<IPullAtomResultReceiver>& resultReceiver) { in executePull() argument 86 resultReceiver->pullFinished(pullTagId, pullSuccess, parcels); in executePull() 92 const shared_ptr<IPullAtomResultReceiver>& resultReceiver) override { in onPullAtom() argument 94 pullThread = std::thread(executePull, resultReceiver); in onPullAtom()
|
D | StatsPullerManager_test.cpp | 59 const shared_ptr<IPullAtomResultReceiver>& resultReceiver) override { in onPullAtom() argument 71 resultReceiver->pullFinished(atomTag, /*success*/ true, parcels); in onPullAtom()
|
/packages/modules/StatsD/statsd/src/external/ |
D | StatsCallbackPuller.cpp | 60 shared_ptr<PullResultReceiver> resultReceiver = SharedRefBase::make<PullResultReceiver>( in PullInternal() local 87 Status status = mCallback->onPullAtom(mTagId, resultReceiver); in PullInternal()
|
/packages/modules/StatsD/lib/libstatspull/ |
D | stats_pull_atom_callback.cpp | 116 const std::shared_ptr<IPullAtomResultReceiver>& resultReceiver) override { in onPullAtom() argument 138 Status status = resultReceiver->pullFinished(atomTag, success, parcels); in onPullAtom() 141 resultReceiver->pullFinished(atomTag, /*success=*/false, emptyParcels); in onPullAtom()
|
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/shadows/common/ |
D | DeviceShadowContextImpl.java | 107 @Nullable BroadcastReceiver resultReceiver, @Nullable Handler scheduler, in sendOrderedBroadcast() argument 109 getLocalBroadcastManager().sendOrderedBroadcast(intent, receiverPermission, resultReceiver, in sendOrderedBroadcast()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ChooserRefinementManager.java | 116 RefinementResultReceiver resultReceiver, TargetInfo originalTarget) { in makeRefinementRequest() argument 128 fillIn.putExtra(Intent.EXTRA_RESULT_RECEIVER, resultReceiver.copyForSending()); in makeRefinementRequest()
|
/packages/modules/StatsD/framework/java/android/app/ |
D | StatsManager.java | 561 public void onPullAtom(int atomTag, IPullAtomResultReceiver resultReceiver) { in onPullAtom() argument 574 resultReceiver.pullFinished(atomTag, success, parcels); in onPullAtom() 580 resultReceiver.pullFinished(atomTag, /*success=*/false, emptyData); in onPullAtom()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | RequestPinItemTest.java | 168 BlockingBroadcastReceiver resultReceiver = new BlockingBroadcastReceiver(mCallbackAction); in runTest() local 170 Intent result = resultReceiver.blockingGetIntent(); in runTest()
|
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/common/ |
D | BroadcastManager.java | 280 @Nullable BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument 292 if (resultReceiver != null) { in sendOrderedBroadcast() 295 resultReceiver, null /* intentFilter */, context, handler)); in sendOrderedBroadcast()
|
/packages/modules/StatsD/aidl/android/os/ |
D | IPullAtomCallback.aidl | 29 oneway void onPullAtom(int atomTag, IPullAtomResultReceiver resultReceiver); in onPullAtom() argument
|
/packages/modules/Media/apex/aidl/private/android/media/ |
D | IMediaController2.aidl | 36 in ResultReceiver resultReceiver) = 3; in sendSessionCommand() argument
|
D | IMediaSession2.aidl | 36 in Bundle args, in ResultReceiver resultReceiver) = 2; in sendSessionCommand() argument
|
/packages/services/Telephony/src/com/android/phone/ |
D | CarrierConfigLoader.java | 322 final ResultReceiver resultReceiver = in handleMessage() local 354 carrierService.getCarrierConfig(phoneId, carrierId, resultReceiver); in handleMessage() 452 final ResultReceiver resultReceiver = in handleMessage() local 494 carrierService.getCarrierConfig(phoneId, carrierId, resultReceiver); in handleMessage() 632 final ResultReceiver resultReceiver = in handleMessage() local 662 carrierService.getCarrierConfig(phoneId, null, resultReceiver); in handleMessage()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | ComponentContextFixture.java | 384 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument 391 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 398 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcastAsUser() argument
|
/packages/services/Car/service/src/com/android/car/ |
D | ICarImpl.java | 522 ICarResultReceiver resultReceiver) { in setSystemServerConnections() argument 544 resultReceiver.send(/* unused */ 0, bundle); in setSystemServerConnections()
|
/packages/modules/StatsD/statsd/tests/ |
D | statsd_test_util.h | 555 const shared_ptr<IPullAtomResultReceiver>& resultReceiver) override;
|
D | statsd_test_util.cpp | 1936 const shared_ptr<IPullAtomResultReceiver>& resultReceiver) { in onPullAtom() argument 1960 resultReceiver->pullFinished(atomTag, /*success=*/true, parcels); in onPullAtom()
|