Searched refs:APP_A (Results 1 – 9 of 9) sorted by relevance
43 .setupTaskWithForegroundActivity(APP_A) in testTopLaunchesActivity_launchAllowed()44 .startFromForegroundActivity(APP_A) in testTopLaunchesActivity_launchAllowed()49 APP_A.FOREGROUND_ACTIVITY); in testTopLaunchesActivity_launchAllowed()55 .activity(APP_A.FOREGROUND_ACTIVITY) in testTopLaunchesActivity_launchAllowed()58 APP_A.FOREGROUND_ACTIVITY, in testTopLaunchesActivity_launchAllowed()60 APP_A.FOREGROUND_ACTIVITY); in testTopLaunchesActivity_launchAllowed()74 .setupTaskWithForegroundActivity(APP_A) in testActivitySandwich_launchBlocked()75 .startFromForegroundActivity(APP_A) in testActivitySandwich_launchBlocked()80 APP_A.FOREGROUND_ACTIVITY); in testActivitySandwich_launchBlocked()85 .startFromForegroundActivity(APP_A) in testActivitySandwich_launchBlocked()[all …]
145 sendBroadcastAndWait(APP_A.SIMPLE_BROADCAST_RECEIVER); in testBackgroundActivityBlocked()146 startBackgroundActivity(APP_A); in testBackgroundActivityBlocked()147 assertActivityNotFocused(APP_A.BACKGROUND_ACTIVITY); in testBackgroundActivityBlocked()148 assertTaskStackIsEmpty(APP_A.BACKGROUND_ACTIVITY); in testBackgroundActivityBlocked()156 intent.setComponent(APP_A.START_NEXT_MATCHING_ACTIVITY); in testBackgroundActivityBlockedInStartNextMatchingActivity()161 assertActivityNotFocused(APP_A.BACKGROUND_ACTIVITY); in testBackgroundActivityBlockedInStartNextMatchingActivity()177 launchActivity(APP_A.BACKGROUND_ACTIVITY); in testStartBgActivity_usingStartActivitiesFromBackgroundPermission()182 .isEqualTo(ComponentNameUtils.getActivityName(APP_A.BACKGROUND_ACTIVITY)); in testStartBgActivity_usingStartActivitiesFromBackgroundPermission()200 startActivity(APP_A.FOREGROUND_ACTIVITY); in testBackgroundActivity_withinASMGracePeriod_isBlocked()202 mContext.sendBroadcast(new Intent(APP_A.FOREGROUND_ACTIVITY_ACTIONS.FINISH_ACTIVITY)); in testBackgroundActivity_withinASMGracePeriod_isBlocked()[all …]
38 .setupTaskWithEmbeddingActivity(APP_A) in setUp()39 .startFromEmbeddingActivity(APP_A) in setUp()44 }, APP_A.FOREGROUND_EMBEDDING_ACTIVITY); in setUp()53 .startFromEmbeddingActivity(APP_A) in testEmbeddingLaunchesActivity_launchAllowed()54 .activity(APP_A.FOREGROUND_ACTIVITY) in testEmbeddingLaunchesActivity_launchAllowed()63 APP_A.FOREGROUND_ACTIVITY, in testEmbeddingLaunchesActivity_launchAllowed()65 }, APP_A.FOREGROUND_EMBEDDING_ACTIVITY); in testEmbeddingLaunchesActivity_launchAllowed()76 .activity(APP_A.FOREGROUND_ACTIVITY) in testEmbeddedLaunchesActivity_launchAllowedOnlyOnTop()83 APP_A.FOREGROUND_ACTIVITY, in testEmbeddedLaunchesActivity_launchAllowedOnlyOnTop()85 }, APP_A.FOREGROUND_EMBEDDING_ACTIVITY); in testEmbeddedLaunchesActivity_launchAllowedOnlyOnTop()[all …]
67 static final Components APP_A = Components.get(APP_A_PACKAGE); field in BackgroundActivityTestBase85 List.of(APP_A, APP_A_33, APP_B, APP_B_33, APP_C, APP_C_33);
133 private static final String APP_A = field in WindowUntrustedTouchTest140 private static final String[] APPS = {APP_A, APP_B};258 addSawOverlay(APP_A, WINDOW_1, .9f); in testWhenOneSawWindowAboveThreshold_allowsTouch()268 addSawOverlay(APP_A, WINDOW_1, .7f); in testWhenOneSawWindowBelowThreshold_allowsTouch()277 addSawOverlay(APP_A, WINDOW_1, 0f); in testWhenOneSawWindowWithZeroOpacity_allowsTouch()286 addSawOverlay(APP_A, WINDOW_1, MAXIMUM_OBSCURING_OPACITY); in testWhenOneSawWindowAtThreshold_allowsTouch()297 addSawOverlay(APP_A, WINDOW_1, .5f); in testWhenTwoSawWindowsFromSameAppTogetherBelowThreshold_allowsTouch()298 addSawOverlay(APP_A, WINDOW_2, .5f); in testWhenTwoSawWindowsFromSameAppTogetherBelowThreshold_allowsTouch()309 addSawOverlay(APP_A, WINDOW_1, .7f); in testWhenTwoSawWindowsFromSameAppTogetherAboveThreshold_blocksTouch()310 addSawOverlay(APP_A, WINDOW_2, .7f); in testWhenTwoSawWindowsFromSameAppTogetherAboveThreshold_blocksTouch()[all …]
208 installPackage(APP_A, "--user " + Integer.valueOf(sCloneUserId)); in testPrivateAppDataDirectoryForCloneUser()222 installPackage(APP_A, "--user all"); in testCrossUserMediaAccess()265 installPackage(APP_A, "--user " + currentUserId); in testGetStorageVolumesIncludingSharedProfiles()282 installPackage(APP_A, "--user " + currentUserId); in testDeletionOfPrimaryApp_deleteAppWithParentPropertyTrue_deletesCloneApp()289 installPackage(APP_A, "--user " + sCloneUserId); in testDeletionOfPrimaryApp_deleteAppWithParentPropertyTrue_deletesCloneApp()314 installPackage(APP_A, "--user " + currentUserId); in testDeletionOfAppInNotParentProfile_notDeletesCloneApp()322 installPackage(APP_A, "--user " + sCloneUserId); in testDeletionOfAppInNotParentProfile_notDeletesCloneApp()329 installPackage(APP_A, "--user " + managedProfileId); in testDeletionOfAppInNotParentProfile_notDeletesCloneApp()363 installPackage(APP_A, "--user all"); in testMediaCreationWithContentOwnerSpecifiedAsCloneUser()397 installPackage(APP_A, "--user all"); in testMediaCreationWithContentOwnerSpecifiedAsParentUser()
49 private static final String APP_A = field in ActivityRecordInputSinkTests58 Components.TranslucentFloatingActivity.getComponent(APP_A);60 Components.TrampolineActivity.getComponent(APP_A);72 stopTestPackage(APP_A); in tearDown()
73 installPackage(APP_A, "--user all"); in testCrossUserMediaAccessInPublicSdCard()
41 protected static final String APP_A = "CtsAppCloningTestApp.apk"; field in AppCloningBaseHostTest