Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DProcessedPackagesJournalTest.java74 assertThat(journalFromDisk.hasBeenProcessed(GOOGLE_PHOTOS)).isTrue(); in constructor_loadsAnyPreviousJournalFromDisk()
75 assertThat(journalFromDisk.hasBeenProcessed(GMAIL)).isTrue(); in constructor_loadsAnyPreviousJournalFromDisk()
80 assertThat(mProcessedPackagesJournal.hasBeenProcessed(GOOGLE_PHOTOS)).isFalse(); in hasBeenProcessed_isFalseForAnyPackageFromBlankInit()
81 assertThat(mProcessedPackagesJournal.hasBeenProcessed(GMAIL)).isFalse(); in hasBeenProcessed_isFalseForAnyPackageFromBlankInit()
82 assertThat(mProcessedPackagesJournal.hasBeenProcessed(GOOGLE_PLUS)).isFalse(); in hasBeenProcessed_isFalseForAnyPackageFromBlankInit()
89 assertThat(mProcessedPackagesJournal.hasBeenProcessed(GOOGLE_PHOTOS)).isTrue(); in addPackage_addsPackageToObjectState()
112 assertThat(mProcessedPackagesJournal.hasBeenProcessed(GMAIL)).isFalse(); in getPackagesCopy_returnsACopy()
123 assertThat(mProcessedPackagesJournal.hasBeenProcessed(GOOGLE_PHOTOS)).isFalse(); in reset_removesAllPackagesFromObjectState()
124 assertThat(mProcessedPackagesJournal.hasBeenProcessed(GMAIL)).isFalse(); in reset_removesAllPackagesFromObjectState()
125 assertThat(mProcessedPackagesJournal.hasBeenProcessed(GOOGLE_PLUS)).isFalse(); in reset_removesAllPackagesFromObjectState()
/frameworks/base/services/backup/java/com/android/server/backup/
DProcessedPackagesJournal.java81 boolean hasBeenProcessed(String packageName) { in hasBeenProcessed() method in ProcessedPackagesJournal
DBackupManagerService.java1578 if (mCurrentToken != 0 && mProcessedPackagesJournal.hasBeenProcessed(packageName)) { in getAvailableRestoreToken()