Home
last modified time | relevance | path

Searched refs:abi (Results 1 – 25 of 31) sorted by relevance

12

/cts/hostsidetests/packagemanager/extractnativelibs/src/android/extractnativelibs/cts/
DCtsExtractNativeLibsHostTestBase.java102 final void installPackage(boolean isIncremental, String apkName, String abi) throws Exception { in installPackage() argument
104 installPackageIncremental(apkName, abi); in installPackage()
106 installPackageLegacy(apkName, abi); in installPackage()
110 final boolean checkNativeLibDir(boolean isExtractNativeLibs, String abi) throws Exception { in checkNativeLibDir() argument
112 return checkExtractedNativeLibDirForAbi(abi); in checkNativeLibDir()
147 private void installPackageLegacy(String apkFileName, String abi) in installPackageLegacy() argument
151 final String abiFlag = createAbiFlag(abi); in installPackageLegacy()
223 for (String abi : getDeviceAbis()) { in getDeviceAbiSuffixes()
224 abiSuffixes.add(AbiUtils.getBitness(abi)); in getDeviceAbiSuffixes()
229 private void installPackageIncremental(String apkName, String abi) throws Exception { in installPackageIncremental() argument
[all …]
/cts/hostsidetests/compilation/src/android/compilation/cts/
DUtils.java64 private void installFromResourcesImpl(IAbi abi, List<String> args, in installFromResourcesImpl() argument
71 abi.getName())); in installFromResourcesImpl()
123 public void installFromResourcesWithArgs(IAbi abi, List<String> args, in installFromResourcesWithArgs() argument
125 installFromResourcesImpl(abi, args, List.of(apkDmResources), false /* multiPackage */); in installFromResourcesWithArgs()
129 public void installFromResources(IAbi abi, List<Pair<String, String>> apkDmResources) in installFromResources() argument
131 installFromResourcesWithArgs(abi, List.of() /* args */, apkDmResources); in installFromResources()
134 public void installFromResources(IAbi abi, String apkResource, String dmResource) in installFromResources() argument
136 installFromResources(abi, List.of(Pair.create(apkResource, dmResource))); in installFromResources()
139 public void installFromResources(IAbi abi, String apkResource) throws Exception { in installFromResources() argument
140 installFromResources(abi, apkResource, null); in installFromResources()
[all …]
/cts/tools/mcts/
Ddownload_mcts.sh44 --abi) abi="$2";; # arm64 or x86_64
57 path="${year}-${month}/${abi}"
61 path="${android_version}/${abi}"
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCpuFeatures.java70 for (String abi : Build.SUPPORTED_64_BIT_ABIS) { in isArm64CpuIn32BitMode()
71 if (abi.equals("arm64-v8a")) { in isArm64CpuIn32BitMode()
/cts/hostsidetests/install/src/android/cts/install/host/
DDeviceParameterized.java73 public void setAbi(IAbi abi) { in setAbi() argument
74 mAbi = abi; in setAbi()
123 public void setAbi(IAbi abi) { in setAbi() argument
124 mAbi = abi; in setAbi()
/cts/tests/tests/os/src/android/os/cts/
DBuildTest.java89 for (String abi : Build.SUPPORTED_ABIS) { in testCpuAbi_valuesMatchPermitted()
90 if (abi.endsWith("-hwasan")) { in testCpuAbi_valuesMatchPermitted()
123 for (String abi : Build.SUPPORTED_32_BIT_ABIS) { in runTestCpuAbiCommon()
124 assertTrue(abiList.contains(abi)); in runTestCpuAbiCommon()
125 assertFalse(Build.is64BitAbi(abi)); in runTestCpuAbiCommon()
129 for (String abi : Build.SUPPORTED_64_BIT_ABIS) { in runTestCpuAbiCommon()
130 assertTrue(abiList.contains(abi)); in runTestCpuAbiCommon()
131 assertTrue(Build.is64BitAbi(abi)); in runTestCpuAbiCommon()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerMultiArchAppTest.java139 private static String getBaseArchForAbi(@NonNull String abi) { in getBaseArchForAbi() argument
140 Objects.requireNonNull(abi); in getBaseArchForAbi()
141 if (abi.isEmpty()) { in getBaseArchForAbi()
144 return ABI_TO_BASE_ARCH.get(abi); in getBaseArchForAbi()
148 private static String getTestAppPath(@NonNull String abi, @NonNull String baseArch) { in getTestAppPath() argument
149 Objects.requireNonNull(abi); in getTestAppPath()
152 if (getBitness(abi).equals(BITNESS_32)) { in getTestAppPath()
179 private static String getBitness(String abi) { in getBitness() argument
180 return BITS_32_SET.contains(abi) ? BITNESS_32 : BITNESS_64; in getBitness()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostDeviceInfo.java40 String abi = getProperty("ro.product.cpu.abilist"); in collectDeviceInfo() local
41 store.addListResult("abi", Arrays.asList(abi.split(","))); in collectDeviceInfo()
/cts/hostsidetests/monkey/src/com/android/cts/monkey/
DAbstractMonkeyTest.java30 public void setAbi(IAbi abi) { in setAbi() argument
31 mAbi = abi; in setAbi()
/cts/hostsidetests/os/src/android/os/cts/
DOsHostTests.java62 public void setAbi(IAbi abi) { in setAbi() argument
63 mAbi = abi; in setAbi()
/cts/hostsidetests/utils/src/android/cts/host/utils/
DDeviceJUnit4Parameterized.java72 public void setAbi(IAbi abi) { in setAbi() argument
75 ((IAbiReceiver)runner).setAbi(abi); in setAbi()
DDeviceJUnit4ClassRunnerWithParameters.java71 public void setAbi(IAbi abi) { in setAbi() argument
72 mAbi = abi; in setAbi()
/cts/hostsidetests/ui/src/android/ui/cts/
DInstallTimeTest.java55 public void setAbi(IAbi abi) { in setAbi() argument
56 mAbi = abi; in setAbi()
DTaskSwitchingTest.java69 public void setAbi(IAbi abi) { in setAbi() argument
70 mAbi = abi; in setAbi()
/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerHostTest.java66 public void setAbi(IAbi abi) { in setAbi() argument
67 mAbi = abi; in setAbi()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DSplitTests.java356 final String abi = getAbi().getName(); in testNativeSingle_assertFail() local
357 final String apk = ABI_TO_APK.get(abi); in testNativeSingle_assertFail()
358 assertNotNull("Failed to find APK for ABI " + abi, apk); in testNativeSingle_assertFail()
367 final String abi = getAbi().getName(); in testNativeSingle() local
368 final String apk = ABI_TO_APK.get(abi); in testNativeSingle()
369 final String revisionApk = ABI_TO_REVISION_APK.get(abi); in testNativeSingle()
370 assertNotNull("Failed to find APK for ABI " + abi, apk); in testNativeSingle()
406 for (String abi : supportedAbiSet) { in specifyAbiToTest()
407 String apk = ABI_TO_APK.get(abi); in specifyAbiToTest()
412 IAbi iAbi = new Abi(abi, AbiUtils.getBitness(abi)); in specifyAbiToTest()
DPrivilegedUpdateTests.java66 public void setAbi(IAbi abi) { in setAbi() argument
67 mAbi = abi; in setAbi()
DBaseInstallMultiple.java90 public BaseInstallMultiple(ITestDevice device, IBuildInfo buildInfo, IAbi abi) { in BaseInstallMultiple() argument
91 this(device, buildInfo, abi, true); in BaseInstallMultiple()
94 public BaseInstallMultiple(ITestDevice device, IBuildInfo buildInfo, IAbi abi, in BaseInstallMultiple() argument
98 mAbi = abi; in BaseInstallMultiple()
/cts/tools/release-parser/tests/resources/
Dbuild.prop28 # ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
30 ro.product.cpu.abi=arm64-v8a
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DBaseInstallMultiple.java52 public BaseInstallMultiple(ITestDevice device, IBuildInfo buildInfo, IAbi abi) { in BaseInstallMultiple() argument
55 mAbi = abi; in BaseInstallMultiple()
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/
DBaseInstallMultiple.java52 public BaseInstallMultiple(ITestDevice device, IBuildInfo buildInfo, IAbi abi) { in BaseInstallMultiple() argument
55 mAbi = abi; in BaseInstallMultiple()
/cts/hostsidetests/jvmti/base/host/src/android/jvmti/cts/
DJvmtiHostTest.java149 String abi = device.executeShellCommand("getprop ro.product.cpu.abi").replace("\n", ""); in getDeviceBaseArch() local
150 CLog.d("DUT abi:" + abi); in getDeviceBaseArch()
151 return AbiUtils.getBaseArchForAbi(abi); in getDeviceBaseArch()
/cts/hostsidetests/usb/src/com/android/cts/usb/
DTestUsbTest.java59 public void setAbi(IAbi abi) { in setAbi() argument
60 mAbi = abi; in setAbi()
/cts/hostsidetests/jvmti/attaching/host/src/android/jvmti/cts/
DJvmtiAttachingHostTest.java242 String abi = device.executeShellCommand("getprop ro.product.cpu.abi").replace("\n", ""); in getDeviceBaseArch() local
243 CLog.d("DUT abi:" + abi); in getDeviceBaseArch()
244 return AbiUtils.getBaseArchForAbi(abi); in getDeviceBaseArch()
/cts/hostsidetests/adpf/src/android/adpf/cts/
DADPFHintSessionHostJUnit4Test.java71 for (String abi : abis) { in setUp()
72 if (abi.toLowerCase().startsWith("arm")) { in setUp()

12