Lines Matching refs:codePath

682     // Mapping from provider base names (first directory in content URI codePath)
2181 if (!isExternal(ps) && (ps.codePath == null || !ps.codePath.exists())
2373 + ps.name + "; removing system app. Last known codePath="
2378 mExpectingBetter.put(ps.name, ps.codePath);
2392 if (disabledPs.codePath == null || !disabledPs.codePath.exists()) {
6753 ? new File(pkg.codePath).lastModified() : getLastModifiedTime(pkg, srcFile);
6755 && ps.codePath.equals(srcFile)
6942 if (ps != null && !ps.codePath.equals(scanFile)) {
6946 if (DEBUG_INSTALL) Slog.d(TAG, "Path changing from " + ps.codePath);
6953 if (!updatedPkg.codePath.equals(scanFile)) {
6957 updatedPkg.codePath = scanFile;
7082 if (ps != null && !ps.codePath.equals(ps.resourcePath)) {
7099 resourcePath = pkg.codePath;
7105 pkg.setApplicationInfoCodePath(pkg.codePath);
7603 void removeCodePathLI(File codePath) {
7604 if (codePath.isDirectory()) {
7606 mInstaller.rmPackageDir(codePath.getAbsolutePath());
7611 codePath.delete();
8015 final File scanFile = new File(pkg.codePath);
8140 Log.d(TAG, "Examining " + pkg.codePath
8636 // Note that |user| might be null during the initial boot scan. If a codePath
9017 // The codePath hasn't changed, so there's nothing for us to do.
9365 final File codePath = new File(codePathString);
9367 if (FileUtils.contains(Environment.getRootDirectory(), codePath)) {
9369 } else if (FileUtils.contains(Environment.getOemDirectory(), codePath)) {
9371 } else if (FileUtils.contains(Environment.getVendorDirectory(), codePath)) {
9377 File f = codePath.getCanonicalFile();
9378 File parent = f.getParentFile(); // non-null because codePath is a file
9386 + codePath + " - using " + codeRoot);
9389 Slog.w(TAG, "Can't canonicalize code path " + codePath);
9402 final String codePath = pkg.codePath;
9403 final File codeFile = new File(codePath);
9424 final String apkName = deriveCodePathName(codePath);
9438 final String apkName = deriveCodePathName(codePath);
9496 final File codeFile = new File(pkg.codePath);
13293 private InstallArgs createInstallArgsForExisting(int installFlags, String codePath,
13300 && !codePath.startsWith(mDrmAppPrivateInstallDir.getAbsolutePath())) {
13311 return new AsecInstallArgs(codePath, instructionSets,
13314 return new FileInstallArgs(codePath, resourcePath, instructionSets);
13422 for (String codePath : allCodePaths) {
13425 mInstaller.rmdex(codePath, dexCodeInstructionSet);
13461 FileInstallArgs(String codePath, String resourcePath, String[] instructionSets) {
13464 this.codeFile = (codePath != null) ? new File(codePath) : null;
13580 pkg.setApplicationInfoCodePath(pkg.codePath);
13583 pkg.setApplicationInfoResourcePath(pkg.codePath);
13835 pkg.setApplicationInfoCodePath(pkg.codePath);
13838 pkg.setApplicationInfoResourcePath(pkg.codePath);
14020 pkg.setApplicationInfoCodePath(pkg.codePath);
14023 pkg.setApplicationInfoResourcePath(pkg.codePath);
14137 static String deriveCodePathName(String codePath) {
14138 if (codePath == null) {
14141 final File codeFile = new File(codePath);
14149 Slog.w(TAG, "Odd, " + codePath + " doesn't look like an APK");
14254 res.setError("Package couldn't be installed in " + pkg.codePath, e);
14533 res.setError("Package couldn't be installed in " + pkg.codePath, e);
14549 File restoreFile = new File(deletedPackage.codePath);
14682 res.setError("Package couldn't be installed in " + pkg.codePath, e);
14896 if (DEBUG_INSTALL) Slog.d(TAG, "New package installed in " + newPackage.codePath);
15265 derivePackageAbi(pkg, new File(pkg.codePath), abiOverride,
16110 if (locationIsPrivileged(disabledPs.codePath)) {
16116 newPkg = scanPackageTracedLI(disabledPs.codePath, parseFlags, SCAN_NO_PATHS, 0, null);
19226 Slog.i(TAG, "Found stale container " + cid + ": expected codePath="
19300 String codePath = processCids.get(args);
19312 if (codePath == null || !codePath.startsWith(args.getCodePath())) {
19314 + " does not match one in settings " + codePath);
19330 pkg = scanPackageTracedLI(new File(codePath), parseFlags,
19333 Slog.w(TAG, "Failed to scan " + codePath + ": " + e.getMessage());
19351 Slog.i(TAG, "Failed to install pkg from " + codePath + " from sdcard");
19507 pkg = scanPackageTracedLI(ps.codePath, parseFlags, SCAN_INITIAL, 0, null);
19511 Slog.w(TAG, "Failed to scan " + ps.codePath + ": " + e.getMessage());
19603 Slog.w(TAG, "Failed to unload " + ps.codePath);
20307 final File probe = new File(pkg.codePath);
20329 codeFile = new File(pkg.codePath);