Home
last modified time | relevance | path

Searched refs:newActivity (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/text/src/android/text/style/cts/
DURLSpanTest.java81 Activity newActivity = am.waitForActivityWithTimeout(5000); in testOnClick() local
82 assertNotNull(newActivity); in testOnClick()
83 newActivity.finish(); in testOnClick()
/cts/tests/tests/widget/src/android/widget/cts/
DTabHost_TabSpecTest.java195 Activity newActivity = am.waitForActivityWithTimeout(5000); in testSetContent3() local
196 assertNotNull(newActivity); in testSetContent3()
197 newActivity.finish(); in testSetContent3()
DRemoteViewsTest.java560 Activity newActivity = am.waitForActivityWithTimeout(TEST_TIMEOUT); in testSetOnClickPendingIntent() local
561 assertNull(newActivity); in testSetOnClickPendingIntent()
568 newActivity = am.waitForActivityWithTimeout(TEST_TIMEOUT); in testSetOnClickPendingIntent()
569 assertNotNull(newActivity); in testSetOnClickPendingIntent()
570 newActivity.finish(); in testSetOnClickPendingIntent()
DTextViewTest.java863 Activity newActivity = am.waitForActivityWithTimeout(TIMEOUT); in testAccessFreezesText() local
864 assertNotNull(newActivity); in testAccessFreezesText()
865 newActivity.finish(); in testAccessFreezesText()
893 Activity oldActivity = newActivity; in testAccessFreezesText()
895 newActivity = am.waitForActivityWithTimeout(TIMEOUT); in testAccessFreezesText()
896 assertNotNull(newActivity); in testAccessFreezesText()
897 if (newActivity != oldActivity) { in testAccessFreezesText()
901 newActivity.finish(); in testAccessFreezesText()
/cts/tests/tests/app/src/android/app/cts/
DTabActivityTest.java94 mChildActivity = mInstrumentation.newActivity(MockTabActivity.class, mInstrumentation in testChildTitleCallback()
DInstrumentationTest.java382 Activity activity = mInstrumentation.newActivity(cl, InstrumentationTestActivity.class in testNewActivity()
395 .newActivity(InstrumentationTestActivity.class, mContext, null, null, intent, info, in testNewActivity()