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.java316 int copyRet = copyNativeBinaries(handle, subDir, abiList[abi]); in copyNativeBinariesForSupportedAbi() local
317 if (copyRet != PackageManager.INSTALL_SUCCEEDED) { in copyNativeBinariesForSupportedAbi()
318 return copyRet; in copyNativeBinariesForSupportedAbi()
336 int copyRet = PackageManager.NO_NATIVE_LIBRARIES; in copyNativeBinariesWithOverride() local
338 copyRet = copyNativeBinariesForSupportedAbi(handle, libraryRoot, in copyNativeBinariesWithOverride()
340 if (copyRet < 0 && copyRet != PackageManager.NO_NATIVE_LIBRARIES && in copyNativeBinariesWithOverride()
341 copyRet != PackageManager.INSTALL_FAILED_NO_MATCHING_ABIS) { in copyNativeBinariesWithOverride()
342 Slog.w(TAG, "Failure copying 32 bit native libraries; copyRet=" +copyRet); in copyNativeBinariesWithOverride()
343 return copyRet; in copyNativeBinariesWithOverride()
348 copyRet = copyNativeBinariesForSupportedAbi(handle, libraryRoot, in copyNativeBinariesWithOverride()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java9166 final int copyRet;
9168 copyRet = NativeLibraryHelper.copyNativeBinariesForSupportedAbi(handle,
9171 copyRet = NativeLibraryHelper.findSupportedAbi(handle, abiList);
9174 if (copyRet < 0 && copyRet != PackageManager.NO_NATIVE_LIBRARIES) {
9176 "Error unpackaging native libs for app, errorCode=" + copyRet);
9179 if (copyRet >= 0) {
9180 pkg.applicationInfo.primaryCpuAbi = abiList[copyRet];
9181 … } else if (copyRet == PackageManager.NO_NATIVE_LIBRARIES && cpuAbiOverride != null) {
13520 private static void maybeThrowExceptionForMultiArchCopy(String message, int copyRet) throws
13522 if (copyRet < 0) {
[all …]