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/am/
DActivityStarter.java516 int startResolvedActivity(final ActivityRecord r, ActivityRecord sourceRecord, in startResolvedActivity() argument
521 return startActivity(r, sourceRecord, voiceSession, voiceInteractor, startFlags, in startResolvedActivity()
606 ActivityRecord sourceRecord = null; in startActivity() local
609 sourceRecord = mSupervisor.isInAnyStackLocked(resultTo); in startActivity()
611 "Will send result to " + resultTo + " " + sourceRecord); in startActivity()
612 if (sourceRecord != null) { in startActivity()
613 if (requestCode >= 0 && !sourceRecord.finishing) { in startActivity()
614 resultRecord = sourceRecord; in startActivity()
621 if ((launchFlags & Intent.FLAG_ACTIVITY_FORWARD_RESULT) != 0 && sourceRecord != null) { in startActivity()
628 resultRecord = sourceRecord.resultTo; in startActivity()
[all …]
DActivityRecord.java856 ActivityRecord sourceRecord) { in ActivityRecord() argument
951 setActivityType(_componentSpecified, _launchedFromUid, _intent, options, sourceRecord); in ActivityRecord()
1096 private boolean canLaunchHomeActivity(int uid, ActivityRecord sourceRecord) { in canLaunchHomeActivity() argument
1107 return sourceRecord != null && sourceRecord.isResolverActivity(); in canLaunchHomeActivity()
1122 ActivityOptions options, ActivityRecord sourceRecord) { in setActivityType() argument
1124 if ((!componentSpecified || canLaunchHomeActivity(launchedFromUid, sourceRecord)) in setActivityType()
DActivityStartController.java406 starter.startResolvedActivity(pal.r, pal.sourceRecord, null, null, pal.startFlags, in doPendingActivityLaunches()
DActivityStackSupervisor.java581 final ActivityRecord sourceRecord; field in ActivityStackSupervisor.PendingActivityLaunch
589 sourceRecord = _sourceRecord; in PendingActivityLaunch()
602 + "activity launcher sourceRecord=" + sourceRecord, e); in sendErrorResult()
DActivityManagerService.java5131 final ActivityRecord sourceRecord; in startActivityAsCaller() local
5139 sourceRecord = mStackSupervisor.isInAnyStackLocked(resultTo); in startActivityAsCaller()
5140 if (sourceRecord == null) { in startActivityAsCaller()
5143 if (!sourceRecord.info.packageName.equals("android")) { in startActivityAsCaller()
5147 if (sourceRecord.app == null) { in startActivityAsCaller()
5150 if (UserHandle.getAppId(sourceRecord.app.uid) != SYSTEM_UID) { in startActivityAsCaller()
5153 if (sourceRecord.app.uid != sourceRecord.launchedFromUid) { in startActivityAsCaller()
5155 "Calling activity in uid " + sourceRecord.app.uid in startActivityAsCaller()
5157 + sourceRecord.launchedFromUid); in startActivityAsCaller()
5170 targetUid = sourceRecord.launchedFromUid; in startActivityAsCaller()
[all …]