Home
last modified time | relevance | path

Searched refs:hasApk (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/
DFileMetadata.java40 public boolean hasApk; // Whether backup file contains apk. field in FileMetadata
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DTarBackupReaderTest.java189 assertThat(fileMetadata.hasApk).isFalse(); in readAppManifest_backupEncrypted_correctlyParsesAppManifest()
210 assertThat(fileMetadata.hasApk).isFalse(); in readAppManifest_backupNotEncrypted_correctlyParsesAppManifest()
245 info.hasApk = true; in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk()
270 info.hasApk = false; in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore()
529 info.hasApk = true; in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchButAllowApksAndHasApk_returnsAcceptIfApk()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DTarBackupReader.java313 info.hasApk = str[0].equals("1"); in readAppManifestAndReturnSignatures()
524 if (policy == RestorePolicy.ACCEPT_IF_APK && !info.hasApk) { in chooseRestorePolicy()