Searched refs:copyRet (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/com/android/internal/content/ |
D | NativeLibraryHelper.java | 361 int copyRet = copyNativeBinaries(handle, subDir, supportedAbi); in copyNativeBinariesForSupportedAbi() local 362 if (copyRet != PackageManager.INSTALL_SUCCEEDED) { in copyNativeBinariesForSupportedAbi() 363 return copyRet; in copyNativeBinariesForSupportedAbi() 380 int copyRet = PackageManager.NO_NATIVE_LIBRARIES; in copyNativeBinariesWithOverride() local 382 copyRet = copyNativeBinariesForSupportedAbi(handle, libraryRoot, in copyNativeBinariesWithOverride() 385 if (copyRet < 0 && copyRet != PackageManager.NO_NATIVE_LIBRARIES && in copyNativeBinariesWithOverride() 386 copyRet != PackageManager.INSTALL_FAILED_NO_MATCHING_ABIS) { in copyNativeBinariesWithOverride() 387 Slog.w(TAG, "Failure copying 32 bit native libraries; copyRet=" +copyRet); in copyNativeBinariesWithOverride() 388 return copyRet; in copyNativeBinariesWithOverride() 393 copyRet = copyNativeBinariesForSupportedAbi(handle, libraryRoot, in copyNativeBinariesWithOverride() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageAbiHelperImpl.java | 123 private static void maybeThrowExceptionForMultiArchCopy(String message, int copyRet) throws in maybeThrowExceptionForMultiArchCopy() argument 125 if (copyRet < 0) { in maybeThrowExceptionForMultiArchCopy() 126 if (copyRet != PackageManager.NO_NATIVE_LIBRARIES in maybeThrowExceptionForMultiArchCopy() 127 && copyRet != PackageManager.INSTALL_FAILED_NO_MATCHING_ABIS) { in maybeThrowExceptionForMultiArchCopy() 128 throw new PackageManagerException(copyRet, message); in maybeThrowExceptionForMultiArchCopy() 417 final int copyRet; in derivePackageAbi() local 420 copyRet = NativeLibraryHelper.copyNativeBinariesForSupportedAbi(handle, in derivePackageAbi() 424 copyRet = NativeLibraryHelper.findSupportedAbi(handle, abiList); in derivePackageAbi() 428 if (copyRet < 0 && copyRet != PackageManager.NO_NATIVE_LIBRARIES) { in derivePackageAbi() 430 "Error unpackaging native libs for app, errorCode=" + copyRet); in derivePackageAbi() [all …]
|