/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
D | BackgroundManagerTest.java | 50 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 …]
|
D | TestActivity.java | 31 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/ |
D | README | 12 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/ |
D | EmojiEditTextTest.java | 36 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/ |
D | SettingsDrawerActivityTest.java | 41 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/ |
D | EmojiKeyboardTest.java | 54 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()
|
D | EmojiSpanInstrumentationTest.java | 52 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/ |
D | ActivityTest.kt | 31 @get:Rule val activityRule = ActivityTestRule<TestActivity>(TestActivity::class.java) 67 class TestActivity : Activity() { class
|
D | ActivityNavigatorDestinationBuilderTest.kt | 51 activityClass = TestActivity::class in activityClass() 57 TestActivity::class.java.name, in activityClass()
|
/frameworks/support/fragment/ktx/src/androidTest/java/androidx/fragment/app/ |
D | FragmentManagerTest.kt | 12 @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/ |
D | FragmentTest.kt | 32 @get:Rule val activityRule = ActivityTestRule<TestActivity>(TestActivity::class.java) 63 class TestActivity : FragmentActivity() class
|
D | FragmentNavigatorDestinationBuilderTest.kt | 37 val activityRule = ActivityTestRule<TestActivity>(TestActivity::class.java)
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | ImageCardViewTest.java | 36 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/ |
D | PostMessageServiceConnectionTest.java | 48 public final ActivityTestRule<TestActivity> mActivityTestRule; 56 mActivityTestRule = new ActivityTestRule<TestActivity>(TestActivity.class); in PostMessageServiceConnectionTest()
|
D | PostMessageTest.java | 53 public final ActivityTestRule<TestActivity> mActivityTestRule; 63 mActivityTestRule = new ActivityTestRule<TestActivity>(TestActivity.class); in PostMessageTest()
|
D | TrustedWebUtilsTest.java | 43 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/ |
D | VisibilityLoggerMixinTest.java | 116 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/ |
D | TransitionTest.kt | 28 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/ |
D | TestActivity.java | 22 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/ |
D | DataBindingTestRule.java | 29 extends ActivityTestRule<TestActivity> { 33 super(TestActivity.class); in DataBindingTestRule()
|
D | LeakTest.java | 24 public class LeakTest extends ActivityInstrumentationTestCase2<TestActivity> { 28 super(TestActivity.class); in LeakTest()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/ |
D | LifecycleTest.java | 71 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/ |
D | ShortcutInfoCompatTest.java | 38 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/ |
D | BrowserActionsFallbackMenuUiTest.java | 33 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/ |
D | ActivityCompatTest.java | 42 public class ActivityCompatTest extends BaseInstrumentationTestCase<TestActivity> { 45 super(TestActivity.class); in ActivityCompatTest()
|