Searched refs:CpuFeatures (Results 1 – 16 of 16) sorted by relevance
/cts/tests/tests/os/src/android/os/cts/ |
D | CpuFeaturesTest.java | 30 import com.android.compatibility.common.util.CpuFeatures; 43 if (!CpuFeatures.isArm64CpuIn32BitMode()) { in testArm64RequiredHwCaps() 47 int hwcaps = CpuFeatures.getHwCaps(); in testArm64RequiredHwCaps() 52 assertHwCap("VFP", hwcaps, CpuFeatures.Arm64.HWCAP_VFP); in testArm64RequiredHwCaps() 53 assertHwCap("NEON", hwcaps, CpuFeatures.Arm64.HWCAP_NEON); in testArm64RequiredHwCaps() 54 assertHwCap("VFPv3", hwcaps, CpuFeatures.Arm64.HWCAP_VFPv3); in testArm64RequiredHwCaps() 55 assertHwCap("VFPv4", hwcaps, CpuFeatures.Arm64.HWCAP_VFPv4); in testArm64RequiredHwCaps() 56 assertHwCap("IDIVA", hwcaps, CpuFeatures.Arm64.HWCAP_IDIVA); in testArm64RequiredHwCaps() 57 assertHwCap("IDIVT", hwcaps, CpuFeatures.Arm64.HWCAP_IDIVT); in testArm64RequiredHwCaps() 61 if (!CpuFeatures.isRiscv64Cpu()) { in testRiscv64MisalignedFast() [all …]
|
D | TaggedPointerTest.java | 22 import com.android.compatibility.common.util.CpuFeatures; 35 if (!CpuFeatures.isArm64Cpu() || CpuFeatures.isNativeBridgedCpu()) { in testHasTaggedPointer()
|
D | CpuInstructionsTest.java | 23 import com.android.compatibility.common.util.CpuFeatures; 31 if (!CpuFeatures.isArm64Cpu()) { in testArmVirtualCounter() 40 if (!CpuFeatures.isArm64CpuIn32BitMode()) { in testEmulatedArmCpuFeatures()
|
D | SeccompTest.java | 37 import com.android.compatibility.common.util.CpuFeatures; 70 if (CpuFeatures.isNativeBridgedCpu()) { in testKernelBasicTests() 153 if (CpuFeatures.isNativeBridgedCpu()) { in testKernelTSYNCTests() 196 if (CpuFeatures.isNativeBridgedCpu()) { in testIsolatedServicePolicy() 227 if (CpuFeatures.isNativeBridgedCpu()) { in testViolateIsolatedServicePolicy()
|
D | NoExecutePermissionTest.java | 19 import com.android.compatibility.common.util.CpuFeatures;
|
/cts/tests/tests/wrap/hwasan/src/android/hwasan/cts/ |
D | WrapTest.java | 22 import com.android.compatibility.common.util.CpuFeatures; 51 if (!CpuFeatures.isArm64Cpu()) return; in testProperty() 58 if (!CpuFeatures.isArm64Cpu()) return; in testRunningWithHwasan()
|
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/ |
D | SeccompDeviceTest.java | 37 import com.android.compatibility.common.util.CpuFeatures; 194 if (CpuFeatures.isArm64Cpu()) { in getCurrentArch() 196 } else if (CpuFeatures.isArmCpu()) { in getCurrentArch() 198 } else if (CpuFeatures.isX86_64Cpu()) { in getCurrentArch() 200 } else if (CpuFeatures.isX86Cpu()) { in getCurrentArch() 202 } else if (CpuFeatures.isRiscv64Cpu()) { in getCurrentArch()
|
/cts/hostsidetests/security/src/android/security/cts/ |
D | KernelConfigTest.java | 23 import com.android.compatibility.common.util.CpuFeatures; 167 if (CpuFeatures.isArm64(mDevice)) { in testConfigPAN() 172 } else if (CpuFeatures.isArm32(mDevice)) { in testConfigPAN() 326 if (CpuFeatures.isArm64(mDevice) && !CpuFeatures.kernelVersionLessThan(mDevice, 4, 4)) { in testConfigHardwareMitigations() 334 } else if (CpuFeatures.isX86(mDevice)) { in testConfigHardwareMitigations() 436 if (CpuFeatures.isArm32(mDevice)) { in testConfigRandomizeBase()
|
D | ProcessMustUseSeccompTest.java | 18 import com.android.compatibility.common.util.CpuFeatures; 123 if (CpuFeatures.isArm64(mDevice)) { in testConfigStoreHalHasSeccompFilter()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CpuFeatures.java | 21 public class CpuFeatures { class
|
/cts/hostsidetests/install/src/android/cts/install/host/ |
D | UpgradeTest.java | 27 import com.android.compatibility.common.util.CpuFeatures; 86 if (!CpuFeatures.isNativeAbi(getDevice(), getAbi().getName())) { in assumeNotNativeBridgeWithApex()
|
D | InstallTest.java | 25 import com.android.compatibility.common.util.CpuFeatures; 93 if (!CpuFeatures.isNativeAbi(getDevice(), getAbi().getName())) { in assumeNotNativeBridgeWithApex()
|
D | SamegradeTest.java | 27 import com.android.compatibility.common.util.CpuFeatures; 89 if (!CpuFeatures.isNativeAbi(getDevice(), getAbi().getName())) { in assumeNotNativeBridgeWithApex()
|
D | DowngradeTest.java | 26 import com.android.compatibility.common.util.CpuFeatures; 90 if (!CpuFeatures.isNativeAbi(getDevice(), getAbi().getName())) { in assumeNotNativeBridgeWithApex()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ChecksumsTest.java | 78 import com.android.compatibility.common.util.CpuFeatures; 348 if (CpuFeatures.isArm64Cpu() || CpuFeatures.isArmCpu()) { in testFixedFSVerityDefaultChecksums() 353 } else if (CpuFeatures.isX86_64Cpu() || CpuFeatures.isX86Cpu()) { in testFixedFSVerityDefaultChecksums() 382 if (CpuFeatures.isArm64Cpu() || CpuFeatures.isArmCpu()) { in testFixedFSVerityDefaultChecksumsIncremental() 385 } else if (CpuFeatures.isX86_64Cpu() || CpuFeatures.isX86Cpu()) { in testFixedFSVerityDefaultChecksumsIncremental()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | SplitTests.java | 40 import com.android.compatibility.common.util.CpuFeatures; 463 Assume.assumeTrue(CpuFeatures.isNativeAbi(getDevice(), getAbi().getName())); in assumeNativeAbi()
|