Searched refs:newActivity (Results 1 – 7 of 7) sorted by relevance
90 Activity newActivity = am.waitForActivityWithTimeout(5000); in testOnClick() local91 assertNotNull(newActivity); in testOnClick()92 newActivity.finish(); in testOnClick()
210 Activity newActivity = am.waitForActivityWithTimeout(5000); in testSetContent3() local211 assertNotNull(newActivity); in testSetContent3()212 newActivity.finish(); in testSetContent3()
695 Activity newActivity = am.waitForActivityWithTimeout(TEST_TIMEOUT); in testSetOnClickPendingIntent() local696 assertNull(newActivity); in testSetOnClickPendingIntent()703 newActivity = am.waitForActivityWithTimeout(TEST_TIMEOUT); in testSetOnClickPendingIntent()704 assertNotNull(newActivity); in testSetOnClickPendingIntent()705 assertTrue(newActivity instanceof MockURLSpanTestActivity); in testSetOnClickPendingIntent()706 newActivity.finish(); in testSetOnClickPendingIntent()
1231 Activity newActivity = am.waitForActivityWithTimeout(TIMEOUT); in testAccessFreezesText() local1232 assertNotNull(newActivity); in testAccessFreezesText()1233 newActivity.finish(); in testAccessFreezesText()1255 Activity oldActivity = newActivity; in testAccessFreezesText()1257 newActivity = am.waitForActivityWithTimeout(TIMEOUT); in testAccessFreezesText()1258 assertNotNull(newActivity); in testAccessFreezesText()1259 if (newActivity != oldActivity) { in testAccessFreezesText()1263 newActivity.finish(); in testAccessFreezesText()
236 T newActivity = (T) RecreatedActivity.sActivity; in recreateActivity() local241 return newActivity; in recreateActivity()
94 mChildActivity = mInstrumentation.newActivity(MockTabActivity.class, mInstrumentation in testChildTitleCallback()
428 Activity activity = mInstrumentation.newActivity(cl, InstrumentationTestActivity.class in testNewActivity()441 .newActivity(InstrumentationTestActivity.class, mContext, null, null, intent, info, in testNewActivity()