Home
last modified time | relevance | path

Searched refs:checksums (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DApkChecksums.java219 public static void writeChecksums(OutputStream os, Checksum[] checksums) in writeChecksums() argument
222 for (Checksum checksum : checksums) { in writeChecksums()
240 ArrayList<Checksum> checksums = new ArrayList<>(); in readChecksums() local
244 checksums.add(Checksum.readFromStream(dis)); in readChecksums()
249 return checksums.toArray(new Checksum[checksums.size()]); in readChecksums()
260 public static @NonNull Certificate[] verifySignature(Checksum[] checksums, byte[] signature) in verifySignature() argument
264 writeChecksums(os, checksums); in verifySignature()
316 Map<Integer, ApkChecksum> checksums = new ArrayMap<>(); in getChecksums() local
317 result.add(checksums); in getChecksums()
321 trustedInstallers, checksums, injector); in getChecksums()
[all …]
DProcessLoggingHandler.java107 public void onChecksumsReady(List<ApkChecksum> checksums) in logAppProcessStart()
109 processChecksums(loggingInfo, checksums); in logAppProcessStart()
119 void processChecksums(final LoggingInfo loggingInfo, List<ApkChecksum> checksums) { in processChecksums() argument
120 for (int i = 0, size = checksums.size(); i < size; ++i) { in processChecksums()
121 ApkChecksum checksum = checksums.get(i); in processChecksums()
DPackageInstallerSession.java415 PerFileChecksum(Checksum[] checksums, byte[] signature) { in PerFileChecksum() argument
416 mChecksums = checksums; in PerFileChecksum()
1005 ArrayMap<String, PerFileChecksum> checksums, in PackageInstallerSession() argument
1051 if (checksums != null) { in PackageInstallerSession()
1052 mChecksums.putAll(checksums); in PackageInstallerSession()
1351 public void setChecksums(String name, @NonNull Checksum[] checksums, in setChecksums() argument
1353 if (checksums.length == 0) { in setChecksums()
1370 Certificate[] ignored = ApkChecksums.verifySignature(checksums, signature); in setChecksums()
1384 mChecksums.put(name, new PerFileChecksum(checksums, signature)); in setChecksums()
3280 final Checksum[] checksums = perFileChecksum.getChecksums(); in maybeStageDigestsLocked() local
[all …]
/frameworks/base/core/java/android/content/pm/
DIOnChecksumsReadyListener.aidl26 void onChecksumsReady(in List<ApkChecksum> checksums); in onChecksumsReady() argument
DIPackageInstallerSession.aidl38 void setChecksums(String name, in Checksum[] checksums, in byte[] signature); in setChecksums() argument
DPackageInstaller.java1274 public void setChecksums(@NonNull String name, @NonNull List<Checksum> checksums, in setChecksums() argument
1277 Objects.requireNonNull(checksums); in setChecksums()
1280 mSession.setChecksums(name, checksums.toArray(new Checksum[checksums.size()]), in setChecksums()
DPackageManager.java8719 void onChecksumsReady(@NonNull List<ApkChecksum> checksums); in onChecksumsReady() argument
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java577 private void writeNewChecksums(long[] checksums, ParcelFileDescriptor newState) in writeNewChecksums() argument
584 dataOutput.writeLong(checksums[i]); in writeNewChecksums()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java926 public void onChecksumsReady(List<ApkChecksum> checksums) in requestChecksums()
928 onChecksumsReadyListener.onChecksumsReady(checksums); in requestChecksums()