Home
last modified time | relevance | path

Searched refs:VERSION (Results 1 – 25 of 73) sorted by relevance

123

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DApiLevelUtil.java29 return Build.VERSION.SDK_INT < version; in isBefore()
33 return Build.VERSION.SDK_INT < resolveVersionString(version); in isBefore()
37 return Build.VERSION.SDK_INT > version; in isAfter()
41 return Build.VERSION.SDK_INT > resolveVersionString(version); in isAfter()
45 return Build.VERSION.SDK_INT >= version; in isAtLeast()
49 return Build.VERSION.SDK_INT >= resolveVersionString(version); in isAtLeast()
53 return Build.VERSION.SDK_INT <= version; in isAtMost()
57 return Build.VERSION.SDK_INT <= resolveVersionString(version); in isAtMost()
61 return Build.VERSION.SDK_INT; in getApiLevel()
65 return Build.VERSION.CODENAME.equalsIgnoreCase(name.trim()); in codenameEquals()
[all …]
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DApiLevelUtil.java29 return Build.VERSION.SDK_INT < version; in isBefore()
33 return Build.VERSION.SDK_INT < resolveVersionString(version); in isBefore()
37 return Build.VERSION.SDK_INT > version; in isAfter()
41 return Build.VERSION.SDK_INT > resolveVersionString(version); in isAfter()
45 return Build.VERSION.SDK_INT >= version; in isAtLeast()
49 return Build.VERSION.SDK_INT >= resolveVersionString(version); in isAtLeast()
53 return Build.VERSION.SDK_INT <= version; in isAtMost()
57 return Build.VERSION.SDK_INT <= resolveVersionString(version); in isAtMost()
61 return Build.VERSION.SDK_INT; in getApiLevel()
65 return Build.VERSION.CODENAME.equalsIgnoreCase(name.trim()); in codenameEquals()
[all …]
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DGenericDeviceInfo.java86 store.addResult(BUILD_VERSION_RELEASE, Build.VERSION.RELEASE); in collectDeviceInfo()
87 store.addResult(BUILD_VERSION_SDK, Build.VERSION.SDK); in collectDeviceInfo()
92 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in collectDeviceInfo()
98 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in collectDeviceInfo()
99 store.addResult(BUILD_VERSION_BASE_OS, Build.VERSION.BASE_OS); in collectDeviceInfo()
100 store.addResult(BUILD_VERSION_SECURITY_PATCH, Build.VERSION.SECURITY_PATCH); in collectDeviceInfo()
DVintfDeviceInfo.java38 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) { in collectDeviceInfo()
69 if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.O_MR1) { in collectDeviceInfo()
/cts/tests/tests/os/src/android/os/cts/
DBuildTest.java19 import static android.os.Build.VERSION.ACTIVE_CODENAMES;
305 "Current SDK version " + Build.VERSION.SDK_INT in testSdkInt()
307 Build.VERSION.SDK_INT >= Build.VERSION_CODES.BASE); in testSdkInt()
309 "First SDK version " + Build.VERSION.FIRST_SDK_INT in testSdkInt()
311 Build.VERSION.FIRST_SDK_INT >= Build.VERSION_CODES.BASE); in testSdkInt()
313 "Current SDK version " + Build.VERSION.SDK_INT in testSdkInt()
314 + " must be at least first SDK version " + Build.VERSION.FIRST_SDK_INT, in testSdkInt()
315 Build.VERSION.SDK_INT >= Build.VERSION.FIRST_SDK_INT); in testSdkInt()
DBuildVersionTest.java47 assertAnyOf("BUILD.VERSION.RELEASE", Build.VERSION.RELEASE, getExpectedReleases()); in testReleaseVersion()
48 assertEquals("Build.VERSION.SDK", "" + EXPECTED_SDK, Build.VERSION.SDK); in testReleaseVersion()
49 assertEquals("Build.VERSION.SDK_INT", EXPECTED_SDK, Build.VERSION.SDK_INT); in testReleaseVersion()
53 assertNotEmpty(Build.VERSION.INCREMENTAL); in testIncremental()
78 assertEquals(Build.VERSION.RELEASE, devicePlatform[1]); in testBuildFingerprint()
DSecurityPatchTest.java44 String buildSecurityPatch = Build.VERSION.SECURITY_PATCH; in testSecurityPatchFound()
54 String buildSecurityPatch = Build.VERSION.SECURITY_PATCH; in testSecurityPatchFormat()
74 String buildSecurityPatch = Build.VERSION.SECURITY_PATCH; in testSecurityPatchDate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsReport.java96 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in generateResult()
103 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in generateResult()
104 versionBaseOs = Build.VERSION.BASE_OS; in generateResult()
105 versionSecurityPatch = Build.VERSION.SECURITY_PATCH; in generateResult()
115 Build.VERSION.RELEASE, Integer.toString(Build.VERSION.SDK_INT), in generateResult()
116 versionSecurityPatch, Build.VERSION.INCREMENTAL); in generateResult()
/cts/tests/tests/dpi/src/android/dpi/cts/
DDefaultManifestAttributesSdkTest.java37 + " must be at least " + Build.VERSION.SDK_INT, in testPackageHasExpectedSdkVersion()
38 getAppInfo().targetSdkVersion >= Build.VERSION.SDK_INT); in testPackageHasExpectedSdkVersion()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DSensorDeviceInfo.java42 private static final String VERSION = "version"; field in SensorDeviceInfo
77 store.addResult(VERSION, sensor.getVersion()); in collectDeviceInfo()
/cts/suite/audio_quality/test/
DTaskTest.cpp126 const android::String8 VERSION("version"); in TEST_F() local
128 ASSERT_TRUE(!task->findStringAttributePublic(VERSION, read)); in TEST_F()
/cts/hostsidetests/theme/app/src/android/theme/app/
DGenerateImagesActivity.java23 import android.os.Build.VERSION;
144 if (theme.apiLevel > VERSION.SDK_INT) { in launchThemeDeviceActivity()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java89 addResult(VERSION_RELEASE, Build.VERSION.RELEASE); in onStart()
90 addResult(VERSION_SDK, Build.VERSION.SDK); in onStart()
91 addResult(VERSION_BASE_OS, Build.VERSION.BASE_OS); in onStart()
92 addResult(VERSION_SECURITY_PATCH, Build.VERSION.SECURITY_PATCH); in onStart()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DTestReport.java102 xml.attribute(null, "release", Build.VERSION.RELEASE); in getContents()
103 xml.attribute(null, "sdk", Integer.toString(Build.VERSION.SDK_INT)); in getContents()
/cts/tests/tests/media/assets/
Dprog_index.m3u83 #EXT-X-VERSION:3
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DNfcTestActivity.java67 if ("MNC".equals(Build.VERSION.CODENAME) || Build.VERSION.SDK_INT >= 23) { in onCreate()
/cts/common/device-side/preconditions/src/com/android/compatibility/common/preconditions/
DWifiHelper.java31 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) { in isWifiConnected()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleSecureConnectionPriorityClientTestActivity.java42 return (Build.VERSION.SDK_INT > Build.VERSION_CODES.M); in shouldRebootBluetoothAfterTest()
DBleSecureEncryptedClientTestActivity.java42 return (Build.VERSION.SDK_INT > Build.VERSION_CODES.M); in shouldRebootBluetoothAfterTest()
DBleSecureClientStartActivity.java48 return (Build.VERSION.SDK_INT > Build.VERSION_CODES.M); in shouldRebootBluetoothAfterTest()
/cts/tests/tests/media/assets/audio_only/
Dindex.m3u83 #EXT-X-VERSION:5
/cts/tests/tests/media/assets/unmuxed_1500k/
Dindex.m3u83 #EXT-X-VERSION:5
/cts/tests/tests/media/assets/hls_variant/1676816/
Dindex.m3u82 #EXT-X-VERSION:3
/cts/tests/tests/media/assets/hls_variant/344388/
Dindex.m3u82 #EXT-X-VERSION:3
/cts/tests/tests/media/assets/hls_variant/765178/
Dindex.m3u82 #EXT-X-VERSION:3

123