Home
last modified time | relevance | path

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

123

/tools/ndkports/buildSrc/src/main/kotlin/com/android/ndkports/
DTesting.kt18 sealed class TestResult(val name: String, val abi: Abi) { constant in com.android.ndkports.TestResult
19 class Success(name: String, abi: Abi) : TestResult(name, abi) {
20 override fun toString(): String = "PASS $abi $name" in toString()
23 class Failure(name: String, abi: Abi, private val output: String) : in toString()
24 TestResult(name, abi) { in toString()
25 override fun toString(): String = "FAIL $abi $name: $output" in toString()
33 class PushBuilder(val abi: Abi, val toolchain: Toolchain) { constant in PushBuilder
41 class ShellTestBuilder(val deviceDirectory: File, val abi: Abi) { in push() constant in ShellTestBuilder
68 private fun deviceDirectoryForAbi(abi: Abi): File = in push()
69 BASE_DEVICE_DIRECTORY.resolve(project.name).resolve(abi.toString()) in push()
[all …]
DPortTask.kt68 fun buildDirectoryFor(abi: Abi): File = in buildDirectoryFor()
69 buildDir.asFile.get().resolve("build/$abi") in buildDirectoryFor()
72 fun installDirectoryFor(abi: Abi): File = in buildDirectoryFor()
73 installDir.get().asFile.resolve("$abi") in buildDirectoryFor()
77 for (abi in Abi.values()) { in buildDirectoryFor() method
78 val api = abi.adjustMinSdkVersion(minSdkVersion.get()) in buildDirectoryFor()
80 Toolchain(ndk, abi, api), in buildDirectoryFor()
82 buildDirectory = buildDirectoryFor(abi), in buildDirectoryFor()
83 installDirectory = installDirectoryFor(abi), in buildDirectoryFor()
DPrefabPackageBuilder.kt105 private fun installLibForAbi(module: ModuleDescription, abi: Abi, libsDir: File) { in installLibForAbi()
112 directory.resolve("$abi/lib/$libName") in installLibForAbi()
118 abi = abi.abiName, in installLibForAbi()
119 api = abi.adjustMinSdkVersion(packageData.minSdkVersion), in installLibForAbi()
173 for (abi in Abi.values()) { in build() method
174 installLibForAbi(module, abi, libsDir) in build()
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) {
DDevices.kt48 fun compatibleWith(abi: Abi, minSdkVersion: Int) = in compatibleWith()
49 abi in abis && minSdkVersion <= version in compatibleWith()
87 fun findDeviceFor(abi: Abi, minSdkVersion: Int): Device? = in compatibleWith()
88 devices.find { it.compatibleWith(abi, minSdkVersion) } in compatibleWith()
DMesonPortTask.kt54 val cpuFamily = when (toolchain.abi) { in configure()
61 val cpu = when (toolchain.abi) { in configure()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DAbiUtils.java158 public static String getArchForAbi(String abi) { in getArchForAbi() argument
159 if (abi == null || abi.isEmpty()) { in getArchForAbi()
162 return ABI_TO_ARCH.get(abi); in getArchForAbi()
166 public static String getBaseArchForAbi(String abi) { in getBaseArchForAbi() argument
167 if (abi == null || abi.isEmpty()) { in getBaseArchForAbi()
170 return ABI_TO_BASE_ARCH.get(abi); in getBaseArchForAbi()
191 public static boolean isAbiSupportedByCompatibility(String abi) { in isAbiSupportedByCompatibility() argument
192 return ABIS_SUPPORTED_BY_COMPATIBILITY.contains(abi); in isAbiSupportedByCompatibility()
200 public static String createAbiFlag(String abi) { in createAbiFlag() argument
201 if (abi == null || abi.isEmpty() || !isAbiSupportedByCompatibility(abi)) { in createAbiFlag()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DSuiteTestFilter.java54 String abi = null; in createFrom() local
78 abi = parts[index]; in createFrom()
88 return new SuiteTestFilter(shardIndex, abi, name, test); in createFrom()
98 public SuiteTestFilter(String abi, String name, String test) { in SuiteTestFilter() argument
99 this(null, abi, name, test); in SuiteTestFilter()
109 public SuiteTestFilter(Integer shardIndex, String abi, String name, String test) { in SuiteTestFilter() argument
111 mAbi = abi; in SuiteTestFilter()
DSuiteModuleLoader.java256 IAbi abi, in addFiltersToTest() argument
320 for (IAbi abi : abis) { in loadOneConfig()
325 String baseId = AbiUtils.createId(abi.getName(), name); in loadOneConfig()
421 setUpConfig(name, nameWithParam, baseId, fullId, paramConfig, abi); in loadOneConfig()
445 abi, in loadOneConfig()
455 setUpConfig(name, nameWithParam, baseId, fullId, paramConfig, abi); in loadOneConfig()
471 setUpConfig(name, null, baseId, baseId, config, abi); in loadOneConfig()
516 String abi = filter.getAbi(); in addFilters() local
517 if (abi == null) { in addFilters()
522 addFilter(abi, filter, filters); in addFilters()
[all …]
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()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/
DMainlineModuleHandler.java51 IAbi abi, in MainlineModuleHandler() argument
54 this(name, abi, context, optimize, false); in MainlineModuleHandler()
59 IAbi abi, in MainlineModuleHandler() argument
64 mAbi = abi; in MainlineModuleHandler()
72 MainlineModuleHandler(String name, String buildTop, IAbi abi, IInvocationContext context) { in MainlineModuleHandler() argument
75 mAbi = abi; in MainlineModuleHandler()
/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/src/com/android/tradefed/testtype/suite/module/
DBaseModuleController.java70 String abi = mContext.getAttributes().get(ModuleDefinition.MODULE_ABI).get(0); in getModuleAbi() local
71 return new Abi(abi, AbiUtils.getBitness(abi)); in getModuleAbi()
/tools/asuite/atest/tf_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/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/test_framework/com/android/tradefed/targetprep/
DInstallApkSetup.java94 String abi = AbiFormatter.getDefaultAbi(device, mForceAbi); in setUp() local
95 if (abi != null) { in setUp()
96 mInstallArgs.add(String.format("--abi %s", abi)); in setUp()
/tools/ndkports/jsoncpp/
Dbuild.gradle.kts44 buildTask.get().buildDirectoryFor(abi).resolve("jsoncpp_test"), in <lambda>()
48 buildTask.get().installDirectoryFor(abi) in <lambda>()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DFileUtilTest.java534 IAbi abi = new Abi("arm64-v8a", "64"); in testfindFile_success() local
535 File findFile = FileUtil.findFile(".*.config", abi, tmpDir); in testfindFile_success()
539 abi = new Abi("armeabi-v7a", "32"); in testfindFile_success()
540 findFile = FileUtil.findFile(".*.config", abi, tmpDir); in testfindFile_success()
544 abi = new Abi("x86_64", "64"); in testfindFile_success()
545 findFile = FileUtil.findFile(".*.config", abi, tmpDir); in testfindFile_success()
549 abi = new Abi("x86", "32"); in testfindFile_success()
550 findFile = FileUtil.findFile(".*.config", abi, tmpDir); in testfindFile_success()
/tools/ndkports/googletest/
Dbuild.gradle.kts56 val buildDir = buildTask.get().buildDirectoryFor(abi) in <lambda>()
66 val buildDir = buildTask.get().buildDirectoryFor(abi) in <lambda>()
/tools/security/fuzzing/orphans/libffi/
Dfuzz_ffi.cc63 ffi_get_struct_offsets(abi, new_type, NULL); in generateCustomType()
320 abi = static_cast<ffi_abi>( in LLVMFuzzerTestOneInput()
324 ffi_prep_types(abi); in LLVMFuzzerTestOneInput()
328 ret = ffi_prep_cif_var(&cif, abi, 1, num_args, rtype, in LLVMFuzzerTestOneInput()
/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/javatests/com/android/tradefed/testtype/
DDeviceSuiteTest.java123 public void setAbi(IAbi abi) { in setAbi() argument
124 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/
DStubTest.java133 public void setAbi(IAbi abi) { in setAbi() argument
134 mAbi = abi; in setAbi()
DIAbiReceiver.java23 public void setAbi(IAbi abi); in setAbi() argument
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DArtRunTest.java108 public void setAbi(IAbi abi) { in setAbi() argument
109 mAbi = abi; in setAbi()
200 String abi = mAbi.getName(); in runArtTest() local
201 String runName = String.format("%s_%s", RUNTEST_TAG, abi); in runArtTest()
211 testCmd = testCmd.replace("|#BITNESS#|", AbiUtils.getBitness(abi)); in runArtTest()
474 String abi = mAbi.getName(); in executeCheckerTest() local
475 String dex2oatBinary = "dex2oat" + AbiUtils.getBitness(abi); in executeCheckerTest()

123