Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/common_util/com/android/tradefed/util/
DAbiUtils.java155 public static String getArchForAbi(String abi) { in getArchForAbi() argument
156 if (abi == null || abi.isEmpty()) { in getArchForAbi()
159 return ABI_TO_ARCH.get(abi); in getArchForAbi()
163 public static String getBaseArchForAbi(String abi) { in getBaseArchForAbi() argument
164 if (abi == null || abi.isEmpty()) { in getBaseArchForAbi()
167 return ABI_TO_BASE_ARCH.get(abi); in getBaseArchForAbi()
188 public static boolean isAbiSupportedByCompatibility(String abi) { in isAbiSupportedByCompatibility() argument
189 return ABIS_SUPPORTED_BY_COMPATIBILITY.contains(abi); in isAbiSupportedByCompatibility()
197 public static String createAbiFlag(String abi) { in createAbiFlag() argument
198 if (abi == null || abi.isEmpty() || !isAbiSupportedByCompatibility(abi)) { in createAbiFlag()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoader.java211 IAbi abi, in addFiltersToTest() argument
259 for (IAbi abi : abis) { in loadOneConfig()
264 String baseId = AbiUtils.createId(abi.getName(), name); in loadOneConfig()
356 setUpConfig(name, nameWithParam, baseId, fullId, paramConfig, abi); in loadOneConfig()
380 abi, in loadOneConfig()
391 setUpConfig(name, nameWithParam, baseId, fullId, paramConfig, abi); in loadOneConfig()
407 setUpConfig(name, null, baseId, baseId, config, abi); in loadOneConfig()
445 String abi = filter.getAbi(); in addFilters() local
446 if (abi == null) { in addFilters()
451 addFilter(abi, filter, filters); in addFilters()
[all …]
DSuiteTestFilter.java49 String abi = null, name = null, test = null; in createFrom() local
60 abi = parts[0]; in createFrom()
70 return new SuiteTestFilter(abi, name, test); in createFrom()
80 public SuiteTestFilter(String abi, String name, String test) { in SuiteTestFilter() argument
81 mAbi = abi; in SuiteTestFilter()
DTfSuiteRunner.java148 for (IAbi abi : abis) { in loadTests()
152 String configNameAbi = abi.getName() + " " + configName; in loadTests()
155 ((IAbiReceiver) test).setAbi(abi); in loadTests()
160 ((IAbiReceiver) preparer).setAbi(abi); in loadTests()
166 ((IAbiReceiver) preparer).setAbi(abi); in loadTests()
DTestMappingSuiteRunner.java176 IAbi abi = configDescriptor.getAbi(); in loadTests() local
178 String moduleName = entry.getKey().replace(String.format("%s ", abi.getName()), ""); in loadTests()
182 allTests.addAll(createIndividualTests(testInfos, configPath, abi)); in loadTests()
217 List<IRemoteTest> createIndividualTests(Set<TestInfo> testInfos, String configPath, IAbi abi) { in createIndividualTests() argument
242 && !entry.getValue().getConfigurationDescription().getAbi().equals(abi)) { in createIndividualTests()
DITestSuite.java1222 for (String abi : deviceAbis) { in getAbis()
1223 if ((mSkipHostArchCheck || archAbis.contains(abi)) in getAbis()
1224 && AbiUtils.isAbiSupportedByCompatibility(abi)) { in getAbis()
1225 abis.add(new Abi(abi, AbiUtils.getBitness(abi))); in getAbis()
1230 abi, archAbis); in getAbis()
/tools/ndkports/src/main/kotlin/com/android/ndkports/
DPrefabPackageBuilder.kt134 private fun installLibForAbi(module: Module, abi: Abi, libsDir: File) { in <lambda>()
140 directory.resolve("install/$abi/lib/$libName") in <lambda>()
143 val api = abiToApiMap.getOrElse(abi) { in <lambda>()
152 abi = abi.abiName, in <lambda>()
243 for (abi in Abi.values()) { in <lambda>() method
244 installLibForAbi(module, abi, libsDir) in <lambda>()
DCli.kt89 for (abi in Abi.values()) { in run() constant
90 val api = apiForAbi.getOrElse(abi) { in run()
95 val toolchain = Toolchain(ndk, abi, api) in run()
97 val buildDirectory = workingDirectory.resolve("build/$abi") in run()
DToolchain.kt19 class Toolchain(val ndk: Ndk, val abi: Abi, val api: Int) { constant in com.android.ndkports.Toolchain
20 val binutilsTriple = when (abi) {
27 private val clangTriple = when (abi) {
DMesonPort.kt37 val cpuFamily = when (toolchain.abi) { in configure()
44 val cpu = when (toolchain.abi) { in configure()
/tools/tradefederation/core/src/com/android/tradefed/util/
DAbiFormatter.java50 public static String formatCmdForAbi(String str, String abi) { in formatCmdForAbi() argument
55 if (abi == null) { in formatCmdForAbi()
61 if (m.group(1).equals(abi)) { in formatCmdForAbi()
64 m.appendReplacement(sb, abi); in formatCmdForAbi()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DArtRunTest.java81 public void setAbi(IAbi abi) { in setAbi() argument
82 mAbi = abi; in setAbi()
121 String abi = mAbi.getName(); in runArtTest() local
122 cmd = cmd.replace("|#BITNESS#|", AbiUtils.getBitness(abi)); in runArtTest()
128 String runName = String.format("%s_%s", RUNTEST_TAG, abi); in runArtTest()
DDeviceSuite.java80 public void setAbi(IAbi abi) { in setAbi() argument
81 mAbi = abi; in setAbi()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFileUtilTest.java515 IAbi abi = new Abi("arm64-v8a", "64"); in testfindFile_success() local
516 File findFile = FileUtil.findFile(".*.config", abi, tmpDir); in testfindFile_success()
520 abi = new Abi("armeabi-v7a", "32"); in testfindFile_success()
521 findFile = FileUtil.findFile(".*.config", abi, tmpDir); in testfindFile_success()
525 abi = new Abi("x86_64", "64"); in testfindFile_success()
526 findFile = FileUtil.findFile(".*.config", abi, tmpDir); in testfindFile_success()
530 abi = new Abi("x86", "32"); in testfindFile_success()
531 findFile = FileUtil.findFile(".*.config", abi, tmpDir); in testfindFile_success()
DAbiUtilsTest.java84 String abi = AbiUtils.parseAbi(ABI_ID); in testParseAbi() local
85 assertEquals("Incorrect abi name", ABI_NAME, abi); in testParseAbi()
/tools/tradefederation/core/proto/
Dconfiguration_description.proto32 // Representation of abi
34 // Name of the abi.
37 // The bitness of the abi. Can be 32 or 64.
56 Abi abi = 7; field
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/
DBaseModuleController.java67 String abi = mContext.getAttributes().get(ModuleDefinition.MODULE_ABI).get(0); in getModuleAbi() local
68 return new Abi(abi, AbiUtils.getBitness(abi)); in getModuleAbi()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DInstallApkSetup.java97 String abi = AbiFormatter.getDefaultAbi(device, mForceAbi); in setUp() local
98 if (abi != null) { in setUp()
99 mInstallArgs.add(String.format("--abi %s", abi)); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DDeviceSuiteTest.java122 public void setAbi(IAbi abi) { in setAbi() argument
123 sAbi = abi; in setAbi()
152 public void setAbi(IAbi abi) { in setAbi() argument
153 mAbi = abi; in setAbi()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DRetryRescheduler.java255 for (String abi : abis) { in updateRunner()
258 abi, moduleFilter.getName(), moduleFilter.getTest()); in updateRunner()
273 for (String abi : abis) { in updateRunner()
275 new SuiteTestFilter(abi, suiteFilter.getName(), suiteFilter.getTest()); in updateRunner()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/
DMainlineModuleHandler.java42 public MainlineModuleHandler(String name, IAbi abi, IInvocationContext context) { in MainlineModuleHandler() argument
44 mAbi = abi; in MainlineModuleHandler()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DDeviceParameterizedRunner.java89 public void setAbi(IAbi abi) { in setAbi() argument
90 mAbi = abi; in setAbi()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DStubTest.java133 public void setAbi(IAbi abi) { in setAbi() argument
134 mAbi = abi; in setAbi()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/config/
DConfigurationDescriptor.java156 public void setAbi(IAbi abi) { in setAbi() argument
157 mAbi = abi; in setAbi()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteTest.java889 for (IAbi abi : res) { in testGetAbis()
890 assertTrue(expectedAbis.contains(abi.getName())); in testGetAbis()
931 for (IAbi abi : res) { in testGetAbis_primaryAbiOnly()
932 assertTrue(expectedAbis.contains(abi.getName())); in testGetAbis_primaryAbiOnly()
976 for (IAbi abi : res) { in testGetAbis_skipCtsArchCheck()
977 assertTrue(expectedAbis.contains(abi.getName())); in testGetAbis_skipCtsArchCheck()
996 for (IAbi abi : res) { in testGetAbis_skipCtsArchCheck_abiSpecified()
997 assertTrue(expectedAbis.contains(abi.getName())); in testGetAbis_skipCtsArchCheck_abiSpecified()
1638 for (IAbi abi : res) { in testNullDeviceSuite()
1639 assertTrue(expectedAbis.contains(abi.getName())); in testNullDeviceSuite()

12