/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ApiLevelUtil.java | 28 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/ |
D | ApiLevelUtilTest.java | 37 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/ |
D | Android.bp | 57 "--version-code 100", 58 "--version-name OneHundred", 59 "--replace-version", 85 "--version-code 100", 86 "--version-name OneHundred", 87 "--replace-version", 106 "--version-code 100", 108 "--version-name OneHundredRevisionTwelve", 109 "--replace-version", 117 // Define a variant with a different version code [all …]
|
/cts/tests/security/src/android/keystore/cts/ |
D | AttestationPackageInfo.java | 29 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/ |
D | VulkanFeaturesTest.java | 89 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/ |
D | Android.bp | 41 "--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/tests/tests/libnativehelper/jni/ |
D | jni_invocation_api_ndk_test.cpp | 27 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/tools/release-parser/tests/resources/ |
D | build.prop | 6 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
|
D | android.hardware.vulkan.version.xml.pb.txt | 1 name: "android.hardware.vulkan.version.xml" 10 name: "android.hardware.vulkan.version" 12 name: "version"
|
D | build.prop.pb.txt | 10 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"
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/mips/ |
D | Android.mk | 33 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/ |
D | Android.mk | 33 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/ |
D | Android.mk | 33 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/ |
D | Android.mk | 33 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/ |
D | Android.mk | 33 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/ |
D | Android.mk | 33 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/ |
D | Android.mk | 33 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version 50 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version --revision-code 12
|
/cts/tests/tests/usb/src/android/usb/cts/ |
D | UsbManagerApiTest.java | 98 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/ |
D | PingReflector.java | 48 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/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/ |
D | SuplRrlpMessagesGenerator.java | 84 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/suite/audio_quality/lib/src/task/ |
D | TaskBatch.cpp | 56 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/ |
D | PermissionManagerTest.java | 46 final int version = callWithShellPermissionIdentity(() -> in testRuntimePermissionsVersion() local 48 assertThat(version).isAtLeast(0); in testRuntimePermissionsVersion() 50 permissionManager.setRuntimePermissionsVersion(version)); in testRuntimePermissionsVersion()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | FeatureDeviceInfo.java | 57 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/tests/tests/opengl/src/android/opengl/cts/ |
D | Egl14Utils.java | 58 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()
|
/cts/hostsidetests/install/app/src/android/cts/install/ |
D | InstallRule.java | 102 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()
|