/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
|
D | PixelCopyTest.java | 169 PixelCopyGLProducerCtsActivity activity = in waitForGlProducerActivity() local 185 PixelCopyGLProducerCtsActivity activity = waitForGlProducerActivity(); in testGlProducerFullsize() local 198 PixelCopyGLProducerCtsActivity activity = waitForGlProducerActivity(); in testGlProducerCropTopLeft() local 208 PixelCopyGLProducerCtsActivity activity = waitForGlProducerActivity(); in testGlProducerCropCenter() local 218 PixelCopyGLProducerCtsActivity activity = waitForGlProducerActivity(); in testGlProducerCropBottomHalf() local 228 PixelCopyGLProducerCtsActivity activity = waitForGlProducerActivity(); in testGlProducerCropClamping() local 240 PixelCopyGLProducerCtsActivity activity = waitForGlProducerActivity(); in testGlProducerScaling() local 256 PixelCopyGLProducerCtsActivity activity = waitForGlProducerActivity(); in testReuseBitmap() local 277 PixelCopyViewProducerActivity activity = in waitForWindowProducerActivity() local 293 PixelCopyViewProducerActivity activity = mWindowSourceActivityRule.getActivity(); in testWindowProducer() local [all …]
|
D | View_FocusHandlingTest.java | 56 Activity activity = mActivityRule.getActivity(); in testFocusHandling() local 246 Activity activity = mActivityRule.getActivity(); in testEnabledHandling() local 305 Activity activity = mActivityRule.getActivity(); in testSizeHandling() local 421 Activity activity = mActivityRule.getActivity(); in testFocusAuto() local 460 final Activity activity = mActivityRule.getActivity(); in testFocusableInTouchMode() local 477 final Activity activity = mActivityRule.getActivity(); in testHasFocusable() local 524 final Activity activity = mActivityRule.getActivity(); in testFocusAfterDescendantsTransfer() local
|
D | View_DefaultFocusHighlightTest.java | 55 Activity activity = mActivityRule.getActivity(); in testSettersAndGetters() local 89 Activity activity = mActivityRule.getActivity(); in testInflating() local 112 Activity activity = mActivityRule.getActivity(); in testIsDefaultFocusHighlightNeeded() local
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AspectRatioTestsBase.java | 47 final Activity activity = launchActivity(activityRule); in runAspectRatioTest() local 80 private static float getActivityAspectRatio(Activity activity) { in getActivityAspectRatio() 84 private static Point getActivitySize(Activity activity) { in getActivitySize() 90 private static Display getDisplay(Activity activity) { in getDisplay() 103 final Activity activity = activityRule.launchActivity(null); in launchActivity() local 109 final Activity activity = activityRule.getActivity(); in finishActivity() local
|
D | LayoutTests.java | 91 final TestActivity activity = startActivity(TestActivity.class); in testLayoutAfterRemovingFocus() local 104 private void doTestLayoutAfterRemovingFocus(TestActivity activity, in doTestLayoutAfterRemovingFocus() 138 final TestActivity activity = startActivity(TestActivity.class); in testAddingImmersiveWindow() local 171 final TestActivity activity = startActivity(TestActivity.class); in testChangingFocusableFlag() local
|
D | WindowInsetsPolicyTest.java | 96 final TestActivity activity = launchAndWait(mTestActivity); in testWindowInsets_dispatched() local 106 final TestActivity activity = launchAndWait(mTestActivity); in testWindowInsets_root() local 132 final TestActivity activity = launchAndWait(mTestActivity); in testForcedConsumedTopInsets() local 213 final T activity = rule.launchActivity(null); in launchAndWait() local
|
D | ActivityViewTest.java | 95 ActivityViewTestActivity activity = mActivityRule.launchActivity(null); in setUp() local 131 private boolean checkDisplaySize(ComponentName activity, int requestedWidth, in checkDisplaySize() 270 private void launchActivityInActivityView(ComponentName activity) { in launchActivityInActivityView() 274 private void launchActivityInActivityView(ComponentName activity, Bundle extras) { in launchActivityInActivityView()
|
/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/tests/app.usage/src/android/app/usage/cts/ |
D | UsageReportingTest.java | 74 Activity activity; in testUsageStartAndStopReporting() local 97 Activity activity; in testUsagePastReporting() local 113 Activity activity; in testUsageReportingMissingStop() local 132 Activity activity; in testExceptionOnRepeatReport() local 171 Activity activity; in testMultipleTokenUsageReporting() local 194 Activity activity; in testMultipleTokenMissingStop() local
|
/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/common/device-side/util/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/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | CustomViewActivityTest.java | 97 final CustomViewActivity activity = launchActivity(); in testLifecycle() local 136 final CustomViewActivity activity = launchActivity(); in testVirtualView_wrongWay() local 214 final CustomViewActivity activity = launchActivity(); in testVirtualView_oneLevel() local 329 final CustomViewActivity activity = launchActivity(); in testVirtualView_multipleLevels() local 394 final CustomViewActivity activity = launchActivity(); in testVirtualView_batchDisappear() local 433 final CustomViewActivity activity = launchActivity(); in testContentCaptureConditions() local 457 final CustomViewActivity activity = launchActivity(); in testContentCaptureConditions_otherPackage() local 470 final CustomViewActivity activity = launchActivity(); in testContentCaptureEnabled_dynamicFlagSecure() local 496 CustomViewActivity.onRootView((activity) -> { in testDisabledByFlagSecure() argument 500 final CustomViewActivity activity = launchActivity(); in testDisabledByFlagSecure() local [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | Utils.java | 45 static TestListItem createInteractiveTestItem(Activity activity, String id, int titleRes, in createInteractiveTestItem() 56 static TestListItem createInteractiveTestItem(Activity activity, String id, int titleRes, in createInteractiveTestItem() 73 static void provisionManagedProfile(Activity activity, ComponentName admin, int requestCode) { in provisionManagedProfile() 114 static void setScreenLock(Activity activity, int requestCode) { in setScreenLock() 132 static void removeScreenLock(Activity activity) { in removeScreenLock()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | OrientationTestUtils.java | 34 public static void toggleOrientation(Activity activity) { in toggleOrientation() 46 public static void switchOrientation(final Activity activity) { in switchOrientation() 57 private static int[] getOrientations(final Activity activity) { in getOrientations()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AutofillTestWatcher.java | 81 @NonNull AbstractAutoFillActivity activity) { in registerActivity() 100 @NonNull AbstractAutoFillActivity activity) { in unregisterActivity() 117 final A activity = (A) sAllActivities.stream().filter(a -> a.getClass().equals(clazz)) in getActivity() local
|
D | DisableAutofillTest.java | 91 final SimpleSaveActivity activity = startSimpleSaveActivity(); in launchSimpleSaveActivity() local 143 final PreSimpleSaveActivity activity = startPreSimpleSaveActivity(); in launchPreSimpleSaveActivity() local 316 private void assertAutofillEnabled(AbstractAutoFillActivity activity, boolean expected) in assertAutofillEnabled()
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | LoaderTest.java | 61 LoaderActivity activity = FragmentTestUtil.recreateActivity(mActivityRule, in testLeak() local 99 LoaderActivity activity = mActivityRule.getActivity(); in startWhenReused() local 117 final LoaderActivity activity = mActivityRule.getActivity(); in noStaleData() local
|
/cts/tests/app/src/android/app/cts/ |
D | TaskDescriptionTest.java | 65 final Activity activity = mTaskDescriptionActivity.launchActivity(null); in testBitmapConstructor() local 74 final Activity activity = mTaskDescriptionActivity.launchActivity(null); in testResourceConstructor() local 79 private void assertTaskDescription(Activity activity, String label, int resId) { in assertTaskDescription()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | LaunchRunner.java | 190 Activity activity = launch(activityLog.get(launchFromIntent.getLaunchFrom()), in run() local 201 Activity activity = launch(activityLog.get(launchFromIntent.getLaunchFrom()), in run() local 248 Activity activity = monitor.waitForActivityWithTimeout(ACTIVITY_LAUNCH_TIMEOUT); in launchFromContext() local 263 Activity activity = monitor.waitForActivityWithTimeout(ACTIVITY_LAUNCH_TIMEOUT); in launch() local 274 private void waitAndAssertActivityLaunched(Activity activity, Intent intent) { in waitAndAssertActivityLaunched() 291 public StateDump waitDumpAndTrim(Activity activity) { in waitDumpAndTrim() 313 public StateDump waitDumpAndTrimForVerification(Activity activity, StateDump expected) { in waitDumpAndTrimForVerification()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | PassFailButtons.java | 272 void setPassFailClickListeners(final T activity) { in setPassFailClickListeners() 302 protected static void setInfo(final android.app.Activity activity, final int titleId, in setInfo() 327 protected static boolean hasSeenInfoDialog(android.app.Activity activity) { in hasSeenInfoDialog() 341 protected static void showInfoDialog(final android.app.Activity activity, int titleId, in showInfoDialog() 350 protected static Dialog createDialog(final android.app.Activity activity, int id, Bundle args) { in createDialog() 359 protected static Dialog createInfoDialog(final android.app.Activity activity, int id, in createInfoDialog() 388 protected static void markSeenInfoDialog(android.app.Activity activity) { in markSeenInfoDialog() 401 protected static void setTestResultAndFinish(android.app.Activity activity, String testId, in setTestResultAndFinish() 416 protected static void setTestResultAndFinishHelper(android.app.Activity activity, String testId, in setTestResultAndFinishHelper() 427 protected static ImageButton getPassButtonView(android.app.Activity activity) { in getPassButtonView()
|
D | TestResult.java | 48 public static void setPassedResult(Activity activity, String testId, String testDetails) { in setPassedResult() 53 public static void setPassedResult(Activity activity, String testId, String testDetails, in setPassedResult() 60 public static void setFailedResult(Activity activity, String testId, String testDetails) { in setFailedResult() 65 public static void setFailedResult(Activity activity, String testId, String testDetails, in setFailedResult() 71 public static Intent createResult(Activity activity, int testResult, String testName, in createResult()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityLifecycleTopResumedStateTests.java | 78 final Activity activity = mCallbackTrackingActivityTestRule.launchActivity(new Intent()); in testTopPositionAfterLaunch() local 86 final Activity activity = mCallbackTrackingActivityTestRule.launchActivity(new Intent()); in testTopPositionLostOnFinish() local 99 final Activity activity = mCallbackTrackingActivityTestRule.launchActivity(new Intent()); in testTopPositionSwitchToActivityOnTop() local 176 final Activity activity = mCallbackTrackingActivityTestRule.launchActivity(new Intent()); in testTopPositionSwitchToTranslucentActivityOnTop() local 654 final Activity activity = mCallbackTrackingActivityTestRule.launchActivity(new Intent()); in testTopPositionPreservedOnLocalRelaunch() local 669 final Activity activity; in testTopPositionLaunchedBehindLockScreen() local 692 final Activity activity = mCallbackTrackingActivityTestRule.launchActivity(new Intent()); in testTopPositionRemovedBehindLockScreen() local 996 final Activity activity = mCallbackTrackingActivityTestRule.launchActivity(new Intent()); in testTopPositionNotSwitchedToPip() local 1033 final Activity activity = mCallbackTrackingActivityTestRule.launchActivity(new Intent()); in testTopPositionForAlwaysFocusableActivityInPip() local
|
D | ActivityLifecycleKeyguardTests.java | 56 final Activity activity = mFirstActivityTestRule.launchActivity(new Intent()); in testSingleLaunch() local 69 final Activity activity = mFirstActivityTestRule.launchActivity(new Intent()); in testKeyguardShowHide() local
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PrintingPolicyTest.java | 30 final PrintActivity activity = launchActivity("com.android.cts.deviceandprofileowner", in testPrintingPolicy() local
|