Home
last modified time | relevance | path

Searched refs:apiLevel (Results 1 – 7 of 7) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPropertyUtil.java109 int apiLevel = getPropertyInt(prop); in getVendorApiLevel() local
110 if (apiLevel != INT_VALUE_IF_UNSET) { in getVendorApiLevel()
111 return apiLevel; in getVendorApiLevel()
120 public static boolean isVendorApiLevelNewerThan(int apiLevel) { in isVendorApiLevelNewerThan() argument
121 return getVendorApiLevel() > apiLevel; in isVendorApiLevelNewerThan()
128 public static boolean isVendorApiLevelAtLeast(int apiLevel) { in isVendorApiLevelAtLeast() argument
129 return getVendorApiLevel() >= apiLevel; in isVendorApiLevelAtLeast()
137 public static boolean isVndkApiLevelNewerThan(int apiLevel) { in isVndkApiLevelNewerThan() argument
142 return vndkApiLevel > apiLevel; in isVndkApiLevelNewerThan()
151 public static boolean isVndkApiLevelAtLeast(int apiLevel) { in isVndkApiLevelAtLeast() argument
[all …]
/cts/hostsidetests/theme/app/src/android/theme/app/
DThemeInfo.java28 public final int apiLevel; field in ThemeInfo
31 ThemeInfo(int spec, int id, int apiLevel, String name) { in ThemeInfo() argument
34 this.apiLevel = apiLevel; in ThemeInfo()
DGenerateImagesActivity.java149 if (theme.apiLevel > VERSION.SDK_INT) { in launchThemeDeviceActivity()
151 + "\" (requires API " + theme.apiLevel + ")"); in launchThemeDeviceActivity()
/cts/hostsidetests/bootstats/src/android/bootstats/cts/
DBootStatsHostTest.java53 final int apiLevel = getDevice().getApiLevel(); in testBootStats() local
55 + " in Android 8.0. Current API Level " + apiLevel, in testBootStats()
56 apiLevel < 26 /* Build.VERSION_CODES.O */); in testBootStats()
58 if (apiLevel <= 29 /* Build.VERSION_CODES.Q */) { in testBootStats()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAdminFeaturesCheckerRule.java64 int apiLevel = testDevice.getApiLevel(); in apply() local
65 assumeTrue("Device API level is " + apiLevel + ", minimum required is 21", in apply()
66 apiLevel >= 21); // requires Build.VERSION_CODES.L in apply()
/cts/hostsidetests/library/src/android/appmanifest/cts/
DUsesNativeLibraryTestCase.java220 private File createManifestFileWithUsesNativeLibraryTags(File dir, int apiLevel,
244 newContent = newContent.replace("%TARGET_SDK_VERSION%", Integer.toString(apiLevel));
261 private File buildTestApp(int apiLevel,
278 File manifestFile = createManifestFileWithUsesNativeLibraryTags(buildRoot, apiLevel,
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCtsApiCoverage.java114 int apiLevel = Integer.MAX_VALUE; in main() local
146 apiLevel = Integer.parseInt(getExpectedArg(args, ++i)); in main()
207 tasks.add(addCddCoverage(service, cddCoverage, testApk, apiLevel)); in main()