Home
last modified time | relevance | path

Searched refs:resultTo (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartController.java289 String resolvedType, IBinder resultTo, String resultWho, int requestCode, in startActivityInPackage() argument
305 .setResultTo(resultTo) in startActivityInPackage()
334 IBinder resultTo, SafeActivityOptions options, int userId, boolean validateIncomingUser, in startActivitiesInPackage() argument
338 callingPackage, callingFeatureId, intents, resolvedTypes, resultTo, options, userId, in startActivitiesInPackage()
360 String[] resolvedTypes, IBinder resultTo, SafeActivityOptions options, int userId, in startActivitiesInPackage() argument
371 callingFeatureId, intents, resolvedTypes, resultTo, options, userId, reason, in startActivitiesInPackage()
377 Intent[] intents, String[] resolvedTypes, IBinder resultTo, SafeActivityOptions options, in startActivities() argument
503 final IBinder sourceResultTo = resultTo; in startActivities()
514 final int startResult = starters[i].setResultTo(resultTo) in startActivities()
527 resultTo = started.token; in startActivities()
[all …]
DActivityStarter.java393 IBinder resultTo; field in ActivityStarter.Request
456 resultTo = null; in reset()
499 resultTo = request.resultTo; in set()
732 final ActivityRecord caller = ActivityRecord.forTokenLocked(mRequest.resultTo); in execute()
949 final IBinder resultTo = request.resultTo; in executeRequest() local
997 if (resultTo != null) { in executeRequest()
998 sourceRecord = ActivityRecord.isInAnyTask(resultTo); in executeRequest()
1000 Slog.v(TAG_RESULTS, "Will send result to " + resultTo + " " + sourceRecord); in executeRequest()
1017 resultRecord = sourceRecord.resultTo; in executeRequest()
1023 sourceRecord.resultTo = null; in executeRequest()
[all …]
DActivityTaskManagerInternal.java224 String[] resolvedTypes, IBinder resultTo, SafeActivityOptions options, int userId, in startActivitiesInPackage() argument
247 String resolvedType, IBinder resultTo, String resultWho, int requestCode, in startActivityInPackage() argument
274 @Nullable String callingFeatureId, Intent intent, @Nullable IBinder resultTo, in startActivityAsUser() argument
288 @Nullable IBinder resultTo, @Nullable Bundle options, int userId); in startActivityWithScreenshot() argument
DResetTargetTaskHelper.java100 if (r.resultTo != null) { in test()
144 if (r.resultTo != null) { in test()
DActivityTaskManagerService.java1229 String callingFeatureId, Intent intent, String resolvedType, IBinder resultTo, in startActivity() argument
1233 resultTo, resultWho, requestCode, startFlags, profilerInfo, bOptions, in startActivity()
1239 String callingFeatureId, Intent[] intents, String[] resolvedTypes, IBinder resultTo, in startActivities() argument
1247 callingFeatureId, intents, resolvedTypes, resultTo, in startActivities()
1254 String callingFeatureId, Intent intent, String resolvedType, IBinder resultTo, in startActivityAsUser() argument
1258 resultTo, resultWho, requestCode, startFlags, profilerInfo, bOptions, userId, in startActivityAsUser()
1271 IBinder resultTo, String resultWho, int requestCode, int startFlags, in startActivityAsUser() argument
1305 .setResultTo(resultTo) in startActivityAsUser()
1317 IBinder allowlistToken, Intent fillInIntent, String resolvedType, IBinder resultTo, in startActivityIntentSender() argument
1346 resultTo, resultWho, requestCode, flagsMask, flagsValues, bOptions); in startActivityIntentSender()
[all …]
DActivityRecord.java534 ActivityRecord resultTo; // who started this entry, so will get our reply field in ActivityRecord
1150 if (resultTo != null || resultWho != null) { in dump()
1151 pw.print(prefix); pw.print("resultTo="); pw.print(resultTo); in dump()
2238 resultTo = _resultTo; in ActivityRecord()
3583 if (resultTo != parent in finishIfSubActivity()
3606 if (resultTo != null) { in finishActivityResults()
3608 Slog.v(TAG_RESULTS, "Adding result to " + resultTo in finishActivityResults()
3612 if (resultTo.mUserId != mUserId) { in finishActivityResults()
3619 resultTo.getUriPermissionsLocked()); in finishActivityResults()
3624 resultTo.computeCallerInfo(callerToken, resultData, this.getUid(), in finishActivityResults()
[all …]
DActivityClientController.java404 final NeededUriGrants resultGrants = mService.collectGrants(resultData, r.resultTo); in navigateUpTo()
455 final NeededUriGrants resultGrants = mService.collectGrants(resultData, r.resultTo); in finishActivity()
705 return r != null ? r.resultTo : null; in getCallingRecord()
/frameworks/base/core/java/android/app/
DIActivityTaskManager.aidl98 in IBinder resultTo, in String resultWho, int requestCode, in startActivity() argument
102 in IBinder resultTo, in Bundle options, int userId); in startActivities() argument
105 in IBinder resultTo, in String resultWho, int requestCode, int flags, in startActivityAsUser() argument
111 in String resolvedType, in IBinder resultTo, in String resultWho, int requestCode, in startActivityIntentSender() argument
115 in IBinder resultTo, in String resultWho, int requestCode, int flags, in startActivityAndWait() argument
119 in IBinder resultTo, in String resultWho, int requestCode, int startFlags, in startActivityWithConfig() argument
136 in Intent intent, in String resolvedType, in IBinder resultTo, in String resultWho, in startActivityAsCaller() argument
DIActivityManager.aidl165 in String resolvedType, in IBinder resultTo, in String resultWho, int requestCode, in startActivity() argument
169 in IBinder resultTo, in String resultWho, int requestCode, int flags, in startActivityWithFeature() argument
187 in String resolvedType, in IIntentReceiver resultTo, int resultCode, in broadcastIntent() argument
191 in Intent intent, in String resolvedType, in IIntentReceiver resultTo, int resultCode, in broadcastIntentWithFeature() argument
447 in Intent intent, in String resolvedType, in IBinder resultTo, in String resultWho, in startActivityAsUser() argument
452 in IBinder resultTo, in String resultWho, int requestCode, int flags, in startActivityAsUserWithFeature() argument
DActivityManagerInternal.java620 IApplicationThread resultToThread, IIntentReceiver resultTo, int resultCode, in broadcastIntentInPackage() argument
851 IIntentReceiver resultTo, in broadcastIntent() argument
864 IIntentReceiver resultTo, in broadcastIntentWithCallback() argument
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastRecord.java115 @Nullable IIntentReceiver resultTo; // who receives final result if non-null field in BroadcastRecord
255 && (resultTo == null); in isAssumedDelivered()
324 if (resultTo != null || resultCode != -1 || resultData != null) { in dump()
325 pw.print(prefix); pw.print("resultTo="); pw.print(resultTo); in dump()
413 ProcessRecord resultToApp, IIntentReceiver resultTo, int resultCode, in BroadcastRecord() argument
423 resultTo, resultCode, resultData, resultExtras, serialized, sticky, in BroadcastRecord()
472 resultTo = _resultTo; in BroadcastRecord()
529 resultTo = from.resultTo; in BroadcastRecord()
868 @Nullable IIntentReceiver resultTo, boolean ordered, boolean urgent) { in calculateDeferUntilActive() argument
875 if (!ordered && resultTo != null) { in calculateDeferUntilActive()
[all …]
DPendingIntentRecord.java444 IIntentReceiver finishedReceiver, String requiredPermission, IBinder resultTo, in sendInner() argument
447 requiredPermission, resultTo, resultWho, requestCode, flagsMask, flagsValues, in sendInner()
453 String requiredPermission, IBinder resultTo, String resultWho, int requestCode, in sendInner() argument
628 allIntents, allResolvedTypes, resultTo, mergedOptions, userId, in sendInner()
635 resolvedType, resultTo, resultWho, requestCode, 0, in sendInner()
DBroadcastProcessQueue.java731 if (record.resultTo != null) { in onBroadcastEnqueued()
772 if (record.resultTo != null) { in onBroadcastDequeued()
1262 } else if (r.resultTo != null) { in updateRunnableAt()
DActivityManagerService.java3307 Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, in startActivity() argument
3310 resolvedType, resultTo, resultWho, requestCode, startFlags, profilerInfo, bOptions); in startActivity()
3315 String callingFeatureId, Intent intent, String resolvedType, IBinder resultTo, in startActivityWithFeature() argument
3319 resolvedType, resultTo, resultWho, requestCode, startFlags, profilerInfo, bOptions); in startActivityWithFeature()
3328 Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, in startActivityAsUser() argument
3331 resultTo, resultWho, requestCode, startFlags, profilerInfo, bOptions, userId); in startActivityAsUser()
3337 IBinder resultTo, String resultWho, int requestCode, int startFlags, in startActivityAsUserWithFeature() argument
3340 callingFeatureId, intent, resolvedType, resultTo, resultWho, requestCode, in startActivityAsUserWithFeature()
3345 @Nullable String callingFeatureId, Intent intent, String resolvedType, IBinder resultTo, in startActivityAndWait() argument
3349 callingFeatureId, intent, resolvedType, resultTo, resultWho, requestCode, in startActivityAndWait()
[all …]
DUserController.java627 private void finishUserBoot(UserState uss, IIntentReceiver resultTo) { in finishUserBoot() argument
674 sendLockedBootCompletedBroadcast(resultTo, userId); in finishUserBoot()
2895 void onBootComplete(IIntentReceiver resultTo) {
2922 finishUserBoot(uss, resultTo);
2924 sendLockedBootCompletedBroadcast(resultTo, userId);
3779 IIntentReceiver resultTo, int resultCode, String resultData,
3795 resolvedType, resultTo, resultCode, resultData, resultExtras,
DBroadcastQueueModernImpl.java934 } else if (testRecord.resultTo != null) { in applyDeliveryGroupPolicy()
1250 if (r.resultTo == null) return; in scheduleResultTo()
1263 r.resultTo, r.intent, in scheduleResultTo()
1277 r.resultTo = null; in scheduleResultTo()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java1130 Fragment resultTo, int resultRequestCode) { in startWithFragment() argument
1131 startWithFragment(fragmentName, args, resultTo, resultRequestCode, 0, 0); in startWithFragment()
1152 Fragment resultTo, int resultRequestCode, @StringRes int titleRes, in startWithFragment() argument
1155 if (resultTo == null) { in startWithFragment()
1158 resultTo.startActivityForResult(intent, resultRequestCode); in startWithFragment()
1385 CharSequence titleText, Fragment resultTo, int resultRequestCode) { in startPreferencePanel() argument
1387 if (resultTo != null) { in startPreferencePanel()
1388 f.setTargetFragment(resultTo, resultRequestCode); in startPreferencePanel()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBroadcastQueueTest.java431 List<Object> receivers, IIntentReceiver resultTo) { in makeBroadcastRecord() argument
433 receivers, false, resultTo, null, UserHandle.USER_SYSTEM); in makeBroadcastRecord()
437 List<Object> receivers, IIntentReceiver resultTo, Bundle resultExtras) { in makeOrderedBroadcastRecord() argument
439 receivers, true, resultTo, resultExtras, UserHandle.USER_SYSTEM); in makeOrderedBroadcastRecord()
444 IIntentReceiver resultTo, Bundle resultExtras, int userId) { in makeBroadcastRecord() argument
447 AppOpsManager.OP_NONE, options, receivers, callerApp, resultTo, in makeBroadcastRecord()
830 final IIntentReceiver resultTo = mock(IIntentReceiver.class);
832 List.of(makeRegisteredReceiver(receiverApp)), resultTo, null));
850 final IIntentReceiver resultTo = mock(IIntentReceiver.class);
852 List.of(makeRegisteredReceiver(receiverApp)), resultTo));
[all …]
DBroadcastQueueModernImplTest.java213 List receivers, IIntentReceiver resultTo, boolean ordered) { in makeBroadcastRecord() argument
215 null, null, null, null, AppOpsManager.OP_NONE, options, receivers, null, resultTo, in makeBroadcastRecord()
1099 final IIntentReceiver resultTo = mock(IIntentReceiver.class); in testDeliveryGroupPolicy_resultTo_diffReceivers() local
1102 List.of(greenReceiver, blueReceiver), resultTo, false)); in testDeliveryGroupPolicy_resultTo_diffReceivers()
1104 List.of(greenReceiver, redReceiver, blueReceiver), resultTo, false)); in testDeliveryGroupPolicy_resultTo_diffReceivers()
1120 List.of(greenReceiver, redReceiver, blueReceiver), resultTo, false)); in testDeliveryGroupPolicy_resultTo_diffReceivers()
1122 List.of(greenReceiver, blueReceiver), resultTo, false)); in testDeliveryGroupPolicy_resultTo_diffReceivers()
1128 List.of(greenReceiver, redReceiver, blueReceiver), resultTo, false); in testDeliveryGroupPolicy_resultTo_diffReceivers()
1133 List.of(greenReceiver, blueReceiver), resultTo, false)); in testDeliveryGroupPolicy_resultTo_diffReceivers()
DBroadcastRecordTest.java424 final IIntentReceiver resultTo = new IIntentReceiver.Default(); in testCalculateDeferUntilActive_Overrides() local
428 assertFalse(calculateDeferUntilActive(APP_UID, OPT_UNTIL_ACTIVE, resultTo, true, false)); in testCalculateDeferUntilActive_Overrides()
431 assertTrue(calculateDeferUntilActive(APP_UID, OPT_NONE, resultTo, false, false)); in testCalculateDeferUntilActive_Overrides()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java316 final IBinder resultTo = containsConditions(preconditions, PRECONDITION_SOURCE_PRESENT) in verifyStartActivityPreconditionsUntracked() local
326 .setResultTo(resultTo) in verifyStartActivityPreconditionsUntracked()
344 .setResultTo(resultTo) in verifyStartActivityPreconditionsUntracked()
1437 targetRecord.resultTo = sourceRecord; in testResultCanceledWhenNotAllowedStartingActivity()
DActivityRecordTests.java1281 targetActivity.resultTo = sourceActivity; in testFinishActivityIfPossible_sendResultImmediately()
1302 targetActivity.resultTo = resultToActivity; in testFinishActivityIfPossible_sendResultImmediatelyIfResumed()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java1740 IIntentReceiver resultTo, int resultCode, String resultData, Bundle resultExtras, in broadcastIntent() argument
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto6504 // FIELD: Activity record's resultTo packageName
6510 // FIELD: Activity record's resultTo shortComponentName