Searched refs:manifestBytes (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriterTest.java | 119 byte[] manifestBytes = getWrittenBytes(mBackupDataOutputFile, /* includeTarHeader */ false); in testBackupManifest_withoutApkOrSignatures_writesCorrectData() 120 String[] manifest = new String(manifestBytes, StandardCharsets.UTF_8).split("\n"); in testBackupManifest_withoutApkOrSignatures_writesCorrectData() 154 byte[] manifestBytes = getWrittenBytes(mBackupDataOutputFile, /* includeTarHeader */ false); in testBackupManifest_withApk_writesApk() 155 String[] manifest = new String(manifestBytes, StandardCharsets.UTF_8).split("\n"); in testBackupManifest_withApk_writesApk() 190 byte[] manifestBytes = getWrittenBytes(mBackupDataOutputFile, /* includeTarHeader */ false); in testBackupManifest_withSignatures_writesCorrectSignatures() 191 String[] manifest = new String(manifestBytes, StandardCharsets.UTF_8).split("\n"); in testBackupManifest_withSignatures_writesCorrectSignatures() 220 byte[] manifestBytes = getWrittenBytes(mBackupDataOutputFile, /* includeTarHeader */ false); in testBackupManifest_withoutInstallerPackage_writesEmptyInstaller() 221 String[] manifest = new String(manifestBytes, StandardCharsets.UTF_8).split("\n"); in testBackupManifest_withoutInstallerPackage_writesEmptyInstaller()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarVerifier.java | 362 byte[] manifestBytes = metaEntries.get(JarFile.MANIFEST_NAME); in verifyCertificate() 364 if (manifestBytes == null) { in verifyCertificate() 455 … if (!verify(attributes, digestAttribute, manifestBytes, 0, mainAttributesEnd, false, true)) { in verifyCertificate() 462 … if (!verify(attributes, digestAttribute, manifestBytes, 0, manifestBytes.length, false, false)) { in verifyCertificate() 470 if (!verify(entry.getValue(), "-Digest", manifestBytes, in verifyCertificate()
|
D | StrictJarManifest.java | 107 StrictJarManifest(byte[] manifestBytes, boolean readChunks) throws IOException { in StrictJarManifest() argument 112 read(manifestBytes); in StrictJarManifest()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriter.java | 90 byte[] manifestBytes = getManifestBytes(packageInfo, withApk); in backupManifest() 92 outputStream.write(manifestBytes); in backupManifest()
|