/libcore/test-rules/src/main/java/libcore/junit/util/ |
D | SwitchTargetSdkVersionRule.java | 93 TargetSdkVersion targetSdkVersion = description.getAnnotation(TargetSdkVersion.class); in apply() local 94 if (targetSdkVersion == null) { in apply() 98 return createStatement(statement, targetSdkVersion.value()); in apply() 108 protected abstract Statement createStatement(Statement statement, int targetSdkVersion); in createStatement() argument 132 protected Statement createStatement(Statement statement, int targetSdkVersion) { in createStatement() argument 138 targetSdkVersionSetter.invoke(runtime, targetSdkVersion); in createStatement() 156 protected Statement createStatement(Statement statement, int targetSdkVersion) {
|
/libcore/libart/src/main/java/dalvik/system/ |
D | VMRuntime.java | 74 @EnabledSince(targetSdkVersion = VersionCodes.R) 82 @EnabledSince(targetSdkVersion = VersionCodes.Q) 89 @EnabledSince(targetSdkVersion = VersionCodes.R) 208 private int targetSdkVersion = SDK_VERSION_CUR_DEVELOPMENT; field in VMRuntime 380 public synchronized void setTargetSdkVersion(int targetSdkVersion) { in setTargetSdkVersion() argument 381 this.targetSdkVersion = targetSdkVersion; in setTargetSdkVersion() 382 setTargetSdkVersionNative(this.targetSdkVersion); in setTargetSdkVersion() 443 return targetSdkVersion; in getTargetSdkVersion() 446 private native void setTargetSdkVersionNative(int targetSdkVersion); in setTargetSdkVersionNative() argument
|
/libcore/luni/src/main/java/libcore/icu/ |
D | LocaleData.java | 78 @EnabledAfter(targetSdkVersion=29 /* Android Q */) 167 int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in getCompatibleLocaleForBug159514442() local 171 if (targetSdkVersion <= 29 /* Android Q */) { in getCompatibleLocaleForBug159514442()
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Pattern.java | 1138 int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in split() local 1139 if (targetSdkVersion > 28) { in split() 5798 @EnabledSince(targetSdkVersion = VersionCodes.UPSIDE_DOWN_CAKE)
|
D | Matcher.java | 882 @EnabledSince(targetSdkVersion = VersionCodes.UPSIDE_DOWN_CAKE)
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Runtime.java | 901 final int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in checkTargetSdkVersionForLoad() local 902 if (targetSdkVersion > 24) { in checkTargetSdkVersionForLoad() 904 targetSdkVersion); in checkTargetSdkVersionForLoad()
|
D | System.java | 1604 int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in gc() local 1605 if (targetSdkVersion > 34) { in gc() 1610 shouldRunGC = targetSdkVersion <= 34 ? justRanFinalization : true; in gc() 1642 int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in runFinalization() local 1643 if (targetSdkVersion <= 34) { in runFinalization() 1654 if (targetSdkVersion <= 34) { in runFinalization()
|
D | Package.java | 366 final int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in toString() local 367 if (targetSdkVersion > 0 && targetSdkVersion <= 24) { in toString()
|
/libcore/ojluni/src/main/java/java/net/ |
D | InMemoryCookieStore.java | 81 public InMemoryCookieStore(int targetSdkVersion) { in InMemoryCookieStore() argument 84 applyMCompatibility = (targetSdkVersion <= 23); in InMemoryCookieStore()
|
D | NetworkInterface.java | 80 @EnabledSince(targetSdkVersion=VersionCodes.R)
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 2481 final int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in getConstructorId() local 2482 if (targetSdkVersion > 0 && targetSdkVersion <= 24) { in getConstructorId() 2499 "not supported on SDK " + targetSdkVersion); in getConstructorId() 2502 final int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in newInstance() local 2503 if (targetSdkVersion > 0 && targetSdkVersion <= 24) { in newInstance() 2510 "is not supported on SDK " + targetSdkVersion); in newInstance()
|
D | File.java | 627 @EnabledSince(targetSdkVersion = VersionCodes.VANILLA_ICE_CREAM)
|
/libcore/ojluni/src/test/java/lang/ref/ |
D | CleanerTest.java | 300 int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in gcEmphatically() local 301 if (targetSdkVersion <= 34) { in gcEmphatically()
|
/libcore/ojluni/src/main/java/java/util/ |
D | UUID.java | 236 @EnabledSince(targetSdkVersion = VersionCodes.UPSIDE_DOWN_CAKE)
|
D | Random.java | 120 @EnabledSince(targetSdkVersion = VersionCodes.VANILLA_ICE_CREAM)
|
D | PriorityQueue.java | 1003 @EnabledSince(targetSdkVersion = VersionCodes.UPSIDE_DOWN_CAKE)
|
D | Collections.java | 205 int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in sort() local 206 if (targetSdkVersion > 25) { in sort()
|
D | Formatter.java | 2894 @EnabledSince(targetSdkVersion = VersionCodes.VANILLA_ICE_CREAM)
|
D | Arrays.java | 4187 @EnabledSince(targetSdkVersion = VersionCodes.VANILLA_ICE_CREAM)
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | BaseLocale.java | 116 @EnabledSince(targetSdkVersion = VersionCodes.VANILLA_ICE_CREAM)
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | DexFile.java | 75 @EnabledAfter(targetSdkVersion = VersionCodes.TIRAMISU)
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | R.java | 2304 public static final int targetSdkVersion = 0; field in R
|