Home
last modified time | relevance | path

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

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPropertyUtil.java107 int apiLevel = getPropertyInt(apiLevelProp); in getVsrApiLevel() local
108 if (apiLevel != INT_VALUE_IF_UNSET) { in getVsrApiLevel()
109 return Math.min(apiLevel, getFirstApiLevel()); in getVsrApiLevel()
133 int apiLevel = getPropertyInt(prop); in getVendorApiLevel() local
134 if (apiLevel != INT_VALUE_IF_UNSET) { in getVendorApiLevel()
135 return apiLevel; in getVendorApiLevel()
144 public static boolean isVendorApiLevelNewerThan(int apiLevel) { in isVendorApiLevelNewerThan() argument
145 return getVendorApiLevel() > apiLevel; in isVendorApiLevelNewerThan()
152 public static boolean isVendorApiLevelAtLeast(int apiLevel) { in isVendorApiLevelAtLeast() argument
153 return getVendorApiLevel() >= apiLevel; in isVendorApiLevelAtLeast()
[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.java154 if (theme.apiLevel > VERSION.SDK_INT) { in launchThemeDeviceActivity()
156 + "\" (requires API " + theme.apiLevel + ")"); in launchThemeDeviceActivity()
/cts/tests/signature/api-check/shared-libs-api/
DAndroid.bp122 " apiLevel=$${f##*.stubs.source} && " +
123 " apiLevel=$${apiLevel#.} && " +
124 " apiLevel=$${apiLevel%_api.txt} && " +
125 " if [ -z $${apiLevel} ]; then apiLevel=public; fi && " +
128 " signature-to-jdiff $${f} $(genDir)/list/$${fileName}-current-$${apiLevel}.api; " +
153 " apiLevel=$$(echo $${f} | awk -F/ '{print $$(4)}') && " +
155 …" signature-to-jdiff $${f} $(genDir)/list/$${fileName}-$${platformSdkVersion}-$${apiLevel}.api; "…
/cts/hostsidetests/bootstats/src/android/bootstats/cts/
DBootStatsHostTest.java54 final int apiLevel = getDevice().getApiLevel(); in testBootStats() local
56 + " in Android 8.0. Current API Level " + apiLevel, in testBootStats()
57 apiLevel < 26 /* Build.VERSION_CODES.O */); in testBootStats()
59 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/tests/signature/api-check/system-api/
DAndroid.bp59 " apiLevel=$$(echo $${f} | awk -F/ '{print $$(4)}') && " +
61 " signature-to-jdiff $${f} $(genDir)/list/$${platformSdkVersion}-$${apiLevel}.api; " +
/cts/hostsidetests/adpf/src/android/adpf/cts/
DADPFHintSessionHostJUnit4Test.java94 int apiLevel = Integer.parseInt(vendorApiLevelStr); in checkMinVendorApiLevel() local
96 + " while test device at = " + apiLevel, in checkMinVendorApiLevel()
97 apiLevel >= MINIMUM_VENDOR_API_LEVEL); in checkMinVendorApiLevel()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/performancehintmanager/
DPerformanceHintManagerStatsTests.java233 final int apiLevel = Integer.parseInt( in testAdpfHintSessionTidCleanupIsPushed() local
237 + " while test device at = " + apiLevel, apiLevel >= minLevel); in testAdpfHintSessionTidCleanupIsPushed()
/cts/hostsidetests/library/src/android/appmanifest/cts/
DUsesNativeLibraryTestCase.java221 private File createManifestFileWithUsesNativeLibraryTags(File dir, int apiLevel,
245 newContent = newContent.replace("%TARGET_SDK_VERSION%", Integer.toString(apiLevel));
262 private File buildTestApp(int apiLevel,
279 File manifestFile = createManifestFileWithUsesNativeLibraryTags(buildRoot, apiLevel,
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCtsApiCoverage.java123 int apiLevel = Integer.MAX_VALUE; in main() local
156 apiLevel = Integer.parseInt(getExpectedArg(args, ++i)); in main()
225 tasks.add(addCddCoverage(service, cddCoverage, testApk, apiLevel)); in main()
/cts/tests/tests/gamemanager/src/android/gamemanager/cts/
DGameManagerTest.java152 final int apiLevel = in assumeAndroidApiLevel() local
154 assumeTrue(apiLevel >= androidApiLevel); in assumeAndroidApiLevel()