Home
last modified time | relevance | path

Searched refs:CpuFeatures (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DCpuFeaturesTest.java30 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 …]
DTaggedPointerTest.java22 import com.android.compatibility.common.util.CpuFeatures;
35 if (!CpuFeatures.isArm64Cpu() || CpuFeatures.isNativeBridgedCpu()) { in testHasTaggedPointer()
DCpuInstructionsTest.java23 import com.android.compatibility.common.util.CpuFeatures;
31 if (!CpuFeatures.isArm64Cpu()) { in testArmVirtualCounter()
40 if (!CpuFeatures.isArm64CpuIn32BitMode()) { in testEmulatedArmCpuFeatures()
DSeccompTest.java37 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()
DNoExecutePermissionTest.java19 import com.android.compatibility.common.util.CpuFeatures;
/cts/tests/tests/wrap/hwasan/src/android/hwasan/cts/
DWrapTest.java22 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/
DSeccompDeviceTest.java37 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/
DKernelConfigTest.java23 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()
DProcessMustUseSeccompTest.java18 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/
DCpuFeatures.java21 public class CpuFeatures { class
/cts/hostsidetests/install/src/android/cts/install/host/
DUpgradeTest.java27 import com.android.compatibility.common.util.CpuFeatures;
86 if (!CpuFeatures.isNativeAbi(getDevice(), getAbi().getName())) { in assumeNotNativeBridgeWithApex()
DInstallTest.java25 import com.android.compatibility.common.util.CpuFeatures;
93 if (!CpuFeatures.isNativeAbi(getDevice(), getAbi().getName())) { in assumeNotNativeBridgeWithApex()
DSamegradeTest.java27 import com.android.compatibility.common.util.CpuFeatures;
89 if (!CpuFeatures.isNativeAbi(getDevice(), getAbi().getName())) { in assumeNotNativeBridgeWithApex()
DDowngradeTest.java26 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/
DChecksumsTest.java78 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/
DSplitTests.java40 import com.android.compatibility.common.util.CpuFeatures;
463 Assume.assumeTrue(CpuFeatures.isNativeAbi(getDevice(), getAbi().getName())); in assumeNativeAbi()