/frameworks/base/tools/split-select/ |
D | SplitDescription.cpp | 30 : 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 …]
|
D | RuleGenerator.cpp | 76 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 …]
|
D | Grouper.cpp | 45 } else if (split.abi != abi::Variant_none) { in groupByMutualExclusivity() 47 key.abi = abi::Variant_none; in groupByMutualExclusivity()
|
D | RuleGenerator_test.cpp | 31 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()
|
D | SplitDescription.h | 32 abi::Variant abi; member
|
D | Abi.h | 23 namespace abi {
|
D | RuleGenerator.h | 33 …static android::sp<Rule> generateAbi(const android::Vector<abi::Variant>& allVariants, size_t inde…
|
D | Abi.cpp | 22 namespace abi { namespace
|
/frameworks/base/core/java/com/android/internal/content/ |
D | NativeLibraryHelper.java | 157 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/base/core/java/android/os/ |
D | Process.java | 447 boolean matches(String abi) { in matches() argument 448 return abiList.contains(abi); in matches() 516 String abi, in start() argument 523 abi, instructionSet, appDataDir, zygoteArgs); in start() 648 String abi, in startViaZygote() argument 737 return zygoteSendArgsAndGetResult(openZygoteSocketIfNeeded(abi), argsForZygote); in startViaZygote() 747 public static void establishZygoteConnectionForAbi(String abi) { in establishZygoteConnectionForAbi() argument 749 openZygoteSocketIfNeeded(abi); in establishZygoteConnectionForAbi() 751 throw new RuntimeException("Unable to connect to zygote for abi: " + abi, ex); in establishZygoteConnectionForAbi() 759 private static ZygoteState openZygoteSocketIfNeeded(String abi) throws ZygoteStartFailedEx { in openZygoteSocketIfNeeded() argument [all …]
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsAbiFlags.cpp | 176 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()
|
D | MipsAbiFlags.h | 43 const MipsAbiFlags& abi);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstructionSets.java | 96 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()
|
D | Installer.java | 235 for (String abi : Build.SUPPORTED_ABIS) { in assertValidInstructionSet() 236 if (VMRuntime.getInstructionSet(abi).equals(instructionSet)) { in assertValidInstructionSet()
|
D | PackageManagerShellCommand.java | 1110 private static String checkAbiArgument(String abi) { in checkAbiArgument() argument 1111 if (TextUtils.isEmpty(abi)) { in checkAbiArgument() 1115 if ("-".equals(abi)) { in checkAbiArgument() 1116 return abi; in checkAbiArgument() 1121 if (supportedAbi.equals(abi)) { in checkAbiArgument() 1122 return abi; in checkAbiArgument() 1126 throw new IllegalArgumentException("ABI " + abi + " not supported on this device"); in checkAbiArgument()
|
D | PackageManagerService.java | 9006 final String abi = Build.SUPPORTED_32_BIT_ABIS[abi32]; in derivePackageAbi() local 9010 pkg.applicationInfo.primaryCpuAbi = abi; in derivePackageAbi() 9012 pkg.applicationInfo.secondaryCpuAbi = abi; in derivePackageAbi() 9015 pkg.applicationInfo.primaryCpuAbi = abi; in derivePackageAbi()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewFactory.java | 484 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/compile/mclinker/lib/Support/ |
D | Demangle.cpp | 30 abi::__cxa_demangle(pName.c_str(), /*buffer=*/0, &output_leng, &status); in demangleName()
|
/frameworks/base/core/jni/ |
D | com_android_internal_content_NativeLibraryHelper.cpp | 471 const ScopedUtfChars* abi = supportedAbis[i]; in findSupportedAbi() local 472 if (abi->size() == abiSize && !strncmp(abiOffset, abi->c_str(), abiSize)) { in findSupportedAbi()
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
D | Pm.java | 336 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/ |
D | Am.java | 786 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/distribute/essentials/quality/ |
D | billions.jd | 513 …href="https://medium.com/@wkalicinski/smallerapk-part-4-multi-apk-through-abi-and-density-splits-4…
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 6764 for (String abi : Build.SUPPORTED_ABIS) { in finishBooting() 6765 Process.establishZygoteConnectionForAbi(abi); in finishBooting() 6766 final String instructionSet = VMRuntime.getInstructionSet(abi); in finishBooting() 6769 mInstaller.markBootComplete(VMRuntime.getInstructionSet(abi)); in finishBooting() 6771 Slog.w(TAG, "Unable to mark boot complete for abi: " + abi + " (" + in finishBooting()
|