/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | BiometricActivityTests.java | 62 ActivitySession activitySession = in testBiometricOnly_authenticateFromForegroundActivity() 63 new ActivitySession(this, CLASS_2_BIOMETRIC_ACTIVITY)) { in testBiometricOnly_authenticateFromForegroundActivity() 72 @NonNull ActivitySession activitySession) throws Exception { in testBiometricOnly_authenticateFromForegroundActivity_forSensor() 115 ActivitySession activitySession = in testBiometricOnly_rejectThenErrorFromForegroundActivity() 116 new ActivitySession(this, CLASS_2_BIOMETRIC_ACTIVITY)) { in testBiometricOnly_rejectThenErrorFromForegroundActivity() 125 @NonNull ActivitySession activitySession) throws Exception { in testBiometricOnly_rejectThenErrorFromForegroundActivity_forSensor() 182 ActivitySession activitySession = in testBiometricOnly_rejectThenAuthenticate() 183 new ActivitySession(this, CLASS_2_BIOMETRIC_ACTIVITY)) { in testBiometricOnly_rejectThenAuthenticate() 192 @NonNull ActivitySession activitySession) throws Exception { in testBiometricOnly_rejectThenAuthenticate_forSensor() 250 ActivitySession activitySession = in testBiometricOnly_negativeButtonInvoked() [all …]
|
D | ActivitySession.java | 26 public class ActivitySession implements AutoCloseable { class 33 public ActivitySession(@NonNull BiometricTestBase test, @NonNull ComponentName componentName) { in ActivitySession() method in ActivitySession
|
D | BiometricSecurityTests.java | 187 ActivitySession activitySession = new ActivitySession(this, componentName)) { in testBiometricStrength_forSensor_authAllowed() 234 ActivitySession activitySession = new ActivitySession(this, componentName)) { in testBiometricStrength_forSensor_authDisallowed() 367 ActivitySession activitySession = new ActivitySession(this, componentName)) { in testBiometricStrengthDowngraded_forSensor() 535 ActivitySession activitySession = new ActivitySession(this, componentName)) { in testBiometricStrengthUpgraded_forSensor()
|
D | BiometricTestBase.java | 425 protected void launchActivityAndWaitForResumed(@NonNull ActivitySession activitySession) { in launchActivityAndWaitForResumed() 432 protected void closeActivity(@NonNull ActivitySession activitySession) throws Exception { in closeActivity()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AmProfileTests.java | 32 import android.server.wm.CommandSession.ActivitySession; 116 final ActivitySession activitySession; in testProfile() 144 private ActivitySession startActivityProfiling(ComponentName activityName, boolean sampling, in startActivityProfiling()
|
D | ActivityVisibilityTests.java | 63 import android.server.wm.CommandSession.ActivitySession; 241 ActivitySession activity = sleepDeviceAndLaunchTurnScreenOnActivity(lockScreenSession, in testTurnScreenOnActivity() 268 ActivitySession activity = sleepDeviceAndLaunchTurnScreenOnActivity(lockScreenSession, in testFreeformWindowTurnScreenOnActivity() 282 private ActivitySession sleepDeviceAndLaunchTurnScreenOnActivity( in sleepDeviceAndLaunchTurnScreenOnActivity() 787 final ActivitySession activity = activityClient.startActivity( in testConvertTranslucentOnTranslucentActivity() 802 final ActivitySession activity = activityClient.startActivity( in testConvertTranslucentOnNonTopTranslucentActivity() 820 final ActivitySession activity = activityClient.startActivity( in testConvertTranslucentOnOpaqueActivity() 835 final ActivitySession activity = activityClient.startActivity( in testConvertTranslucentOnNonTopOpaqueActivity()
|
D | AppConfigurationTests.java | 67 import android.server.wm.CommandSession.ActivitySession; 208 final ActivitySession activitySession = noRelaunchActivityClient.getLastStartedSession(); in rotateAndCheckSizes() 750 final ActivitySession activitySession = createManagedActivityClientSession() in testFixedOrientationWhenRotating() 945 final ActivitySession activitySession = createManagedActivityClientSession() 981 final ActivitySession fullscreenActivitySession = createManagedActivityClientSession() 992 final ActivitySession secondActivitySession = createManagedActivityClientSession() 1008 final ActivitySession thirdActivitySession = createManagedActivityClientSession() 1028 final ActivitySession freeformActivitySession = createManagedActivityClientSession() in testAppConfigurationMatchesActivityInFreeform() 1038 private boolean activityAndAppSizesMatch(ActivitySession activitySession) { in activityAndAppSizesMatch() 1044 private SizeInfo getActivitySizeInfo(ActivitySession activitySession) { in getActivitySizeInfo() [all …]
|
D | MultiDisplaySecurityTests.java | 69 import android.server.wm.CommandSession.ActivitySession; 391 final ActivitySession session1 = virtualDisplayLauncher.launchActivityOnDisplay( in testDisplayHasAccess_UIDCanPresentOnPrivateDisplay() 400 final ActivitySession session2 = virtualDisplayLauncher.launchActivityOnDisplay( in testDisplayHasAccess_UIDCanPresentOnPrivateDisplay() 420 final ActivitySession session1 = virtualDisplayLauncher.launchActivityOnDisplay( in testDisplayHasAccess_NoAccessWhenUIDNotPresentOnPrivateDisplay() 430 final ActivitySession session2 = virtualDisplayLauncher.launchActivityOnDisplay( in testDisplayHasAccess_NoAccessWhenUIDNotPresentOnPrivateDisplay() 455 private boolean isUidAccesibleOnDisplay(ActivitySession session) { in isUidAccesibleOnDisplay()
|
D | StartActivityTests.java | 52 import android.server.wm.CommandSession.ActivitySession; 219 final CommandSession.ActivitySession activitySession3 = in testStartActivityByNavigateUpToFromDiffUid() 379 final ActivitySession activity = createManagedActivityClientSession() in startActivitiesAndGetTaskIds()
|
D | SplashscreenTests.java | 123 private CommandSession.ActivitySession prepareTestLauncher() { in prepareTestLauncher() 132 private void startActivityFromTestLauncher(CommandSession.ActivitySession homeActivity, in startActivityFromTestLauncher() 352 final CommandSession.ActivitySession homeActivity = prepareTestLauncher(); in launchRuntimeHandleExitAnimationActivity() 428 final CommandSession.ActivitySession homeActivity = prepareTestLauncher(); in testHandleExitIconAnimatingActivity() 452 final CommandSession.ActivitySession homeActivity = prepareTestLauncher(); in testCancelHandleExitIconAnimatingActivity() 517 final CommandSession.ActivitySession homeActivity = prepareTestLauncher(); in testOverrideSplashscreenTheme()
|
D | MultiDisplayPolicyTests.java | 53 import android.server.wm.CommandSession.ActivitySession; 204 final ActivitySession resizeableActivitySession = in testRotationNotAffectingSecondaryScreen() 220 final ActivitySession testActivitySession = in testRotationNotAffectingSecondaryScreen() 231 ActivitySession activitySession, SizeInfo initialSize) { in rotateAndCheckSameSizes()
|
D | DisplaySizeTest.java | 89 final CommandSession.ActivitySession activity = createManagedActivityClientSession() in testCompatibilityDialogAfterReturn()
|
D | KeyguardTests.java | 54 import android.server.wm.CommandSession.ActivitySession; 159 final ActivitySession showWhenLockedActivitySession = in testFinishMultipleShowWhenLockedActivities() 362 final ActivitySession showWhenLockedActivitySession = in testNoTransientConfigurationWhenShowWhenLockedRequestsOrientation()
|
D | MultiDisplayTestBase.java | 62 import android.server.wm.CommandSession.ActivitySession; 631 ActivitySession launchActivityOnDisplay(ComponentName activityName, in launchActivityOnDisplay() 637 ActivitySession launchActivityOnDisplay(ComponentName activityName, in launchActivityOnDisplay() 651 ActivitySession launchActivity(Consumer<LaunchActivityBuilder> setupBuilder) { in launchActivity()
|
D | MultiDisplayActivityLaunchTests.java | 77 import android.server.wm.CommandSession.ActivitySession; 283 final ActivitySession nonResizeableSession = virtualLauncher.launchActivity( in testMoveNonResizeableActivityToSecondaryDisplay()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | CommandSession.java | 169 public static class ActivitySession { 179 ActivitySession(ActivitySessionClient client, boolean requireReply) { 397 private final ArrayMap<String, ActivitySession> mSessions = new ArrayMap<>(); 410 public ActivitySession startActivity(Intent intent) { 422 public ActivitySession startActivity(Intent intent, Bundle options, boolean waitIdle) { 424 final ActivitySession session = new ActivitySession(this, waitIdle); 439 public ActivitySession startActivity(LaunchProxy proxy) { 442 final ActivitySession session = new ActivitySession(this, waitIdle); 474 private void setupLaunchIntent(Intent intent, boolean waitIdle, ActivitySession session) { 484 public ActivitySession getLastStartedSession() { [all …]
|
D | ActivityManagerTestBase.java | 144 import android.server.wm.CommandSession.ActivitySession; 2031 static List<ActivityCallback> assertActivityLifecycle(ActivitySession activitySession,
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextTest.java | 1037 try (ActivitySession activitySession = new ActivitySession()) { in testStartActivityAsUser() 1047 try (ActivitySession activitySession = new ActivitySession()) { in testStartActivity() 1059 private class ActivitySession implements AutoCloseable { class in ContextTest
|