OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getApiLevel
(Results
1 - 25
of
1197
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
ApiLevelUtil.java
32
return device.
getApiLevel
() < version;
37
return device.
getApiLevel
() < resolveVersionString(version);
42
return device.
getApiLevel
() > version;
47
return device.
getApiLevel
() > resolveVersionString(version);
52
return device.
getApiLevel
() >= version;
57
return device.
getApiLevel
() >= resolveVersionString(version);
62
return device.
getApiLevel
() <= version;
67
return device.
getApiLevel
() <= resolveVersionString(version);
70
public static int
getApiLevel
(ITestDevice device) throws DeviceNotAvailableException {
71
return device.
getApiLevel
();
[
all
...]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowNotification.java
4
import static org.robolectric.RuntimeEnvironment.
getApiLevel
;
30
return RuntimeEnvironment.
getApiLevel
() >= Build.VERSION_CODES.N
36
return RuntimeEnvironment.
getApiLevel
() >= Build.VERSION_CODES.N
42
if (
getApiLevel
() >= N) {
54
if (
getApiLevel
() >= N) {
62
if (
getApiLevel
() >= N) {
70
if (
getApiLevel
() >= N) {
78
if (RuntimeEnvironment.
getApiLevel
() >= Build.VERSION_CODES.N) {
88
return RuntimeEnvironment.
getApiLevel
() >= Build.VERSION_CODES.N
99
return RuntimeEnvironment.
getApiLevel
() >= Build.VERSION_CODES.
[
all
...]
ShadowSoundPool.java
4
import static org.robolectric.RuntimeEnvironment.
getApiLevel
;
22
if (
getApiLevel
() >= M) {
ShadowLocaleData.java
9
import static org.robolectric.RuntimeEnvironment.
getApiLevel
;
45
if (
getApiLevel
() >= JELLY_BEAN_MR1) {
70
if (
getApiLevel
() >= M) {
73
} else if (
getApiLevel
() >= JELLY_BEAN_MR2) {
88
if (
getApiLevel
() >= LOLLIPOP_MR1) {
97
if (
getApiLevel
() >= P) {
108
if (
getApiLevel
() >= LOLLIPOP) {
ShadowBroadcastPendingResult.java
5
import static org.robolectric.RuntimeEnvironment.
getApiLevel
;
23
if (
getApiLevel
() <= JELLY_BEAN) {
34
} else if (
getApiLevel
() <= LOLLIPOP_MR1) {
ShadowClipboardManager.java
5
import static org.robolectric.RuntimeEnvironment.
getApiLevel
;
28
if (
getApiLevel
() >= N) {
32
} else if (
getApiLevel
() >= JELLY_BEAN_MR2) {
ShadowRenderNodeAnimator.java
5
import static org.robolectric.RuntimeEnvironment.
getApiLevel
;
51
if (
getApiLevel
() <= LOLLIPOP) {
60
if (
getApiLevel
() <= LOLLIPOP) {
ShadowQueuedWork.java
16
if (RuntimeEnvironment.
getApiLevel
() >= Build.VERSION_CODES.O) {
ShadowContextImpl.java
13
import static org.robolectric.RuntimeEnvironment.
getApiLevel
;
101
if (
getApiLevel
() >= JELLY_BEAN_MR1) {
105
if (
getApiLevel
() >= JELLY_BEAN_MR2) {
108
if (
getApiLevel
() >= KITKAT) {
113
if (
getApiLevel
() >= LOLLIPOP) {
121
if (
getApiLevel
() >= LOLLIPOP_MR1) {
124
if (
getApiLevel
() >= M) {
127
if (
getApiLevel
() >= N_MR1) {
131
if (
getApiLevel
() >= M) {
162
if (
getApiLevel
() >= N)
[
all
...]
ShadowPosix.java
21
if (RuntimeEnvironment.
getApiLevel
() >= Build.VERSION_CODES.LOLLIPOP) {
ShadowMessage.java
5
import static org.robolectric.RuntimeEnvironment.
getApiLevel
;
47
if (
getApiLevel
() >= LOLLIPOP) {
ShadowServiceManager.java
34
if (RuntimeEnvironment.
getApiLevel
() >= LOLLIPOP) {
40
if (RuntimeEnvironment.
getApiLevel
() >= Build.VERSION_CODES.P) {
ShadowWindow.java
4
import static org.robolectric.RuntimeEnvironment.
getApiLevel
;
28
String className =
getApiLevel
() >= M
ShadowBitmapRegionDecoder.java
4
import static org.robolectric.RuntimeEnvironment.
getApiLevel
;
73
if (
getApiLevel
() >= LOLLIPOP) {
ShadowMemoryMappedFile.java
4
import static org.robolectric.RuntimeEnvironment.
getApiLevel
;
53
if (
getApiLevel
() >= LOLLIPOP) {
ShadowPackageParser.java
62
if (RuntimeEnvironment.
getApiLevel
() >= Build.VERSION_CODES.LOLLIPOP) {
141
if (RuntimeEnvironment.
getApiLevel
() <= Build.VERSION_CODES.O_MR1) {
245
if (RuntimeEnvironment.
getApiLevel
() >= Build.VERSION_CODES.O) {
275
if (RuntimeEnvironment.
getApiLevel
() <= Build.VERSION_CODES.O_MR1) {
340
if (RuntimeEnvironment.
getApiLevel
() <= Build.VERSION_CODES.O_MR1) {
353
if (RuntimeEnvironment.
getApiLevel
() >= Build.VERSION_CODES.P) {
363
if (RuntimeEnvironment.
getApiLevel
() >= Build.VERSION_CODES.O_MR1) {
372
} else if (RuntimeEnvironment.
getApiLevel
() >= Build.VERSION_CODES.O) {
ShadowEnvironment.java
185
if (RuntimeEnvironment.
getApiLevel
() >= JELLY_BEAN_MR1
186
&& RuntimeEnvironment.
getApiLevel
() < KITKAT) {
193
} else if (RuntimeEnvironment.
getApiLevel
() >= KITKAT && RuntimeEnvironment.
getApiLevel
() < M) {
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/internal/
DisplayConfig.java
270
if (RuntimeEnvironment.
getApiLevel
() >= LOLLIPOP_MR1) {
281
if (RuntimeEnvironment.
getApiLevel
() >= JELLY_BEAN_MR2) {
288
if (RuntimeEnvironment.
getApiLevel
() >= M) {
293
if (RuntimeEnvironment.
getApiLevel
() >= N_MR1) {
298
if (RuntimeEnvironment.
getApiLevel
() >= N) {
304
if (RuntimeEnvironment.
getApiLevel
() >= LOLLIPOP) {
309
if (RuntimeEnvironment.
getApiLevel
() >= KITKAT) {
313
if (RuntimeEnvironment.
getApiLevel
() >= O) {
408
if (RuntimeEnvironment.
getApiLevel
() >= LOLLIPOP_MR1) {
419
if (RuntimeEnvironment.
getApiLevel
() >= JELLY_BEAN_MR2)
[
all
...]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
ActivityController.java
70
if (RuntimeEnvironment.
getApiLevel
() <= O_MR1) {
84
if (RuntimeEnvironment.
getApiLevel
() <= O_MR1) {
107
if (RuntimeEnvironment.
getApiLevel
() <= O_MR1) {
160
if (RuntimeEnvironment.
getApiLevel
() <= M) {
162
} else if (RuntimeEnvironment.
getApiLevel
() <= O_MR1) {
275
if (RuntimeEnvironment.
getApiLevel
() <= M) {
277
} else if (RuntimeEnvironment.
getApiLevel
() <= O_MR1) {
323
if (RuntimeEnvironment.
getApiLevel
() <= O_MR1) {
340
if (RuntimeEnvironment.
getApiLevel
() <= O_MR1) {
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
RuntimeEnvironment.java
120
Bootstrap.applyQualifiers(newQualifiers,
getApiLevel
(), configuration, displayMetrics);
130
public static int
getApiLevel
() {
136
if (
getApiLevel
() >= LOLLIPOP) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
AdtManifestMergeCallback.java
40
return t.getVersion().
getApiLevel
();
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
BootstrapTest.java
156
if (RuntimeEnvironment.
getApiLevel
() > JELLY_BEAN) {
180
if (RuntimeEnvironment.
getApiLevel
() > JELLY_BEAN) {
193
if (RuntimeEnvironment.
getApiLevel
() > JELLY_BEAN) {
211
if (RuntimeEnvironment.
getApiLevel
() > JELLY_BEAN) {
227
RuntimeEnvironment.
getApiLevel
(), configuration, displayMetrics);
238
RuntimeEnvironment.
getApiLevel
(), configuration, displayMetrics);
249
RuntimeEnvironment.
getApiLevel
(), configuration, displayMetrics);
261
RuntimeEnvironment.
getApiLevel
(), configuration, displayMetrics);
273
RuntimeEnvironment.
getApiLevel
(), configuration, displayMetrics);
285
RuntimeEnvironment.
getApiLevel
(), configuration, displayMetrics)
[
all
...]
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
SdkPicker.java
75
int appMinSdk = Math.max(appManifest.getMinSdkVersion(), minSupportedSdk.
getApiLevel
());
76
int appTargetSdk = Math.max(appManifest.getTargetSdkVersion(), minSupportedSdk.
getApiLevel
());
79
appMaxSdk = maxSupportedSdk.
getApiLevel
();
135
int apiLevel = supportedSdk.
getApiLevel
();
136
if (apiLevel >= minSdk && supportedSdk.
getApiLevel
() <= maxSdk) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
ImportedProject.java
215
} else if (targetLevel == version.
getApiLevel
()) {
223
int targetDelta = target.getVersion().
getApiLevel
() - targetLevel;
225
int newDelta = t.getVersion().
getApiLevel
() - targetLevel;
244
int targetDelta = target.getVersion().
getApiLevel
() - minSdkLevel;
246
int newDelta = t.getVersion().
getApiLevel
() - minSdkLevel;
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
LauncherAppsMultiUserTest.java
41
mMultiUserSupported = getMaxNumberOfUsersSupported() > 1 && getDevice().
getApiLevel
() >= 21;
Completed in 338 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>