/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | ShadowInfo.java | 16 private final int maxSdk; field in ShadowInfo 25 int maxSdk, in ShadowInfo() argument 32 this.maxSdk = maxSdk; in ShadowInfo() 45 annotation.maxSdk(), in ShadowInfo() 50 return minSdk <= sdkInt && (maxSdk == -1 || maxSdk >= sdkInt); in supportsSdk() 77 && maxSdk == that.maxSdk in equals() 91 maxSdk, in hashCode()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowTime.java | 25 @Implementation(maxSdk = KITKAT_WATCH) 35 @Implementation(maxSdk = KITKAT_WATCH) 40 @Implementation(maxSdk = KITKAT_WATCH) 51 @Implementation(maxSdk = KITKAT_WATCH) 56 @Implementation(maxSdk = KITKAT_WATCH) 71 @Implementation(maxSdk = KITKAT_WATCH) 77 @Implementation(maxSdk = KITKAT_WATCH) 84 @Implementation(maxSdk = KITKAT_WATCH) 107 @Implementation(maxSdk = KITKAT_WATCH) 121 @Implementation(maxSdk = KITKAT_WATCH) [all …]
|
D | ShadowXmlBlock.java | 47 @Implementation(maxSdk = VERSION_CODES.KITKAT_WATCH) 63 @Implementation(maxSdk = VERSION_CODES.KITKAT_WATCH) 68 @Implementation(minSdk = VERSION_CODES.LOLLIPOP, maxSdk = P) 108 @Implementation(maxSdk = VERSION_CODES.KITKAT_WATCH) 143 @Implementation(maxSdk = VERSION_CODES.KITKAT_WATCH) 154 @Implementation(maxSdk = VERSION_CODES.KITKAT_WATCH) 165 @Implementation(maxSdk = VERSION_CODES.KITKAT_WATCH) 176 @Implementation(maxSdk = VERSION_CODES.KITKAT_WATCH) 187 @Implementation(maxSdk = VERSION_CODES.KITKAT_WATCH) 198 @Implementation(maxSdk = VERSION_CODES.KITKAT_WATCH) [all …]
|
D | ShadowParcel.java | 50 @Implementation(maxSdk = JELLY_BEAN_MR1) 143 @Implementation(maxSdk = KITKAT_WATCH) 154 @Implementation(maxSdk = KITKAT_WATCH) 165 @Implementation(maxSdk = KITKAT_WATCH) 176 @Implementation(maxSdk = KITKAT_WATCH) 187 @Implementation(maxSdk = KITKAT_WATCH) 199 @Implementation(maxSdk = KITKAT_WATCH) 210 @Implementation(maxSdk = KITKAT_WATCH) 221 @Implementation(maxSdk = KITKAT_WATCH) 261 @Implementation(maxSdk = KITKAT_WATCH) [all …]
|
D | ShadowMotionEvent.java | 196 @Implementation(maxSdk = KITKAT_WATCH) 237 @Implementation(minSdk = LOLLIPOP, maxSdk = P) 387 @Implementation(maxSdk = KITKAT_WATCH) 399 @Implementation(maxSdk = KITKAT_WATCH) 424 @Implementation(maxSdk = KITKAT_WATCH) 452 @Implementation(maxSdk = KITKAT_WATCH) 473 @Implementation(maxSdk = KITKAT_WATCH) 499 @Implementation(maxSdk = KITKAT_WATCH) 549 @Implementation(maxSdk = KITKAT_WATCH) 564 @Implementation(maxSdk = KITKAT_WATCH) [all …]
|
D | ShadowCursorWindow.java | 30 @Implementation(maxSdk = KITKAT_WATCH) 40 @Implementation(maxSdk = KITKAT_WATCH) 63 @Implementation(maxSdk = KITKAT_WATCH) 78 @Implementation(maxSdk = KITKAT_WATCH) 88 @Implementation(maxSdk = KITKAT_WATCH) 98 @Implementation(maxSdk = KITKAT_WATCH) 108 @Implementation(maxSdk = KITKAT_WATCH) 118 @Implementation(maxSdk = KITKAT_WATCH) 128 @Implementation(maxSdk = KITKAT_WATCH) 138 @Implementation(maxSdk = KITKAT_WATCH) [all …]
|
D | ShadowSQLiteConnection.java | 69 @Implementation(maxSdk = O) 81 @Implementation(maxSdk = KITKAT_WATCH) 106 @Implementation(maxSdk = KITKAT_WATCH) 116 @Implementation(maxSdk = KITKAT_WATCH) 126 @Implementation(maxSdk = KITKAT_WATCH) 136 @Implementation(maxSdk = KITKAT_WATCH) 146 @Implementation(maxSdk = KITKAT_WATCH) 156 @Implementation(maxSdk = KITKAT_WATCH) 166 @Implementation(maxSdk = KITKAT_WATCH) 176 @Implementation(maxSdk = KITKAT_WATCH) [all …]
|
D | ShadowLegacyAssetManager.java | 272 @HiddenApi @Implementation(maxSdk = KITKAT_WATCH) 277 @HiddenApi @Implementation(minSdk = LOLLIPOP, maxSdk = O_MR1) 298 @HiddenApi @Implementation(maxSdk = O_MR1) 351 @HiddenApi @Implementation(maxSdk = KITKAT_WATCH) 377 @HiddenApi @Implementation(maxSdk = O_MR1) 471 @HiddenApi @Implementation(maxSdk = O_MR1) 476 @HiddenApi @Implementation(maxSdk = O_MR1) 509 @HiddenApi @Implementation(maxSdk = O_MR1) 531 @HiddenApi @Implementation(maxSdk = O_MR1) 537 @HiddenApi @Implementation(maxSdk = O_MR1) [all …]
|
D | ShadowSystemVibrator.java | 43 @Implementation(maxSdk = JELLY_BEAN_MR1) 48 @Implementation(minSdk = JELLY_BEAN_MR2, maxSdk = KITKAT_WATCH) 53 @Implementation(minSdk = LOLLIPOP, maxSdk = N_MR1) 58 @Implementation(maxSdk = JELLY_BEAN_MR1) 63 @Implementation(minSdk = JELLY_BEAN_MR2, maxSdk = KITKAT_WATCH) 68 @Implementation(minSdk = LOLLIPOP, maxSdk = N_MR1) 73 @Implementation(minSdk = O, maxSdk = VERSION_CODES.P)
|
D | ShadowDisplayListCanvas.java | 13 …ments(className = "android.view.DisplayListCanvas", isInAndroidSdk = false, minSdk = M, maxSdk = P) 21 @Config(minSdk = N, maxSdk = N_MR1) 26 @Config(maxSdk = M)
|
D | ShadowPhoneWindowFor22.java | 11 @Implements(className = "com.android.internal.policy.impl.PhoneWindow", maxSdk = LOLLIPOP_MR1) 14 @Override @Implementation(maxSdk = LOLLIPOP_MR1) 20 @Override @Implementation(maxSdk = LOLLIPOP_MR1)
|
D | ShadowStringBlock.java | 26 @Implementation(maxSdk = KITKAT_WATCH) 36 @Implementation(maxSdk = KITKAT_WATCH) 46 @Implementation(maxSdk = KITKAT_WATCH) 103 @Implementation(maxSdk = KITKAT_WATCH)
|
D | ShadowDateIntervalFormat.java | 20 @Implementation(maxSdk = LOLLIPOP_MR1) 27 @Implementation(maxSdk = LOLLIPOP_MR1) 32 @Implementation(maxSdk = LOLLIPOP_MR1)
|
D | ShadowStaticLayout.java | 17 @Implementation(minSdk = LOLLIPOP, maxSdk = LOLLIPOP_MR1) 24 @Implementation(minSdk = M, maxSdk = O_MR1) 30 @Implementation(minSdk = P, maxSdk = P)
|
D | ShadowLegacyResourcesImpl.java | 56 @Implementation(maxSdk = M) 62 @Implementation(maxSdk = M) 83 @Implementation(maxSdk = M) 100 @Implementation(maxSdk = M) 126 @HiddenApi @Implementation(maxSdk = M) 155 @Implementation(maxSdk = N_MR1)
|
D | ShadowArscAssetManager.java | 70 @Implements(value = AssetManager.class, maxSdk = VERSION_CODES.O_MR1, 131 @HiddenApi @Implementation(maxSdk = N_MR1) 276 @HiddenApi @Implementation(maxSdk = VERSION_CODES.JELLY_BEAN_MR1) 281 @HiddenApi @Implementation(minSdk = JELLY_BEAN_MR2, maxSdk = M) 417 @HiddenApi @Implementation(maxSdk = KITKAT_WATCH) 427 @HiddenApi @Implementation(maxSdk = KITKAT_WATCH) 440 @HiddenApi @Implementation(maxSdk = KITKAT_WATCH) 473 @HiddenApi @Implementation(maxSdk = KITKAT_WATCH) 484 @HiddenApi @Implementation(maxSdk = KITKAT_WATCH) 495 @HiddenApi @Implementation(maxSdk = KITKAT_WATCH) [all …]
|
D | ShadowImageDecoder.java | 256 @Implementation(maxSdk = Build.VERSION_CODES.Q) 261 @Implementation(maxSdk = Build.VERSION_CODES.Q) 267 @Implementation(maxSdk = Build.VERSION_CODES.Q) 273 @Implementation(maxSdk = Build.VERSION_CODES.Q) 279 @Implementation(maxSdk = Build.VERSION_CODES.Q) 317 @Implementation(maxSdk = Build.VERSION_CODES.P)
|
D | ShadowNativePluralRules.java | 10 @Implements(className = "libcore.icu.NativePluralRules", isInAndroidSdk = false, maxSdk = M) 20 @Implementation(maxSdk = JELLY_BEAN_MR2)
|
D | ShadowArscResourcesImpl.java | 81 @Implementation(maxSdk = M) 87 @Implementation(maxSdk = M) 108 @Implementation(maxSdk = M) 130 @Implementation(maxSdk = M) 156 @Implementation(maxSdk = N_MR1)
|
/external/robolectric-shadows/annotations/src/main/java/org/robolectric/annotation/ |
D | Config.java | 64 int maxSdk() default -1; in maxSdk() method 173 private final int maxSdk; field in Config.Implementation 260 (config.minSdk() != DEFAULT_VALUE_INT || config.maxSdk() != DEFAULT_VALUE_INT)) { in validate() 262 …rays.toString(config.sdk()) + ", minSdk=" + config.minSdk() + ", maxSdk=" + config.maxSdk() + ")"); in validate() 265 …onfig.minSdk() > DEFAULT_VALUE_INT && config.maxSdk() > DEFAULT_VALUE_INT && config.minSdk() > con… in validate() 267 " (minSdk=" + config.minSdk() + ", maxSdk=" + config.maxSdk() + ")"); in validate() 274 int maxSdk, in Implementation() argument 286 this.maxSdk = maxSdk; in Implementation() 311 public int maxSdk() { in maxSdk() method in Config.Implementation 312 return maxSdk; in maxSdk() [all …]
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/ |
D | SdkPicker.java | 73 int maxSdk = config.maxSdk(); in configuredSdks() local 74 if (minSdk != -1 || maxSdk != -1) { in configuredSdks() 76 int rangeMax = decodeSdk(maxSdk, appMaxSdk, appMinSdk, appTargetSdk, appMaxSdk); in configuredSdks() 78 if (rangeMin > rangeMax && (minSdk == -1 || maxSdk == -1)) { in configuredSdks() 125 protected Set<SdkConfig> sdkRange(int minSdk, int maxSdk) { in sdkRange() argument 126 if (maxSdk < minSdk) { in sdkRange() 127 throw new IllegalArgumentException("minSdk=" + minSdk + " is greater than maxSdk=" + maxSdk); in sdkRange() 133 if (apiLevel >= minSdk && supportedSdk.getApiLevel() <= maxSdk) { in sdkRange() 140 "No matching SDKs found for minSdk=" + minSdk + ", maxSdk=" + maxSdk); in sdkRange()
|
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/ |
D | BuildCompatTest.java | 22 @Config(maxSdk = Build.VERSION_CODES.M) 34 @Config(maxSdk = Build.VERSION_CODES.N) 46 @Config(maxSdk = Build.VERSION_CODES.N_MR1)
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/generator/ |
D | ShadowProviderGenerator.java | 141 int maxSdk = resetterInfo.getMaxSdk(); in generate() local 143 if (minSdk != -1 && maxSdk != -1) { in generate() 145 " && org.robolectric.RuntimeEnvironment.getApiLevel() <= " + maxSdk + ") "; in generate() 146 } else if (maxSdk != -1) { in generate() 147 ifClause = "if (org.robolectric.RuntimeEnvironment.getApiLevel() <= " + maxSdk + ") "; in generate()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/ |
D | ShadowWranglerUnitTest.java | 151 @Implements(value = DummyClass.class, minSdk = 19, maxSdk = 21) 153 @Implementation(minSdk = 20, maxSdk = 20) 161 @Implementation(minSdk = 20, maxSdk = 20) 169 @Implementation(maxSdk = 20) 177 @Implements(value = ChildOfDummyClass.class, minSdk = 20, maxSdk = 21)
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowNotificationBuilderTest.java | 130 @Test @Config(maxSdk = M) 144 @Test @Config(maxSdk = M) 165 @Test @Config(maxSdk = M) 180 @Config(maxSdk = M) 196 @Config(maxSdk = M)
|