Lines Matching refs:apkPath

130     // TODO: refactor "codePath" to "apkPath"
888 private static int loadApkIntoAssetManager(AssetManager assets, String apkPath, int flags)
890 if ((flags & PARSE_MUST_BE_APK) != 0 && !isApkPath(apkPath)) {
892 "Invalid package file: " + apkPath);
898 int cookie = assets.addAssetPath(apkPath);
901 "Failed adding asset path: " + apkPath);
908 final String apkPath = apkFile.getAbsolutePath();
911 if (apkPath.startsWith(MNT_EXPAND)) {
912 final int end = apkPath.indexOf('/', MNT_EXPAND.length());
913 volumeUuid = apkPath.substring(MNT_EXPAND.length(), end);
919 if (DEBUG_JAR) Slog.d(TAG, "Scanning base APK: " + apkPath);
921 final int cookie = loadApkIntoAssetManager(assets, apkPath, flags);
935 apkPath + " (at " + parser.getPositionDescription() + "): " + outError[0]);
940 pkg.setBaseCodePath(apkPath);
949 "Failed to read manifest from " + apkPath, e);
957 final String apkPath = pkg.splitCodePaths[splitIndex];
960 mArchiveSourcePath = apkPath;
962 if (DEBUG_JAR) Slog.d(TAG, "Scanning split APK: " + apkPath);
964 final int cookie = loadApkIntoAssetManager(assets, apkPath, flags);
978 apkPath + " (at " + parser.getPositionDescription() + "): " + outError[0]);
985 "Failed to read manifest from " + apkPath, e);
1151 final String apkPath = apkFile.getAbsolutePath();
1160 allSignersCerts = ApkSignatureSchemeV2Verifier.verify(apkPath);
1169 "Failed to collect certificates from " + apkPath
1190 apkPath + " has mismatched certificates");
1207 apkPath,
1216 "Package " + apkPath + " has no manifest");
1252 "Package " + apkPath + " has no certificates at entry "
1267 INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES, "Package " + apkPath
1276 "Failed to collect certificates from " + apkPath, e);
1279 "Failed to collect certificates from " + apkPath, e);
1304 final String apkPath = apkFile.getAbsolutePath();
1313 int cookie = assets.addAssetPath(apkPath);
1316 "Failed to parse " + apkPath);
1344 return parseApkLite(apkPath, res, parser, attrs, flags, signatures, certificates);
1348 "Failed to parse " + apkPath, e);