Home
last modified time | relevance | path

Searched refs:abi (Results 1 – 25 of 48) 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.cpp67 <abi-groups>
68 <abi-group label="other" version-code-order="2">
69 <abi>x86</abi>
70 <abi>mips</abi>
71 </abi-group>
72 <abi-group label="arm" version-code-order="1">
73 <abi>armeabi-v7a</abi>
74 <abi>arm64-v8a</abi>
75 </abi-group>
76 </abi-groups>
DConfigurationParser.cpp341 StringPiece AbiToString(Abi abi) { in AbiToString() argument
342 return kAbiToStringMap.at(static_cast<size_t>(abi)); in AbiToString()
548 auto abi = kStringToAbiMap.find(label); in AbiGroupTagHandler() local
549 if (abi == kStringToAbiMap.end()) { in AbiGroupTagHandler()
552 group.push_back(abi->second); in AbiGroupTagHandler()
564 auto abi = kStringToAbiMap.find(TrimWhitespace(t->text)); in AbiGroupTagHandler() local
565 if (abi != kStringToAbiMap.end()) { in AbiGroupTagHandler()
566 group.push_back(abi->second); in AbiGroupTagHandler()
/frameworks/libs/binary_translation/kernel_api/tools/
Dextract_syscalls_from_kernel_src.py34 abi = words[1]
37 if abi == 'oabi':
39 assert abi == 'common' or abi == 'eabi'
66 abi = words[1]
69 assert abi == 'i386'
95 abi = words[1]
98 if abi == 'x32':
100 assert abi == 'common' or abi == '64'
/frameworks/base/core/java/android/os/
DAppZygote.java109 String abi = mAppInfo.primaryCpuAbi != null ? mAppInfo.primaryCpuAbi : in connectToZygoteIfNeededLocked() local
122 abi, // abi in connectToZygoteIfNeededLocked()
123 abi, // acceptedAbiList in connectToZygoteIfNeededLocked()
124 VMRuntime.getInstructionSet(abi), // instructionSet in connectToZygoteIfNeededLocked()
131 mZygote.preloadApp(mAppInfo, abi); in connectToZygoteIfNeededLocked()
DZygoteProcess.java220 boolean matches(String abi) { in matches() argument
221 return mAbiList.contains(abi); in matches()
344 @NonNull String abi, in start() argument
368 abi, instructionSet, appDataDir, invokeWith, /*startChildZygote=*/ false, in start()
629 @NonNull String abi, in startViaZygote() argument
788 return zygoteSendArgsAndGetResult(openZygoteSocketIfNeeded(abi), in startViaZygote()
846 public void establishZygoteConnectionForAbi(String abi) { in establishZygoteConnectionForAbi() argument
849 openZygoteSocketIfNeeded(abi); in establishZygoteConnectionForAbi()
852 throw new RuntimeException("Unable to connect to zygote for abi: " + abi, ex); in establishZygoteConnectionForAbi()
859 public int getZygotePid(String abi) { in getZygotePid() argument
[all …]
DGraphicsEnvironment.java286 final String abi = chooseAbi(appInfo); in getDebugLayerAppPaths() local
292 .append(abi); in getDebugLayerAppPaths()
598 final String abi = chooseAbi(angleInfo); in setupAngleFromApk() local
605 + abi; in setupAngleFromApk()
831 final String abi = chooseAbi(driverAppInfo); in chooseDriver() local
832 if (abi == null) { in chooseDriver()
847 .append(abi); in chooseDriver()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java180 private static long sumNativeBinaries(Handle handle, String abi) { in sumNativeBinaries() argument
183 sum += nativeSumNativeBinaries(apkHandle, abi, handle.debuggable); in sumNativeBinaries()
196 public static int copyNativeBinaries(Handle handle, File sharedLibraryDir, String abi) { in copyNativeBinaries() argument
198 int res = nativeCopyNativeBinaries(apkHandle, sharedLibraryDir.getPath(), abi, in copyNativeBinaries()
311 int abi = findSupportedAbi(handle, abiList); in sumNativeBinariesForSupportedAbi() local
312 if (abi >= 0) { in sumNativeBinariesForSupportedAbi()
313 return sumNativeBinaries(handle, abiList[abi]); in sumNativeBinariesForSupportedAbi()
325 int abi = findSupportedAbi(handle, abiList); in copyNativeBinariesForSupportedAbi() local
326 if (abi < 0) { in copyNativeBinariesForSupportedAbi()
327 return abi; in copyNativeBinariesForSupportedAbi()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DInstructionSets.java81 String abi = Build.SUPPORTED_ABIS[i]; in getAllDexCodeInstructionSets() local
82 supportedInstructionSets[i] = VMRuntime.getInstructionSet(abi); in getAllDexCodeInstructionSets()
91 for (String abi : allAbis) { in getAllInstructionSets()
92 final String instructionSet = VMRuntime.getInstructionSet(abi); in getAllInstructionSets()
/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/core/java/android/webkit/
DWebViewLibraryLoader.java112 final String abi = in createRelroFile() local
120 Log.e(LOGTAG, "relro file creator for " + abi + " crashed. Proceeding without"); in createRelroFile()
137 "WebViewLoader-" + abi, abi, Process.SHARED_RELRO_UID, crashHandler); in createRelroFile()
141 Slog.wtf(LOGTAG, "error starting relro file creator for abi " + abi, t); in createRelroFile()
DWebViewZygote.java141 String abi = sPackage.applicationInfo.primaryCpuAbi; in connectToZygoteIfNeededLocked() local
152 abi, // abi in connectToZygoteIfNeededLocked()
158 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)); in FromAbiList()
/frameworks/base/core/java/android/content/pm/dex/
DArtManagerInternal.java33 ApplicationInfo info, String abi, String activityName); in getPackageOptimizationInfo() argument
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/dalvik/system/
DVMRuntime.java38 public static boolean is64BitAbi(String abi) { in is64BitAbi() argument
/frameworks/base/cmds/am/src/com/android/commands/am/
DInstrument.java96 public String abi = null; field in Instrument
503 if (abi != null) { in run()
507 if (supportedAbi.equals(abi)) { in run()
514 "INSTRUMENTATION_FAILED: Unsupported instruction set " + abi); in run()
542 abi)) { in run()
/frameworks/compile/mclinker/lib/Support/
DDemangle.cpp30 abi::__cxa_demangle(pName.c_str(), /*buffer=*/0, &output_leng, &status); in demangleName()

12