Home | History | Annotate | Download | only in pm

Lines Matching refs:codePath

441     // Mapping from provider base names (first directory in content URI codePath)
1609 + ps.name + "; removing system app. Last known codePath="
1614 expectingBetter.put(ps.name, ps.codePath);
1627 if (disabledPs.codePath == null || !disabledPs.codePath.exists()) {
1876 if (ps.codePath != null) {
1877 if (ps.codePath.isDirectory()) {
1878 FileUtils.deleteContents(ps.codePath);
1880 ps.codePath.delete();
1882 if (ps.resourcePath != null && !ps.resourcePath.equals(ps.codePath)) {
4209 && ps.codePath.equals(srcFile)
4297 if (ps != null && !ps.codePath.equals(scanFile)) {
4301 if (DEBUG_INSTALL) Slog.d(TAG, "Path changing from " + ps.codePath);
4308 if (!updatedPkg.codePath.equals(scanFile)) {
4312 updatedPkg.codePath = scanFile;
4417 if (ps != null && !ps.codePath.equals(ps.resourcePath)) {
4434 resourcePath = pkg.codePath;
4439 pkg.applicationInfo.setCodePath(pkg.codePath);
5280 final File scanFile = new File(pkg.codePath);
5361 Log.d(TAG, "Examining " + pkg.codePath
5742 final String codePath = pkg.applicationInfo.getCodePath();
6538 final File codePath = new File(codePathString);
6540 if (FileUtils.contains(Environment.getRootDirectory(), codePath)) {
6542 } else if (FileUtils.contains(Environment.getOemDirectory(), codePath)) {
6544 } else if (FileUtils.contains(Environment.getVendorDirectory(), codePath)) {
6550 File f = codePath.getCanonicalFile();
6551 File parent = f.getParentFile(); // non-null because codePath is a file
6559 + codePath + " - using " + codeRoot);
6562 Slog.w(TAG, "Can't canonicalize code path " + codePath);
6575 final String codePath = pkg.codePath;
6576 final File codeFile = new File(codePath);
6597 final String apkName = deriveCodePathName(codePath);
6611 final String apkName = deriveCodePathName(codePath);
6669 final File codeFile = new File(pkg.codePath);
9303 private InstallArgs createInstallArgsForExisting(int installFlags, String codePath,
9310 && !codePath.startsWith(mDrmAppPrivateInstallDir.getAbsolutePath())) {
9321 return new AsecInstallArgs(codePath, instructionSets,
9324 return new FileInstallArgs(codePath, resourcePath, nativeLibraryRoot,
9440 FileInstallArgs(String codePath, String resourcePath, String legacyNativeLibraryPath,
9443 this.codeFile = (codePath != null) ? new File(codePath) : null;
9548 pkg.codePath = afterCodeFile.getAbsolutePath();
9555 pkg.applicationInfo.setCodePath(pkg.codePath);
9558 pkg.applicationInfo.setResourcePath(pkg.codePath);
9631 for (String codePath : allCodePaths) {
9633 int retCode = mInstaller.rmdex(codePath, dexCodeInstructionSet);
9636 + " at location " + codePath + ", retcode=" + retCode);
9854 pkg.codePath = afterCodeFile.getAbsolutePath();
9861 pkg.applicationInfo.setCodePath(pkg.codePath);
9864 pkg.applicationInfo.setResourcePath(pkg.codePath);
9952 for (String codePath : allCodePaths) {
9954 int retCode = mInstaller.rmdex(codePath, dexCodeInstructionSet);
9957 + " at location " + codePath + ", retcode=" + retCode);
10094 static String deriveCodePathName(String codePath) {
10095 if (codePath == null) {
10098 final File codeFile = new File(codePath);
10106 Slog.w(TAG, "Odd, " + codePath + " doesn't look like an APK");
10194 res.setError("Package couldn't be installed in " + pkg.codePath, e);
10305 res.setError("Package couldn't be installed in " + pkg.codePath, e);
10325 File restoreFile = new File(deletedPackage.codePath);
10436 res.setError("Package couldn't be installed in " + pkg.codePath, e);
10477 if (DEBUG_INSTALL) Slog.d(TAG, "New package installed in " + newPackage.codePath);
11151 if (locationIsPrivileged(disabledPs.codePath)) {
11157 newPkg = scanPackageLI(disabledPs.codePath, parseFlags, SCAN_NO_PATHS, 0, null);
13008 Slog.i(TAG, "Found stale container " + cid + ": expected codePath="
13062 String codePath = processCids.get(args);
13074 if (codePath == null || !codePath.startsWith(args.getCodePath())) {
13076 + " does not match one in settings " + codePath);
13091 pkg = scanPackageLI(new File(codePath), parseFlags, 0, 0, null);
13093 Slog.w(TAG, "Failed to scan " + codePath + ": " + e.getMessage());
13111 Slog.i(TAG, "Failed to install pkg from " + codePath + " from sdcard");
13284 codeFile = new File(pkg.codePath);