Home
last modified time | relevance | path

Searched refs:getFirstApiLevel (Results 1 – 25 of 29) sorted by relevance

12

/cts/tests/tests/security/src/android/security/cts/
DEncryptionTest.java55 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()
98 if (PropertyUtil.getFirstApiLevel() < Build.VERSION_CODES.Q) { in handleEncryptedDevice()
DVerifiedBootTest.java47 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()
DFileIntegrityManagerTest.java66 Math.min(PropertyUtil.getFirstApiLevel(), PropertyUtil.getVendorApiLevel()); in setUp()
82 if (PropertyUtil.getFirstApiLevel() >= MIN_REQUIRED_API_LEVEL) { in testSupportedOnDevicesFirstLaunchedWithR()
/cts/hostsidetests/security/src/android/security/cts/
DMetadataEncryptionTest.java56 if (PropertyUtil.getFirstApiLevel(mDevice) <= 29) { in testMetadataEncryptionIsEnabled()
73 final int firstApiLevel = Math.min(PropertyUtil.getFirstApiLevel(mDevice), in assumeSecurityModelCompat()
DPerfEventParanoidTest.java64 if (PropertyUtil.getFirstApiLevel(mDevice) >= ANDROID_R_API_LEVEL) { in testPerfEventRestricted()
92 final int firstApiLevel = Math.min(PropertyUtil.getFirstApiLevel(mDevice), in assumeSecurityModelCompat()
DKernelConfigTest.java147 if (PropertyUtil.getFirstApiLevel(mDevice) < 28) { in testConfigHardenedUsercopy()
163 if (PropertyUtil.getFirstApiLevel(mDevice) < 28) { in testConfigPAN()
314 if (PropertyUtil.getFirstApiLevel(mDevice) < 28) { in testConfigHardwareMitigations()
341 if (PropertyUtil.getFirstApiLevel(mDevice) < 30) { in testConfigDisableUsermodehelper()
397 if (PropertyUtil.getFirstApiLevel(mDevice) < 30 && in testConfigFsVerity()
411 final int firstApiLevel = Math.min(PropertyUtil.getFirstApiLevel(mDevice), in assumeSecurityModelCompat()
DProcessMustUseSeccompTest.java47 return PropertyUtil.getFirstApiLevel(mDevice) > 25; in isFullTrebleDevice()
/cts/tests/tests/security/native/
Dutils.h21 int getFirstApiLevel();
Dutils.cpp43 int getFirstApiLevel() { in getFirstApiLevel() function
/cts/tests/tests/hardware/src/android/hardware/cts/
DSecurityModelFeatureTest.java21 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/
DSecurityModeFeatureVerifierActivity.java21 import static com.android.compatibility.common.util.PropertyUtil.getFirstApiLevel;
85 return Math.min(getFirstApiLevel(), getVendorApiLevel()) < VERSION_CODES.S; in isLaunchedBeforeS()
/cts/tests/tests/security/native/verified_boot/
DVerifiedBootTest.cpp35 int first_api_level = getFirstApiLevel(); in TEST()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DDirectBootHostTest.java21 import static com.android.compatibility.common.util.PropertyUtil.getFirstApiLevel;
211 Math.min(getFirstApiLevel(getDevice()), getVendorApiLevel(getDevice())); in assumeSupportedDevice()
DApkVerityInstallTest.java22 import static com.android.compatibility.common.util.PropertyUtil.getFirstApiLevel;
442 Math.min(getFirstApiLevel(getDevice()), getVendorApiLevel(getDevice())); in assumeSecurityModelCompat()
/cts/tests/tests/graphics/src/android/graphics/cts/
DCameraVulkanGpuTest.java51 if(PropertyUtil.getFirstApiLevel() < 28){ in testCameraImportAndRendering()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/memory/
DSystemMemoryStatsTests.java68 if (PropertyUtil.getFirstApiLevel(getDevice()) >= 30) { in testSystemMemoryAtom()
DProcessDmabufMemoryTests.java63 && PropertyUtil.getFirstApiLevel(getDevice()) >= 31 in testProcessDmabufMemoryAtom()
/cts/hostsidetests/os/src/android/os/cts/
DQuiescentBootTests.java62 (PropertyUtil.getFirstApiLevel(mDevice) < 30)); in setUp()
/cts/tests/sensor/src/android/hardware/cts/
DSensorSupportTest.java75 if (PropertyUtil.getFirstApiLevel() >= Build.VERSION_CODES.O) { in testSupportsAccelerometerUncalibrated()
/cts/tests/tests/security/native/encryption/
DFileBasedEncryptionPolicyTest.cpp194 int first_api_level = getFirstApiLevel(); in TEST()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPropertyUtil.java86 public static int getFirstApiLevel() { in getFirstApiLevel() method in PropertyUtil
/cts/tests/camera/src/android/hardware/camera2/cts/
DZoomCaptureTest.java131 PropertyUtil.getFirstApiLevel() >= Build.VERSION_CODES.S; in bufferFormatZoomTestByCamera()
/cts/tests/tests/secure_element/access_control/AccessControlApp2/src/android/omapi/accesscontrol2/cts/
DAccessControlTest.java183 assumeTrue(PropertyUtil.getFirstApiLevel() > Build.VERSION_CODES.O_MR1); in setUp()
/cts/tests/tests/secure_element/access_control/AccessControlApp3/src/android/omapi/accesscontrol3/cts/
DAccessControlTest.java193 assumeTrue(PropertyUtil.getFirstApiLevel() > Build.VERSION_CODES.O_MR1); in setUp()
/cts/tests/tests/secure_element/access_control/AccessControlApp1/src/android/omapi/accesscontrol1/cts/
DAccessControlTest.java184 assumeTrue(PropertyUtil.getFirstApiLevel() > Build.VERSION_CODES.O_MR1); in setUp()

12