Searched refs:DataChangedJournal (Results 1 – 9 of 9) sorted by relevance
43 public class DataChangedJournal { class57 DataChangedJournal(@NonNull File file) { in DataChangedJournal() method in DataChangedJournal123 if (object instanceof DataChangedJournal) { in equals()124 DataChangedJournal that = (DataChangedJournal) object; in equals()142 static DataChangedJournal newJournal(@NonNull File journalDirectory) throws IOException { in newJournal()145 return new DataChangedJournal(file); in newJournal()151 static ArrayList<DataChangedJournal> listJournals(File journalDirectory) { in listJournals()152 ArrayList<DataChangedJournal> journals = new ArrayList<>(); in listJournals()159 journals.add(new DataChangedJournal(file)); in listJournals()
404 private DataChangedJournal mJournal;850 public DataChangedJournal getJournal() { in getJournal()854 public void setJournal(@Nullable DataChangedJournal journal) { in setJournal()1148 ArrayList<DataChangedJournal> journals = DataChangedJournal.listJournals(mJournalDir); in parseLeftoverJournals()1155 for (DataChangedJournal journal : journals) { in parseLeftoverJournals()2551 if (mJournal == null) mJournal = DataChangedJournal.newJournal(mJournalDir); in writeToJournalLocked()
59 private DataChangedJournal mJournal;65 mJournal = new DataChangedJournal(mFile); in setUp()93 assertEqualsBothWaysAndHashCode(mJournal, new DataChangedJournal(mFile)); in equals_isTrueForTheSameFile()104 assertThat(mJournal.equals(new DataChangedJournal(mTemporaryFolder.newFile()))).isFalse(); in equals_isFalseForDifferentFiles()123 DataChangedJournal.newJournal(folder); in listJournals_returnsJournalsForEveryFileInDirectory()124 DataChangedJournal.newJournal(folder); in listJournals_returnsJournalsForEveryFileInDirectory()126 assertThat(DataChangedJournal.listJournals(folder)).hasSize(2); in listJournals_returnsJournalsForEveryFileInDirectory()133 DataChangedJournal.newJournal(folder); in newJournal_createsANewTemporaryFile()140 DataChangedJournal.newJournal(null); in newJournal_nullJournalDir()145 new DataChangedJournal(null); in nullFile()[all …]
21 import com.android.server.backup.DataChangedJournal;64 @Nullable DataChangedJournal dataChangedJournal, in __constructor__()
32 import com.android.server.backup.DataChangedJournal;381 void onJournalDeleteFailed(DataChangedJournal journal) { in onJournalDeleteFailed()
56 import com.android.server.backup.DataChangedJournal;219 @Nullable DataChangedJournal dataChangedJournal, in start()267 @Nullable private final DataChangedJournal mJournal;314 @Nullable DataChangedJournal journal, in KeyValueBackupTask()
38 import com.android.server.backup.DataChangedJournal;172 DataChangedJournal oldJournal = backupManagerService.getJournal(); in handleMessage()
111 import com.android.server.backup.DataChangedJournal;193 @Mock private DataChangedJournal mOldJournal;2931 @Nullable DataChangedJournal journal, String packageName) throws IOException { in assertJournalDoesNotContain()
8596 PLcom/android/server/backup/DataChangedJournal;-><init>(Ljava/io/File;)V8597 HPLcom/android/server/backup/DataChangedJournal;->addPackage(Ljava/lang/String;)V8598 PLcom/android/server/backup/DataChangedJournal;->equals(Ljava/lang/Object;)Z8599 HPLcom/android/server/backup/DataChangedJournal;->forEach(Ljava/util/function/Consumer;)V8600 PLcom/android/server/backup/DataChangedJournal;->listJournals(Ljava/io/File;)Ljava/util/ArrayList;8601 PLcom/android/server/backup/DataChangedJournal;->newJournal(Ljava/io/File;)Lcom/android/server/back…