Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DActivityStarter.java872 ActivityRecord sourceRecord = null; in executeRequest() local
879 if (sourceRecord != null) { in executeRequest()
881 resultRecord = sourceRecord; in executeRequest()
894 resultRecord = sourceRecord.resultTo; in executeRequest()
898 resultWho = sourceRecord.resultWho; in executeRequest()
899 requestCode = sourceRecord.requestCode; in executeRequest()
900 sourceRecord.resultTo = null; in executeRequest()
1161 .setSourceRecord(sourceRecord) in executeRequest()
1813 isTaskSwitch, mOptions, sourceRecord); in startActivityInner()
2318 mSourceRecord = sourceRecord; in setInitialState()
[all …]
H A DActivityTaskManagerService.java1548 final ActivityRecord sourceRecord; in startActivityAsCaller() local
1582 sourceRecord = ActivityRecord.isInAnyTask(sourceToken); in startActivityAsCaller()
1583 if (sourceRecord == null) { in startActivityAsCaller()
1586 if (sourceRecord.app == null) { in startActivityAsCaller()
1592 if (!sourceRecord.info.packageName.equals("android")) { in startActivityAsCaller()
1600 if (sourceRecord.app.mUid != sourceRecord.launchedFromUid) { in startActivityAsCaller()
1617 targetUid = sourceRecord.launchedFromUid; in startActivityAsCaller()
1618 targetPackage = sourceRecord.launchedFromPackage; in startActivityAsCaller()
1619 targetFeatureId = sourceRecord.launchedFromFeatureId; in startActivityAsCaller()
1620 isResolver = sourceRecord.isResolverOrChildActivity(); in startActivityAsCaller()
[all …]
H A DActivityRecord.java2523 boolean canLaunchHomeActivity(int uid, ActivityRecord sourceRecord) { in canLaunchHomeActivity() argument
2534 return sourceRecord != null && sourceRecord.isResolverOrDelegateActivity(); in canLaunchHomeActivity()
2575 ActivityOptions options, ActivityRecord sourceRecord) { in setActivityType() argument
2577 if ((!componentSpecified || canLaunchHomeActivity(launchedFromUid, sourceRecord)) in setActivityType()
6566 if (sourceRecord == null && !startActivity) { in shouldUseEmptySplashScreen()
6590 if (sourceRecord == null) { in shouldUseEmptySplashScreen()
6591 sourceRecord = searchCandidateLaunchingActivity(); in shouldUseEmptySplashScreen()
6594 if (sourceRecord != null && !sourceRecord.isActivityTypeHome()) { in shouldUseEmptySplashScreen()
6595 return sourceRecord.mSplashScreenStyleEmpty; in shouldUseEmptySplashScreen()
6639 boolean startActivity, ActivityRecord sourceRecord) { in showStartingWindow() argument
[all …]
H A DTask.java5080 @Nullable ActivityRecord sourceRecord) {
5197 true /* startActivity */, sourceRecord);
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DActivityStarterTests.java1119 final ActivityRecord sourceRecord = new ActivityBuilder(mAtm).build(); in testStartActivityInner_allSplitScreenPrimaryActivitiesVisible() local
1136 /* sourceRecord */ sourceRecord, in testStartActivityInner_allSplitScreenPrimaryActivitiesVisible()
1157 final ActivityRecord sourceRecord = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testStartActivityInner_inTaskFragment() local
1158 final TaskFragment taskFragment = new TaskFragment(mAtm, sourceRecord.token, in testStartActivityInner_inTaskFragment()
1160 sourceRecord.getTask().addChild(taskFragment, POSITION_TOP); in testStartActivityInner_inTaskFragment()
1164 /* sourceRecord */ sourceRecord, in testStartActivityInner_inTaskFragment()
H A DActivityRecordTests.java2607 final ActivityRecord sourceRecord = new ActivityBuilder(mAtm) in testTrackingStartingWindowThroughTrampoline() local
2609 sourceRecord.showStartingWindow(null /* prev */, true /* newTask */, false, in testTrackingStartingWindowThroughTrampoline()
2613 .setTask(sourceRecord.getTask()).build(); in testTrackingStartingWindowThroughTrampoline()
2615 true /* startActivity */, sourceRecord); in testTrackingStartingWindowThroughTrampoline()
2620 .setTask(sourceRecord.getTask()).build(); in testTrackingStartingWindowThroughTrampoline()