/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 | 21190 String apkFile, int pid) { in logAppProcessStartIfNeeded() argument 21199 data.putString("apkFile", apkFile); in logAppProcessStartIfNeeded()
|
/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 | 1129 public final File apkFile; field in ApplicationsState.AppEntry 1172 apkFile = new File(info.sourceDir); in AppEntry() 1182 if (!this.apkFile.exists()) { in ensureLabel() 1195 if (this.apkFile.exists()) { in ensureIconLocked() 1206 if (this.apkFile.exists()) { in ensureIconLocked()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 873 public Package parseMonolithicPackage(File apkFile, int flags) throws PackageParserException { in parseMonolithicPackage() argument 874 final PackageLite lite = parseMonolithicPackageLite(apkFile, flags); in parseMonolithicPackage() 878 "Not a coreApp: " + apkFile); in parseMonolithicPackage() 884 final Package pkg = parseBaseApk(apkFile, assets, flags); in parseMonolithicPackage() 885 pkg.setCodePath(apkFile.getAbsolutePath()); in parseMonolithicPackage() 911 private Package parseBaseApk(File apkFile, AssetManager assets, int flags) in parseBaseApk() argument 913 final String apkPath = apkFile.getAbsolutePath(); in parseBaseApk() 922 mArchiveSourcePath = apkFile.getAbsolutePath(); in parseBaseApk() 1154 private static void collectCertificates(Package pkg, File apkFile, int parseFlags) in collectCertificates() argument 1156 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 | 4763 final File apkFile = new File(archiveFilePath); in getPackageArchiveInfo() local 4774 PackageParser.Package pkg = parser.parseMonolithicPackage(apkFile, 0); in getPackageArchiveInfo()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 5818 File apkFile = new File(mDataDir, info.packageName); in installApk() local 5820 FileOutputStream apkStream = new FileOutputStream(apkFile); in installApk() 5833 apkFile.setReadable(true, false); in installApk() 5836 Uri packageUri = Uri.fromFile(apkFile); in installApk() 5907 apkFile.delete(); in installApk() 7251 File apkFile = new File(mDataDir, info.packageName); in installApk() local 7253 FileOutputStream apkStream = new FileOutputStream(apkFile); in installApk() 7266 apkFile.setReadable(true, false); in installApk() 7269 Uri packageUri = Uri.fromFile(apkFile); in installApk() 7340 apkFile.delete(); in installApk()
|