Home
last modified time | relevance | path

Searched refs:version (Results 1 – 25 of 518) sorted by relevance

12345678910>>...21

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DApiLevelUtil.java28 public static boolean isBefore(int version) { in isBefore() argument
29 return Build.VERSION.SDK_INT < version; in isBefore()
32 public static boolean isBefore(String version) { in isBefore() argument
33 return Build.VERSION.SDK_INT < resolveVersionString(version); in isBefore()
36 public static boolean isAfter(int version) { in isAfter() argument
37 return Build.VERSION.SDK_INT > version; in isAfter()
40 public static boolean isAfter(String version) { in isAfter() argument
41 return Build.VERSION.SDK_INT > resolveVersionString(version); in isAfter()
44 public static boolean isAtLeast(int version) { in isAtLeast() argument
45 return Build.VERSION.SDK_INT >= version; in isAtLeast()
[all …]
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DApiLevelUtilTest.java37 int version = Build.VERSION.SDK_INT; in testComparisonByInt() local
39 assertFalse(ApiLevelUtil.isBefore(version - 1)); in testComparisonByInt()
40 assertFalse(ApiLevelUtil.isBefore(version)); in testComparisonByInt()
41 assertTrue(ApiLevelUtil.isBefore(version + 1)); in testComparisonByInt()
43 assertTrue(ApiLevelUtil.isAfter(version - 1)); in testComparisonByInt()
44 assertFalse(ApiLevelUtil.isAfter(version)); in testComparisonByInt()
45 assertFalse(ApiLevelUtil.isAfter(version + 1)); in testComparisonByInt()
47 assertTrue(ApiLevelUtil.isAtLeast(version - 1)); in testComparisonByInt()
48 assertTrue(ApiLevelUtil.isAtLeast(version)); in testComparisonByInt()
49 assertFalse(ApiLevelUtil.isAtLeast(version + 1)); in testComparisonByInt()
[all …]
/cts/hostsidetests/appsecurity/test-apps/SplitApp/
DAndroid.bp56 "--version-code 100",
57 "--version-name OneHundred",
58 "--replace-version",
76 "--version-code 100",
78 "--version-name OneHundredRevisionTwelve",
79 "--replace-version",
87 // Define a variant with a different version code
94 "--version-code 101",
95 "--version-name OneHundredOne",
96 "--replace-version",
[all …]
/cts/tests/security/src/android/keystore/cts/
DAttestationPackageInfo.java29 private final long version; field in AttestationPackageInfo
31 public AttestationPackageInfo(String packageName, long version) { in AttestationPackageInfo() argument
33 this.version = version; in AttestationPackageInfo()
52 version = Asn1Utils.getLongFromAsn1(sequence.getObjectAt(VERSION_INDEX)); in AttestationPackageInfo()
60 return version; in getVersion()
73 res = Long.compare(version, other.version); in compareTo()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanFeaturesTest.java89 Log.d(TAG, feature.name + "=" + feature.version); in setup()
94 Log.d(TAG, feature.name + "=0x" + Integer.toHexString(feature.version)); in setup()
99 Log.d(TAG, feature.name + "=" + feature.version); in setup()
143 " version " + mVulkanHardwareLevel.version + " is not one of the defined " + in testVulkanHardwareFeatures()
145 mVulkanHardwareLevel.version >= 0 && mVulkanHardwareLevel.version <= 1); in testVulkanHardwareFeatures()
147 " version 0x" + Integer.toHexString(mVulkanHardwareVersion.version) + " is not" + in testVulkanHardwareFeatures()
149 isHardwareVersionAllowed(mVulkanHardwareVersion.version)); in testVulkanHardwareFeatures()
152 " version " + mVulkanHardwareCompute.version + in testVulkanHardwareFeatures()
154 mVulkanHardwareCompute.version == 0); in testVulkanHardwareFeatures()
162 " version " + mVulkanHardwareLevel.version + " doesn't match best physical device " + in testVulkanHardwareFeatures()
[all …]
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature_warm/
DAndroid.bp41 "--version-code 100",
42 "--version-name OneHundred",
43 "--replace-version",
60 "--version-code 100",
62 "--version-name OneHundredRevisionTwelve",
63 "--replace-version",
84 "--version-code 100",
86 "--version-name OneHundredRevisionTen",
87 "--replace-version",
/cts/tools/release-parser/tests/resources/
Dbuild.prop6 ro.build.version.incremental=4904810
7 ro.build.version.sdk=28
8 ro.build.version.preview_sdk=0
9 ro.build.version.codename=REL
10 ro.build.version.all_codenames=REL
11 ro.build.version.release=9
12 ro.build.version.security_patch=2018-08-05
13 ro.build.version.base_os=
14 ro.build.version.min_supported_target_sdk=17
Dbuild.prop.pb.txt10 key: "ro.build.version.all_codenames"
18 key: "ro.build.version.codename"
22 key: "ro.build.version.release"
158 key: "ro.build.version.sdk"
162 key: "ro.build.version.min_supported_target_sdk"
170 key: "ro.build.version.incremental"
174 key: "ro.build.version.preview_sdk"
182 key: "ro.build.version.base_os"
186 key: "ro.build.version.security_patch"
Dandroid.hardware.vulkan.version.xml.pb.txt1 name: "android.hardware.vulkan.version.xml"
10 name: "android.hardware.vulkan.version"
12 name: "version"
/cts/tests/tests/libnativehelper/jni/
Djni_invocation_api_ndk_test.cpp27 vm_args.version = JNI_VERSION_1_6; in TEST_F()
43 vm_args.version = JNI_VERSION_1_6; in TEST_F()
58 for (jint version : versions) { in TEST_F() local
59 EXPECT_EQ(JNI_OK, vmBuf[0]->GetEnv(reinterpret_cast<void**>(&env), version)) in TEST_F()
60 << " for JNI version " << std::hex << version; in TEST_F()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/armeabi/
DAndroid.mk33 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
50 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version --revision-code 12
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/mips/
DAndroid.mk33 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
50 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version --revision-code 12
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/mips64/
DAndroid.mk33 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
50 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version --revision-code 12
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/x86_64/
DAndroid.mk33 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
50 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version --revision-code 12
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/x86/
DAndroid.mk33 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
50 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version --revision-code 12
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/arm64-v8a/
DAndroid.mk33 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
50 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version --revision-code 12
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/armeabi-v7a/
DAndroid.mk33 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
50 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version --revision-code 12
/cts/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/
DSuplRrlpMessagesGenerator.java84 Version version = ulpPdu.setVersionToNewInstance(); in generateSuplStartLocalLocationMessage() local
85 version.setMinToNewInstance().setInteger(BigInteger.ZERO); in generateSuplStartLocalLocationMessage()
86 version.setMajToNewInstance().setInteger(BigInteger.valueOf(2)); in generateSuplStartLocalLocationMessage()
87 version.setServindToNewInstance().setInteger(BigInteger.ZERO); in generateSuplStartLocalLocationMessage()
88 ulpPdu.setVersion(version); in generateSuplStartLocalLocationMessage()
155 Version version = ulpPdu.setVersionToNewInstance(); in generateSuplPositionInitLocalLocationMessage() local
156 version.setMinToNewInstance().setInteger(BigInteger.ZERO); in generateSuplPositionInitLocalLocationMessage()
157 version.setMajToNewInstance().setInteger(BigInteger.valueOf(2)); in generateSuplPositionInitLocalLocationMessage()
158 version.setServindToNewInstance().setInteger(BigInteger.ZERO); in generateSuplPositionInitLocalLocationMessage()
159 ulpPdu.setVersion(version); in generateSuplPositionInitLocalLocationMessage()
[all …]
/cts/tests/tests/usb/src/android/usb/cts/
DUsbManagerApiTest.java98 int version = mUsbManagerSys.getGadgetHalVersion(); in test_UsbApiForUsbGadgetHal() local
100 if (version > UsbManager.GADGET_HAL_V1_1) { in test_UsbApiForUsbGadgetHal()
126 int version = mUsbManagerSys.getUsbHalVersion(); in test_UsbApiForUsbHal() local
127 if (version == USB_HAL_LATEST_VERSION) { in test_UsbApiForUsbHal()
129 } else if (version == UsbManager.USB_HAL_NOT_SUPPORTED) { in test_UsbApiForUsbHal()
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DPingReflector.java48 int version = mBuf[0] >> 4; in run() local
49 if (version != 4) { in run()
50 Log.e(TAG, "Received packet version: " + version + ". Ignoring."); in run()
54 processPacket(mBuf, version, len, 0); in run()
63 private void processPacket(byte[] buf, int version, int len, int hdrLen) throws IOException { in processPacket() argument
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DFeatureDeviceInfo.java57 int version = featureInfo.version; in collectDeviceInfo() local
58 addFeature(store, featureInfo.name, type, true, version); in collectDeviceInfo()
115 int version) throws Exception { in addFeature() argument
120 store.addResult("version", version); in addFeature()
/cts/suite/audio_quality/lib/src/task/
DTaskBatch.cpp56 android::String8 version; in run() local
58 if (!findStringAttribute(STR_NAME, name) || !findStringAttribute(STR_VERSION, version)) { in run()
62 version.string()); in run()
/cts/tests/tests/permission/src/android/permission/cts/
DPermissionManagerTest.java46 final int version = callWithShellPermissionIdentity(() -> in testRuntimePermissionsVersion() local
48 assertThat(version).isAtLeast(0); in testRuntimePermissionsVersion()
50 permissionManager.setRuntimePermissionsVersion(version)); in testRuntimePermissionsVersion()
/cts/hostsidetests/install/app/src/android/cts/install/
DInstallRule.java102 void assertPackageVersion(INSTALL_TYPE installType, int version) { in assertPackageVersion() argument
105 long expectedVersion = version; in assertPackageVersion()
110 if (version == VERSION_CODE_INVALID && info.isApex) { in assertPackageVersion()
143 private static TestApp getTestApp(String packageName, int version) { in getTestApp() argument
144 if (!sTestAppMap.contains(packageName, version)) { in getTestApp()
147 return sTestAppMap.get(packageName, version); in getTestApp()
/cts/tests/tests/opengl/src/android/opengl/cts/
DEgl14Utils.java58 String version = GLES20.glGetString(GLES20.GL_VERSION); in getMajorVersion() local
60 Matcher matcher = pattern.matcher(version); in getMajorVersion()
95 static EGLContext createEglContext(EGLDisplay eglDisplay, EGLConfig eglConfig, int version) { in createEglContext() argument
96 int[] contextAttributes = { EGL14.EGL_CONTEXT_CLIENT_VERSION, version, EGL14.EGL_NONE }; in createEglContext()
136 static EGLConfig getEglConfig(EGLDisplay eglDisplay, int version) { in getEglConfig() argument
139 if (version == 3) { in getEglConfig()

12345678910>>...21