/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | AbiUtils.java | 155 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/ |
D | SuiteModuleLoader.java | 211 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 …]
|
D | SuiteTestFilter.java | 49 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()
|
D | TfSuiteRunner.java | 148 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()
|
D | TestMappingSuiteRunner.java | 176 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()
|
D | ITestSuite.java | 1222 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/ |
D | PrefabPackageBuilder.kt | 134 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>()
|
D | Cli.kt | 89 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()
|
D | Toolchain.kt | 19 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) {
|
D | MesonPort.kt | 37 val cpuFamily = when (toolchain.abi) { in configure() 44 val cpu = when (toolchain.abi) { in configure()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | AbiFormatter.java | 50 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/ |
D | ArtRunTest.java | 81 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()
|
D | DeviceSuite.java | 80 public void setAbi(IAbi abi) { in setAbi() argument 81 mAbi = abi; in setAbi()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | FileUtilTest.java | 515 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()
|
D | AbiUtilsTest.java | 84 String abi = AbiUtils.parseAbi(ABI_ID); in testParseAbi() local 85 assertEquals("Incorrect abi name", ABI_NAME, abi); in testParseAbi()
|
/tools/tradefederation/core/proto/ |
D | configuration_description.proto | 32 // 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/ |
D | BaseModuleController.java | 67 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/ |
D | InstallApkSetup.java | 97 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/ |
D | DeviceSuiteTest.java | 122 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/ |
D | RetryRescheduler.java | 255 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/ |
D | MainlineModuleHandler.java | 42 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/ |
D | DeviceParameterizedRunner.java | 89 public void setAbi(IAbi abi) { in setAbi() argument 90 mAbi = abi; in setAbi()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | StubTest.java | 133 public void setAbi(IAbi abi) { in setAbi() argument 134 mAbi = abi; in setAbi()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/config/ |
D | ConfigurationDescriptor.java | 156 public void setAbi(IAbi abi) { in setAbi() argument 157 mAbi = abi; in setAbi()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ITestSuiteTest.java | 889 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()
|