Home
last modified time | relevance | path

Searched refs:manifestBytes (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/
DAppMetadataBackupWriterTest.java119 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/
DStrictJarVerifier.java362 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()
DStrictJarManifest.java107 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/
DAppMetadataBackupWriter.java90 byte[] manifestBytes = getManifestBytes(packageInfo, withApk); in backupManifest()
92 outputStream.write(manifestBytes); in backupManifest()