/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | BiometricActivityTests.java | 62 ActivitySession activitySession = in testBiometricOnly_authenticateFromForegroundActivity() 65 session, prop.getSensorId(), activitySession); in testBiometricOnly_authenticateFromForegroundActivity() 72 @NonNull ActivitySession activitySession) throws Exception { in testBiometricOnly_authenticateFromForegroundActivity_forSensor() argument 78 .get(activitySession.getComponentName()); in testBiometricOnly_authenticateFromForegroundActivity_forSensor() 81 launchActivityAndWaitForResumed(activitySession); in testBiometricOnly_authenticateFromForegroundActivity_forSensor() 115 ActivitySession activitySession = in testBiometricOnly_rejectThenErrorFromForegroundActivity() 118 session, prop.getSensorId(), activitySession); in testBiometricOnly_rejectThenErrorFromForegroundActivity() 125 @NonNull ActivitySession activitySession) throws Exception { in testBiometricOnly_rejectThenErrorFromForegroundActivity_forSensor() argument 133 TestJournalProvider.TestJournalContainer.get(activitySession.getComponentName()); in testBiometricOnly_rejectThenErrorFromForegroundActivity_forSensor() 136 launchActivityAndWaitForResumed(activitySession); in testBiometricOnly_rejectThenErrorFromForegroundActivity_forSensor() [all …]
|
D | BiometricSecurityTests.java | 187 ActivitySession activitySession = new ActivitySession(this, componentName)) { in testBiometricStrength_forSensor_authAllowed() 192 TestJournalContainer.get(activitySession.getComponentName()); in testBiometricStrength_forSensor_authAllowed() 200 launchActivityAndWaitForResumed(activitySession); in testBiometricStrength_forSensor_authAllowed() 234 ActivitySession activitySession = new ActivitySession(this, componentName)) { in testBiometricStrength_forSensor_authDisallowed() 238 TestJournalContainer.get(activitySession.getComponentName()); in testBiometricStrength_forSensor_authDisallowed() 248 launchActivityAndWaitForResumed(activitySession); in testBiometricStrength_forSensor_authDisallowed() 367 ActivitySession activitySession = new ActivitySession(this, componentName)) { in testBiometricStrengthDowngraded_forSensor() 372 TestJournalContainer.get(activitySession.getComponentName()); in testBiometricStrengthDowngraded_forSensor() 393 launchActivityAndWaitForResumed(activitySession); in testBiometricStrengthDowngraded_forSensor() 418 launchActivityAndWaitForResumed(activitySession); in testBiometricStrengthDowngraded_forSensor() [all …]
|
D | BiometricTestBase.java | 425 protected void launchActivityAndWaitForResumed(@NonNull ActivitySession activitySession) { in launchActivityAndWaitForResumed() argument 426 activitySession.start(); in launchActivityAndWaitForResumed() 427 mWmState.waitForActivityState(activitySession.getComponentName(), in launchActivityAndWaitForResumed() 432 protected void closeActivity(@NonNull ActivitySession activitySession) throws Exception { in closeActivity() argument 433 activitySession.close(); in closeActivity()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AppConfigurationTests.java | 208 final ActivitySession activitySession = noRelaunchActivityClient.getLastStartedSession(); in rotateAndCheckSizes() local 209 final ComponentName activityName = activitySession.getName(); in rotateAndCheckSizes() 230 final SizeInfo rotatedSizes = activitySession.getConfigInfo().sizeInfo; in rotateAndCheckSizes() 700 TestActivitySession<ConfigChangeHandlingActivity> activitySession in assertDisplayContextDoesntChangeOrientationWhenRotating() local 702 activitySession.launchTestActivityOnDisplaySync( in assertDisplayContextDoesntChangeOrientationWhenRotating() 706 final ConfigChangeHandlingActivity activity = activitySession.getActivity(); in assertDisplayContextDoesntChangeOrientationWhenRotating() 750 final ActivitySession activitySession = createManagedActivityClientSession() in testFixedOrientationWhenRotating() local 777 final SizeInfo currentSize = activitySession.getConfigInfo().sizeInfo; in testFixedOrientationWhenRotating() 945 final ActivitySession activitySession = createManagedActivityClientSession() 951 SizeInfo dockedActivitySizes = getActivitySizeInfo(activitySession); [all …]
|
D | AmProfileTests.java | 116 final ActivitySession activitySession; in testProfile() local 118 activitySession = createManagedActivityClientSession().startActivity( in testProfile() 122 activitySession = startActivityProfiling(PROFILEABLE_APP_ACTIVITY, sampling, streaming); in testProfile() 131 activitySession.sendCommandAndWaitReply(COMMAND_WAIT_FOR_PROFILE_OUTPUT); in testProfile()
|
D | MultiDisplaySystemDecorationTests.java | 891 TestActivitySession<? extends ImeTestActivity> activitySession, int expectDisplayId) { in tapAndAssertEditorFocusedOnImeActivity() argument 893 waitAndAssertActivityStateOnDisplay(activitySession.getActivity().getComponentName(), in tapAndAssertEditorFocusedOnImeActivity() 896 activitySession.runOnMainSyncAndWait(() -> { in tapAndAssertEditorFocusedOnImeActivity() 897 final EditText editText = activitySession.getActivity().mEditText; in tapAndAssertEditorFocusedOnImeActivity() 900 final ComponentName expectComponent = activitySession.getActivity().getComponentName(); in tapAndAssertEditorFocusedOnImeActivity() 902 mWmState.computeState(activitySession.getActivity().getComponentName()); in tapAndAssertEditorFocusedOnImeActivity() 908 TestActivitySession<? extends ImeTestActivity> activitySession, ImeEventStream stream) in showSoftInputAndAssertImeShownOnDisplay() argument 910 activitySession.runOnMainSyncAndWait( in showSoftInputAndAssertImeShownOnDisplay() 911 activitySession.getActivity()::showSoftInput); in showSoftInputAndAssertImeShownOnDisplay() 913 activitySession.getActivity().mEditText.getPrivateImeOptions()), TIMEOUT); in showSoftInputAndAssertImeShownOnDisplay()
|
D | MultiDisplayClientTests.java | 220 final TestActivitySession<ClientTestActivity> activitySession = in testViewGetDisplay() local 228 activitySession.launchTestActivityOnDisplaySync(ClientTestActivity.class, displayId); in testViewGetDisplay() 230 final Activity activity = activitySession.getActivity(); in testViewGetDisplay() 241 activitySession.runOnMainAndAssertWithTimeout( in testViewGetDisplay()
|
D | StartActivityTests.java | 334 final TestActivitySession<Activities.RegularActivity> activitySession = in testStartActivitiesTaskOverlayStayOnTop() local 336 activitySession.launchTestActivityOnDisplaySync(regularActivityName, baseIntent, in testStartActivitiesTaskOverlayStayOnTop() 340 final Activity baseActivity = activitySession.getActivity(); in testStartActivitiesTaskOverlayStayOnTop()
|
D | KeyguardTests.java | 156 final ActivitySessionClient activitySession = createManagedActivityClientSession(); in testFinishMultipleShowWhenLockedActivities() local 160 activitySession.startActivity(getLaunchActivityBuilder() in testFinishMultipleShowWhenLockedActivities() 360 final ActivitySessionClient activitySession = createManagedActivityClientSession(); in testNoTransientConfigurationWhenShowWhenLockedRequestsOrientation() local 363 activitySession.startActivity(getLaunchActivityBuilder() in testNoTransientConfigurationWhenShowWhenLockedRequestsOrientation()
|
D | MultiDisplayPolicyTests.java | 231 ActivitySession activitySession, SizeInfo initialSize) { in rotateAndCheckSameSizes() argument 234 final SizeInfo rotatedSize = activitySession.getConfigInfo().sizeInfo; in rotateAndCheckSameSizes()
|
/cts/tests/devicestate/src/android/hardware/devicestate/cts/ |
D | DeviceStateManagerTests.java | 136 final TestActivitySession<DeviceStateTestActivity> activitySession = in testRequestStateSucceedsAsTopApp() local 139 activitySession.launchTestActivityOnDisplaySync( in testRequestStateSucceedsAsTopApp() 144 DeviceStateTestActivity activity = activitySession.getActivity(); in testRequestStateSucceedsAsTopApp() 172 final TestActivitySession<DeviceStateTestActivity> activitySession = in testRequestStateFailsAsBackgroundApp() local 174 activitySession.launchTestActivityOnDisplaySync( in testRequestStateFailsAsBackgroundApp() 179 DeviceStateTestActivity activity = activitySession.getActivity(); in testRequestStateFailsAsBackgroundApp()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextTest.java | 1037 try (ActivitySession activitySession = new ActivitySession()) { in testStartActivityAsUser() argument 1040 activitySession.assertActivityLaunched(intent.getComponent().getClassName(), in testStartActivityAsUser() 1047 try (ActivitySession activitySession = new ActivitySession()) { in testStartActivity() argument 1051 activitySession.assertActivityLaunched(intent.getComponent().getClassName(), in testStartActivity()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerTestBase.java | 2031 static List<ActivityCallback> assertActivityLifecycle(ActivitySession activitySession, 2033 final String name = activitySession.getName().flattenToShortString(); 2034 final List<ActivityCallback> callbackHistory = activitySession.takeCallbackHistory();
|