Searched refs:copyRet (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/com/android/internal/content/ |
D | NativeLibraryHelper.java | 365 int copyRet = copyNativeBinaries(handle, subDir, supportedAbi); in copyNativeBinariesForSupportedAbi() local 366 if (copyRet != PackageManager.INSTALL_SUCCEEDED) { in copyNativeBinariesForSupportedAbi() 367 return copyRet; in copyNativeBinariesForSupportedAbi() 384 int copyRet = PackageManager.NO_NATIVE_LIBRARIES; in copyNativeBinariesWithOverride() local 386 copyRet = copyNativeBinariesForSupportedAbi(handle, libraryRoot, in copyNativeBinariesWithOverride() 389 if (copyRet < 0 && copyRet != PackageManager.NO_NATIVE_LIBRARIES && in copyNativeBinariesWithOverride() 390 copyRet != PackageManager.INSTALL_FAILED_NO_MATCHING_ABIS) { in copyNativeBinariesWithOverride() 391 Slog.w(TAG, "Failure copying 32 bit native libraries; copyRet=" +copyRet); in copyNativeBinariesWithOverride() 392 return copyRet; in copyNativeBinariesWithOverride() 397 copyRet = copyNativeBinariesForSupportedAbi(handle, libraryRoot, in copyNativeBinariesWithOverride() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageAbiHelperImpl.java | 124 private static void maybeThrowExceptionForMultiArchCopy(String message, int copyRet) throws in maybeThrowExceptionForMultiArchCopy() argument 126 if (copyRet < 0) { in maybeThrowExceptionForMultiArchCopy() 127 if (copyRet != PackageManager.NO_NATIVE_LIBRARIES in maybeThrowExceptionForMultiArchCopy() 128 && copyRet != PackageManager.INSTALL_FAILED_NO_MATCHING_ABIS) { in maybeThrowExceptionForMultiArchCopy() 129 throw new PackageManagerException(copyRet, message); in maybeThrowExceptionForMultiArchCopy() 427 final int copyRet; in derivePackageAbi() local 430 copyRet = NativeLibraryHelper.copyNativeBinariesForSupportedAbi(handle, in derivePackageAbi() 434 copyRet = NativeLibraryHelper.findSupportedAbi(handle, abiList); in derivePackageAbi() 438 if (copyRet < 0 && copyRet != PackageManager.NO_NATIVE_LIBRARIES) { in derivePackageAbi() 440 "Error unpackaging native libs for app, errorCode=" + copyRet); in derivePackageAbi() [all …]
|