/tools/ndkports/buildSrc/src/main/kotlin/com/android/ndkports/ |
D | Testing.kt | 18 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 …]
|
D | PortTask.kt | 68 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()
|
D | PrefabPackageBuilder.kt | 105 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()
|
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 | Devices.kt | 48 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()
|
D | MesonPortTask.kt | 54 val cpuFamily = when (toolchain.abi) { in configure() 61 val cpu = when (toolchain.abi) { in configure()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | AbiUtils.java | 158 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/ |
D | SuiteTestFilter.java | 54 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()
|
D | SuiteModuleLoader.java | 256 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 …]
|
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()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/ |
D | MainlineModuleHandler.java | 51 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/ |
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/src/com/android/tradefed/testtype/suite/module/ |
D | BaseModuleController.java | 70 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/ |
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/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/test_framework/com/android/tradefed/targetprep/ |
D | InstallApkSetup.java | 94 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/ |
D | build.gradle.kts | 44 buildTask.get().buildDirectoryFor(abi).resolve("jsoncpp_test"), in <lambda>() 48 buildTask.get().installDirectoryFor(abi) in <lambda>()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | FileUtilTest.java | 534 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/ |
D | build.gradle.kts | 56 val buildDir = buildTask.get().buildDirectoryFor(abi) in <lambda>() 66 val buildDir = buildTask.get().buildDirectoryFor(abi) in <lambda>()
|
/tools/security/fuzzing/orphans/libffi/ |
D | fuzz_ffi.cc | 63 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/ |
D | DeviceParameterizedRunner.java | 89 public void setAbi(IAbi abi) { in setAbi() argument 90 mAbi = abi; in setAbi()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | DeviceSuiteTest.java | 123 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/ |
D | StubTest.java | 133 public void setAbi(IAbi abi) { in setAbi() argument 134 mAbi = abi; in setAbi()
|
D | IAbiReceiver.java | 23 public void setAbi(IAbi abi); in setAbi() argument
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | ArtRunTest.java | 108 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()
|