Lines Matching refs:apkPath

163     // TODO: refactor "codePath" to "apkPath"
1221 private static int loadApkIntoAssetManager(AssetManager assets, String apkPath, int flags)
1223 if ((flags & PARSE_MUST_BE_APK) != 0 && !isApkPath(apkPath)) {
1225 "Invalid package file: " + apkPath);
1231 int cookie = assets.addAssetPath(apkPath);
1234 "Failed adding asset path: " + apkPath);
1241 final String apkPath = apkFile.getAbsolutePath();
1244 if (apkPath.startsWith(MNT_EXPAND)) {
1245 final int end = apkPath.indexOf('/', MNT_EXPAND.length());
1246 volumeUuid = apkPath.substring(MNT_EXPAND.length(), end);
1252 if (DEBUG_JAR) Slog.d(TAG, "Scanning base APK: " + apkPath);
1254 final int cookie = loadApkIntoAssetManager(assets, apkPath, flags);
1263 final Package pkg = parseBaseApk(apkPath, res, parser, flags, outError);
1266 apkPath + " (at " + parser.getPositionDescription() + "): " + outError[0]);
1271 pkg.setBaseCodePath(apkPath);
1280 "Failed to read manifest from " + apkPath, e);
1288 final String apkPath = pkg.splitCodePaths[splitIndex];
1291 mArchiveSourcePath = apkPath;
1293 if (DEBUG_JAR) Slog.d(TAG, "Scanning split APK: " + apkPath);
1295 final int cookie = loadApkIntoAssetManager(assets, apkPath, flags);
1309 apkPath + " (at " + parser.getPositionDescription() + "): " + outError[0]);
1316 "Failed to read manifest from " + apkPath, e);
1482 final String apkPath = apkFile.getAbsolutePath();
1491 allSignersCerts = ApkSignatureSchemeV2Verifier.verify(apkPath);
1499 "No APK Signature Scheme v2 signature in ephemeral package " + apkPath,
1505 "Static shared libs must use v2 signature scheme " + apkPath);
1510 "Failed to collect certificates from " + apkPath
1531 apkPath + " has mismatched certificates");
1548 apkPath,
1557 "Package " + apkPath + " has no manifest");
1593 "Package " + apkPath + " has no certificates at entry "
1608 INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES, "Package " + apkPath
1617 "Failed to collect certificates from " + apkPath, e);
1620 "Failed to collect certificates from " + apkPath, e);
1652 final String apkPath = apkFile.getAbsolutePath();
1658 int cookie = assets.addAssetPath(apkPath);
1661 "Failed to parse " + apkPath);
1688 return parseApkLite(apkPath, parser, attrs, flags, signatures, certificates);
1691 Slog.w(TAG, "Failed to parse " + apkPath, e);
1693 "Failed to parse " + apkPath, e);
1963 * @param apkPath The package apk file path
1973 private Package parseBaseApk(String apkPath, Resources res, XmlResourceParser parser, int flags,
1994 String[] overlayPaths = mCallback.getOverlayPaths(pkgName, apkPath);