Home
last modified time | relevance | path

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

12

/cts/tests/tests/os/src/android/os/cts/
DBuildVersionTest.java42 assertAnyOf("BUILD.VERSION.RELEASE", Build.VERSION.RELEASE, EXPECTED_RELEASES); in testReleaseVersion()
43 assertEquals("Build.VERSION.SDK", "" + EXPECTED_SDK, Build.VERSION.SDK); in testReleaseVersion()
44 assertEquals("Build.VERSION.SDK_INT", EXPECTED_SDK, Build.VERSION.SDK_INT); in testReleaseVersion()
48 assertNotEmpty(Build.VERSION.INCREMENTAL); in testIncremental()
74 assertEquals(Build.VERSION.RELEASE, devicePlatform[1]); in testBuildFingerprint()
DSecurityPatchTest.java41 mSkipTests = (Build.VERSION.SDK_INT < Build.VERSION_CODES.M); in setUp()
51 String buildSecurityPatch = Build.VERSION.SECURITY_PATCH; in testSecurityPatchFound()
63 String buildSecurityPatch = Build.VERSION.SECURITY_PATCH; in testSecurityPatchFormat()
86 String buildSecurityPatch = Build.VERSION.SECURITY_PATCH; in testSecurityPatchDate()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DGenericDeviceInfo.java77 store.addResult(BUILD_VERSION_RELEASE, Build.VERSION.RELEASE); in collectDeviceInfo()
78 store.addResult(BUILD_VERSION_SDK, Build.VERSION.SDK); in collectDeviceInfo()
83 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in collectDeviceInfo()
89 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in collectDeviceInfo()
90 store.addResult(BUILD_VERSION_BASE_OS, Build.VERSION.BASE_OS); in collectDeviceInfo()
91 store.addResult(BUILD_VERSION_SECURITY_PATCH, Build.VERSION.SECURITY_PATCH); in collectDeviceInfo()
DFeatureDeviceInfo.java56 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { in collectDeviceInfo()
/cts/tests/tests/dpi/src/android/dpi/cts/
DDefaultManifestAttributesSdkTest.java36 assertEquals(Build.VERSION.SDK_INT, getAppInfo().targetSdkVersion); in testPackageHasExpectedSdkVersion()
/cts/tests/tests/media/assets/
Dprog_index.m3u83 #EXT-X-VERSION:3
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DSensorDeviceInfo.java40 private static final String VERSION = "version"; field in SensorDeviceInfo
68 store.addResult(VERSION, sensor.getVersion()); in collectDeviceInfo()
/cts/common/device-side/preconditions/src/com/android/compatibility/common/preconditions/
DScreenLockHelper.java33 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { in isDeviceSecure()
DWifiHelper.java31 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) { in isWifiConnected()
/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.java25 import android.os.Build.VERSION;
150 if (theme.apiLevel > VERSION.SDK_INT) { in generateNextImage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DNfcTestActivity.java64 if ("MNC".equals(Build.VERSION.CODENAME) || Build.VERSION.SDK_INT >= 23) { in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsReport.java111 xml.attribute(null, "release", Build.VERSION.RELEASE); in getContents()
112 xml.attribute(null, "sdk", Integer.toString(Build.VERSION.SDK_INT)); in getContents()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java87 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/
DDynamicSensorDiscoveryTestActivity.java60 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()
/cts/tests/tests/view/src/android/view/inputmethod/cts/
DKeyboardTest.java21 import android.os.Build.VERSION;
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSystemUpdatePolicyTest.java49 mHasFeature = Build.VERSION.SDK_INT > Build.VERSION_CODES.LOLLIPOP_MR1; in setUp()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/
DUtils.java105 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in getDuration()
/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionTest.java87 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP_MR1) { in testFailedState()
106 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP_MR1) { in testCanceledState()
DTestUtils.java35 static final boolean HAS_TELECOM = Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP;
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
DEventBasicVerification.java69 if (Build.VERSION.SDK_INT > Build.VERSION_CODES.M) { in EventBasicVerification()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DSensorFeaturesDeactivator.java101 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR1) { in getSettingMode()
/cts/tests/tests/media/src/android/media/cts/
DClearKeySystemTest.java108 if (android.os.Build.VERSION.SDK_INT <= android.os.Build.VERSION_CODES.KITKAT) { in deviceHasMediaDrm()
292 if (android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.JELLY_BEAN) { in isResolutionSupported()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DHceEmulatorTestActivity.java106 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in onCreate()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/
DCompatibilityBuildHelper.java78 mBuildInfo.addBuildAttribute(SUITE_VERSION, SuiteInfo.VERSION); in init()

12