Home
last modified time | relevance | path

Searched refs:testActivity (Results 1 – 9 of 9) sorted by relevance

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTestAppInterface.java80 final Intent testActivity = new Intent(); in startAndKeepTestActivity() local
81 testActivity.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startAndKeepTestActivity()
82 testActivity.setComponent(new ComponentName(TEST_APP_PACKAGE, TEST_APP_ACTIVITY)); in startAndKeepTestActivity()
83 mContext.startActivity(testActivity); in startAndKeepTestActivity()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DNavigationBarInfo.java154 final TestActivity testActivity = TestActivity.startSync(activity -> { in getBottomNavigationBarBitmapForActivity() local
175 final TextView textView = new TextView(testActivity); in getBottomNavigationBarBitmapForActivity()
177 final AlertDialog alertDialog = new AlertDialog.Builder(testActivity) in getBottomNavigationBarBitmapForActivity()
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleSplitScreenTests.java336 final Activity testActivity = in testLifecycleOnMoveToFromSplitScreenRelaunch() local
340 waitAndAssertActivityStates(state(testActivity, ON_TOP_POSITION_GAINED)); in testLifecycleOnMoveToFromSplitScreenRelaunch()
383 final Activity testActivity = in testLifecycleOnMoveToFromSplitScreenNoRelaunch() local
387 waitAndAssertActivityStates(state(testActivity, ON_TOP_POSITION_GAINED)); in testLifecycleOnMoveToFromSplitScreenNoRelaunch()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodServiceTest.java126 final TestActivity testActivity = createTestActivity(SOFT_INPUT_STATE_ALWAYS_VISIBLE);
132 testActivity.setIgnoreBackKey(true);
134 (long) getOnMainSync(() -> testActivity.getOnBackPressedCallCount()));
141 waitOnMainUntil(() -> testActivity.getOnBackPressedCallCount() > 0,
DFocusHandlingTest.java137 final TestActivity testActivity = TestActivity.startSync(activity -> { in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() local
156 if (testActivity.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.P) { in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsProcessStateTests.java43 public void testActivity() throws Exception { in testActivity() method in BatteryStatsProcessStateTests
/cts/tests/tests/appcomponentfactory/src/android/app/componentfactory/cts/
DAppComponentFactoryTest.java40 public void testActivity() { in testActivity() method in AppComponentFactoryTest
/cts/apps/CtsVerifier/src/com/android/cts/verifier/forcestop/
DRecentTaskRemovalTestActivity.java131 final Intent testActivity = new Intent() in onClick() local
136 startActivity(testActivity); in onClick()
/cts/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/
DAppComponentFactoryTest.java71 public void testActivity() { in testActivity() method in AppComponentFactoryTest