Home
last modified time | relevance | path

Searched refs:sActivity (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanPreTransformTest.java98 private static VulkanPreTransformCtsActivity sActivity = null; field in VulkanPreTransformTest
122 sActivity = mActivityRule.launchActivity(null); in testVulkanPreTransformSetToMatchCurrentTransform()
123 sActivity.testVulkanPreTransform(true); in testVulkanPreTransformSetToMatchCurrentTransform()
124 sActivity.finish(); in testVulkanPreTransformSetToMatchCurrentTransform()
125 sActivity = null; in testVulkanPreTransformSetToMatchCurrentTransform()
136 sActivity = mActivityRule.launchActivity(null); in testVulkanPreTransformNotSetToMatchCurrentTransform()
137 sActivity.testVulkanPreTransform(false); in testVulkanPreTransformNotSetToMatchCurrentTransform()
138 sActivity.finish(); in testVulkanPreTransformNotSetToMatchCurrentTransform()
139 sActivity = null; in testVulkanPreTransformNotSetToMatchCurrentTransform()
147 assertNotNull("sActivity should not be null", sActivity); in takeScreenshot()
[all …]
/cts/tests/fragment/src/android/fragment/cts/
DRecreatedActivity.java30 public static RecreatedActivity sActivity; field in RecreatedActivity
36 sActivity = null; in clearState()
44 sActivity = this; in onCreate()
DLoaderTest.java80 WeakReference<LoaderActivity> weakActivity = new WeakReference(LoaderActivity.sActivity); in testLeak()
DFragmentTestUtil.java236 T newActivity = (T) RecreatedActivity.sActivity; in recreateActivity()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java61 private static DrawActivity sActivity; field in ActivityTestBase
78 if (sActivity == null) { in getActivity()
86 sActivity = (DrawActivity) instrumentation.startActivitySync(intent); in getActivity()
88 return sActivity; in getActivity()
101 if (sActivity != null) { in tearDownClass()
103 sActivity.allTestsFinished(); in tearDownClass()
104 sActivity = null; in tearDownClass()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java61 private static DrawActivity sActivity; field in ActivityTestBase
78 if (sActivity == null) { in getActivity()
86 sActivity = (DrawActivity) instrumentation.startActivitySync(intent); in getActivity()
88 return sActivity; in getActivity()
101 if (sActivity != null) { in tearDownClass()
103 sActivity.allTestsFinished(); in tearDownClass()
104 sActivity = null; in tearDownClass()
/cts/tests/fragment/sdk26/src/android/fragment/cts/sdk26/
DNonConfigOnStopActivity.java26 static NonConfigOnStopActivity sActivity; field in NonConfigOnStopActivity
33 sActivity = this; in onCreate()
DFragmentManagerNonConfigTest.java57 final NonConfigOnStopActivity recreatedActivity = NonConfigOnStopActivity.sActivity; in nonConfigStop()