Home
last modified time | relevance | path

Searched refs:sourceRecord (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java549 int startResolvedActivity(final ActivityRecord r, ActivityRecord sourceRecord, in startResolvedActivity() argument
557 mLastStartActivityResult = startActivity(r, sourceRecord, voiceSession, voiceInteractor, in startResolvedActivity()
650 ActivityRecord sourceRecord = null; in startActivity() local
653 sourceRecord = mRootActivityContainer.isInAnyStack(resultTo); in startActivity()
655 "Will send result to " + resultTo + " " + sourceRecord); in startActivity()
656 if (sourceRecord != null) { in startActivity()
657 if (requestCode >= 0 && !sourceRecord.finishing) { in startActivity()
658 resultRecord = sourceRecord; in startActivity()
665 if ((launchFlags & Intent.FLAG_ACTIVITY_FORWARD_RESULT) != 0 && sourceRecord != null) { in startActivity()
672 resultRecord = sourceRecord.resultTo; in startActivity()
[all …]
DActivityTaskManagerService.java1300 final ActivityRecord sourceRecord; in startActivityAsCaller() local
1333 sourceRecord = mRootActivityContainer.isInAnyStack(sourceToken); in startActivityAsCaller()
1334 if (sourceRecord == null) { in startActivityAsCaller()
1337 if (sourceRecord.app == null) { in startActivityAsCaller()
1343 if (!sourceRecord.info.packageName.equals("android")) { in startActivityAsCaller()
1348 if (UserHandle.getAppId(sourceRecord.app.mUid) != SYSTEM_UID) { in startActivityAsCaller()
1351 if (sourceRecord.app.mUid != sourceRecord.launchedFromUid) { in startActivityAsCaller()
1353 "Calling activity in uid " + sourceRecord.app.mUid in startActivityAsCaller()
1355 + sourceRecord.launchedFromUid); in startActivityAsCaller()
1368 targetUid = sourceRecord.launchedFromUid; in startActivityAsCaller()
[all …]
DActivityRecord.java946 ActivityOptions options, ActivityRecord sourceRecord) { in ActivityRecord() argument
1043 setActivityType(_componentSpecified, _launchedFromUid, _intent, options, sourceRecord); in ActivityRecord()
1256 boolean canLaunchHomeActivity(int uid, ActivityRecord sourceRecord) { in canLaunchHomeActivity() argument
1267 return sourceRecord != null && sourceRecord.isResolverOrDelegateActivity(); in canLaunchHomeActivity()
1283 ActivityOptions options, ActivityRecord sourceRecord) { in setActivityType() argument
1285 if ((!componentSpecified || canLaunchHomeActivity(launchedFromUid, sourceRecord)) in setActivityType()
DActivityStartController.java464 starter.startResolvedActivity(pal.r, pal.sourceRecord, null, null, pal.startFlags, in doPendingActivityLaunches()
DActivityStackSupervisor.java409 final ActivityRecord sourceRecord; field in ActivityStackSupervisor.PendingActivityLaunch
417 sourceRecord = _sourceRecord; in PendingActivityLaunch()
430 + "activity launcher sourceRecord=" + sourceRecord, e); in sendErrorResult()