Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DActivityRecordInputSink.java45 ActivityRecordInputSink(ActivityRecord activityRecord, ActivityRecord sourceRecord) { in ActivityRecordInputSink() argument
51 if (sourceRecord != null) { in ActivityRecordInputSink()
52 sourceRecord.mAllowedTouchUid = mActivityRecord.getUid(); in ActivityRecordInputSink()
H A DActivityStarter.java961 ActivityRecord sourceRecord = null; in executeRequest() local
968 if (sourceRecord != null) { in executeRequest()
970 resultRecord = sourceRecord; in executeRequest()
983 resultRecord = sourceRecord.resultTo; in executeRequest()
987 resultWho = sourceRecord.resultWho; in executeRequest()
988 requestCode = sourceRecord.requestCode; in executeRequest()
989 sourceRecord.resultTo = null; in executeRequest()
1290 .setSourceRecord(sourceRecord) in executeRequest()
1790 mOptions, sourceRecord); in startActivityInner()
1833 && sourceRecord != null && sourceRecord.getTask() == mStartActivity.getTask() in startActivityInner()
[all …]
H A DActivityRecord.java2078 if (sourceRecord != null) { in ActivityRecord()
2947 boolean canLaunchHomeActivity(int uid, ActivityRecord sourceRecord) { in canLaunchHomeActivity() argument
2958 return sourceRecord != null && sourceRecord.isResolverOrDelegateActivity(); in canLaunchHomeActivity()
2974 ActivityOptions options, ActivityRecord sourceRecord) { in setActivityType() argument
7293 if (sourceRecord == null && !startActivity) { in shouldUseSolidColorSplashScreen()
7323 if (sourceRecord == null) { in shouldUseSolidColorSplashScreen()
7324 sourceRecord = searchCandidateLaunchingActivity(); in shouldUseSolidColorSplashScreen()
7327 if (sourceRecord != null && !sourceRecord.isActivityTypeHome()) { in shouldUseSolidColorSplashScreen()
7328 return sourceRecord.mSplashScreenStyleSolidColor; in shouldUseSolidColorSplashScreen()
7368 boolean startActivity, ActivityRecord sourceRecord) { in showStartingWindow() argument
[all …]
H A DActivityTaskManagerService.java1587 final ActivityRecord sourceRecord; in startActivityAsCaller() local
1597 sourceRecord = ActivityRecord.isInAnyTask(resultTo); in startActivityAsCaller()
1598 if (sourceRecord == null) { in startActivityAsCaller()
1601 if (sourceRecord.app == null) { in startActivityAsCaller()
1609 if (!sourceRecord.info.packageName.equals("android")) { in startActivityAsCaller()
1616 if (sourceRecord.app.mUid != sourceRecord.launchedFromUid) { in startActivityAsCaller()
1634 targetUid = sourceRecord.launchedFromUid; in startActivityAsCaller()
1635 targetPackage = sourceRecord.launchedFromPackage; in startActivityAsCaller()
1636 targetFeatureId = sourceRecord.launchedFromFeatureId; in startActivityAsCaller()
1637 isResolver = sourceRecord.isResolverOrChildActivity(); in startActivityAsCaller()
[all …]
H A DActivityTaskSupervisor.java1812 int uid, @Nullable ActivityRecord sourceRecord) { in doesTopActivityMatchingUidExistForAsm() argument
1814 if (sourceRecord != null && sourceRecord.isVisible()) { in doesTopActivityMatchingUidExistForAsm()
1826 Predicate<ActivityRecord> topOfStackPredicate = (ar) -> ar.equals(sourceRecord) in doesTopActivityMatchingUidExistForAsm()
H A DTask.java5108 boolean isTaskSwitch, ActivityOptions options, @Nullable ActivityRecord sourceRecord) {
5218 isTaskSwitch, sourceRecord);
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DActivityStarterTests.java1493 sourceRecord.getTask().addChild(taskFragment, POSITION_TOP); in testStartActivityInner_inTaskFragment_failsByDefault()
1495 startActivityInner(starter, targetRecord, sourceRecord, null /* options */, in testStartActivityInner_inTaskFragment_failsByDefault()
1509 sourceRecord.getTask().addChild(taskFragment, POSITION_TOP); in testStartActivityInner_inTaskFragment_allowedForSystemUid()
1514 startActivityInner(starter, targetRecord, sourceRecord, null /* options */, in testStartActivityInner_inTaskFragment_allowedForSystemUid()
1527 sourceRecord.getTask().addChild(taskFragment, POSITION_TOP); in testStartActivityInner_inTaskFragment_allowedForSameUid()
1532 startActivityInner(starter, targetRecord, sourceRecord, null /* options */, in testStartActivityInner_inTaskFragment_allowedForSameUid()
1545 sourceRecord.getTask().addChild(taskFragment, POSITION_TOP); in testStartActivityInner_inTaskFragment_allowedTrustedCertUid()
1571 sourceRecord.getTask().addChild(taskFragment, POSITION_TOP); in testStartActivityInner_inTaskFragment_allowedForUntrustedEmbedding()
1672 startActivityInner(starter, targetRecord, sourceRecord, opts, in testStartLaunchIntoPipActivity()
1677 assertEquals(targetRecord.getLaunchIntoPipHostActivity(), sourceRecord); in testStartLaunchIntoPipActivity() local
[all …]
H A DDisplayWindowPolicyControllerTests.java178 final ActivityRecord sourceRecord = new ActivityBuilder(mAtm).setTask(task).build(); in testCanActivityBeLaunched() local
184 sourceRecord, in testCanActivityBeLaunched()
203 final ActivityRecord sourceRecord = new ActivityBuilder(mAtm).setTask(task).build(); in testCanActivityBeLaunched_requiredDisplayCategory() local
209 sourceRecord, in testCanActivityBeLaunched_requiredDisplayCategory()
H A DActivityRecordTests.java2871 final ActivityRecord sourceRecord = new ActivityBuilder(mAtm) in testTrackingStartingWindowThroughTrampoline() local
2873 sourceRecord.showStartingWindow(null /* prev */, true /* newTask */, false, in testTrackingStartingWindowThroughTrampoline()
2877 .setTask(sourceRecord.getTask()).build(); in testTrackingStartingWindowThroughTrampoline()
2879 true /* startActivity */, sourceRecord); in testTrackingStartingWindowThroughTrampoline()
2884 .setTask(sourceRecord.getTask()).build(); in testTrackingStartingWindowThroughTrampoline()