Searched refs:abi (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/tools/split-select/
H A DSplitDescription.cpp30 : abi(abi::Variant_none) {
35 cmp = (int)abi - (int)rhs.abi;
41 if (abi != abi::Variant_none || o.abi != abi::Variant_none) {
42 abi::Family family = abi
88 abi::Variant abi = abi::Variant_none; local
[all...]
H A DGrouper.cpp45 } else if (split.abi != abi::Variant_none) {
47 key.abi = abi::Variant_none;
H A DRuleGenerator.cpp76 sp<Rule> RuleGenerator::generateAbi(const Vector<abi::Variant>& splitAbis, size_t index) {
77 const abi::Variant thisAbi = splitAbis[index];
78 const Vector<abi::Variant>& familyVariants = abi::getVariants(abi::getFamily(thisAbi));
80 Vector<abi::Variant>::const_iterator start =
83 Vector<abi::Variant>::const_iterator end = familyVariants.end();
92 abiRule->stringArgs.add(String8(abi::toString(*start)));
140 if (group[index].abi != abi
[all...]
H A DSplitDescription.h32 abi::Variant abi; member in struct:split::SplitDescription
H A DAbi.h23 namespace abi { namespace in namespace:split
47 } // namespace abi
H A DRuleGenerator.h33 static android::sp<Rule> generateAbi(const android::Vector<abi::Variant>& allVariants, size_t index);
H A DRuleGenerator_test.cpp31 Vector<abi::Variant> abis;
32 const ssize_t armeabiIndex = abis.add(abi::Variant_armeabi);
33 const ssize_t armeabi_v7aIndex = abis.add(abi::Variant_armeabi_v7a);
34 const ssize_t x86Index = abis.add(abi::Variant_x86);
H A DAbi.cpp22 namespace abi { namespace in namespace:split
98 } // namespace abi
/frameworks/base/services/core/java/com/android/server/pm/
H A DInstructionSets.java96 String abi = Build.SUPPORTED_ABIS[i];
97 supportedInstructionSets[i] = VMRuntime.getInstructionSet(abi);
106 for (String abi : allAbis) {
107 final String instructionSet = VMRuntime.getInstructionSet(abi);
H A DInstaller.java482 for (String abi : Build.SUPPORTED_ABIS) {
483 if (instructionSet.equals(VMRuntime.getInstructionSet(abi))) {
H A DPackageManagerService.java6969 // in which case we might end up not detecting abi solely based on apk
6970 // structure. Try to detect abi based on directory structure.
7033 // If there's a mismatch between the abi-override in the package setting
7632 final String abi = Build.SUPPORTED_32_BIT_ABIS[abi32];
7634 pkg.applicationInfo.secondaryCpuAbi = abi;
7636 pkg.applicationInfo.primaryCpuAbi = abi;
7696 * NOTE: We currently only match for the primary CPU abi string. Matching the secondary
7863 // if it's a 64 bit abi, use lib64 otherwise use lib32. Note that this
/frameworks/base/core/java/android/os/
H A DProcess.java418 boolean matches(String abi) { argument
419 return abiList.contains(abi);
471 * @param abi non-null the ABI this app should be started with.
487 String abi,
494 abi, instructionSet, appDataDir, zygoteArgs);
518 writer.write("--query-abi-list");
596 * @param abi the ABI the process should use.
610 String abi,
696 return zygoteSendArgsAndGetResult(openZygoteSocketIfNeeded(abi), argsForZygote);
701 * Tries to establish a connection to the zygote that handles a given {@code abi}
481 start(final String processClass, final String niceName, int uid, int gid, int[] gids, int debugFlags, int mountExternal, int targetSdkVersion, String seInfo, String abi, String instructionSet, String appDataDir, String[] zygoteArgs) argument
603 startViaZygote(final String processClass, final String niceName, final int uid, final int gid, final int[] gids, int debugFlags, int mountExternal, int targetSdkVersion, String seInfo, String abi, String instructionSet, String appDataDir, String[] extraArgs) argument
706 establishZygoteConnectionForAbi(String abi) argument
718 openZygoteSocketIfNeeded(String abi) argument
[all...]
/frameworks/base/core/java/com/android/internal/content/
H A DNativeLibraryHelper.java157 private static long sumNativeBinaries(Handle handle, String abi) { argument
160 sum += nativeSumNativeBinaries(apkHandle, abi);
173 public static int copyNativeBinaries(Handle handle, File sharedLibraryDir, String abi) { argument
175 int res = nativeCopyNativeBinaries(apkHandle, sharedLibraryDir.getPath(), abi,
284 int abi = findSupportedAbi(handle, abiList);
285 if (abi >= 0) {
286 return sumNativeBinaries(handle, abiList[abi]);
300 int abi = findSupportedAbi(handle, abiList);
301 if (abi >= 0) {
306 final String instructionSet = VMRuntime.getInstructionSet(abiList[abi]);
[all...]
/frameworks/compile/mclinker/lib/Support/
H A DDemangle.cpp30 abi::__cxa_demangle(pName.c_str(), /*buffer=*/0, &output_leng, &status);
/frameworks/base/core/java/android/webkit/
H A DWebViewFactory.java358 for (String abi : abiList) {
359 final String entry = "lib/" + abi + "/" + nativeLibFileName;
427 final String abi =
435 Log.e(LOGTAG, "relro file creator for " + abi + " crashed. Proceeding without");
450 RelroFileCreator.class.getName(), nativeLibraryPaths, "WebViewLoader-" + abi, abi,
455 Log.e(LOGTAG, "error starting relro file creator for abi " + abi, t);
/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp471 const ScopedUtfChars* abi = supportedAbis[i]; local
472 if (abi->size() == abiSize && !strncmp(abiOffset, abi->c_str(), abiSize)) {
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java1047 String abi = null;
1084 } else if (opt.equals("--abi")) {
1085 abi = checkAbiArgument(nextOptionData());
1138 installerPackageName, verificationParams, abi, userId);
1203 } else if (opt.equals("--abi")) {
1975 private static String checkAbiArgument(String abi) { argument
1976 if (TextUtils.isEmpty(abi)) {
1980 if ("-".equals(abi)) {
1981 return abi;
1986 if (supportedAbi.equals(abi)) {
[all...]
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java118 " [--no-window-animation] [--abi <ABI>] <COMPONENT>\n" +
205 " --abi <ABI>: Launch the instrumented process with the selected ABI.\n" +
1025 String abi = null;
1044 } else if (opt.equals("--abi")) {
1045 abi = nextArgRequired();
1076 if (abi != null) {
1080 if (supportedAbi.equals(abi)) {
1088 "INSTRUMENTATION_FAILED: Unsupported instruction set " + abi);
1092 if (!mAm.startInstrumentation(cn, profileFile, 0, args, watcher, connection, userId, abi)) {
2121 System.out.println("abi
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java6349 for (String abi : Build.SUPPORTED_ABIS) {
6350 Process.establishZygoteConnectionForAbi(abi);
6351 final String instructionSet = VMRuntime.getInstructionSet(abi);
6353 if (mInstaller.markBootComplete(VMRuntime.getInstructionSet(abi)) != 0) {
6354 Slog.e(TAG, "Unable to mark boot complete for abi: " + abi);

Completed in 541 milliseconds