Home
last modified time | relevance | path

Searched refs:RuntimeEnvironment (Results 1 – 25 of 158) sorted by relevance

1234567

/external/robolectric-shadows/shadows/playservices/src/test/java/org/robolectric/shadows/gms/
DShadowGoogleAuthUtilTest.java22 import org.robolectric.RuntimeEnvironment;
65 GoogleAuthUtil.clearToken(RuntimeEnvironment.application, "token"); in canRedirectStaticMethodToImplementation()
66 verify(mockGoogleAuthUtil, times(1)).clearToken(RuntimeEnvironment.application, "token"); in canRedirectStaticMethodToImplementation()
72 RuntimeEnvironment.application, 0, "name"); in getAccountChangeEvents_defaultReturnEmptyList()
79 assertNotNull(GoogleAuthUtil.getAccountId(RuntimeEnvironment.application, "name")); in getAccountId_defaultNotNull()
84 assertNotNull(GoogleAuthUtil.getToken(RuntimeEnvironment.application, "name", "scope")); in getToken_defaultNotNull()
85 assertNotNull(GoogleAuthUtil.getToken(RuntimeEnvironment.application, "name", "scope", in getToken_defaultNotNull()
87 assertNotNull(GoogleAuthUtil.getToken(RuntimeEnvironment.application, new Account("name", in getToken_defaultNotNull()
89 assertNotNull(GoogleAuthUtil.getToken(RuntimeEnvironment.application, new Account("name", in getToken_defaultNotNull()
91 assertNotNull(GoogleAuthUtil.getTokenWithNotification(RuntimeEnvironment.application, in getToken_defaultNotNull()
[all …]
DShadowGooglePlayServicesUtilTest.java22 import org.robolectric.RuntimeEnvironment;
66 GooglePlayServicesUtil.isGooglePlayServicesAvailable(RuntimeEnvironment.application)); in canRedirectStaticMethodToImplementation()
78 assertNotNull(GooglePlayServicesUtil.getRemoteContext(RuntimeEnvironment.application)); in getRemoteContext_defaultNotNull()
83 assertNotNull(GooglePlayServicesUtil.getRemoteResource(RuntimeEnvironment.application)); in getRemoteResource_defaultNotNull()
101 ConnectionResult.SERVICE_MISSING, RuntimeEnvironment.application, 0)); in getErrorPendingIntent()
103 ConnectionResult.SUCCESS, RuntimeEnvironment.application, 0)); in getErrorPendingIntent()
109 RuntimeEnvironment.application)); in getOpenSourceSoftwareLicenseInfo_defaultNotNull()
115 GooglePlayServicesUtil.isGooglePlayServicesAvailable(RuntimeEnvironment.application)); in isGooglePlayServicesAvailable_defaultServiceMissing()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRuntimeEnvironmentTest.java18 RuntimeEnvironment.setMainThread(Thread.currentThread()); in setMainThread_forCurrentThread()
19 assertThat(RuntimeEnvironment.getMainThread()).isSameAs(Thread.currentThread()); in setMainThread_forCurrentThread()
25 RuntimeEnvironment.setMainThread(t); in setMainThread_forNewThread()
26 assertThat(RuntimeEnvironment.getMainThread()).isSameAs(t); in setMainThread_forNewThread()
36 res.set(RuntimeEnvironment.isMainThread()); in isMainThread_forNewThread_withoutSwitch()
40 RuntimeEnvironment.setMainThread(Thread.currentThread()); in isMainThread_forNewThread_withoutSwitch()
45 assertThat(RuntimeEnvironment.isMainThread()).named("testThread").isTrue(); in isMainThread_forNewThread_withoutSwitch()
56 res.set(RuntimeEnvironment.isMainThread()); in isMainThread_forNewThread_withSwitch()
60 RuntimeEnvironment.setMainThread(t); in isMainThread_forNewThread_withSwitch()
65 assertThat(RuntimeEnvironment.isMainThread()).named("testThread").isFalse(); in isMainThread_forNewThread_withSwitch()
[all …]
DQualifiersTest.java34 assertThat(RuntimeEnvironment.getQualifiers()) in testDefaultQualifiers()
41 assertThat(RuntimeEnvironment.getQualifiers()) in testDefaultQualifiers_withoutRegion()
71 assertThat(RuntimeEnvironment.getQualifiers()).contains("fr"); in shouldGetFromMethod()
119 RuntimeEnvironment.setQualifiers("port"); in setQualifiers_updatesSystemAndAppResources()
128 RuntimeEnvironment.setQualifiers("v" + RuntimeEnvironment.getApiLevel()); in setQualifiers_allowsSameSdkVersion()
134 RuntimeEnvironment.setQualifiers("v13"); in setQualifiers_disallowsOtherSdkVersions()
144 assertThat(RuntimeEnvironment.getQualifiers()).contains("-widecg-highdr-"); in testQualifiersNewIn26()
145 assertThat(RuntimeEnvironment.getQualifiers()).contains("-vrheadset-"); in testQualifiersNewIn26()
DRobolectricTestRunnerSelfTest.java30 if (RuntimeEnvironment.useLegacyResources()) { in shouldInitializeAndBindApplicationButNotCallOnCreate()
31 assertThat(RuntimeEnvironment.getAppResourceTable()) in shouldInitializeAndBindApplicationButNotCallOnCreate()
66 assertThat(RuntimeEnvironment.getQualifiers()).contains("fr"); in internalBeforeTest_testValuesResQualifiers()
71 assertThat(RuntimeEnvironment.isMainThread()).isTrue(); in testMethod_shouldBeInvoked_onMainThread()
76 assertThat(RuntimeEnvironment.isMainThread()).isTrue(); in whenTestHarnessUsesDifferentThread_shouldStillReportAsMainThread()
108 onTerminateCalledFromMain = Boolean.valueOf(RuntimeEnvironment.isMainThread()); in onTerminate()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/internal/
DParallelUniverseTest.java30 import org.robolectric.RuntimeEnvironment;
56 assertThat(RuntimeEnvironment.getMasterScheduler()) in setUpApplicationState_configuresGlobalScheduler()
58 assertThat(RuntimeEnvironment.getMasterScheduler()) in setUpApplicationState_configuresGlobalScheduler()
71 assertThat(RuntimeEnvironment.getMasterScheduler()) in setUpApplicationState_setsBackgroundScheduler_toBeSameAsForeground_whenAdvancedScheduling()
72 .isSameAs(RuntimeEnvironment.getMasterScheduler()); in setUpApplicationState_setsBackgroundScheduler_toBeSameAsForeground_whenAdvancedScheduling()
89 RuntimeEnvironment.setMainThread(new Thread()); in setUpApplicationState_setsMainThread()
90 assertThat(RuntimeEnvironment.isMainThread()).isFalse(); in setUpApplicationState_setsMainThread()
92 assertThat(RuntimeEnvironment.isMainThread()).isTrue(); in setUpApplicationState_setsMainThread()
101 res.set(RuntimeEnvironment.isMainThread()); in setUpApplicationState_setsMainThread_onAnotherThread()
106 assertThat(RuntimeEnvironment.isMainThread()).isFalse(); in setUpApplicationState_setsMainThread_onAnotherThread()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNotification.java4 import static org.robolectric.RuntimeEnvironment.getApiLevel;
19 import org.robolectric.RuntimeEnvironment;
32 return RuntimeEnvironment.getApiLevel() >= Build.VERSION_CODES.N in getContentTitle()
38 return RuntimeEnvironment.getApiLevel() >= Build.VERSION_CODES.N in getContentText()
80 if (RuntimeEnvironment.getApiLevel() >= Build.VERSION_CODES.N) { in getBigPicture()
90 return RuntimeEnvironment.getApiLevel() >= Build.VERSION_CODES.N in isWhenShown()
101 return RuntimeEnvironment.getApiLevel() >= Build.VERSION_CODES.N in isIndeterminate()
107 return RuntimeEnvironment.getApiLevel() >= Build.VERSION_CODES.N in getMax()
113 return RuntimeEnvironment.getApiLevel() >= Build.VERSION_CODES.N in getProgress()
119 return RuntimeEnvironment.getApiLevel() >= Build.VERSION_CODES.N in usesChronometer()
[all …]
DShadowWifiInfo.java11 import org.robolectric.RuntimeEnvironment;
28 if (RuntimeEnvironment.getApiLevel() >= LOLLIPOP) { in setInetAddress()
40 if (RuntimeEnvironment.getApiLevel() >= LOLLIPOP) { in setMacAddress()
49 if (RuntimeEnvironment.getApiLevel() <= JELLY_BEAN) { in setSSID()
52 } else if (RuntimeEnvironment.getApiLevel() <= KITKAT) { in setSSID()
72 if (RuntimeEnvironment.getApiLevel() >= LOLLIPOP) { in setBSSID()
81 if (RuntimeEnvironment.getApiLevel() >= LOLLIPOP) { in setRssi()
90 if (RuntimeEnvironment.getApiLevel() >= LOLLIPOP) { in setLinkSpeed()
103 if (RuntimeEnvironment.getApiLevel() >= LOLLIPOP) { in setNetworkId()
DShadowToast.java8 import org.robolectric.RuntimeEnvironment;
46 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in show()
52 this.text = RuntimeEnvironment.application.getString(resId); in setText()
132 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in reset()
144 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in shownToastCount()
157 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in showedCustomToast()
174 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in showedToast()
191 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in getTextOfLatestToast()
208 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in getLatestToast()
DShadowSettings.java20 import org.robolectric.RuntimeEnvironment;
146 && RuntimeEnvironment.getApiLevel() >= LOLLIPOP in putInt()
147 && RuntimeEnvironment.getApiLevel() <= P) { in putInt()
167 && RuntimeEnvironment.getApiLevel() >= LOLLIPOP in getInt()
168 && RuntimeEnvironment.getApiLevel() <= P) { in getInt()
187 && RuntimeEnvironment.getApiLevel() >= LOLLIPOP in getInt()
188 && RuntimeEnvironment.getApiLevel() <= P) { in getInt()
286 RuntimeEnvironment.application.getContentResolver(), in setAirplaneMode()
290 RuntimeEnvironment.application.getContentResolver(), in setAirplaneMode()
302 RuntimeEnvironment.application.getContentResolver(), Settings.Global.WIFI_ON, isOn ? 1 : 0); in setWifiOn()
[all …]
DShadowUsbManager.java7 import static org.robolectric.RuntimeEnvironment.application;
26 import org.robolectric.RuntimeEnvironment;
59 return hasPermissionForPackage(device, RuntimeEnvironment.application.getPackageName()); in hasPermission()
71 grantPermission(device, RuntimeEnvironment.application.getPackageName()); in grantPermission()
133 revokePermission(usbDevice, RuntimeEnvironment.application.getPackageName()); in addOrUpdateUsbDevice()
141 revokePermission(usbDevice, RuntimeEnvironment.application.getPackageName()); in removeUsbDevice()
148 if (RuntimeEnvironment.getApiLevel() >= Build.VERSION_CODES.Q) { in getPorts()
164 if (RuntimeEnvironment.getApiLevel() >= Build.VERSION_CODES.Q) { in addPort()
213 RuntimeEnvironment.getTempDirectory().createIfNotExists("usb-accessory").toFile(); in openAccessory()
231 if (RuntimeEnvironment.getApiLevel() <= P) { in createUsbPortStatus()
[all …]
DShadowEnvironment.java17 import org.robolectric.RuntimeEnvironment;
61 …if (!exists(EXTERNAL_CACHE_DIR)) EXTERNAL_CACHE_DIR = RuntimeEnvironment.getTempDirectory().create… in getExternalStorageDirectory()
67 …if (!exists(EXTERNAL_FILES_DIR)) EXTERNAL_FILES_DIR = RuntimeEnvironment.getTempDirectory().create… in getExternalStoragePublicDirectory()
174 … tmpExternalFilesDirBase = RuntimeEnvironment.getTempDirectory().create("external-files-base"); in addExternalDir()
184 if (RuntimeEnvironment.getApiLevel() >= JELLY_BEAN_MR1 in addExternalDir()
185 && RuntimeEnvironment.getApiLevel() < KITKAT) { in addExternalDir()
192 } else if (RuntimeEnvironment.getApiLevel() >= KITKAT && RuntimeEnvironment.getApiLevel() < M) { in addExternalDir()
DShadowServiceManager.java61 import org.robolectric.RuntimeEnvironment;
129 if (RuntimeEnvironment.getApiLevel() >= JELLY_BEAN_MR1) {
132 if (RuntimeEnvironment.getApiLevel() >= JELLY_BEAN_MR2) {
137 if (RuntimeEnvironment.getApiLevel() >= KITKAT) {
143 if (RuntimeEnvironment.getApiLevel() >= LOLLIPOP) {
166 if (RuntimeEnvironment.getApiLevel() >= M) {
172 if (RuntimeEnvironment.getApiLevel() >= N_MR1) {
177 if (RuntimeEnvironment.getApiLevel() >= O) {
184 if (RuntimeEnvironment.getApiLevel() >= P) {
190 if (RuntimeEnvironment.getApiLevel() >= Q) {
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java38 import org.robolectric.RuntimeEnvironment;
77 ReflectionHelpers.setStaticField(RuntimeEnvironment.class, "apiLevel", sdkConfig.getApiLevel()); in setSdkConfig()
82 RuntimeEnvironment.setUseLegacyResources(legacyResources); in setResourcesMode()
88 ReflectionHelpers.setStaticField(RuntimeEnvironment.class, "apiLevel", sdkConfig.getApiLevel()); in setUpApplicationState()
90 RuntimeEnvironment.application = null; in setUpApplicationState()
91 RuntimeEnvironment.setActivityThread(null); in setUpApplicationState()
92 RuntimeEnvironment.setTempDirectory(new TempDirectory(createTestDataDirRootPath(method))); in setUpApplicationState()
93 RuntimeEnvironment.setMasterScheduler(new Scheduler()); in setUpApplicationState()
94 RuntimeEnvironment.setMainThread(Thread.currentThread()); in setUpApplicationState()
122 RuntimeEnvironment.setActivityThread(activityThread); in setUpApplicationState()
[all …]
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DDefaultTestLifecycle.java13 if (RuntimeEnvironment.application instanceof TestLifecycleApplication) { in beforeTest()
14 ((TestLifecycleApplication) RuntimeEnvironment.application).beforeTest(method); in beforeTest()
19 if (RuntimeEnvironment.application instanceof TestLifecycleApplication) { in prepareTest()
20 ((TestLifecycleApplication) RuntimeEnvironment.application).prepareTest(test); in prepareTest()
30 if (RuntimeEnvironment.application instanceof TestLifecycleApplication) { in afterTest()
31 ((TestLifecycleApplication) RuntimeEnvironment.application).afterTest(method); in afterTest()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
DRuntimeEnvironment.java17 public class RuntimeEnvironment { class
176 RuntimeEnvironment.masterScheduler = masterScheduler; in setMasterScheduler()
180 RuntimeEnvironment.systemResourceTable = systemResourceTable; in setSystemResourceTable()
184 RuntimeEnvironment.appResourceTable = appResourceTable; in setAppResourceTable()
196 RuntimeEnvironment.compileTimeResourceTable = compileTimeResourceTable; in setCompileTimeResourceTable()
204 RuntimeEnvironment.tempDirectory = tempDirectory; in setTempDirectory()
212 RuntimeEnvironment.androidFrameworkJar = localArtifactPath; in setAndroidFrameworkJarPath()
216 return RuntimeEnvironment.androidFrameworkJar; in getAndroidFrameworkJarPath()
236 RuntimeEnvironment.useLegacyResources = useLegacyResources; in setUseLegacyResources()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/internal/
DDisplayConfig.java35 import org.robolectric.RuntimeEnvironment;
269 if (RuntimeEnvironment.getApiLevel() >= Q) { in DisplayConfig()
273 if (RuntimeEnvironment.getApiLevel() >= LOLLIPOP_MR1) { in DisplayConfig()
284 if (RuntimeEnvironment.getApiLevel() >= JELLY_BEAN_MR2) { in DisplayConfig()
291 if (RuntimeEnvironment.getApiLevel() >= M) { in DisplayConfig()
296 if (RuntimeEnvironment.getApiLevel() >= N_MR1) { in DisplayConfig()
301 if (RuntimeEnvironment.getApiLevel() >= N) { in DisplayConfig()
307 if (RuntimeEnvironment.getApiLevel() >= LOLLIPOP) { in DisplayConfig()
312 if (RuntimeEnvironment.getApiLevel() >= KITKAT) { in DisplayConfig()
316 if (RuntimeEnvironment.getApiLevel() >= O) { in DisplayConfig()
[all …]
/external/grpc-grpc-java/android/src/test/java/io/grpc/android/
DAndroidChannelBuilderTest.java22 import static org.robolectric.RuntimeEnvironment.getApiLevel;
49 import org.robolectric.RuntimeEnvironment;
87 RuntimeEnvironment.application.getSystemService(Context.CONNECTIVITY_SERVICE); in setUp()
132 RuntimeEnvironment.application.sendBroadcast( in nullContextDoesNotThrow_api23()
160 delegateChannel, RuntimeEnvironment.application.getApplicationContext()); in resetConnectBackoff_api23()
166 RuntimeEnvironment.application.sendBroadcast( in resetConnectBackoff_api23()
171 RuntimeEnvironment.application.sendBroadcast( in resetConnectBackoff_api23()
177 RuntimeEnvironment.application.sendBroadcast( in resetConnectBackoff_api23()
183 RuntimeEnvironment.application.sendBroadcast( in resetConnectBackoff_api23()
189 RuntimeEnvironment.application.sendBroadcast( in resetConnectBackoff_api23()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DBootstrapTest.java56 import org.robolectric.RuntimeEnvironment;
71 optsForO = RuntimeEnvironment.getApiLevel() >= O in setUp()
169 if (RuntimeEnvironment.getApiLevel() > JELLY_BEAN) { in applyQualifiers_shouldAddDefaults()
182 if (RuntimeEnvironment.getApiLevel() >= O) { in applyQualifiers_shouldAddDefaults()
192 String altOptsForO = RuntimeEnvironment.getApiLevel() >= O in applyQualifiers_shouldHonorSpecifiedQualifiers()
205 if (RuntimeEnvironment.getApiLevel() > JELLY_BEAN) { in applyQualifiers_shouldHonorSpecifiedQualifiers()
219 if (RuntimeEnvironment.getApiLevel() > JELLY_BEAN) { in applyQualifiers_shouldHonorSpecifiedQualifiers()
237 if (RuntimeEnvironment.getApiLevel() > JELLY_BEAN) { in applyQualifiers_shouldHonorSpecifiedQualifiers()
253 RuntimeEnvironment.getApiLevel(), configuration, displayMetrics); in applyQualifiers_longShouldMakeScreenTaller()
264 RuntimeEnvironment.getApiLevel(), configuration, displayMetrics); in whenScreenRationGreatherThan175Percent_applyQualifiers_ShouldSetLong()
[all …]
DResourceLoaderTest.java23 import org.robolectric.RuntimeEnvironment;
37 optsForO = RuntimeEnvironment.getApiLevel() >= O in setUp()
73 assertThat(RuntimeEnvironment.getQualifiers()) in checkForPollutionHelper()
81 RuntimeEnvironment.setQualifiers("fr-land"); // testing if this pollutes the other test in checkForPollutionHelper()
83 if (RuntimeEnvironment.getApiLevel() <= VERSION_CODES.JELLY_BEAN) { in checkForPollutionHelper()
94 ResourceTable resourceProvider = RuntimeEnvironment.getSystemResourceTable(); in shouldMakeInternalResourcesAvailable()
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
DShadowLocalBroadcastManagerTest.java20 import org.robolectric.RuntimeEnvironment;
30 …LocalBroadcastManager instance = LocalBroadcastManager.getInstance(RuntimeEnvironment.application); in shouldGetInstance()
32 assertSame(instance, LocalBroadcastManager.getInstance(RuntimeEnvironment.application)); in shouldGetInstance()
37 …LocalBroadcastManager instance = LocalBroadcastManager.getInstance(RuntimeEnvironment.application); in shouldSendBroadcasts()
55 …LocalBroadcastManager instance = LocalBroadcastManager.getInstance(RuntimeEnvironment.application); in shouldSendBroadcastsWithDataScheme()
75 …LocalBroadcastManager instance = LocalBroadcastManager.getInstance(RuntimeEnvironment.application); in shouldUnregisterReceiver()
91 …LocalBroadcastManager broadcastManager = LocalBroadcastManager.getInstance(RuntimeEnvironment.appl… in testGetBroadcastIntents()
108 …LocalBroadcastManager broadcastManager = LocalBroadcastManager.getInstance(RuntimeEnvironment.appl… in testGetRegisteredBroadcastReceivers()
131 …LocalBroadcastManager broadcastManager = LocalBroadcastManager.getInstance(RuntimeEnvironment.appl… in testGetSentBroadcastIntents()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
DActivityController.java21 import org.robolectric.RuntimeEnvironment;
47 Context context = RuntimeEnvironment.application.getBaseContext(); in attach()
78 if (RuntimeEnvironment.getApiLevel() <= O_MR1) { in restart()
92 if (RuntimeEnvironment.getApiLevel() <= O_MR1) { in start()
112 if (RuntimeEnvironment.getApiLevel() <= O_MR1) { in resume()
189 if (RuntimeEnvironment.getApiLevel() <= M) { in stop()
191 } else if (RuntimeEnvironment.getApiLevel() <= O_MR1) { in stop()
302 if (RuntimeEnvironment.getApiLevel() <= M) { in configurationChange()
304 } else if (RuntimeEnvironment.getApiLevel() <= O_MR1) { in configurationChange()
354 if (RuntimeEnvironment.getApiLevel() <= O_MR1) { in configurationChange()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLooperTest.java22 import org.robolectric.RuntimeEnvironment;
251 RuntimeEnvironment.setMasterScheduler(s); in soStaticRefsToLoopersInAppWorksAcrossTests_shouldRetainSameLooperForMainThreadBetweenResetsButGiveItAFreshScheduler()
270 RuntimeEnvironment.application = null; in getMainLooperReturnsNonNullOnMainThreadWhenRobolectricApplicationIsNull()
282 RuntimeEnvironment.setMasterScheduler(s); in reset_setsGlobalScheduler_forMainLooper_byDefault()
292 RuntimeEnvironment.setMasterScheduler(s); in reset_setsGlobalScheduler_forMainLooper_withAdvancedScheduling()
304 assertThat(sLooper.getScheduler()).isNotSameAs(RuntimeEnvironment.getMasterScheduler()); in reset_setsNewScheduler_forNonMainLooper_byDefault()
312 RuntimeEnvironment.setMasterScheduler(s); in reset_setsSchedulerToMaster_forNonMainLooper_withAdvancedScheduling()
351 RuntimeEnvironment.setMainThread(t); in myLooper_returnsMainLooper_ifMainThreadIsSwitched()
357 RuntimeEnvironment.setMainThread(Thread.currentThread()); in myLooper_returnsMainLooper_ifMainThreadIsSwitched()
363 RuntimeEnvironment.application = null; in getMainLooper_shouldBeInitialized_onBackgroundThread_evenWhenRobolectricApplicationIsNull()
[all …]
DShadowWifiP2pManagerTest.java17 import org.robolectric.RuntimeEnvironment;
55 RuntimeEnvironment.getMasterScheduler().pause(); in createGroup_fail()
60 RuntimeEnvironment.getMasterScheduler().unPause(); in createGroup_fail()
96 RuntimeEnvironment.getMasterScheduler().pause(); in removeGroup_failure()
100 RuntimeEnvironment.getMasterScheduler().unPause(); in removeGroup_failure()
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/android/
DAccessibilityUtilTest.java18 import org.robolectric.RuntimeEnvironment;
46 labeledView = new View(RuntimeEnvironment.application); in setUp()
54 unlabeledView = new View(RuntimeEnvironment.application); in setUp()
60 parentLayout = new LinearLayout(RuntimeEnvironment.application); in setUp()
65 textViewWithClickableSpan = new TextView(RuntimeEnvironment.application); in setUp()

1234567