Home
last modified time | relevance | path

Searched refs:copyRet (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java339 int copyRet = copyNativeBinaries(handle, subDir, abiList[abi]); in copyNativeBinariesForSupportedAbi() local
340 if (copyRet != PackageManager.INSTALL_SUCCEEDED) { in copyNativeBinariesForSupportedAbi()
341 return copyRet; in copyNativeBinariesForSupportedAbi()
359 int copyRet = PackageManager.NO_NATIVE_LIBRARIES; in copyNativeBinariesWithOverride() local
361 copyRet = copyNativeBinariesForSupportedAbi(handle, libraryRoot, in copyNativeBinariesWithOverride()
363 if (copyRet < 0 && copyRet != PackageManager.NO_NATIVE_LIBRARIES && in copyNativeBinariesWithOverride()
364 copyRet != PackageManager.INSTALL_FAILED_NO_MATCHING_ABIS) { in copyNativeBinariesWithOverride()
365 Slog.w(TAG, "Failure copying 32 bit native libraries; copyRet=" +copyRet); in copyNativeBinariesWithOverride()
366 return copyRet; in copyNativeBinariesWithOverride()
371 copyRet = copyNativeBinariesForSupportedAbi(handle, libraryRoot, in copyNativeBinariesWithOverride()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java12428 final int copyRet;
12431 copyRet = NativeLibraryHelper.copyNativeBinariesForSupportedAbi(handle,
12435 copyRet = NativeLibraryHelper.findSupportedAbi(handle, abiList);
12439 if (copyRet < 0 && copyRet != PackageManager.NO_NATIVE_LIBRARIES) {
12441 "Error unpackaging native libs for app, errorCode=" + copyRet);
12444 if (copyRet >= 0) {
12450 pkg.applicationInfo.primaryCpuAbi = abiList[copyRet];
12451 … } else if (copyRet == PackageManager.NO_NATIVE_LIBRARIES && cpuAbiOverride != null) {
15885 private static void maybeThrowExceptionForMultiArchCopy(String message, int copyRet) throws
15887 if (copyRet < 0) {
[all …]