Home | History | Annotate | Download | only in pm

Lines Matching defs:codePath

316     // installed zip file (absolute codePath), and values are Package.
370 // Mapping from provider base names (first directory in content URI codePath)
1216 if (disabledPs.codePath == null || !disabledPs.codePath.exists()) {
1376 if (ps.codePath != null) {
1377 if (!ps.codePath.delete()) {
1378 Slog.w(TAG, "Unable to remove old code file: " + ps.codePath);
1382 if (!ps.resourcePath.delete() && !ps.resourcePath.equals(ps.codePath)) {
3196 && ps.codePath.equals(srcFile)
3259 if (ps != null && !ps.codePath.equals(scanFile)) {
3356 if (ps != null && !ps.codePath.equals(ps.resourcePath)) {
3360 String codePath = null;
3372 codePath = pkg.mScanPath;
3374 setApplicationInfoPaths(pkg, codePath, resPath);
7008 final String codePath = getCodePath();
7014 sb.append(getApkName(codePath));
7022 if (codePath.endsWith(".tmp")) {
7028 return codePath;
7479 static String getApkName(String codePath) {
7480 if (codePath == null) {
7483 int sidx = codePath.lastIndexOf("/");
7484 int eidx = codePath.lastIndexOf(".");
7486 eidx = codePath.length();
7488 Slog.w(TAG, " Invalid code path, "+ codePath + " Not a valid apk name");
7491 return codePath.substring(sidx+1, eidx);
8236 PackageParser.Package newPkg = scanPackageLI(disabledPs.codePath,
9673 String codePath = processCids.get(args);
9685 if (codePath == null || !codePath.equals(args.getCodePath())) {
9687 + " does not match one in settings " + codePath);
9701 final PackageParser.Package pkg = scanPackageLI(new File(codePath), parseFlags,
9719 Slog.i(TAG, "Failed to install pkg from " + codePath + " from sdcard");
10009 ps.codePath = new File(pkg.applicationInfo.sourceDir);
10010 ps.codePathString = ps.codePath.getPath();