Home
last modified time | relevance | path

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

123456

/cts/tests/tests/view/src/android/view/cts/
DView_InitialFocusTest.java51 Activity activity = mActivityRule.getActivity(); in setup() local
60 final Activity activity = mActivityRule.getActivity(); in getInitialAndFirstFocus() local
73 Activity activity = mActivityRule.getActivity(); in testNoInitialFocus() local
81 Activity activity = mActivityRule.getActivity(); in testDefaultFocus() local
89 Activity activity = mActivityRule.getActivity(); in testInitialFocus() local
97 Activity activity = mActivityRule.getActivity(); in testClearFocus() local
DPixelCopyTest.java165 PixelCopyGLProducerCtsActivity activity = in waitForGlProducerActivity() local
181 PixelCopyGLProducerCtsActivity activity = waitForGlProducerActivity(); in testGlProducerFullsize() local
194 PixelCopyGLProducerCtsActivity activity = waitForGlProducerActivity(); in testGlProducerCropTopLeft() local
204 PixelCopyGLProducerCtsActivity activity = waitForGlProducerActivity(); in testGlProducerCropCenter() local
214 PixelCopyGLProducerCtsActivity activity = waitForGlProducerActivity(); in testGlProducerCropBottomHalf() local
224 PixelCopyGLProducerCtsActivity activity = waitForGlProducerActivity(); in testGlProducerCropClamping() local
236 PixelCopyGLProducerCtsActivity activity = waitForGlProducerActivity(); in testGlProducerScaling() local
252 PixelCopyGLProducerCtsActivity activity = waitForGlProducerActivity(); in testReuseBitmap() local
273 PixelCopyViewProducerActivity activity = in waitForWindowProducerActivity() local
289 PixelCopyViewProducerActivity activity = mWindowSourceActivityRule.getActivity(); in testWindowProducer() local
[all …]
DView_FocusHandlingTest.java55 Activity activity = mActivityRule.getActivity(); in testFocusHandling() local
245 Activity activity = mActivityRule.getActivity(); in testEnabledHandling() local
304 Activity activity = mActivityRule.getActivity(); in testSizeHandling() local
420 Activity activity = mActivityRule.getActivity(); in testFocusAuto() local
459 final Activity activity = mActivityRule.getActivity(); in testFocusableInTouchMode() local
476 final Activity activity = mActivityRule.getActivity(); in testHasFocusable() local
523 final Activity activity = mActivityRule.getActivity(); in testFocusAfterDescendantsTransfer() local
DView_DefaultFocusHighlightTest.java54 Activity activity = mActivityRule.getActivity(); in testSettersAndGetters() local
88 Activity activity = mActivityRule.getActivity(); in testInflating() local
111 Activity activity = mActivityRule.getActivity(); in testIsDefaultFocusHighlightNeeded() local
/cts/hostsidetests/incident/apps/graphicsstatsapp/src/com/android/server/cts/device/graphicsstats/
DSimpleDrawFrameTests.java41 DrawFramesActivity activity = mActivityRule.getActivity(); in testDrawTenFrames() local
52 DrawFramesActivity activity = mActivityRule.getActivity(); in testDrawJankyFrames() local
71 DrawFramesActivity activity = mActivityRule.getActivity(); in testDrawDaveyFrames() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUtils.java43 static TestListItem createInteractiveTestItem(Activity activity, String id, int titleRes, in createInteractiveTestItem()
54 static TestListItem createInteractiveTestItem(Activity activity, String id, int titleRes, in createInteractiveTestItem()
71 static void provisionManagedProfile(Activity activity, ComponentName admin, int requestCode) { in provisionManagedProfile()
112 static void setScreenLock(Activity activity, int requestCode) { in setScreenLock()
130 static void removeScreenLock(Activity activity) { in removeScreenLock()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DEmergencyCallUtil.java49 public static void setDefaultDialer(Activity activity, String packageName) { in setDefaultDialer()
55 public static void makePhoneCall(Activity activity, int phoneNumber) { in makePhoneCall()
92 public static boolean isPhoneDevice(Activity activity) { in isPhoneDevice()
123 private static String getCurrentPhoneNumber(Activity activity) { in getCurrentPhoneNumber()
/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/app/src/android/app/cts/
DTaskDescriptionTest.java63 final Activity activity = mTaskDescriptionActivity.launchActivity(null); in testBitmapConstructor() local
72 final Activity activity = mTaskDescriptionActivity.launchActivity(null); in testResourceConstructor() local
77 private void assertTaskDescription(Activity activity, String label, int resId) { in assertTaskDescription()
/cts/tests/framework/base/activitymanager/src/android/server/am/
DAspectRatioTestsBase.java38 final Activity activity = launchActivity(activityRule); in runAspectRatioTest() local
54 protected void runTest(Activity activity, AssertAspectRatioCallback callback) { in runTest()
69 final Activity activity = activityRule.launchActivity(null); in launchActivity() local
75 final Activity activity = activityRule.getActivity(); in finishActivity() local
/cts/tests/fragment/src/android/fragment/cts/
DLoaderTest.java60 LoaderActivity activity = FragmentTestUtil.recreateActivity(mActivityRule, in testLeak() local
98 LoaderActivity activity = mActivityRule.getActivity(); in startWhenReused() local
116 final LoaderActivity activity = mActivityRule.getActivity(); in noStaleData() local
DFragmentManagerConfigTest.java42 ConfigOnStopActivity activity = FragmentTestUtil.recreateActivity(mActivityRule, in configStop() local
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java43 protected Bitmap takeStatusBarScreenshot(LightBarBaseActivity activity) { in takeStatusBarScreenshot()
48 protected Bitmap takeNavigationBarScreenshot(LightBarBaseActivity activity) { in takeNavigationBarScreenshot()
118 protected void checkNavigationBarDivider(LightBarBaseActivity activity, int dividerColor) { in checkNavigationBarDivider()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DPassFailButtons.java272 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()
DTestResult.java48 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 private static Intent createResult(Activity activity, int testResult, String testName, in createResult()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DDisableAutofillTest.java99 final SimpleSaveActivity activity = startSimpleSaveActivity(); in launchSimpleSaveActivity() local
146 final PreSimpleSaveActivity activity = startPreSimpleSaveActivity(); in launchPreSimpleSaveActivity() local
318 private void assertAutofillEnabled(AbstractAutoFillActivity activity, boolean expected) in assertAutofillEnabled()
/cts/tests/framework/base/activitymanager/src/android/server/am/lifecycle/
DActivityLifecycleClientTestBase.java128 static Pair<Activity, ActivityCallback> state(Activity activity, ActivityCallback stage) { in state()
137 Activity activity, Activity occludingActivity) { in occludedActivityState()
146 Activity activity, boolean occludingActivityIsTranslucent) { in occludedActivityState()
157 static boolean isTranslucent(Activity activity) { in isTranslucent()
254 static ComponentName getComponentName(Class<? extends Activity> activity) { in getComponentName()
DLifecycleTracker.java50 synchronized public void onActivityLifecycleChanged(Activity activity, Stage stage) { in onActivityLifecycleChanged()
60 final Activity activity = activityCallback.first; in pendingCallbacks() local
DActivityLifecycleKeyguardTests.java28 final Activity activity = mFirstActivityTestRule.launchActivity(new Intent()); in testSingleLaunch() local
/cts/tests/tests/preference2/src/android/preference2/cts/
DTestUtils.java159 void enterMultiWindow(Activity activity) { in enterMultiWindow()
169 void leaveMultiWindow(Activity activity) { in leaveMultiWindow()
179 private int getActivityTaskId(Activity activity) throws IOException { in getActivityTaskId()
198 private String getWindowName(Activity activity) { in getWindowName()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPrintingPolicyTest.java30 final PrintActivity activity = launchActivity("com.android.cts.deviceandprofileowner", in testPrintingPolicy() local
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DNativeMediaTest.java68 final NativeMediaActivity activity = getActivity(); in runPlayTest() local
92 private void waitForNativeMediaLifeCycle(NativeMediaActivity activity, boolean expectAlive) in waitForNativeMediaLifeCycle()
/cts/tools/cts-holo-generation/src/com/android/cts/holo_capture/
DCaptureHolo.java30 CaptureActivity activity = getActivity(); in testCaptureHolo() local
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerSurfaceTest.java38 MediaPlayerSurfaceStubActivity activity = launchActivity("android.media.cts", in testSetSurface() local
/cts/tests/fragment/sdk26/src/android/fragment/cts/sdk26/
DFragmentManagerNonConfigTest.java49 final NonConfigOnStopActivity activity = mActivityRule.getActivity(); in nonConfigStop() local

123456