Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/style/cts/
DURLSpanTest.java98 Activity newActivity = am.waitForActivityWithTimeout(5000); in testOnClick() local
99 assertNotNull(newActivity); in testOnClick()
100 newActivity.finish(); in testOnClick()
/cts/tests/tests/widget/src/android/widget/cts/
DTabHost_TabSpecTest.java219 Activity newActivity = am.waitForActivityWithTimeout(5000); in testSetContent3() local
220 assertNotNull(newActivity); in testSetContent3()
221 newActivity.finish(); in testSetContent3()
DRemoteViewsTest.java528 Activity newActivity = am.waitForActivityWithTimeout(TEST_TIMEOUT); in testApplyWithDrawInstructions() local
529 assertNull(newActivity); in testApplyWithDrawInstructions()
1285 Activity newActivity = am.waitForActivityWithTimeout(TEST_TIMEOUT); in testSetOnClickPendingIntent() local
1286 assertNull(newActivity); in testSetOnClickPendingIntent()
1294 newActivity = am.waitForActivityWithTimeout(TEST_TIMEOUT); in testSetOnClickPendingIntent()
1295 assertNotNull(newActivity); in testSetOnClickPendingIntent()
1296 assertTrue(newActivity instanceof MockURLSpanTestActivity); in testSetOnClickPendingIntent()
1297 newActivity.finish(); in testSetOnClickPendingIntent()
1316 Activity newActivity = am.waitForActivityWithTimeout(TEST_TIMEOUT); in testSetOnStylusHandwritingPendingIntent() local
1317 assertNotNull(newActivity); in testSetOnStylusHandwritingPendingIntent()
[all …]
DTextViewTest.java1412 Activity newActivity = am.waitForActivityWithTimeout(TIMEOUT); in testAccessFreezesText() local
1413 assertNotNull(newActivity); in testAccessFreezesText()
1414 newActivity.finish(); in testAccessFreezesText()
1436 Activity oldActivity = newActivity; in testAccessFreezesText()
1438 newActivity = am.waitForActivityWithTimeout(TIMEOUT); in testAccessFreezesText()
1439 assertNotNull(newActivity); in testAccessFreezesText()
1440 if (newActivity != oldActivity) { in testAccessFreezesText()
1444 newActivity.finish(); in testAccessFreezesText()
/cts/tests/fragment/src/android/fragment/cts/
DFragmentTestUtil.java236 T newActivity = (T) FragmentTestActivity.sActivity; in recreateActivity() local
241 return newActivity; in recreateActivity()
/cts/tests/app/src/android/app/cts/
DTabActivityTest.java94 mChildActivity = mInstrumentation.newActivity(MockTabActivity.class, mInstrumentation in testChildTitleCallback()
DInstrumentationTest.java512 Activity activity = mInstrumentation.newActivity(cl, InstrumentationTestActivity.class in testNewActivity()
525 .newActivity(InstrumentationTestActivity.class, mContext, null, null, intent, info, in testNewActivity()
/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/
DResourcesLoaderValuesTest.kt707 val newActivity = activityThread.getActivity(token) in <lambda>() constant
711 assertEquals(valueOne, getValue(newActivity)) in <lambda>()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt6127 …method public android.app.Activity newActivity(Class<?>, android.content.Context, android.os.IBind…
6128 …method public android.app.Activity newActivity(ClassLoader, String, android.content.Intent) throws…