Home
last modified time | relevance | path

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

12

/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DBackgroundManagerTest.java49 public TestActivity.TestActivityTestRule mRule;
55 void waitForActivityStop(final TestActivity activity) { in waitForActivityStop()
151 TestActivity launchActivity(String name, final TestActivity.Provider provider2) in launchActivity()
154 TestActivity.setProvider(providerName2, provider2); in launchActivity()
158 Intent intent = new Intent(mRule.getActivity(), TestActivity.class); in launchActivity()
159 intent.putExtra(TestActivity.EXTRA_PROVIDER, providerName2); in launchActivity()
248 TestActivity.Provider provider1 = new TestActivity.Provider() { in establishInOnAttachToWindow()
250 public void onAttachedToWindow(TestActivity activity) { in establishInOnAttachToWindow()
255 public void onStart(TestActivity activity) { in establishInOnAttachToWindow()
259 mRule = new TestActivity.TestActivityTestRule(provider1, generateProviderName("activity1")); in establishInOnAttachToWindow()
[all …]
DTestActivity.java30 public class TestActivity extends Activity { class
34 TestActivity mActivity;
39 public TestActivity getActivity() { in getActivity()
44 public void onCreate(TestActivity activity, Bundle savedInstanceState) { in onCreate()
48 public void onAttachedToWindow(TestActivity activity) { in onAttachedToWindow()
51 public void onStart(TestActivity activity) { in onStart()
54 public void onStop(TestActivity activity) { in onStop()
57 public void onPause(TestActivity activity) { in onPause()
60 public void onResume(TestActivity activity) { in onResume()
63 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/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawer/
DSettingsDrawerActivityTest.java43 public ActivityTestRule<TestActivity> mActivityRule =
44 new ActivityTestRule<>(TestActivity.class, true, true);
55 TestActivity.class)); in startActivityWithNoExtra_showNoNavUp()
64 Intent intent = new Intent(instrumentation.getTargetContext(), TestActivity.class) in startActivityWithExtraToHideMenu_showNavUp()
65 .putExtra(TestActivity.EXTRA_SHOW_MENU, false); in startActivityWithExtraToHideMenu_showNavUp()
75 Intent intent = new Intent(instrumentation.getTargetContext(), TestActivity.class) in startActivityWithExtraToShowMenu_showNavUp()
76 .putExtra(TestActivity.EXTRA_SHOW_MENU, true); in startActivityWithExtraToShowMenu_showNavUp()
89 public static class TestActivity extends SettingsDrawerActivity {} class in SettingsDrawerActivityTest
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/recyclerview/test/
DSameActivityTestRule.java19 import android.support.v7.widget.TestActivity;
27 public class SameActivityTestRule extends ActivityTestRule<TestActivity> {
28 static TestActivity sTestActivity;
30 super(TestActivity.class, false, false); in SameActivityTestRule()
43 public TestActivity getActivity() { in getActivity()
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/widget/
DEmojiEditTextTest.java34 import android.support.text.emoji.TestActivity;
50 public ActivityTestRule<TestActivity> mActivityRule = new ActivityTestRule<>(
51 TestActivity.class);
66 final TestActivity activity = mActivityRule.getActivity(); in testInflateWithMaxEmojiCount()
88 final TestActivity activity = mActivityRule.getActivity(); in testSetMaxCount()
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/
DEmojiKeyboardTest.java53 public ActivityTestRule<TestActivity> mActivityRule = new ActivityTestRule<>(
54 TestActivity.class);
69 TestActivity activity = mActivityRule.getActivity(); in testAppendWithSoftKeyboard()
86 TestActivity activity = mActivityRule.getActivity(); in testBackDeleteWithSoftKeyboard()
108 TestActivity activity = mActivityRule.getActivity(); in testForwardDeleteWithSoftKeyboard()
131 TestActivity activity = mActivityRule.getActivity(); in testBackDeleteWithHardwareKeyboard()
160 TestActivity activity = mActivityRule.getActivity(); in testForwardDeleteWithHardwareKeyboard()
DEmojiSpanInstrumentationTest.java54 public ActivityTestRule<TestActivity> mActivityRule = new ActivityTestRule<>(
55 TestActivity.class);
70 final TestActivity activity = mActivityRule.getActivity(); in testGetSize_withRelativeSizeSpan()
DTestActivity.java22 public class TestActivity extends Activity { class
/frameworks/support/customtabs/tests/src/android/support/customtabs/
DPostMessageServiceConnectionTest.java47 public final ActivityTestRule<TestActivity> mActivityTestRule;
55 mActivityTestRule = new ActivityTestRule<TestActivity>(TestActivity.class); in PostMessageServiceConnectionTest()
DPostMessageTest.java55 public final ActivityTestRule<TestActivity> mActivityTestRule;
65 mActivityTestRule = new ActivityTestRule<TestActivity>(TestActivity.class); in PostMessageTest()
DTestActivity.java28 public class TestActivity extends Activity { class
/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()
DDataBindingUtilTest.java28 extends ActivityInstrumentationTestCase2<TestActivity> {
31 super(TestActivity.class); in DataBindingUtilTest()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DTestActivity.java29 public class TestActivity extends Activity { class
63 mContainer = new TestedFrameLayout(TestActivity.this); in resetContent()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DThreadUtilTest.java29 import android.support.v7.widget.TestActivity;
45 public ActivityTestRule<TestActivity> mActivityRule =
46 new ActivityTestRule<>(TestActivity.class);
DAsyncListUtilTest.java26 import android.support.v7.widget.TestActivity;
45 public ActivityTestRule<TestActivity> mActivityRule =
46 new ActivityTestRule<>(TestActivity.class);
/frameworks/base/core/tests/coretests/apks/install_bad_dex/src/com/android/frameworks/coretests/
DTestActivity.java22 public class TestActivity extends Activity { class
/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/
DTestActivity.java22 public class TestActivity extends Activity { class
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
DBaseDataBinderTest.java29 extends ActivityInstrumentationTestCase2<TestActivity> {
39 super(TestActivity.class); in BaseDataBinderTest()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/
DTestActivity.java23 public class TestActivity extends Activity { class
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
DTestActivity.java23 public class TestActivity extends Activity { class
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
DTestActivity.java23 public class TestActivity extends Activity { class
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DTestActivity.java36 public abstract class TestActivity extends ListActivity class

12