Home
last modified time | relevance | path

Searched refs:TestActivity (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
DBackgroundManagerTest.java50 public TestActivity.TestActivityTestRule mRule;
56 void waitForActivityStop(final TestActivity activity) { in waitForActivityStop()
152 TestActivity launchActivity(String name, final TestActivity.Provider provider2) in launchActivity()
155 TestActivity.setProvider(providerName2, provider2); in launchActivity()
159 Intent intent = new Intent(mRule.getActivity(), TestActivity.class); in launchActivity()
160 intent.putExtra(TestActivity.EXTRA_PROVIDER, providerName2); in launchActivity()
249 TestActivity.Provider provider1 = new TestActivity.Provider() { in establishInOnAttachToWindow()
251 public void onAttachedToWindow(TestActivity activity) { in establishInOnAttachToWindow()
256 public void onStart(TestActivity activity) { in establishInOnAttachToWindow()
260 mRule = new TestActivity.TestActivityTestRule(provider1, generateProviderName("activity1")); in establishInOnAttachToWindow()
[all …]
DTestActivity.java31 public class TestActivity extends Activity { class
35 TestActivity mActivity;
40 public TestActivity getActivity() { in getActivity()
45 public void onCreate(TestActivity activity, Bundle savedInstanceState) { in onCreate()
49 public void onAttachedToWindow(TestActivity activity) { in onAttachedToWindow()
52 public void onStart(TestActivity activity) { in onStart()
55 public void onStop(TestActivity activity) { in onStop()
58 public void onPause(TestActivity activity) { in onPause()
61 public void onResume(TestActivity activity) { in onResume()
64 public void onDestroy(TestActivity activity) { in onDestroy()
[all …]
/frameworks/native/opengl/tests/testPauseResume/
DREADME12 W/TestActivity( 1885): ****** step 235 resume
13 W/TestActivity( 1885): step 236 pause
14 W/TestActivity( 1885): ****** step 236 resume
20 W/TestActivity( 1466): ****** step 25 resume
21 W/TestActivity( 1466): step 26 pause
22 W/TestActivity( 1466): ****** step 26 resume
31 W/TestActivity( 1466): step 27 pause
32 W/TestActivity( 1466): ****** step 27 resume
33 W/TestActivity( 1466): step 28 pause
34 W/TestActivity( 1466): ****** step 28 resume
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/widget/
DEmojiEditTextTest.java36 import androidx.emoji.text.TestActivity;
51 public ActivityTestRule<TestActivity> mActivityRule = new ActivityTestRule<>(
52 TestActivity.class);
67 final TestActivity activity = mActivityRule.getActivity(); in testInflateWithMaxEmojiCount()
88 final TestActivity activity = mActivityRule.getActivity(); in testSetKeyListener_withNull()
97 final TestActivity activity = mActivityRule.getActivity(); in testSetMaxCount()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawer/
DSettingsDrawerActivityTest.java41 public ActivityTestRule<TestActivity> mActivityRule =
42 new ActivityTestRule<>(TestActivity.class, true, true);
52 final Intent intent = new Intent(instrumentation.getTargetContext(), TestActivity.class) in startActivity_doNotShowNavUp()
66 public static class TestActivity extends SettingsDrawerActivity { class in SettingsDrawerActivityTest
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/
DEmojiKeyboardTest.java54 public ActivityTestRule<TestActivity> mActivityRule = new ActivityTestRule<>(
55 TestActivity.class);
70 TestActivity activity = mActivityRule.getActivity(); in testAppendWithSoftKeyboard()
87 TestActivity activity = mActivityRule.getActivity(); in testBackDeleteWithSoftKeyboard()
109 TestActivity activity = mActivityRule.getActivity(); in testForwardDeleteWithSoftKeyboard()
132 TestActivity activity = mActivityRule.getActivity(); in testBackDeleteWithHardwareKeyboard()
161 TestActivity activity = mActivityRule.getActivity(); in testForwardDeleteWithHardwareKeyboard()
DEmojiSpanInstrumentationTest.java52 public ActivityTestRule<TestActivity> mActivityRule = new ActivityTestRule<>(
53 TestActivity.class);
68 final TestActivity activity = mActivityRule.getActivity(); in testGetSize_withRelativeSizeSpan()
/frameworks/support/navigation/runtime/ktx/src/androidTest/java/androidx/navigation/
DActivityTest.kt31 @get:Rule val activityRule = ActivityTestRule<TestActivity>(TestActivity::class.java)
67 class TestActivity : Activity() { class
DActivityNavigatorDestinationBuilderTest.kt51 activityClass = TestActivity::class in activityClass()
57 TestActivity::class.java.name, in activityClass()
/frameworks/support/fragment/ktx/src/androidTest/java/androidx/fragment/app/
DFragmentManagerTest.kt12 @get:Rule val activityRule = ActivityTestRule<TestActivity>(TestActivity::class.java)
58 class TestActivity : FragmentActivity() class
/frameworks/support/navigation/fragment/ktx/src/androidTest/java/androidx/navigation/fragment/
DFragmentTest.kt32 @get:Rule val activityRule = ActivityTestRule<TestActivity>(TestActivity::class.java)
63 class TestActivity : FragmentActivity() class
DFragmentNavigatorDestinationBuilderTest.kt37 val activityRule = ActivityTestRule<TestActivity>(TestActivity::class.java)
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DImageCardViewTest.java36 import androidx.leanback.app.TestActivity;
63 private TestActivity.TestActivityTestRule mRule;
137 TestActivity.Provider imageCardViewProvider = new TestActivity.Provider() { in setUp()
139 public void onCreate(TestActivity activity, Bundle savedInstanceState) { in setUp()
162 mRule = new TestActivity.TestActivityTestRule(imageCardViewProvider, generateProviderName( in setUp()
164 final TestActivity imageCardViewTestActivity = mRule.launchActivity(); in setUp()
/frameworks/support/browser/src/androidTest/java/androidx/browser/customtabs/
DPostMessageServiceConnectionTest.java48 public final ActivityTestRule<TestActivity> mActivityTestRule;
56 mActivityTestRule = new ActivityTestRule<TestActivity>(TestActivity.class); in PostMessageServiceConnectionTest()
DPostMessageTest.java53 public final ActivityTestRule<TestActivity> mActivityTestRule;
63 mActivityTestRule = new ActivityTestRule<TestActivity>(TestActivity.class); in PostMessageTest()
DTrustedWebUtilsTest.java43 public final ActivityTestRule<TestActivity> mActivityTestRule;
46 mActivityTestRule = new ActivityTestRule<>(TestActivity.class); in TrustedWebUtilsTest()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/
DVisibilityLoggerMixinTest.java116 ActivityController<TestActivity> ac = Robolectric.buildActivity(TestActivity.class); in activityShouldBecomeVisibleAndHide()
117 TestActivity testActivity = ac.get(); in activityShouldBecomeVisibleAndHide()
125 public static class TestActivity extends FragmentActivity { class in VisibilityLoggerMixinTest
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/transition/
DTransitionTest.kt28 import androidx.core.TestActivity
40 @JvmField @Rule val rule = ActivityTestRule<TestActivity>(TestActivity::class.java)
/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
DTestActivity.java22 public class TestActivity extends Activity { class
23 private static final String TAG = TestActivity.class.getSimpleName();
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DDataBindingTestRule.java29 extends ActivityTestRule<TestActivity> {
33 super(TestActivity.class); in DataBindingTestRule()
DLeakTest.java24 public class LeakTest extends ActivityInstrumentationTestCase2<TestActivity> {
28 super(TestActivity.class); in LeakTest()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/
DLifecycleTest.java71 public static class TestActivity extends ObservableActivity { class in LifecycleTest
75 public TestActivity() { in TestActivity() method in LifecycleTest.TestActivity
153 ActivityController<TestActivity> ac = Robolectric.buildActivity(TestActivity.class); in runThroughActivityLifecycles_shouldObserveEverything()
154 TestActivity activity = ac.get(); in runThroughActivityLifecycles_shouldObserveEverything()
/frameworks/support/compat/src/androidTest/java/androidx/core/content/pm/
DShortcutInfoCompatTest.java38 import androidx.core.app.TestActivity;
70 mBuilder.setActivity(new ComponentName(mContext, TestActivity.class)) in testAddToIntent_noBadge()
82 mBuilder.setActivity(new ComponentName(mContext, TestActivity.class)) in testAddToIntent_badgeActivity()
/frameworks/support/browser/src/androidTest/java/androidx/browser/browseractions/
DBrowserActionsFallbackMenuUiTest.java33 import androidx.browser.customtabs.TestActivity;
53 public final ActivityTestRule<TestActivity> mActivityTestRule =
54 new ActivityTestRule<>(TestActivity.class);
/frameworks/support/compat/src/androidTest/java/androidx/core/app/
DActivityCompatTest.java42 public class ActivityCompatTest extends BaseInstrumentationTestCase<TestActivity> {
45 super(TestActivity.class); in ActivityCompatTest()

123