Searched refs:copyRet (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/com/android/internal/content/ |
D | NativeLibraryHelper.java | 364 int copyRet = copyNativeBinaries(handle, subDir, supportedAbi); in copyNativeBinariesForSupportedAbi() local 365 if (copyRet != PackageManager.INSTALL_SUCCEEDED) { in copyNativeBinariesForSupportedAbi() 366 return copyRet; in copyNativeBinariesForSupportedAbi() 383 int copyRet = PackageManager.NO_NATIVE_LIBRARIES; in copyNativeBinariesWithOverride() local 385 copyRet = copyNativeBinariesForSupportedAbi(handle, libraryRoot, in copyNativeBinariesWithOverride() 388 if (copyRet < 0 && copyRet != PackageManager.NO_NATIVE_LIBRARIES && in copyNativeBinariesWithOverride() 389 copyRet != PackageManager.INSTALL_FAILED_NO_MATCHING_ABIS) { in copyNativeBinariesWithOverride() 390 Slog.w(TAG, "Failure copying 32 bit native libraries; copyRet=" +copyRet); in copyNativeBinariesWithOverride() 391 return copyRet; in copyNativeBinariesWithOverride() 396 copyRet = copyNativeBinariesForSupportedAbi(handle, libraryRoot, in copyNativeBinariesWithOverride() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageAbiHelperImpl.java | 135 private static void maybeThrowExceptionForMultiArchCopy(String message, int copyRet, in maybeThrowExceptionForMultiArchCopy() argument 137 if (copyRet < 0) { in maybeThrowExceptionForMultiArchCopy() 138 if (copyRet != PackageManager.NO_NATIVE_LIBRARIES in maybeThrowExceptionForMultiArchCopy() 139 && copyRet != PackageManager.INSTALL_FAILED_NO_MATCHING_ABIS) { in maybeThrowExceptionForMultiArchCopy() 140 throw new PackageManagerException(copyRet, message); in maybeThrowExceptionForMultiArchCopy() 143 if (forceMatch && copyRet == PackageManager.INSTALL_FAILED_NO_MATCHING_ABIS) { in maybeThrowExceptionForMultiArchCopy() 495 final int copyRet; in derivePackageAbi() local 498 copyRet = NativeLibraryHelper.copyNativeBinariesForSupportedAbi(handle, in derivePackageAbi() 502 copyRet = NativeLibraryHelper.findSupportedAbi(handle, abiList); in derivePackageAbi() 506 if (copyRet < 0 && copyRet != PackageManager.NO_NATIVE_LIBRARIES) { in derivePackageAbi() [all …]
|