Home
last modified time | relevance | path

Searched refs:abi (Results 1 – 25 of 31) 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/core/java/android/os/
DProcess.java439 boolean matches(String abi) { in matches() argument
440 return abiList.contains(abi); in matches()
508 String abi, in start() argument
515 abi, instructionSet, appDataDir, zygoteArgs); in start()
631 String abi, in startViaZygote() argument
720 return zygoteSendArgsAndGetResult(openZygoteSocketIfNeeded(abi), argsForZygote); in startViaZygote()
730 public static void establishZygoteConnectionForAbi(String abi) { in establishZygoteConnectionForAbi() argument
732 openZygoteSocketIfNeeded(abi); in establishZygoteConnectionForAbi()
734 throw new RuntimeException("Unable to connect to zygote for abi: " + abi, ex); in establishZygoteConnectionForAbi()
742 private static ZygoteState openZygoteSocketIfNeeded(String abi) throws ZygoteStartFailedEx { in openZygoteSocketIfNeeded() argument
[all …]
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java157 private static long sumNativeBinaries(Handle handle, String abi) { in sumNativeBinaries() argument
160 sum += nativeSumNativeBinaries(apkHandle, abi); in sumNativeBinaries()
173 public static int copyNativeBinaries(Handle handle, File sharedLibraryDir, String abi) { in copyNativeBinaries() argument
175 int res = nativeCopyNativeBinaries(apkHandle, sharedLibraryDir.getPath(), abi, in copyNativeBinaries()
284 int abi = findSupportedAbi(handle, abiList); in sumNativeBinariesForSupportedAbi() local
285 if (abi >= 0) { in sumNativeBinariesForSupportedAbi()
286 return sumNativeBinaries(handle, abiList[abi]); in sumNativeBinariesForSupportedAbi()
300 int abi = findSupportedAbi(handle, abiList); in copyNativeBinariesForSupportedAbi() local
301 if (abi >= 0) { in copyNativeBinariesForSupportedAbi()
306 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()
DInstaller.java228 for (String abi : Build.SUPPORTED_ABIS) { in assertValidInstructionSet()
229 if (VMRuntime.getInstructionSet(abi).equals(instructionSet)) { in assertValidInstructionSet()
DPackageManagerShellCommand.java1109 private static String checkAbiArgument(String abi) { in checkAbiArgument() argument
1110 if (TextUtils.isEmpty(abi)) { in checkAbiArgument()
1114 if ("-".equals(abi)) { in checkAbiArgument()
1115 return abi; in checkAbiArgument()
1120 if (supportedAbi.equals(abi)) { in checkAbiArgument()
1121 return abi; in checkAbiArgument()
1125 throw new IllegalArgumentException("ABI " + abi + " not supported on this device"); in checkAbiArgument()
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java484 for (String abi : abiList) { in getLoadFromApkPath()
485 final String entry = "lib/" + abi + "/" + nativeLibFileName; in getLoadFromApkPath()
553 final String abi = in createRelroFile() local
561 Log.e(LOGTAG, "relro file creator for " + abi + " crashed. Proceeding without"); in createRelroFile()
576 … RelroFileCreator.class.getName(), nativeLibraryPaths, "WebViewLoader-" + abi, abi, in createRelroFile()
581 Log.e(LOGTAG, "error starting relro file creator for abi " + abi, t); in createRelroFile()
/frameworks/base/docs/html/ndk/guides/
Dabis.jd44 <p class="table-caption" id="abi-table">
128 href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.subset.swdev.abi/index.html">Appl…
143 <li><a href="http://mentorembedded.github.com/cxx-abi/abi.html">Generic/Itanium C++
149 <a href="http://sourcery.mentor.com/sgpp/lite/arm/portal/kbattach142/arm_gnu_linux_ abi.pdf">
194 <p>The {@code armeabi-v7a} ABI uses the {@code -mfloat-abi=softfp} switch to
337 <li><a href="http://sourcery.mentor.com/public/cxx-abi/abi.html">Itanium/Generic C++
393 /lib/&lt;abi&gt;/lib&lt;name&gt;.so
396 <p>Here, {@code <abi>} is one of the ABI names listed under <a href="#sa">Supported ABIs</a>,
446 <p>A typical MIPS-based device only defines a primary abi: {@code mips}.</p>
454 lib/&lt;primary-abi&gt;/lib&lt;name&gt;.so
[all …]
Dndk-stack.jd60 files reside under {@code $PROJECT_PATH/obj/local/<abi>}, where {@code <abi>} represents
Dprebuilts.jd61 and another copy, stripped of debug information, into {@code $PROJECT/libs/<abi>}. Here,
114 {@code $PROJECT/libs/<abi>/}, but you can use the debug version for debugging with
Dstandalone_toolchain.jd13 <li><a href="#abi">ABI Compatibility</a></li>
434 <h2 id="abi">ABI Compatibility</h2>
444 CFLAGS= -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16
458 CFLAGS= -march=armv7-a -mfloat-abi=softfp -mfpu=neon
475 {@code -mhard-float} (which implies {@code -mfloat-abi=hard}), and still link with the Android
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp471 const ScopedUtfChars* abi = supportedAbis[i]; in findSupportedAbi() local
472 if (abi->size() == abiSize && !strncmp(abiOffset, abi->c_str(), abiSize)) { in findSupportedAbi()
/frameworks/compile/mclinker/lib/Support/
DDemangle.cpp30 abi::__cxa_demangle(pName.c_str(), /*buffer=*/0, &output_leng, &status); in demangleName()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java336 private static String checkAbiArgument(String abi) { in checkAbiArgument() argument
337 if (TextUtils.isEmpty(abi)) { in checkAbiArgument()
340 if ("-".equals(abi)) { in checkAbiArgument()
341 return abi; in checkAbiArgument()
345 if (supportedAbi.equals(abi)) { in checkAbiArgument()
346 return abi; in checkAbiArgument()
349 throw new IllegalArgumentException("ABI " + abi + " not supported on this device"); in checkAbiArgument()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java786 String abi = null;
806 abi = nextArgRequired();
873 if (abi != null) {
877 if (supportedAbi.equals(abi)) {
885 "INSTRUMENTATION_FAILED: Unsupported instruction set " + abi);
889 if (!mAm.startInstrumentation(cn, profileFile, 0, args, watcher, connection, userId, abi)) {
/frameworks/base/docs/html/ndk/samples/
Dsample_na.jd95 {@code <ndk>/platforms/android-<sdk_version>/arch-<abi>/usr/lib/}.</li>

12