Searched refs:mProcessedPackagesJournal (Results 1 – 2 of 2) sorted by relevance
56 private ProcessedPackagesJournal mProcessedPackagesJournal; field in ProcessedPackagesJournalTest62 mProcessedPackagesJournal = new ProcessedPackagesJournal(mStateDirectory); in setUp()63 mProcessedPackagesJournal.init(); in setUp()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()87 mProcessedPackagesJournal.addPackage(GOOGLE_PHOTOS); in addPackage_addsPackageToObjectState()89 assertThat(mProcessedPackagesJournal.hasBeenProcessed(GOOGLE_PHOTOS)).isTrue(); in addPackage_addsPackageToObjectState()94 mProcessedPackagesJournal.addPackage(GOOGLE_PHOTOS); in addPackage_addsPackageToFileSystem()101 mProcessedPackagesJournal.addPackage(GOOGLE_PHOTOS); in getPackagesCopy_returnsTheCurrentState()[all …]
658 private ProcessedPackagesJournal mProcessedPackagesJournal; field in BackupManagerService916 mProcessedPackagesJournal = new ProcessedPackagesJournal(mBaseStateDir); in initPackageTracking()917 mProcessedPackagesJournal.init(); in initPackageTracking()1148 mProcessedPackagesJournal.reset(); in resetBackupState()1445 mProcessedPackagesJournal.addPackage(packageName); in logBackupComplete()1578 if (mCurrentToken != 0 && mProcessedPackagesJournal.hasBeenProcessed(packageName)) { in getAvailableRestoreToken()2375 apps = mProcessedPackagesJournal.getPackagesCopy(); in clearBackupData()3646 Set<String> processedPackages = mProcessedPackagesJournal.getPackagesCopy(); in dumpInternal()