Home
last modified time | relevance | path

Searched defs:activity (Results 1 – 25 of 172) sorted by relevance

1234567

/cts/tests/tests/view/src/android/view/cts/
DView_InitialFocusTest.java52 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
DPixelCopyTest.java169 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 …]
DView_FocusHandlingTest.java56 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
DView_DefaultFocusHighlightTest.java55 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/
DAspectRatioTestsBase.java47 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
DLayoutTests.java91 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
DWindowInsetsPolicyTest.java96 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
/cts/hostsidetests/testharness/app/src/android/testharness/app/
DTestHarnessModeDeviceTest.java44 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/
DTaskDescriptionTest.java65 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/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DBlankActivityTest.java63 final BlankActivity activity = launchActivity(); in testSimpleSessionLifecycle() local
82 final BlankActivity activity = launchActivity(); in testGetServiceComponentName() local
107 final BlankActivity activity = launchActivity(); in testGetServiceComponentName_onUiThread() local
127 final BlankActivity activity = launchActivity(); in testIsContentCaptureFeatureEnabled_onUiThread() local
147 final BlankActivity activity = launchActivity(); in testDisableContentCaptureService_onUiThread() local
DLoginActivityTest.java107 final LoginActivity activity = launchActivity(); in testSimpleLifecycle_defaultSession() local
134 LoginActivity.onRootView((activity, rootView) -> { in testSimpleLifecycle_rootViewSession() argument
144 final LoginActivity activity = launchActivity(); in testSimpleLifecycle_rootViewSession() local
243 final LoginActivity activity = launchActivity(); in testSimpleLifecycle_changeContextAfterCreate() local
285 LoginActivity.onRootView((activity, rootView) -> { in testSimpleLifecycle_changeContextOnCreate() argument
292 final LoginActivity activity = launchActivity(); in testSimpleLifecycle_changeContextOnCreate() local
346 final LoginActivity activity = launchActivity(); in testTextChanged() local
382 final LoginActivity activity = launchActivity(); in testTextChangeBuffer() local
424 final LoginActivity activity = launchActivity(); in testDisabledByFlagSecure() local
450 final LoginActivity activity = launchActivity(); in testDisabledByApp() local
[all …]
DCustomViewActivityTest.java101 final CustomViewActivity activity = launchActivity(); in testLifecycle() local
140 final CustomViewActivity activity = launchActivity(); in testVirtualView_wrongWay() local
223 final CustomViewActivity activity = launchActivity(); in testVirtualView_oneLevel() local
338 final CustomViewActivity activity = launchActivity(); in testVirtualView_multipleLevels() local
403 final CustomViewActivity activity = launchActivity(); in testVirtualView_batchDisappear() local
442 final CustomViewActivity activity = launchActivity(); in testContentCaptureConditions() local
466 final CustomViewActivity activity = launchActivity(); in testContentCaptureConditions_otherPackage() local
479 final CustomViewActivity activity = launchActivity(); in testContentCaptureEnabled_dynamicFlagSecure() local
505 CustomViewActivity.onRootView((activity) -> { in testDisabledByFlagSecure() argument
509 final CustomViewActivity activity = launchActivity(); in testDisabledByFlagSecure() local
[all …]
DBlankWithTitleActivityTest.java54 final BlankWithTitleActivity activity = launchActivity(); in testSimpleSessionLifecycle() local
72 final BlankWithTitleActivity activity = launchActivity( in testSimpleSessionLifecycle_noAnimation() local
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageReportingTest.java74 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/
DActivitiesWatcher.java54 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/
DActivitiesWatcher.java54 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/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUtils.java45 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/
DOrientationTestUtils.java34 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/
DAutofillTestWatcher.java88 @NonNull AbstractAutoFillActivity activity) { in registerActivity()
107 @NonNull AbstractAutoFillActivity activity) { in unregisterActivity()
124 final A activity = (A) sAllActivities.stream().filter(a -> a.getClass().equals(clazz)) in getActivity() local
DDisableAutofillTest.java91 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/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResult.java51 public static void setPassedResult(Activity activity, String testId, String testDetails) { in setPassedResult()
56 public static void setPassedResult(Activity activity, String testId, String testDetails, in setPassedResult()
63 public static void setPassedResult(Activity activity, String testId, String testDetails, in setPassedResult()
70 public static void setFailedResult(Activity activity, String testId, String testDetails) { in setFailedResult()
75 public static void setFailedResult(Activity activity, String testId, String testDetails, in setFailedResult()
82 public static void setFailedResult(Activity activity, String testId, String testDetails, in setFailedResult()
88 public static Intent createResult(Activity activity, int testResult, String testName, in createResult()
DPassFailButtons.java308 void setPassFailClickListeners(final T activity) { in setPassFailClickListeners()
338 protected static void setInfo(final android.app.Activity activity, final int titleId, in setInfo()
363 protected static boolean hasSeenInfoDialog(android.app.Activity activity) { in hasSeenInfoDialog()
377 protected static void showInfoDialog(final android.app.Activity activity, int titleId, in showInfoDialog()
386 protected static Dialog createDialog(final android.app.Activity activity, int id, Bundle args) { in createDialog()
395 protected static Dialog createInfoDialog(final android.app.Activity activity, int id, in createInfoDialog()
424 protected static void markSeenInfoDialog(android.app.Activity activity) { in markSeenInfoDialog()
437 protected static void setTestResultAndFinish(android.app.Activity activity, String testId, in setTestResultAndFinish()
453 protected static void setTestResultAndFinishHelper(android.app.Activity activity, String testId, in setTestResultAndFinishHelper()
465 protected static ImageButton getPassButtonView(android.app.Activity activity) { in getPassButtonView()
/cts/tests/fragment/src/android/fragment/cts/
DLoaderTest.java61 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/framework/base/windowmanager/src/android/server/wm/intent/
DLaunchRunner.java190 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/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleTopResumedStateTests.java78 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

1234567