Home
last modified time | relevance | path

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

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTestAppInterface.java126 final Intent testActivity = new Intent(); in startAndKeepTestActivity() local
127 testActivity.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startAndKeepTestActivity()
129 testActivity.setComponent(testComponentName); in startAndKeepTestActivity()
130 mContext.startActivity(testActivity); in startAndKeepTestActivity()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DNavigationBarInfo.java152 final TestActivity testActivity = TestActivity.startSync(activity -> { in getBottomNavigationBarBitmapForActivity() local
173 final TextView textView = new TextView(testActivity); in getBottomNavigationBarBitmapForActivity()
175 final AlertDialog alertDialog = new AlertDialog.Builder(testActivity) in getBottomNavigationBarBitmapForActivity()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DSuspendTestUtils.java165 final Intent testActivity = new Intent() in startTestAppActivity() local
170 testActivity.putExtras(extras); in startTestAppActivity()
172 getContext().startActivity(testActivity); in startTestAppActivity()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileCrossProfileTest.java548 final String testActivity = "android.app.Activity"; in launchAllTestAppsForUser() local
549 startActivityAsUser(userId, TEST_APP_1_PKG, testActivity); in launchAllTestAppsForUser()
550 startActivityAsUser(userId, TEST_APP_2_PKG, testActivity); in launchAllTestAppsForUser()
551 startActivityAsUser(userId, TEST_APP_3_PKG, testActivity); in launchAllTestAppsForUser()
552 startActivityAsUser(userId, TEST_APP_4_PKG, testActivity); in launchAllTestAppsForUser()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DKeyboardVisibilityControlTest.java395 final TestActivity testActivity = TestActivity.startSync(activity -> {
405 final EditText editText = new EditText(testActivity);
409 final AlertDialog dialog = new AlertDialog.Builder(testActivity)
457 TestUtils.waitOnMainUntil(() -> testActivity.hasWindowFocus(), TIMEOUT);
501 final TestActivity testActivity =
509 final EditText editText = new EditText(testActivity);
513 final AlertDialog dialog = new AlertDialog.Builder(testActivity)
722 final TestActivity testActivity =
753 () -> testActivity.getWindow().getDecorView().getVisibility() == VISIBLE
754 && testActivity.getWindow().getDecorView().hasWindowFocus(), TIMEOUT);
DFocusHandlingTest.java175 final TestActivity testActivity = TestActivity.startSync(activity -> { in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() local
194 if (testActivity.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.P) { in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView()
593 final TestActivity testActivity = TestActivity.startSync(activity-> { in testKeyboardStateAfterImeFocusableFlagChanged() local
618 testActivity.getWindow().getDecorView().post(() -> { in testKeyboardStateAfterImeFocusableFlagChanged()
619 final WindowManager.LayoutParams params = testActivity.getWindow().getAttributes(); in testKeyboardStateAfterImeFocusableFlagChanged()
620 testActivity.getWindow().clearFlags(FLAG_ALT_FOCUSABLE_IM); in testKeyboardStateAfterImeFocusableFlagChanged()
626 testActivity.getWindow().getAttributes().flags), TIMEOUT); in testKeyboardStateAfterImeFocusableFlagChanged()
DInputMethodServiceTest.java176 final TestActivity testActivity = createTestActivity(SOFT_INPUT_STATE_ALWAYS_VISIBLE);
182 testActivity.setIgnoreBackKey(true);
184 (long) getOnMainSync(() -> testActivity.getOnBackPressedCallCount()));
191 waitOnMainUntil(() -> testActivity.getOnBackPressedCallCount() > 0,
/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/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/
DAppComponentFactoryTest.java71 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/app/src/android/app/cts/
DAttributionTagsTest.java62 public void testActivity() throws Exception { in testActivity() method in AttributionTagsTest
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleTests.java730 final Activity testActivity = new Launcher(FirstActivity.class) in testRestoreFromKill() local
733 final boolean isTranslucent = isTranslucent(testActivity); in testRestoreFromKill()