Home
last modified time | relevance | path

Searched refs:DataChangedJournal (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/
DDataChangedJournal.java36 public class DataChangedJournal { class
49 DataChangedJournal(File file) { in DataChangedJournal() method in DataChangedJournal
96 if (object instanceof DataChangedJournal) { in equals()
97 DataChangedJournal that = (DataChangedJournal) object; in equals()
127 static DataChangedJournal newJournal(File journalDirectory) throws IOException { in newJournal()
128 return new DataChangedJournal( in newJournal()
135 static ArrayList<DataChangedJournal> listJournals(File journalDirectory) { in listJournals()
136 ArrayList<DataChangedJournal> journals = new ArrayList<>(); in listJournals()
138 journals.add(new DataChangedJournal(file)); in listJournals()
DBackupManagerService.java494 public DataChangedJournal getJournal() { in getJournal()
498 public void setJournal(@Nullable DataChangedJournal journal) { in setJournal()
652 private DataChangedJournal mJournal;
1074 ArrayList<DataChangedJournal> journals = DataChangedJournal.listJournals(mJournalDir); in parseLeftoverJournals()
1075 for (DataChangedJournal journal : journals) { in parseLeftoverJournals()
2292 if (mJournal == null) mJournal = DataChangedJournal.newJournal(mJournalDir); in writeToJournalLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DDataChangedJournalTest.java50 @Mock private DataChangedJournal.Consumer mConsumer;
53 private DataChangedJournal mJournal;
59 mJournal = new DataChangedJournal(mFile); in setUp()
87 assertThat(mJournal.equals(new DataChangedJournal(mFile))).isTrue(); in equals_isTrueForTheSameFile()
92 assertThat(mJournal.equals(new DataChangedJournal(mTemporaryFolder.newFile()))).isFalse(); in equals_isFalseForDifferentFiles()
111 DataChangedJournal.newJournal(folder); in listJournals_returnsJournalsForEveryFileInDirectory()
112 DataChangedJournal.newJournal(folder); in listJournals_returnsJournalsForEveryFileInDirectory()
114 ArrayList<DataChangedJournal> journals = DataChangedJournal.listJournals(folder); in listJournals_returnsJournalsForEveryFileInDirectory()
123 DataChangedJournal.newJournal(folder); in newJournal_createsANewTemporaryFile()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DBackupHandler.java40 import com.android.server.backup.DataChangedJournal;
124 DataChangedJournal oldJournal = backupManagerService.getJournal(); in handleMessage()
DPerformBackupTask.java62 import com.android.server.backup.DataChangedJournal;
121 @Nullable private DataChangedJournal mJournal;
152 ArrayList<BackupRequest> queue, @Nullable DataChangedJournal journal, in PerformBackupTask()
/frameworks/base/services/robotests/src/com/android/server/backup/
DPerformBackupTaskTest.java118 @Mock private DataChangedJournal mDataChangedJournal;
/frameworks/base/services/
Dart-profile119 HPLcom/android/server/backup/DataChangedJournal$Consumer;->accept(Ljava/lang/String;)V