Home
last modified time | relevance | path

Searched refs:abis (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tools/split-select/
DRuleGenerator_test.cpp31 Vector<abi::Variant> abis; in TEST() local
32 const ssize_t armeabiIndex = abis.add(abi::Variant_armeabi); in TEST()
33 const ssize_t armeabi_v7aIndex = abis.add(abi::Variant_armeabi_v7a); in TEST()
34 const ssize_t x86Index = abis.add(abi::Variant_x86); in TEST()
36 EXPECT_RULES_EQ(RuleGenerator::generateAbi(abis, armeabiIndex), in TEST()
40 EXPECT_RULES_EQ(RuleGenerator::generateAbi(abis, armeabi_v7aIndex), in TEST()
44 EXPECT_RULES_EQ(RuleGenerator::generateAbi(abis, x86Index), in TEST()
/frameworks/base/libs/androidfw/
DApkParsing.cpp33 static const std::array<std::string_view, 2> abis = {"arm64-v8a", "x86_64"}; variable
78 if (suppress64Bit && std::find(abis.begin(), abis.end(), std::string_view( in ValidLibraryPathLastSlash()
79 fileName + APK_LIB_LEN, lastSlash - fileName - APK_LIB_LEN)) != abis.end()) { in ValidLibraryPathLastSlash()
/frameworks/base/services/core/java/com/android/server/pm/
DInstructionSets.java104 public static String getPrimaryInstructionSet(PackageAbiHelper.Abis abis) { in getPrimaryInstructionSet() argument
105 if (abis.primary == null) { in getPrimaryInstructionSet()
109 return VMRuntime.getInstructionSet(abis.primary); in getPrimaryInstructionSet()
DPackageAbiHelperImpl.java162 private static NativeLibraryPaths deriveNativeLibraryPaths(final Abis abis, in deriveNativeLibraryPaths() argument
180 getPrimaryInstructionSet(abis)); in deriveNativeLibraryPaths()
190 if (abis.secondary != null) { in deriveNativeLibraryPaths()
212 getPrimaryInstructionSet(abis)).getAbsolutePath(); in deriveNativeLibraryPaths()
214 if (abis.secondary != null) { in deriveNativeLibraryPaths()
216 VMRuntime.getInstructionSet(abis.secondary)).getAbsolutePath(); in deriveNativeLibraryPaths()
232 final Abis abis = getBundledAppAbi(pkg, apkRoot, apkName); in getBundledAppAbis() local
233 return abis; in getBundledAppAbis()
534 final Abis abis = new Abis(primaryCpuAbi, secondaryCpuAbi); in derivePackageAbi() local
535 return new Pair<>(abis, in derivePackageAbi()
[all …]
DScanPackageUtils.java329 final PackageAbiHelper.Abis abis = packageAbiHelper.getBundledAppAbis( in scanPackageOnlyLI() local
331 abis.applyTo(parsedPackage); in scanPackageOnlyLI()
332 abis.applyTo(pkgSetting); in scanPackageOnlyLI()
/frameworks/base/tools/aapt2/filter/
DAbiFilter.h45 explicit AbiFilter(std::unordered_set<std::string_view> abis) : abis_(std::move(abis)) { in AbiFilter() argument
/frameworks/base/tools/aapt2/test/
DBuilders.cpp262 artifact_.abis.push_back(abi); in AddAbi()
286 const std::string& label, std::vector<configuration::Abi> abis) { in AddAbiGroup() argument
287 return AddGroup(label, &config_.abi_groups, std::move(abis)); in AddAbiGroup()
DBuilders.h185 std::vector<configuration::Abi> abis = {});
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.h111 std::vector<Abi> abis; member
DConfigurationParser.cpp229 if (!CopyXmlReferences(artifact.abi_group, config.abi_groups, &output_artifact.abis)) { in ToOutputArtifact()
/frameworks/base/tools/aapt2/optimize/
DMultiApkGenerator.cpp233 if (!artifact.abis.empty()) { in FilterTable()
234 filters->AddFilter(AbiFilter::FromAbiList(artifact.abis)); in FilterTable()