Searched refs:newActivity (Results 1 – 6 of 6) sorted by relevance
81 Activity newActivity = am.waitForActivityWithTimeout(5000); in testOnClick() local82 assertNotNull(newActivity); in testOnClick()83 newActivity.finish(); in testOnClick()
195 Activity newActivity = am.waitForActivityWithTimeout(5000); in testSetContent3() local196 assertNotNull(newActivity); in testSetContent3()197 newActivity.finish(); in testSetContent3()
560 Activity newActivity = am.waitForActivityWithTimeout(TEST_TIMEOUT); in testSetOnClickPendingIntent() local561 assertNull(newActivity); in testSetOnClickPendingIntent()568 newActivity = am.waitForActivityWithTimeout(TEST_TIMEOUT); in testSetOnClickPendingIntent()569 assertNotNull(newActivity); in testSetOnClickPendingIntent()570 newActivity.finish(); in testSetOnClickPendingIntent()
863 Activity newActivity = am.waitForActivityWithTimeout(TIMEOUT); in testAccessFreezesText() local864 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()
94 mChildActivity = mInstrumentation.newActivity(MockTabActivity.class, mInstrumentation in testChildTitleCallback()
382 Activity activity = mInstrumentation.newActivity(cl, InstrumentationTestActivity.class in testNewActivity()395 .newActivity(InstrumentationTestActivity.class, mContext, null, null, intent, info, in testNewActivity()