/frameworks/base/services/core/java/com/android/server/pm/ |
D | ProcessLoggingHandler.java | 55 String apkFile = bundle.getString("apkFile"); in handleMessage() local 58 String apkHash = computeStringHashOfApk(apkFile); in handleMessage() 79 private String computeStringHashOfApk(String apkFile) { in computeStringHashOfApk() argument 80 if (apkFile == null) { in computeStringHashOfApk() 83 String apkHash = mProcessLoggingBaseApkHashes.get(apkFile); in computeStringHashOfApk() 86 byte[] hash = computeHashOfApkFile(apkFile); in computeStringHashOfApk() 92 mProcessLoggingBaseApkHashes.put(apkFile, apkHash); in computeStringHashOfApk()
|
D | PackageManagerService.java | 20919 String apkFile, int pid) { 20928 data.putString("apkFile", apkFile);
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageHelper.java | 250 public static long extractPublicFiles(File apkFile, File publicZipFile) in extractPublicFiles() argument 261 Log.d(TAG, "Extracting " + apkFile + " to " + publicZipFile); in extractPublicFiles() 267 final ZipFile privateZip = new ZipFile(apkFile.getAbsolutePath()); in extractPublicFiles()
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV2Verifier.java | 87 public static boolean hasSignature(String apkFile) throws IOException { in hasSignature() argument 88 try (RandomAccessFile apk = new RandomAccessFile(apkFile, "r")) { in hasSignature() 104 public static X509Certificate[][] verify(String apkFile) in verify() argument 106 try (RandomAccessFile apk = new RandomAccessFile(apkFile, "r")) { in verify()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 1123 public final File apkFile; field in ApplicationsState.AppEntry 1161 apkFile = new File(info.sourceDir); in AppEntry() 1171 if (!this.apkFile.exists()) { in ensureLabel() 1184 if (this.apkFile.exists()) { in ensureIconLocked() 1195 if (this.apkFile.exists()) { in ensureIconLocked()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 868 public Package parseMonolithicPackage(File apkFile, int flags) throws PackageParserException { in parseMonolithicPackage() argument 869 final PackageLite lite = parseMonolithicPackageLite(apkFile, flags); in parseMonolithicPackage() 873 "Not a coreApp: " + apkFile); in parseMonolithicPackage() 879 final Package pkg = parseBaseApk(apkFile, assets, flags); in parseMonolithicPackage() 880 pkg.setCodePath(apkFile.getAbsolutePath()); in parseMonolithicPackage() 906 private Package parseBaseApk(File apkFile, AssetManager assets, int flags) in parseBaseApk() argument 908 final String apkPath = apkFile.getAbsolutePath(); in parseBaseApk() 917 mArchiveSourcePath = apkFile.getAbsolutePath(); in parseBaseApk() 1149 private static void collectCertificates(Package pkg, File apkFile, int parseFlags) in collectCertificates() argument 1151 final String apkPath = apkFile.getAbsolutePath(); in collectCertificates() [all …]
|
D | IPackageManager.aidl | 321 void logAppProcessStartIfNeeded(String processName, int uid, String seinfo, String apkFile, in logAppProcessStartIfNeeded() argument
|
D | PackageManager.java | 4739 final File apkFile = new File(archiveFilePath); in getPackageArchiveInfo() local 4750 PackageParser.Package pkg = parser.parseMonolithicPackage(apkFile, 0); in getPackageArchiveInfo()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 5786 File apkFile = new File(mDataDir, info.packageName); in installApk() local 5788 FileOutputStream apkStream = new FileOutputStream(apkFile); in installApk() 5801 apkFile.setReadable(true, false); in installApk() 5804 Uri packageUri = Uri.fromFile(apkFile); in installApk() 5875 apkFile.delete(); in installApk() 7215 File apkFile = new File(mDataDir, info.packageName); in installApk() local 7217 FileOutputStream apkStream = new FileOutputStream(apkFile); in installApk() 7230 apkFile.setReadable(true, false); in installApk() 7233 Uri packageUri = Uri.fromFile(apkFile); in installApk() 7304 apkFile.delete(); in installApk()
|