/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | ApiLevelUtil.java | 29 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 …]
|
D | PropertyUtil.java | 80 return (firstApiLevel == INT_VALUE_IF_UNSET) ? Build.VERSION.SDK_INT : firstApiLevel; in getFirstApiLevel()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | GenericDeviceInfo.java | 82 store.addResult(BUILD_VERSION_RELEASE, Build.VERSION.RELEASE); in collectDeviceInfo() 83 store.addResult(BUILD_VERSION_SDK, Build.VERSION.SDK); in collectDeviceInfo() 88 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in collectDeviceInfo() 94 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in collectDeviceInfo() 95 store.addResult(BUILD_VERSION_BASE_OS, Build.VERSION.BASE_OS); in collectDeviceInfo() 96 store.addResult(BUILD_VERSION_SECURITY_PATCH, Build.VERSION.SECURITY_PATCH); in collectDeviceInfo()
|
D | VintfDeviceInfo.java | 38 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) { in collectDeviceInfo() 69 if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.O_MR1) { in collectDeviceInfo()
|
D | VintfFilesCollector.java | 46 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) { in testCollectVintfFiles()
|
D | FeatureDeviceInfo.java | 56 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { in collectDeviceInfo()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BuildVersionTest.java | 47 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() 79 assertEquals(Build.VERSION.RELEASE, devicePlatform[1]); in testBuildFingerprint()
|
D | BuildTest.java | 19 import static android.os.Build.VERSION.CODENAME; 261 "Current SDK version " + Build.VERSION.SDK_INT in testSdkInt() 263 Build.VERSION.SDK_INT >= Build.VERSION_CODES.BASE); in testSdkInt() 265 "First SDK version " + Build.VERSION.FIRST_SDK_INT in testSdkInt() 267 Build.VERSION.FIRST_SDK_INT >= Build.VERSION_CODES.BASE); in testSdkInt() 269 "Current SDK version " + Build.VERSION.SDK_INT in testSdkInt() 270 + " must be at least first SDK version " + Build.VERSION.FIRST_SDK_INT, in testSdkInt() 271 Build.VERSION.SDK_INT >= Build.VERSION.FIRST_SDK_INT); in testSdkInt()
|
D | SecurityPatchTest.java | 47 mBuildSecurityPatch = Build.VERSION.SECURITY_PATCH; in setUp() 61 if (Build.VERSION.FIRST_SDK_INT <= Build.VERSION_CODES.O) { in testVendorSecurityPatchFound() 76 if (Build.VERSION.FIRST_SDK_INT <= Build.VERSION_CODES.O) { in testSecurityPatchesFormat() 111 if (Build.VERSION.FIRST_SDK_INT <= Build.VERSION_CODES.O) { in testSecurityPatchDates()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsReport.java | 88 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in generateResult() 95 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in generateResult() 96 versionBaseOs = Build.VERSION.BASE_OS; in generateResult() 97 versionSecurityPatch = Build.VERSION.SECURITY_PATCH; in generateResult() 107 Build.VERSION.RELEASE, Integer.toString(Build.VERSION.SDK_INT), in generateResult() 108 versionSecurityPatch, Build.VERSION.INCREMENTAL); in generateResult()
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
D | DefaultManifestAttributesSdkTest.java | 36 assertEquals(Build.VERSION.SDK_INT, getAppInfo().targetSdkVersion); in testPackageHasExpectedSdkVersion()
|
/cts/tests/tests/media/assets/ |
D | prog_index.m3u8 | 3 #EXT-X-VERSION:3
|
/cts/common/device-side/preconditions/src/com/android/compatibility/common/preconditions/ |
D | WifiHelper.java | 31 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) { in isWifiConnected()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleSecureConnectionPriorityClientTestActivity.java | 42 return (Build.VERSION.SDK_INT > Build.VERSION_CODES.M); in shouldRebootBluetoothAfterTest()
|
D | BleSecureEncryptedClientTestActivity.java | 42 return (Build.VERSION.SDK_INT > Build.VERSION_CODES.M); in shouldRebootBluetoothAfterTest()
|
D | BleSecureClientStartActivity.java | 48 return (Build.VERSION.SDK_INT > Build.VERSION_CODES.M); in shouldRebootBluetoothAfterTest()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | PrivateAttributeTest.java | 33 if (!Build.VERSION.CODENAME.equals("REL")) { in testNoAttributesAfterLastPublicAttribute()
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | SensorDeviceInfo.java | 42 private static final String VERSION = "version"; field in SensorDeviceInfo 77 store.addResult(VERSION, sensor.getVersion()); in collectDeviceInfo()
|
/cts/suite/audio_quality/test/ |
D | TaskTest.cpp | 126 const android::String8 VERSION("version"); in TEST_F() local 128 ASSERT_TRUE(!task->findStringAttributePublic(VERSION, read)); in TEST_F()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
D | NfcTestActivity.java | 64 if ("MNC".equals(Build.VERSION.CODENAME) || Build.VERSION.SDK_INT >= 23) { in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | TestReport.java | 102 xml.attribute(null, "release", Build.VERSION.RELEASE); in getContents() 103 xml.attribute(null, "sdk", Integer.toString(Build.VERSION.SDK_INT)); in getContents()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | GenerateImagesActivity.java | 25 import android.os.Build.VERSION; 150 if (theme.apiLevel > VERSION.SDK_INT) { in generateNextImage()
|
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/ |
D | ApiLevelUtilTest.java | 36 int version = Build.VERSION.SDK_INT; in testComparisonByInt()
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoInstrument.java | 87 addResult(VERSION_RELEASE, Build.VERSION.RELEASE); in onStart() 88 addResult(VERSION_SDK, Build.VERSION.SDK); in onStart() 89 addResult(VERSION_BASE_OS, Build.VERSION.BASE_OS); in onStart() 90 addResult(VERSION_SECURITY_PATCH, Build.VERSION.SECURITY_PATCH); in onStart()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | DynamicSensorDiscoveryTestActivity.java | 60 if (mSensorManager == null || !(Build.VERSION.SDK_INT > Build.VERSION_CODES.M || in activitySetUp() 61 Build.VERSION.CODENAME.startsWith("N") /* useful when N in dev */) ) { in activitySetUp()
|