Home
last modified time | relevance | path

Searched refs:abiOverride (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java349 String abiOverride) { in copyNativeBinariesWithOverride() argument
355 if (abiOverride != null && !CLEAR_ABI_OVERRIDE.equals(abiOverride)) { in copyNativeBinariesWithOverride()
381 if (CLEAR_ABI_OVERRIDE.equals(abiOverride)) { in copyNativeBinariesWithOverride()
383 } else if (abiOverride != null) { in copyNativeBinariesWithOverride()
384 cpuAbiOverride = abiOverride; in copyNativeBinariesWithOverride()
409 public static long sumNativeBinariesWithOverride(Handle handle, String abiOverride) in sumNativeBinariesWithOverride() argument
416 if (abiOverride != null && !CLEAR_ABI_OVERRIDE.equals(abiOverride)) { in sumNativeBinariesWithOverride()
429 if (CLEAR_ABI_OVERRIDE.equals(abiOverride)) { in sumNativeBinariesWithOverride()
431 } else if (abiOverride != null) { in sumNativeBinariesWithOverride()
432 cpuAbiOverride = abiOverride; in sumNativeBinariesWithOverride()
DPackageHelper.java375 String abiOverride) throws IOException { in calculateInstalledSize() argument
376 return calculateInstalledSize(pkg, abiOverride); in calculateInstalledSize()
379 public static long calculateInstalledSize(PackageLite pkg, String abiOverride) in calculateInstalledSize() argument
381 return calculateInstalledSize(pkg, abiOverride, null); in calculateInstalledSize()
384 public static long calculateInstalledSize(PackageLite pkg, String abiOverride, in calculateInstalledSize() argument
390 return calculateInstalledSize(pkg, handle, abiOverride); in calculateInstalledSize()
398 NativeLibraryHelper.Handle handle, String abiOverride) throws IOException { in calculateInstalledSize() argument
399 return calculateInstalledSize(pkg, handle, abiOverride); in calculateInstalledSize()
403 String abiOverride) throws IOException { in calculateInstalledSize() argument
416 sizeBytes += NativeLibraryHelper.sumNativeBinariesWithOverride(handle, abiOverride); in calculateInstalledSize()
/frameworks/base/core/java/com/android/internal/app/
DIMediaContainerService.aidl26 PackageInfoLite getMinimalPackageInfo(String packagePath, int flags, String abiOverride); in getMinimalPackageInfo() argument
28 long calculateInstalledSize(String packagePath, String abiOverride); in calculateInstalledSize() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java395 public static String deriveAbiOverride(String abiOverride, PackageSetting settings) { in deriveAbiOverride() argument
397 if (NativeLibraryHelper.CLEAR_ABI_OVERRIDE.equals(abiOverride)) { in deriveAbiOverride()
399 } else if (abiOverride != null) { in deriveAbiOverride()
400 cpuAbiOverride = abiOverride; in deriveAbiOverride()
738 int flags, String abiOverride) { in getMinimalPackageInfo() argument
751 sizeBytes = PackageHelper.calculateInstalledSize(pkg, abiOverride); in getMinimalPackageInfo()
787 public static long calculateInstalledSize(String packagePath, String abiOverride) { in calculateInstalledSize() argument
792 return PackageHelper.calculateInstalledSize(pkg, abiOverride); in calculateInstalledSize()
DPackageInstallerSession.java1415 extractNativeLibraries(mResolvedStageDir, params.abiOverride, in makeSessionActiveLocked()
1947 private static void extractNativeLibraries(File packageDir, String abiOverride, boolean inherit) in extractNativeLibraries() argument
1959 abiOverride); in extractNativeLibraries()
2421 writeStringAttribute(out, ATTR_ABI_OVERRIDE, params.abiOverride); in write()
2519 params.abiOverride = readStringAttribute(in, ATTR_ABI_OVERRIDE); in readFromXml()
DPackageManagerShellCommand.java468 pkgLite, params.sessionParams.abiOverride, fd.getFileDescriptor())); in setParamsSize()
2442 sessionParams.abiOverride = checkAbiArgument(getNextArg()); in makeInstallParams()
DPackageManagerService.java15083 packageAbiOverride = activeInstallSession.getSessionParams().abiOverride;
15579 final String abiOverride;
15597 String abiOverride, String[] installGrantPermissions,
15610 this.abiOverride = abiOverride;
15757 abiOverride);
17358 pkg.cpuAbiOverride = args.abiOverride;
17630 String abiOverride = (TextUtils.isEmpty(pkg.cpuAbiOverride) ?
17631 args.abiOverride : pkg.cpuAbiOverride);
17633 derivePackageAbi(pkg, abiOverride, extractNativeLibs);
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java1313 public String abiOverride; field in PackageInstaller.SessionParams
1353 abiOverride = source.readString(); in SessionParams()
1376 ret.abiOverride = abiOverride; in copy()
1405 || abiOverride != null || volumeUuid != null; in areHiddenOptionsSet()
1724 pw.printPair("abiOverride", abiOverride); in dump()
1753 dest.writeString(abiOverride); in writeToParcel()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageInstallerSessionTest.java262 assertEquals(expected.abiOverride, actual.abiOverride); in assertSessionParamsEquivalent()
/frameworks/base/core/java/android/app/
DActivityManagerInternal.java62 String processName, String abiOverride, int uid, Runnable crashHandler); in startIsolatedProcess() argument
DIActivityManager.aidl170 in String abiOverride); in startInstrumentation() argument
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallInstalling.java149 PackageHelper.calculateInstalledSize(pkg, false, params.abiOverride)); in onCreate()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java1430 String abiOverride) {
1595 String requiredAbi = (abiOverride != null) ? abiOverride : app.info.primaryCpuAbi;
1843 String abiOverride) {
1845 false /* disableHiddenApiChecks */, false /* mountExtStorageFull */, abiOverride);
1852 String abiOverride, String entryPoint, String[] entryPointArgs, Runnable crashHandler) {
1953 final boolean success = startProcessLocked(app, hostingRecord, abiOverride);
DActivityManagerService.java2994 String processName, String abiOverride, int uid, Runnable crashHandler) { in startIsolatedProcess() argument
3015 uid, true /* keepIfLarge */, abiOverride, entryPoint, entryPointArgs, in startIsolatedProcess()
7764 String abiOverride) { in addAppLocked() argument
7766 false /* mountExtStorageFull */, abiOverride); in addAppLocked()
7772 boolean disableHiddenApiChecks, boolean mountExtStorageFull, String abiOverride) { in addAppLocked() argument
7807 disableHiddenApiChecks, mountExtStorageFull, abiOverride); in addAppLocked()
15695 int userId, String abiOverride) { in startInstrumentation() argument
15788 mountExtStorageFull, abiOverride); in startInstrumentation()
17771 String processName, String abiOverride, int uid, Runnable crashHandler) { in startIsolatedProcess() argument
17773 processName, abiOverride, uid, crashHandler); in startIsolatedProcess()