/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TestAppInterface.java | 126 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/ |
D | NavigationBarInfo.java | 152 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/ |
D | SuspendTestUtils.java | 165 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/ |
D | ManagedProfileCrossProfileTest.java | 548 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/ |
D | KeyboardVisibilityControlTest.java | 395 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);
|
D | FocusHandlingTest.java | 175 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()
|
D | InputMethodServiceTest.java | 176 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/ |
D | BatteryStatsProcessStateTests.java | 43 public void testActivity() throws Exception { in testActivity() method in BatteryStatsProcessStateTests
|
/cts/tests/tests/appcomponentfactory/src/android/app/componentfactory/cts/ |
D | AppComponentFactoryTest.java | 40 public void testActivity() { in testActivity() method in AppComponentFactoryTest
|
/cts/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/ |
D | AppComponentFactoryTest.java | 71 public void testActivity() { in testActivity() method in AppComponentFactoryTest
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/forcestop/ |
D | RecentTaskRemovalTestActivity.java | 131 final Intent testActivity = new Intent() in onClick() local 136 startActivity(testActivity); in onClick()
|
/cts/tests/app/src/android/app/cts/ |
D | AttributionTagsTest.java | 62 public void testActivity() throws Exception { in testActivity() method in AttributionTagsTest
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityLifecycleTests.java | 730 final Activity testActivity = new Launcher(FirstActivity.class) in testRestoreFromKill() local 733 final boolean isTranslucent = isTranslucent(testActivity); in testRestoreFromKill()
|