/cts/tests/framework/base/windowmanager/testsdk29/src/android/server/wm/ |
D | DecorInsetSdk29Tests.java | 40 TestActivity activity = mDecorActivity.launchActivity(new Intent() in testDecorView_consumesAllInsets_byDefault() local 55 TestActivity activity = mDecorActivity.launchActivity(new Intent() in testDecorView_consumesNavBar_ifLayoutHideNavIsNotSet() local 71 TestActivity activity = mDecorActivity.launchActivity(new Intent() in testDecorView_doesntConsumeNavBar_ifLayoutHideNavIsSet() local 88 TestActivity activity = mDecorActivity.launchActivity(new Intent() in testDecorView_doesntConsumeNavBar_ifDecorDoesntFitSystemWindows() local
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DecorInsetTests.java | 40 TestActivity activity = mDecorActivity.launchActivity(new Intent() in testDecorView_consumesAllInsets_byDefault() local 55 TestActivity activity = mDecorActivity.launchActivity(new Intent() in testDecorView_consumesNavBar_ifLayoutHideNavIsNotSet() local 71 TestActivity activity = mDecorActivity.launchActivity(new Intent() in testDecorView_doesntConsumeNavBar_ifLayoutHideNavIsSet() local 88 TestActivity activity = mDecorActivity.launchActivity(new Intent() in testDecorView_doesntConsumeNavBar_ifDecorDoesntFitSystemWindows() local
|
D | WindowMetricsActivityTests.java | 64 final MetricsActivity activity = startActivityInWindowingMode(MetricsActivity.class, in testMetricsMatchesLayoutOnActivityOnCreate() local 77 final MetricsActivity activity = startActivityInWindowingMode(MetricsActivity.class, in testMetricsMatchesDisplayAreaOnActivity() local 88 final MinAspectRatioActivity activity = startActivityInWindowingMode( in testMetricsMatchesActivityBoundsOnNonresizableActivity() local 99 final MetricsActivity activity = startActivityInWindowingMode(MetricsActivity.class, in testMetricsMatchesLayoutOnPipActivity() local 114 final MetricsActivity activity = startActivityInWindowingMode(MetricsActivity.class, in testMetricsMatchesDisplayAreaOnPipActivity() local 156 final MetricsActivity activity = startActivityInWindowingMode(MetricsActivity.class, in testMetricsMatchesLayoutOnSplitActivity() local 175 final MetricsActivity activity = startActivityInWindowingMode(MetricsActivity.class, in testMetricsMatchesDisplayAreaOnSplitActivity() local 194 final MetricsActivity activity = startActivityInWindowingMode(MetricsActivity.class, in testMetricsMatchesLayoutOnFreeformActivity() local 230 final MetricsActivity activity = startActivityInWindowingMode(MetricsActivity.class, in testMetricsMatchesDisplayAreaOnFreeformActivity() local 259 private static void assertMetricsMatchesLayout(MetricsActivity activity) { in assertMetricsMatchesLayout() [all …]
|
D | CompatChangeTests.java | 235 ComponentName activity = NON_RESIZEABLE_LARGE_ASPECT_RATIO_ACTIVITY; in testSandboxForNonResizableActivityPackageUnboundedInNeverSandboxDeviceConfigFlag() local 248 ComponentName activity = NON_RESIZEABLE_LARGE_ASPECT_RATIO_ACTIVITY; in testSandboxForNonResizableActivityPackageWithinRangeInNeverSandboxDeviceConfig() local 263 ComponentName activity = NON_RESIZEABLE_LARGE_ASPECT_RATIO_ACTIVITY; in testSandboxForNonResizableActivityPackageOutsideRangeInNeverSandboxDeviceConfig() local 301 ComponentName activity = NON_RESIZEABLE_LARGE_ASPECT_RATIO_ACTIVITY; in testSandboxForNonResizableActivityInvalidEntryInNeverSandboxDeviceConfigFlag() local 342 ComponentName activity = RESIZEABLE_PORTRAIT_ACTIVITY; in testSandboxResizableActivityPackageInAlwaysSandboxDeviceConfigFlag() local 488 private void runSizeCompatTest(ComponentName activity, int windowingMode, in runSizeCompatTest() 507 private void runSizeCompatTest(ComponentName activity, int windowingMode, double resizeRatio, in runSizeCompatTest() 521 private void assertSizeCompatMode(ComponentName activity, boolean expectedInSizeCompatMode) { in assertSizeCompatMode() 533 private void runSizeCompatModeSandboxTest(ComponentName activity, in runSizeCompatModeSandboxTest() 552 private void runSizeCompatModeSandboxTest(ComponentName activity, boolean isSandboxed, in runSizeCompatModeSandboxTest() [all …]
|
D | WindowInsetsControllerTests.java | 117 final TestActivity activity = startActivityInWindowingModeFullScreen(TestActivity.class); in testHide() local 135 final TestActivity activity = startActivityInWindowingModeFullScreen(TestActivity.class); in testShow() local 155 private void testTopAppHidesStatusBarInternal(Activity activity, View rootView, in testTopAppHidesStatusBarInternal() 182 final TestActivity activity = startActivityInWindowingModeFullScreen(TestActivity.class); in testTopAppHidesStatusBarByMethod() local 191 final TestActivity activity = startActivity(TestActivity.class); in testTopAppHidesStatusBarByWindowFlag() local 200 final TestActivity activity = startActivity(TestActivity.class); in testTopAppHidesStatusBarBySystemUiFlag() local 214 final TestActivity activity = startActivityInWindowingModeFullScreen(TestActivity.class); in testImeShowAndHide() local 231 final TestActivity activity = startActivityInWindowingModeFullScreen(TestActivity.class); in testImeForceShowingNavigationBar() local 251 final TestActivity activity = startActivityInWindowingModeFullScreen(TestActivity.class); in testSetSystemBarsBehavior_default() local 277 final TestActivity activity = startActivity(TestActivity.class); in testSetSystemBarsBehavior_showTransientBarsBySwipe() local [all …]
|
D | WindowInsetsLayoutTests.java | 63 final TestActivity activity = in testSetFitInsetsTypes() local 74 testSetFitInsetsTypesInner(Type.statusBars(), activity, mainWindowRoot); in testSetFitInsetsTypes() local 75 testSetFitInsetsTypesInner(Type.navigationBars(), activity, mainWindowRoot); in testSetFitInsetsTypes() local 76 testSetFitInsetsTypesInner(Type.systemBars(), activity, mainWindowRoot); in testSetFitInsetsTypes() local 80 int types, TestActivity activity, View mainWindowRoot) { in testSetFitInsetsTypesInner() 107 final TestActivity activity = in testSetFitInsetsSides() local 125 int sides, TestActivity activity, View mainWindowRoot) { in testSetFitInsetsSidesInner() 153 final TestActivity activity = in testSetFitInsetsIgnoringVisibility() local
|
D | AspectRatioTestsBase.java | 53 final WindowManagerState.Activity activity = mWmState.getActivity(componentName); in runAspectRatioTest() local 68 final Activity activity = launchActivity(activityRule); in runAspectRatioTest() local 119 private static float getActivityAspectRatio(Activity activity) { in getActivityAspectRatio() 123 private static Point getActivitySize(Activity activity) { in getActivitySize() 129 private static Display getDisplay(Activity activity) { in getDisplay() 142 final Activity activity = activityRule.launchActivity(null); in launchActivity() local 148 final Activity activity = activityRule.getActivity(); in finishActivity() local
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_InitialFocusTest.java | 52 Activity activity = mActivityRule.getActivity(); in setup() local 61 final Activity activity = mActivityRule.getActivity(); in getInitialAndFirstFocus() local 74 Activity activity = mActivityRule.getActivity(); in testNoInitialFocus() local 82 Activity activity = mActivityRule.getActivity(); in testDefaultFocus() local 90 Activity activity = mActivityRule.getActivity(); in testInitialFocus() local 98 Activity activity = mActivityRule.getActivity(); in testClearFocus() local
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | SetFrameRateTest.java | 86 FrameRateCtsActivity activity = mActivityRule.getActivity(); in testExactFrameRateMatch_Seamless() local 92 FrameRateCtsActivity activity = mActivityRule.getActivity(); in testExactFrameRateMatch_NonSeamless() local 98 FrameRateCtsActivity activity = mActivityRule.getActivity(); in testFixedSource_Seamless() local 104 FrameRateCtsActivity activity = mActivityRule.getActivity(); in testFixedSource_NonSeamless() local 110 FrameRateCtsActivity activity = mActivityRule.getActivity(); in testInvalidParams() local
|
D | MatchContentFrameRateTest.java | 64 FrameRateCtsActivity activity = mActivityRule.getActivity(); in setUp() local 88 FrameRateCtsActivity activity = mActivityRule.getActivity(); in testMatchContentFramerate_None() local 98 FrameRateCtsActivity activity = mActivityRule.getActivity(); in testMatchContentFramerate_Auto() local 108 FrameRateCtsActivity activity = mActivityRule.getActivity(); in testMatchContentFramerate_Always() local
|
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/ |
D | EventLibActivityTest.java | 96 Activity activity = sInstrumentation.startActivitySync(intent); in startEventLibActivity_logsActivityStartedEvent() local 113 Activity activity = sInstrumentation.startActivitySync(intent); in startEventLibActivity_withGeneratedActivityClass_logsActivityStartedEventWithCorrectClassName() local 130 Activity activity = sInstrumentation.startActivitySync(intent); in stopEventLibActivity_logsActivityStoppedEvent() local 147 Activity activity = sInstrumentation.startActivitySync(intent); in stopEventLibActivity_withGeneratedActivityClass_logsActivityStoppedEventWithCorrectClassName() local 164 Activity activity = sInstrumentation.startActivitySync(intent); in destroyEventLibActivity_logsActivityDestroyedEvent() local 181 Activity activity = sInstrumentation.startActivitySync(intent); in destroyEventLibActivity_withGeneratedActivityClass_logsActivityDestroyedEventWithCorrectClassName() local 198 Activity activity = sInstrumentation.startActivitySync(intent); in pauseEventLibActivity_logsActivityPausedEvent() local 217 Activity activity = sInstrumentation.startActivitySync(intent); in pauseEventLibActivity_withGeneratedActivityClass_logsActivityPausedEventWithCorrectClassName() local 236 Activity activity = sInstrumentation.startActivitySync(intent); in resumeEventLibActivity_logsActivityResumedEvent() local 253 Activity activity = sInstrumentation.startActivitySync(intent); in resumeEventLibActivity_withGeneratedActivityClass_logsActivityResumedEventWithCorrectClassName() local [all …]
|
/cts/hostsidetests/graphics/framerateoverride/app/src/com/android/cts/graphics/framerateoverride/ |
D | FrameRateOverrideTest.java | 158 FrameRateOverrideTestActivity activity = mActivityRule.getActivity(); in testFrameRateOverride() local 173 FrameRateOverrideTestActivity activity = mActivityRule.getActivity(); in testBackpressure() local 185 FrameRateOverrideTestActivity activity = mActivityRule.getActivity(); in testChoreographer() local 200 FrameRateOverrideTestActivity activity = mActivityRule.getActivity(); in testDisplayGetRefreshRate() local 212 FrameRateOverrideTestActivity activity = mActivityRule.getActivity(); in testDisplayModeGetRefreshRateDisplayModeReturnsPhysicalRefreshRateEnabled() local 226 FrameRateOverrideTestActivity activity = mActivityRule.getActivity(); in testDisplayModeGetRefreshRateDisplayModeReturnsPhysicalRefreshRateDisabled() local
|
/cts/hostsidetests/testharness/app/src/android/testharness/app/ |
D | TestHarnessModeDeviceTest.java | 44 TestHarnessActivity activity = mActivityRule.getActivity(); in ensureActivityNotObscuredByKeyboardSetUpScreen() local 53 TestHarnessActivity activity = mActivityRule.getActivity(); in dirtyDevice() local 61 TestHarnessActivity activity = mActivityRule.getActivity(); in testDeviceIsClean() local
|
/cts/tests/app/src/android/app/cts/ |
D | TaskDescriptionTest.java | 65 final Activity activity = mTaskDescriptionActivity.launchActivity(null); in testBitmapConstructor() local 77 final Activity activity = mTaskDescriptionActivity.launchActivity(null); in testResourceConstructor() local 87 final Activity activity = mTaskDescriptionActivity.launchActivity(null); in testLabelConstructor() local 94 final Activity activity = mTaskDescriptionActivity.launchActivity(null); in testEmptyConstructor() local 99 private void assertTaskDescription(Activity activity, String label, int resId, Bitmap bitmap) { in assertTaskDescription()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ActivitiesWatcher.java | 54 public void onActivityCreated(Activity activity, Bundle savedInstanceState) { in onActivityCreated() 60 public void onActivityStarted(Activity activity) { in onActivityStarted() 66 public void onActivityResumed(Activity activity) { in onActivityResumed() 72 public void onActivityPaused(Activity activity) { in onActivityPaused() 78 public void onActivityStopped(Activity activity) { in onActivityStopped() 84 public void onActivitySaveInstanceState(Activity activity, Bundle outState) { in onActivitySaveInstanceState() 90 public void onActivityDestroyed(Activity activity) { in onActivityDestroyed() 124 private void notifyWatcher(@NonNull Activity activity, @NonNull ActivityLifecycle lifecycle) { in notifyWatcher()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageReportingTest.java | 76 Activity activity; in testUsageStartAndStopReporting() local 99 Activity activity; in testUsagePastReporting() local 115 Activity activity; in testUsageReportingMissingStop() local 134 Activity activity; in testExceptionOnRepeatReport() local 173 Activity activity; in testMultipleTokenUsageReporting() local 196 Activity activity; in testMultipleTokenMissingStop() local
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | BroadcastReceiverActivity.java | 105 TestBroadcastReceiver(Activity activity) { in TestBroadcastReceiver() 114 void associate(Activity activity) { in associate() 119 final Activity activity = mRef != null ? mRef.get() : null; in destroy() local 139 final Activity activity = mRef.get(); in onReceive() local
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/activities/ |
D | ActivityStoppedEvent.java | 77 …public static ActivityStoppedEventLogger logger(Activity activity, android.content.pm.ActivityInfo… in logger() 83 …private ActivityStoppedEventLogger(Activity activity, android.content.pm.ActivityInfo activityInfo… in ActivityStoppedEventLogger() 89 public ActivityStoppedEventLogger setActivity(android.content.pm.ActivityInfo activity) { in setActivity() 98 public ActivityInfo activity() { in activity() method in ActivityStoppedEvent
|
D | ActivityStartedEvent.java | 77 …public static ActivityStartedEventLogger logger(Activity activity, android.content.pm.ActivityInfo… in logger() 83 …private ActivityStartedEventLogger(Activity activity, android.content.pm.ActivityInfo activityInfo… in ActivityStartedEventLogger() 90 android.content.pm.ActivityInfo activity) { in setActivity() 99 public ActivityInfo activity() { in activity() method in ActivityStartedEvent
|
D | ActivityRestartedEvent.java | 78 …public static ActivityRestartedEventLogger logger(Activity activity, android.content.pm.ActivityIn… in logger() 85 …private ActivityRestartedEventLogger(Activity activity, android.content.pm.ActivityInfo activityIn… in ActivityRestartedEventLogger() 91 public ActivityRestartedEventLogger setActivity(android.content.pm.ActivityInfo activity) { in setActivity() 100 public ActivityInfo activity() { in activity() method in ActivityRestartedEvent
|
D | ActivityPausedEvent.java | 78 …public static ActivityPausedEventLogger logger(Activity activity, android.content.pm.ActivityInfo … in logger() 85 …private ActivityPausedEventLogger(Activity activity, android.content.pm.ActivityInfo activityInfo)… in ActivityPausedEventLogger() 91 public ActivityPausedEventLogger setActivity(android.content.pm.ActivityInfo activity) { in setActivity() 100 public ActivityInfo activity() { in activity() method in ActivityPausedEvent
|
D | ActivityResumedEvent.java | 78 …public static ActivityResumedEventLogger logger(Activity activity, android.content.pm.ActivityInfo… in logger() 85 …private ActivityResumedEventLogger(Activity activity, android.content.pm.ActivityInfo activityInfo… in ActivityResumedEventLogger() 91 public ActivityResumedEventLogger setActivity(android.content.pm.ActivityInfo activity) { in setActivity() 100 public ActivityInfo activity() { in activity() method in ActivityResumedEvent
|
D | ActivityDestroyedEvent.java | 78 …public static ActivityDestroyedEventLogger logger(Activity activity, android.content.pm.ActivityIn… in logger() 85 …private ActivityDestroyedEventLogger(Activity activity, android.content.pm.ActivityInfo activityIn… in ActivityDestroyedEventLogger() 91 public ActivityDestroyedEventLogger setActivity(android.content.pm.ActivityInfo activity) { in setActivity() 100 public ActivityInfo activity() { in activity() method in ActivityDestroyedEvent
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | DisplayUtils.java | 28 public static boolean supportOrientationRequest(final Activity activity) { in supportOrientationRequest() 36 public static boolean isCloseToSquareDisplay(final Activity activity) { in isCloseToSquareDisplay() 55 public static boolean isDevicePortrait(final Activity activity) { in isDevicePortrait()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | BlankActivityTest.java | 78 final BlankActivity activity = launchActivity(); in testSimpleSessionLifecycle() local 97 final BlankActivity activity = launchActivity(); in testGetServiceComponentName() local 122 final BlankActivity activity = launchActivity(); in testGetServiceComponentName_onUiThread() local 142 final BlankActivity activity = launchActivity(); in testIsContentCaptureFeatureEnabled_onUiThread() local 162 final BlankActivity activity = launchActivity(); in testDisableContentCaptureService_onUiThread() local
|