/cts/tests/tests/security/src/android/security/cts/ |
D | EncryptionTest.java | 33 import com.android.compatibility.common.util.PropertyUtil; 55 Math.min(PropertyUtil.getFirstApiLevel(), PropertyUtil.getVendorApiLevel()); in setUp() 66 if (PropertyUtil.getFirstApiLevel() < Build.VERSION_CODES.M) { in handleUnencryptedDevice() 72 if (PropertyUtil.getFirstApiLevel() < Build.VERSION_CODES.Q) { in handleUnencryptedDevice() 88 final String cryptoType = PropertyUtil.getProperty("ro.crypto.type"); in handleEncryptedDevice() 107 if (PropertyUtil.getFirstApiLevel() < Build.VERSION_CODES.Q) { in handleEncryptedDevice() 120 if ("encrypted".equals(PropertyUtil.getProperty("ro.crypto.state"))) { in testEncryption()
|
D | VerifiedBootTest.java | 30 import com.android.compatibility.common.util.PropertyUtil; 47 Math.min(PropertyUtil.getFirstApiLevel(), PropertyUtil.getVendorApiLevel()); in setUp() 61 return (PropertyUtil.getFirstApiLevel() < Build.VERSION_CODES.P); in isLowRamExempt() 74 if (PropertyUtil.getFirstApiLevel() < Build.VERSION_CODES.O_MR1) { in testVerifiedBootSupport()
|
D | FileIntegrityManagerTest.java | 45 import com.android.compatibility.common.util.PropertyUtil; 97 Math.min(PropertyUtil.getFirstApiLevel(), PropertyUtil.getVendorApiLevel()); in setUp() 123 if (PropertyUtil.getFirstApiLevel() >= MIN_REQUIRED_API_LEVEL) { in testSupportedOnDevicesFirstLaunchedWithR()
|
/cts/hostsidetests/security/src/android/security/cts/ |
D | MetadataEncryptionTest.java | 23 import com.android.compatibility.common.util.PropertyUtil; 56 if (PropertyUtil.getFirstApiLevel(mDevice) <= 29) { in testMetadataEncryptionIsEnabled() 59 if (PropertyUtil.propertyEquals(mDevice, "ro.crypto.type", "managed")) { in testMetadataEncryptionIsEnabled() 73 final int firstApiLevel = Math.min(PropertyUtil.getFirstApiLevel(mDevice), in assumeSecurityModelCompat() 74 PropertyUtil.getVendorApiLevel(mDevice)); in assumeSecurityModelCompat()
|
D | PerfEventParanoidTest.java | 22 import com.android.compatibility.common.util.PropertyUtil; 64 if (PropertyUtil.getFirstApiLevel(mDevice) >= ANDROID_R_API_LEVEL) { in testPerfEventRestricted() 92 final int firstApiLevel = Math.min(PropertyUtil.getFirstApiLevel(mDevice), in assumeSecurityModelCompat() 93 PropertyUtil.getVendorApiLevel(mDevice)); in assumeSecurityModelCompat()
|
D | KernelConfigTest.java | 24 import com.android.compatibility.common.util.PropertyUtil; 147 if (PropertyUtil.getFirstApiLevel(mDevice) < 28) { in testConfigHardenedUsercopy() 163 if (PropertyUtil.getFirstApiLevel(mDevice) < 28) { in testConfigPAN() 322 if (PropertyUtil.getFirstApiLevel(mDevice) < 28) { in testConfigHardwareMitigations() 349 if (PropertyUtil.getFirstApiLevel(mDevice) < 30) { in testConfigDisableUsermodehelper() 405 if (PropertyUtil.getFirstApiLevel(mDevice) < 30 && in testConfigFsVerity() 406 PropertyUtil.getPropertyInt(mDevice, "ro.apk_verity.mode") != 2) { in testConfigFsVerity() 416 final int firstApiLevel = Math.min(PropertyUtil.getFirstApiLevel(mDevice), in assumeSecurityModelCompat() 417 PropertyUtil.getVendorApiLevel(mDevice)); in assumeSecurityModelCompat() 432 if (PropertyUtil.getFirstApiLevel(mDevice) < 33) { in testConfigRandomizeBase() [all …]
|
D | SELinuxNeverallowRule.java | 21 import com.android.compatibility.common.util.PropertyUtil; 81 return PropertyUtil.getFirstApiLevel(device) > 29; in isDeviceLaunchingWithR() 85 return PropertyUtil.getFirstApiLevel(device) > 30; in isDeviceLaunchingWithS()
|
D | ProcessMustUseSeccompTest.java | 19 import com.android.compatibility.common.util.PropertyUtil; 47 return PropertyUtil.getFirstApiLevel(mDevice) > 25; in isFullTrebleDevice()
|
D | SELinuxHostTest.java | 31 import com.android.compatibility.common.util.PropertyUtil; 189 final int firstApiLevel = Math.min(PropertyUtil.getFirstApiLevel(mDevice), in assumeSecurityModelCompat() 190 PropertyUtil.getVendorApiLevel(mDevice)); in assumeSecurityModelCompat() 590 return PropertyUtil.getFirstApiLevel(device) > 26 && in isFullTrebleDevice() 591 PropertyUtil.propertyEquals(device, "ro.treble.enabled", "true"); in isFullTrebleDevice() 603 return PropertyUtil.propertyEquals( in isCompatiblePropertyEnforcedDevice() 613 return PropertyUtil.getFirstApiLevel(device) > 34 /* Build.VERSION_CODES.UPSIDE_DOWN_CAKE */ in isSepolicySplit() 958 PropertyUtil.isVendorApiLevelNewerThan(mDevice, 27) /* includeVendorSepolicy */); in testDataTypeViolators() 969 PropertyUtil.isVendorApiLevelNewerThan(mDevice, 33) /* includeVendorSepolicy */); in testBpffsTypeViolators() 980 PropertyUtil.isVendorApiLevelNewerThan(mDevice, 27) /* includeVendorSepolicy */); in testProcTypeViolators() [all …]
|
/cts/tests/tests/selinux/selinuxTargetSdkCurrent/src/android/security/ |
D | SELinuxTargetSdkTest.java | 22 import com.android.compatibility.common.util.PropertyUtil; 94 if (PropertyUtil.isVendorApiLevelNewerThan(28)) { in testDex2oat() 104 if (PropertyUtil.isVendorApiLevelAtLeast(Build.VERSION_CODES.UPSIDE_DOWN_CAKE)) { in testNoHiddenSystemProperties()
|
/cts/tests/tests/selinux/selinuxTargetSdk30/src/android/security/ |
D | SELinuxTargetSdkTest.java | 20 import com.android.compatibility.common.util.PropertyUtil; 96 if (PropertyUtil.isVendorApiLevelNewerThan(28)) { in testDex2oat()
|
/cts/tests/tests/selinux/selinuxTargetSdk29/src/android/security/ |
D | SELinuxTargetSdkTest.java | 20 import com.android.compatibility.common.util.PropertyUtil; 41 if (PropertyUtil.isVendorApiLevelNewerThan(28)) { in testDex2oat()
|
/cts/tests/tests/selinux/selinuxEphemeral/src/android/security/ |
D | SELinuxTargetSdkTest.java | 21 import com.android.compatibility.common.util.PropertyUtil; 76 if (PropertyUtil.isVendorApiLevelNewerThan(28)) { in testDex2oat()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | ClientIdDeviceInfo.java | 21 import com.android.compatibility.common.util.PropertyUtil; 44 Map<String, String> clientIds = PropertyUtil.getClientIds(); in collectClientIds()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/memory/ |
D | ProcessDmabufMemoryTests.java | 27 import com.android.compatibility.common.util.PropertyUtil; 64 && PropertyUtil.getFirstApiLevel(getDevice()) >= 31 in testProcessDmabufMemoryAtom() 65 && PropertyUtil.getVendorApiLevel(getDevice()) >= 31; in testProcessDmabufMemoryAtom()
|
D | SystemMemoryStatsTests.java | 27 import com.android.compatibility.common.util.PropertyUtil; 69 if (PropertyUtil.getFirstApiLevel(getDevice()) >= 30) { in testSystemMemoryAtom()
|
/cts/hostsidetests/packagemanager/dynamicmime/src/android/dynamicmime/cts/ |
D | PreferredActivitiesTestCases.java | 22 import com.android.compatibility.common.util.PropertyUtil; 47 return PropertyUtil.getFirstApiLevel(getDevice()) > 30 /* BUILD.VERSION_CODES.R */; in isShippedAtLeastS()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | OpenGlEsDeqpLevelTest.java | 31 import com.android.compatibility.common.util.PropertyUtil; 69 PropertyUtil.getVsrApiLevel() >= 31); in testOpenGlEsDeqpLevel()
|
D | CameraVulkanGpuTest.java | 28 import com.android.compatibility.common.util.PropertyUtil; 51 if(PropertyUtil.getFirstApiLevel() < 28){ in testCameraImportAndRendering()
|
D | VulkanDeqpLevelTest.java | 31 import com.android.compatibility.common.util.PropertyUtil; 76 PropertyUtil.getVsrApiLevel() >= 30); in testVulkanDeqpLevel()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | SecurityModelFeatureTest.java | 21 import static com.android.compatibility.common.util.PropertyUtil.getFirstApiLevel; 22 import static com.android.compatibility.common.util.PropertyUtil.getVendorApiLevel;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | SecurityModeFeatureVerifierActivity.java | 21 import static com.android.compatibility.common.util.PropertyUtil.getFirstApiLevel; 22 import static com.android.compatibility.common.util.PropertyUtil.getVendorApiLevel;
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
D | ConfigurationTest.java | 29 import com.android.compatibility.common.util.PropertyUtil; 60 if (PropertyUtil.getFirstApiLevel() >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) { in testScreenConfiguration() 64 } else if (PropertyUtil.getFirstApiLevel() >= Build.VERSION_CODES.R) { in testScreenConfiguration()
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | QuiescentBootTests.java | 28 import com.android.compatibility.common.util.PropertyUtil; 59 (PropertyUtil.getFirstApiLevel(mDevice) < 30)); in setUp()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | DirectBootHostTest.java | 22 import static com.android.compatibility.common.util.PropertyUtil.getFirstApiLevel; 23 import static com.android.compatibility.common.util.PropertyUtil.getVendorApiLevel;
|