Home
last modified time | relevance | path

Searched refs:abi (Results 1 – 25 of 37) 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.java105 String abi = mAppInfo.primaryCpuAbi != null ? mAppInfo.primaryCpuAbi : in connectToZygoteIfNeededLocked() local
116 abi, // abi in connectToZygoteIfNeededLocked()
117 abi, // acceptedAbiList in connectToZygoteIfNeededLocked()
118 VMRuntime.getInstructionSet(abi), // instructionSet in connectToZygoteIfNeededLocked()
125 mZygote.preloadApp(mAppInfo, abi); in connectToZygoteIfNeededLocked()
DZygoteProcess.java225 boolean matches(String abi) { in matches() argument
226 return mAbiList.contains(abi); in matches()
342 @NonNull String abi, in start() argument
359 abi, instructionSet, appDataDir, invokeWith, /*startChildZygote=*/ false, in start()
612 @NonNull String abi, in startViaZygote() argument
720 return zygoteSendArgsAndGetResult(openZygoteSocketIfNeeded(abi), in startViaZygote()
794 public void establishZygoteConnectionForAbi(String abi) { in establishZygoteConnectionForAbi() argument
797 openZygoteSocketIfNeeded(abi); in establishZygoteConnectionForAbi()
800 throw new RuntimeException("Unable to connect to zygote for abi: " + abi, ex); in establishZygoteConnectionForAbi()
807 public int getZygotePid(String abi) { in getZygotePid() argument
[all …]
DProcess.java586 @NonNull String abi, in start() argument
597 abi, instructionSet, appDataDir, invokeWith, packageName, in start()
609 @NonNull String abi, in startWebView() argument
618 abi, instructionSet, appDataDir, invokeWith, packageName, in startWebView()
DGraphicsEnvironment.java201 final String abi = chooseAbi(appInfo); in getDebugLayerAppPaths() local
208 .append(abi); in getDebugLayerAppPaths()
589 final String abi = chooseAbi(angleInfo); in setupAngle() local
596 + abi; in setupAngle()
813 final String abi = chooseAbi(driverAppInfo); in chooseDriver() local
814 if (abi == null) { in chooseDriver()
829 .append(abi); in chooseDriver()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java176 private static long sumNativeBinaries(Handle handle, String abi) { in sumNativeBinaries() argument
179 sum += nativeSumNativeBinaries(apkHandle, abi, handle.debuggable); in sumNativeBinaries()
192 public static int copyNativeBinaries(Handle handle, File sharedLibraryDir, String abi) { in copyNativeBinaries() argument
194 int res = nativeCopyNativeBinaries(apkHandle, sharedLibraryDir.getPath(), abi, in copyNativeBinaries()
307 int abi = findSupportedAbi(handle, abiList); in sumNativeBinariesForSupportedAbi() local
308 if (abi >= 0) { in sumNativeBinariesForSupportedAbi()
309 return sumNativeBinaries(handle, abiList[abi]); in sumNativeBinariesForSupportedAbi()
323 int abi = findSupportedAbi(handle, abiList); in copyNativeBinariesForSupportedAbi() local
324 if (abi >= 0) { in copyNativeBinariesForSupportedAbi()
329 final String instructionSet = VMRuntime.getInstructionSet(abiList[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.java96 String abi = Build.SUPPORTED_ABIS[i]; in getAllDexCodeInstructionSets() local
97 supportedInstructionSets[i] = VMRuntime.getInstructionSet(abi); in getAllDexCodeInstructionSets()
106 for (String abi : allAbis) { in getAllInstructionSets()
107 final String instructionSet = VMRuntime.getInstructionSet(abi); in getAllInstructionSets()
DPackageAbiHelperImpl.java392 final String abi = Build.SUPPORTED_32_BIT_ABIS[abi32]; in derivePackageAbi() local
396 primaryCpuAbi = abi; in derivePackageAbi()
398 secondaryCpuAbi = abi; in derivePackageAbi()
401 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); 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