Searched refs:hasApk (Results 1 – 3 of 3) sorted by relevance
40 public boolean hasApk; // Whether backup file contains apk. field in FileMetadata
189 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()
313 info.hasApk = str[0].equals("1"); in readAppManifestAndReturnSignatures()524 if (policy == RestorePolicy.ACCEPT_IF_APK && !info.hasApk) { in chooseRestorePolicy()