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.java547 int startResolvedActivity(final ActivityRecord r, ActivityRecord sourceRecord, in startResolvedActivity() argument
555 mLastStartActivityResult = startActivity(r, sourceRecord, voiceSession, voiceInteractor, in startResolvedActivity()
648 ActivityRecord sourceRecord = null; in startActivity() local
651 sourceRecord = mRootActivityContainer.isInAnyStack(resultTo); in startActivity()
653 "Will send result to " + resultTo + " " + sourceRecord); in startActivity()
654 if (sourceRecord != null) { in startActivity()
655 if (requestCode >= 0 && !sourceRecord.finishing) { in startActivity()
656 resultRecord = sourceRecord; in startActivity()
663 if ((launchFlags & Intent.FLAG_ACTIVITY_FORWARD_RESULT) != 0 && sourceRecord != null) { in startActivity()
670 resultRecord = sourceRecord.resultTo; in startActivity()
[all …]
DActivityTaskManagerService.java1297 final ActivityRecord sourceRecord; in startActivityAsCaller() local
1330 sourceRecord = mRootActivityContainer.isInAnyStack(sourceToken); in startActivityAsCaller()
1331 if (sourceRecord == null) { in startActivityAsCaller()
1334 if (sourceRecord.app == null) { in startActivityAsCaller()
1340 if (!sourceRecord.info.packageName.equals("android")) { in startActivityAsCaller()
1345 if (UserHandle.getAppId(sourceRecord.app.mUid) != SYSTEM_UID) { in startActivityAsCaller()
1348 if (sourceRecord.app.mUid != sourceRecord.launchedFromUid) { in startActivityAsCaller()
1350 "Calling activity in uid " + sourceRecord.app.mUid in startActivityAsCaller()
1352 + sourceRecord.launchedFromUid); in startActivityAsCaller()
1365 targetUid = sourceRecord.launchedFromUid; in startActivityAsCaller()
[all …]
DActivityRecord.java945 ActivityOptions options, ActivityRecord sourceRecord) { in ActivityRecord() argument
1042 setActivityType(_componentSpecified, _launchedFromUid, _intent, options, sourceRecord); in ActivityRecord()
1254 private boolean canLaunchHomeActivity(int uid, ActivityRecord sourceRecord) { in canLaunchHomeActivity() argument
1265 return sourceRecord != null && sourceRecord.isResolverActivity(); in canLaunchHomeActivity()
1281 ActivityOptions options, ActivityRecord sourceRecord) { in setActivityType() argument
1283 if ((!componentSpecified || canLaunchHomeActivity(launchedFromUid, sourceRecord)) in setActivityType()
DActivityStartController.java464 starter.startResolvedActivity(pal.r, pal.sourceRecord, null, null, pal.startFlags, in doPendingActivityLaunches()
DActivityStackSupervisor.java402 final ActivityRecord sourceRecord; field in ActivityStackSupervisor.PendingActivityLaunch
410 sourceRecord = _sourceRecord; in PendingActivityLaunch()
423 + "activity launcher sourceRecord=" + sourceRecord, e); in sendErrorResult()