Home
last modified time | relevance | path

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

12

/frameworks/base/tools/split-select/
DSplitDescription.cpp30 : abi(abi::Variant_none) { in SplitDescription()
35 cmp = (int)abi - (int)rhs.abi; in compare()
41 if (abi != abi::Variant_none || o.abi != abi::Variant_none) { in isBetterThan()
42 abi::Family family = abi::getFamily(abi); in isBetterThan()
43 abi::Family oFamily = abi::getFamily(o.abi); in isBetterThan()
45 return family != abi::Family_none; in isBetterThan()
48 if (int(target.abi) - int(abi) < int(target.abi) - int(o.abi)) { in isBetterThan()
56 if (abi != abi::Variant_none) { in match()
57 abi::Family family = abi::getFamily(abi); in match()
58 abi::Family oFamily = abi::getFamily(o.abi); in match()
[all …]
DRuleGenerator.cpp76 sp<Rule> RuleGenerator::generateAbi(const Vector<abi::Variant>& splitAbis, size_t index) { in generateAbi()
77 const abi::Variant thisAbi = splitAbis[index]; in generateAbi()
78 const Vector<abi::Variant>& familyVariants = abi::getVariants(abi::getFamily(thisAbi)); in generateAbi()
80 Vector<abi::Variant>::const_iterator start = in generateAbi()
83 Vector<abi::Variant>::const_iterator end = familyVariants.end(); in generateAbi()
92 abiRule->stringArgs.add(String8(abi::toString(*start))); in generateAbi()
140 if (group[index].abi != abi::Variant_none) { in generate()
142 Vector<abi::Variant> allVariants; in generate()
143 allVariants.add(group[index].abi); in generate()
147 if (group[i].abi != group[index].abi) { in generate()
[all …]
DGrouper.cpp45 } else if (split.abi != abi::Variant_none) { in groupByMutualExclusivity()
47 key.abi = abi::Variant_none; in groupByMutualExclusivity()
DRuleGenerator_test.cpp31 Vector<abi::Variant> abis; in TEST()
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()
DSplitDescription.h32 abi::Variant abi; member
DAbi.h23 namespace abi {
DRuleGenerator.h33 …static android::sp<Rule> generateAbi(const android::Vector<abi::Variant>& allVariants, size_t inde…
DAbi.cpp22 namespace abi { namespace
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser_test.cpp86 <abi-groups>
87 <abi-group label="other" version-code-order="2">
88 <abi>x86</abi>
89 <abi>mips</abi>
90 </abi-group>
91 <abi-group label="arm" version-code-order="1">
92 <abi>armeabi-v7a</abi>
93 <abi>arm64-v8a</abi>
94 </abi-group>
95 </abi-groups>
DConfigurationParser.cpp347 const StringPiece& AbiToString(Abi abi) { in AbiToString() argument
348 return kAbiToStringMap.at(static_cast<size_t>(abi)); in AbiToString()
551 auto abi = kStringToAbiMap.find(label); in AbiGroupTagHandler() local
552 if (abi == kStringToAbiMap.end()) { in AbiGroupTagHandler()
555 group.push_back(abi->second); in AbiGroupTagHandler()
567 auto abi = kStringToAbiMap.find(TrimWhitespace(t->text).to_string()); in AbiGroupTagHandler() local
568 if (abi != kStringToAbiMap.end()) { in AbiGroupTagHandler()
569 group.push_back(abi->second); in AbiGroupTagHandler()
/frameworks/base/core/java/android/os/
DAppZygote.java104 String abi = mAppInfo.primaryCpuAbi != null ? mAppInfo.primaryCpuAbi : in connectToZygoteIfNeededLocked() local
115 abi, // abi in connectToZygoteIfNeededLocked()
116 abi, // acceptedAbiList in connectToZygoteIfNeededLocked()
117 VMRuntime.getInstructionSet(abi), // instructionSet in connectToZygoteIfNeededLocked()
124 mZygote.preloadApp(mAppInfo, abi); in connectToZygoteIfNeededLocked()
DZygoteProcess.java227 boolean matches(String abi) { in matches() argument
228 return mAbiList.contains(abi); in matches()
351 @NonNull String abi, in start() argument
374 abi, instructionSet, appDataDir, invokeWith, /*startChildZygote=*/ false, in start()
633 @NonNull String abi, in startViaZygote() argument
795 return zygoteSendArgsAndGetResult(openZygoteSocketIfNeeded(abi), in startViaZygote()
859 public void establishZygoteConnectionForAbi(String abi) { in establishZygoteConnectionForAbi() argument
862 openZygoteSocketIfNeeded(abi); in establishZygoteConnectionForAbi()
865 throw new RuntimeException("Unable to connect to zygote for abi: " + abi, ex); in establishZygoteConnectionForAbi()
872 public int getZygotePid(String abi) { in getZygotePid() argument
[all …]
DProcess.java634 @NonNull String abi, in start() argument
651 abi, instructionSet, appDataDir, invokeWith, packageName, in start()
665 @NonNull String abi, in startWebView() argument
676 abi, instructionSet, appDataDir, invokeWith, packageName, in startWebView()
DGraphicsEnvironment.java253 final String abi = chooseAbi(appInfo); in getDebugLayerAppPaths() local
259 .append(abi); in getDebugLayerAppPaths()
630 final String abi = chooseAbi(angleInfo); in setupAngle() local
637 + abi; in setupAngle()
844 final String abi = chooseAbi(driverAppInfo); in chooseDriver() local
845 if (abi == null) { in chooseDriver()
860 .append(abi); in chooseDriver()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java179 private static long sumNativeBinaries(Handle handle, String abi) { in sumNativeBinaries() argument
182 sum += nativeSumNativeBinaries(apkHandle, abi, handle.debuggable); in sumNativeBinaries()
195 public static int copyNativeBinaries(Handle handle, File sharedLibraryDir, String abi) { in copyNativeBinaries() argument
197 int res = nativeCopyNativeBinaries(apkHandle, sharedLibraryDir.getPath(), abi, in copyNativeBinaries()
310 int abi = findSupportedAbi(handle, abiList); in sumNativeBinariesForSupportedAbi() local
311 if (abi >= 0) { in sumNativeBinariesForSupportedAbi()
312 return sumNativeBinaries(handle, abiList[abi]); in sumNativeBinariesForSupportedAbi()
324 int abi = findSupportedAbi(handle, abiList); in copyNativeBinariesForSupportedAbi() local
325 if (abi < 0) { in copyNativeBinariesForSupportedAbi()
326 return abi; in copyNativeBinariesForSupportedAbi()
[all …]
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsAbiFlags.cpp176 uint64_t abi = flags & llvm::ELF::EF_MIPS_ABI; in is32BitElfFlags() local
177 if (abi == llvm::ELF::EF_MIPS_ABI_O32 || abi == llvm::ELF::EF_MIPS_ABI_EABI32) in is32BitElfFlags()
209 const MipsAbiFlags& abi) { in isCompatible() argument
210 unsigned isaRev = abi.m_IsaRev; in isCompatible()
213 if (abi.m_IsaLevel != elf.m_IsaLevel || isaRev != elf.m_IsaRev) { in isCompatible()
217 if (abi.m_IsaExt != elf.m_IsaExt) { in isCompatible()
221 if ((abi.m_Ases & elf.m_Ases) != elf.m_Ases) { in isCompatible()
241 static llvm::StringRef getFpAbiName(uint64_t abi) { in getFpAbiName() argument
242 switch (abi) { in getFpAbiName()
DMipsAbiFlags.h43 const MipsAbiFlags& abi);
/frameworks/base/services/core/java/com/android/server/pm/
DInstructionSets.java84 String abi = Build.SUPPORTED_ABIS[i]; in getAllDexCodeInstructionSets() local
85 supportedInstructionSets[i] = VMRuntime.getInstructionSet(abi); in getAllDexCodeInstructionSets()
94 for (String abi : allAbis) { in getAllInstructionSets()
95 final String instructionSet = VMRuntime.getInstructionSet(abi); in getAllInstructionSets()
DPackageAbiHelperImpl.java390 final String abi = Build.SUPPORTED_32_BIT_ABIS[abi32]; in derivePackageAbi() local
394 primaryCpuAbi = abi; in derivePackageAbi()
396 secondaryCpuAbi = abi; in derivePackageAbi()
399 primaryCpuAbi = abi; in derivePackageAbi()
/frameworks/base/core/java/android/webkit/
DWebViewLibraryLoader.java108 final String abi = in createRelroFile() local
116 Log.e(LOGTAG, "relro file creator for " + abi + " crashed. Proceeding without"); in createRelroFile()
129 "WebViewLoader-" + abi, abi, Process.SHARED_RELRO_UID, crashHandler); in createRelroFile()
133 Log.e(LOGTAG, "error starting relro file creator for abi " + abi, t); in createRelroFile()
DWebViewZygote.java129 String abi = sPackage.applicationInfo.primaryCpuAbi; in connectToZygoteIfNeededLocked() local
138 abi, // abi in connectToZygoteIfNeededLocked()
144 sZygote.preloadApp(sPackage.applicationInfo, abi); in connectToZygoteIfNeededLocked()
/frameworks/base/tools/aapt2/filter/
DAbiFilter.cpp27 for (auto& abi : abi_list) { in FromAbiList() local
28 abi_set.insert(configuration::AbiToString(abi).to_string()); in FromAbiList()
/frameworks/base/core/java/android/content/pm/dex/
DArtManagerInternal.java33 ApplicationInfo info, String abi, String activityName); in getPackageOptimizationInfo() argument
/frameworks/base/cmds/am/src/com/android/commands/am/
DInstrument.java91 public String abi = null; field in Instrument
491 if (abi != null) { in run()
495 if (supportedAbi.equals(abi)) { in run()
502 "INSTRUMENTATION_FAILED: Unsupported instruction set " + abi); in run()
518 abi)) { in run()
/frameworks/compile/mclinker/lib/Support/
DDemangle.cpp30 abi::__cxa_demangle(pName.c_str(), /*buffer=*/0, &output_leng, &status); in demangleName()

12