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.java340 int copyRet = copyNativeBinaries(handle, subDir, abiList[abi]); in copyNativeBinariesForSupportedAbi() local
341 if (copyRet != PackageManager.INSTALL_SUCCEEDED) { in copyNativeBinariesForSupportedAbi()
342 return copyRet; in copyNativeBinariesForSupportedAbi()
360 int copyRet = PackageManager.NO_NATIVE_LIBRARIES; in copyNativeBinariesWithOverride() local
362 copyRet = copyNativeBinariesForSupportedAbi(handle, libraryRoot, in copyNativeBinariesWithOverride()
364 if (copyRet < 0 && copyRet != PackageManager.NO_NATIVE_LIBRARIES && in copyNativeBinariesWithOverride()
365 copyRet != PackageManager.INSTALL_FAILED_NO_MATCHING_ABIS) { in copyNativeBinariesWithOverride()
366 Slog.w(TAG, "Failure copying 32 bit native libraries; copyRet=" +copyRet); in copyNativeBinariesWithOverride()
367 return copyRet; in copyNativeBinariesWithOverride()
372 copyRet = copyNativeBinariesForSupportedAbi(handle, libraryRoot, in copyNativeBinariesWithOverride()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java11788 final int copyRet;
11791 copyRet = NativeLibraryHelper.copyNativeBinariesForSupportedAbi(handle,
11795 copyRet = NativeLibraryHelper.findSupportedAbi(handle, abiList);
11799 if (copyRet < 0 && copyRet != PackageManager.NO_NATIVE_LIBRARIES) {
11801 "Error unpackaging native libs for app, errorCode=" + copyRet);
11804 if (copyRet >= 0) {
11810 pkg.applicationInfo.primaryCpuAbi = abiList[copyRet];
11811 … } else if (copyRet == PackageManager.NO_NATIVE_LIBRARIES && cpuAbiOverride != null) {
16009 private static void maybeThrowExceptionForMultiArchCopy(String message, int copyRet) throws
16011 if (copyRet < 0) {
[all …]