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.java225 public static void writeChecksums(OutputStream os, Checksum[] checksums) in writeChecksums() argument
228 for (Checksum checksum : checksums) { in writeChecksums()
246 ArrayList<Checksum> checksums = new ArrayList<>(); in readChecksums() local
250 checksums.add(Checksum.readFromStream(dis)); in readChecksums()
255 return checksums.toArray(new Checksum[checksums.size()]); in readChecksums()
266 public static @NonNull Certificate[] verifySignature(Checksum[] checksums, byte[] signature) in verifySignature() argument
274 writeChecksums(os, checksums); in verifySignature()
326 Map<Integer, ApkChecksum> checksums = new ArrayMap<>(); in getChecksums() local
327 result.add(checksums); in getChecksums()
331 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.java577 PerFileChecksum(Checksum[] checksums, byte[] signature) { in PerFileChecksum() argument
578 mChecksums = checksums; in PerFileChecksum()
1155 ArrayMap<String, PerFileChecksum> checksums, in PackageInstallerSession() argument
1202 if (checksums != null) { in PackageInstallerSession()
1203 mChecksums.putAll(checksums); in PackageInstallerSession()
1666 public void setChecksums(String name, @NonNull Checksum[] checksums, in setChecksums() argument
1668 if (checksums.length == 0) { in setChecksums()
1694 Certificate[] ignored = ApkChecksums.verifySignature(checksums, signature); in setChecksums()
1700 for (Checksum checksum : checksums) { in setChecksums()
1715 mChecksums.put(name, new PerFileChecksum(checksums, signature)); in setChecksums()
[all …]
/frameworks/base/core/java/android/content/pm/
DIOnChecksumsReadyListener.aidl26 void onChecksumsReady(in List<ApkChecksum> checksums); in onChecksumsReady() argument
DIPackageInstallerSession.aidl41 void setChecksums(String name, in Checksum[] checksums, in byte[] signature); in setChecksums() argument
DPackageInstaller.java1847 public void setChecksums(@NonNull String name, @NonNull List<Checksum> checksums, in setChecksums() argument
1850 Objects.requireNonNull(checksums); in setChecksums()
1853 mSession.setChecksums(name, checksums.toArray(new Checksum[checksums.size()]), in setChecksums()
1934 public void onChecksumsReady(List<ApkChecksum> checksums) in requestChecksums()
1937 () -> onChecksumsReadyListener.onChecksumsReady(checksums)); in requestChecksums()
DPackageManager.java10942 void onChecksumsReady(@NonNull List<ApkChecksum> checksums); in onChecksumsReady() argument
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java637 private void writeNewChecksums(long[] checksums, ParcelFileDescriptor newState) in writeNewChecksums() argument
644 dataOutput.writeLong(checksums[i]); in writeNewChecksums()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1062 public void onChecksumsReady(List<ApkChecksum> checksums) in requestChecksums()
1064 onChecksumsReadyListener.onChecksumsReady(checksums); in requestChecksums()