/cts/tests/tests/security/src/android/security/cts/ |
D | EncryptionTest.java | 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() 107 if (PropertyUtil.getFirstApiLevel() < Build.VERSION_CODES.Q) { in handleEncryptedDevice()
|
D | VerifiedBootTest.java | 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 | 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 | KernelConfigTest.java | 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() 416 final int firstApiLevel = Math.min(PropertyUtil.getFirstApiLevel(mDevice), in assumeSecurityModelCompat() 432 if (PropertyUtil.getFirstApiLevel(mDevice) < 33) { in testConfigRandomizeBase() 452 if (PropertyUtil.getFirstApiLevel(mDevice) < 33) { in testConfigVmapStack()
|
D | MetadataEncryptionTest.java | 56 if (PropertyUtil.getFirstApiLevel(mDevice) <= 29) { in testMetadataEncryptionIsEnabled() 73 final int firstApiLevel = Math.min(PropertyUtil.getFirstApiLevel(mDevice), in assumeSecurityModelCompat()
|
D | PerfEventParanoidTest.java | 64 if (PropertyUtil.getFirstApiLevel(mDevice) >= ANDROID_R_API_LEVEL) { in testPerfEventRestricted() 92 final int firstApiLevel = Math.min(PropertyUtil.getFirstApiLevel(mDevice), in assumeSecurityModelCompat()
|
D | SELinuxNeverallowRule.java | 81 return PropertyUtil.getFirstApiLevel(device) > 29; in isDeviceLaunchingWithR() 85 return PropertyUtil.getFirstApiLevel(device) > 30; in isDeviceLaunchingWithS()
|
D | ProcessMustUseSeccompTest.java | 47 return PropertyUtil.getFirstApiLevel(mDevice) > 25; in isFullTrebleDevice()
|
/cts/tests/tests/security/native/ |
D | utils.h | 21 int getFirstApiLevel();
|
D | utils.cpp | 43 int getFirstApiLevel() { in getFirstApiLevel() function
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | SecurityModelFeatureTest.java | 21 import static com.android.compatibility.common.util.PropertyUtil.getFirstApiLevel; 51 final int firstApiLevel = Math.min(getFirstApiLevel(), getVendorApiLevel()); in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | SecurityModeFeatureVerifierActivity.java | 21 import static com.android.compatibility.common.util.PropertyUtil.getFirstApiLevel; 85 return Math.min(getFirstApiLevel(), getVendorApiLevel()) < VERSION_CODES.S; in isLaunchedBeforeS()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | PropertyUtil.java | 88 public static int getFirstApiLevel() { in getFirstApiLevel() method in PropertyUtil 109 return Math.min(apiLevel, getFirstApiLevel()); in getVsrApiLevel() 112 return getFirstApiLevel(); in getVsrApiLevel()
|
D | ApiLevelUtil.java | 114 public static int getFirstApiLevel() { in getFirstApiLevel() method in ApiLevelUtil
|
/cts/tests/tests/security/native/verified_boot/ |
D | VerifiedBootTest.cpp | 32 int first_api_level = getFirstApiLevel(); in isExemptFromAVBTests() 144 if (getFirstApiLevel() < __ANDROID_API_U__) { in TEST()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | DirectBootHostTest.java | 22 import static com.android.compatibility.common.util.PropertyUtil.getFirstApiLevel; 170 Math.min(getFirstApiLevel(getDevice()), getVendorApiLevel(getDevice())); in assumeSupportedDevice()
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
D | ConfigurationTest.java | 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/packagemanager/dynamicmime/src/android/dynamicmime/cts/ |
D | PreferredActivitiesTestCases.java | 47 return PropertyUtil.getFirstApiLevel(getDevice()) > 30 /* BUILD.VERSION_CODES.R */; in isShippedAtLeastS()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | CameraVulkanGpuTest.java | 51 if(PropertyUtil.getFirstApiLevel() < 28){ in testCameraImportAndRendering()
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | QuiescentBootTests.java | 59 (PropertyUtil.getFirstApiLevel(mDevice) < 30)); in setUp()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/memory/ |
D | SystemMemoryStatsTests.java | 69 if (PropertyUtil.getFirstApiLevel(getDevice()) >= 30) { in testSystemMemoryAtom()
|
D | ProcessDmabufMemoryTests.java | 64 && PropertyUtil.getFirstApiLevel(getDevice()) >= 31 in testProcessDmabufMemoryAtom()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorSupportTest.java | 75 if (PropertyUtil.getFirstApiLevel() >= Build.VERSION_CODES.O) { in testSupportsAccelerometerUncalibrated()
|
/cts/hostsidetests/statsdatom/apps/adpfapp/src/android/adpf/atom/app/ |
D | ADPFAtomTestActivity.java | 54 private static final int FIRST_API_LEVEL = PropertyUtil.getFirstApiLevel();
|
/cts/tests/tests/security/native/encryption/ |
D | FileBasedEncryptionPolicyTest.cpp | 245 int first_api_level = getFirstApiLevel(); in TEST()
|