Home
last modified time | relevance | path

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

/frameworks/base/services/backup/java/com/android/server/backup/
DDataChangedJournal.java38 public class DataChangedJournal { class
51 DataChangedJournal(File file) { in DataChangedJournal() method in DataChangedJournal
109 if (object instanceof DataChangedJournal) { in equals()
110 DataChangedJournal that = (DataChangedJournal) object; in equals()
132 static DataChangedJournal newJournal(File journalDirectory) throws IOException { in newJournal()
133 return new DataChangedJournal( in newJournal()
140 static ArrayList<DataChangedJournal> listJournals(File journalDirectory) { in listJournals()
141 ArrayList<DataChangedJournal> journals = new ArrayList<>(); in listJournals()
143 journals.add(new DataChangedJournal(file)); in listJournals()
DUserBackupManagerService.java404 private DataChangedJournal mJournal;
811 public DataChangedJournal getJournal() { in getJournal()
815 public void setJournal(@Nullable DataChangedJournal journal) { in setJournal()
1087 ArrayList<DataChangedJournal> journals = DataChangedJournal.listJournals(mJournalDir); in parseLeftoverJournals()
1094 for (DataChangedJournal journal : journals) { in parseLeftoverJournals()
2386 if (mJournal == null) mJournal = DataChangedJournal.newJournal(mJournalDir); in writeToJournalLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DDataChangedJournalTest.java55 private DataChangedJournal mJournal;
61 mJournal = new DataChangedJournal(mFile); in setUp()
89 assertThat(mJournal.equals(new DataChangedJournal(mFile))).isTrue(); in equals_isTrueForTheSameFile()
94 assertThat(mJournal.equals(new DataChangedJournal(mTemporaryFolder.newFile()))).isFalse(); in equals_isFalseForDifferentFiles()
113 DataChangedJournal.newJournal(folder); in listJournals_returnsJournalsForEveryFileInDirectory()
114 DataChangedJournal.newJournal(folder); in listJournals_returnsJournalsForEveryFileInDirectory()
116 ArrayList<DataChangedJournal> journals = DataChangedJournal.listJournals(folder); in listJournals_returnsJournalsForEveryFileInDirectory()
125 DataChangedJournal.newJournal(folder); in newJournal_createsANewTemporaryFile()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowKeyValueBackupTask.java21 import com.android.server.backup.DataChangedJournal;
61 @Nullable DataChangedJournal dataChangedJournal, in __constructor__()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupReporter.java32 import com.android.server.backup.DataChangedJournal;
390 void onJournalDeleteFailed(DataChangedJournal journal) { in onJournalDeleteFailed()
DKeyValueBackupTask.java58 import com.android.server.backup.DataChangedJournal;
207 @Nullable DataChangedJournal dataChangedJournal, in start()
252 @Nullable private final DataChangedJournal mJournal;
296 @Nullable DataChangedJournal journal, in KeyValueBackupTask()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DBackupHandler.java39 import com.android.server.backup.DataChangedJournal;
155 DataChangedJournal oldJournal = backupManagerService.getJournal(); in handleMessage()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java105 import com.android.server.backup.DataChangedJournal;
177 @Mock private DataChangedJournal mOldJournal;
2727 @Nullable DataChangedJournal journal, String packageName) throws IOException { in assertJournalDoesNotContain()
/frameworks/base/services/
Dart-profile4765 HSPLcom/android/server/backup/DataChangedJournal;->$closeResource(Ljava/lang/Throwable;Ljava/lang/A…
4766 HSPLcom/android/server/backup/DataChangedJournal;->addPackage(Ljava/lang/String;)V
4767 PLcom/android/server/backup/DataChangedJournal;->delete()Z
4768 PLcom/android/server/backup/DataChangedJournal;->equals(Ljava/lang/Object;)Z
4769 PLcom/android/server/backup/DataChangedJournal;->forEach(Ljava/util/function/Consumer;)V
4907 …server/backup/UserBackupManagerService;->getJournal()Lcom/android/server/backup/DataChangedJournal;
4948 …erver/backup/UserBackupManagerService;->setJournal(Lcom/android/server/backup/DataChangedJournal;)V
5018 …lient;Ljava/lang/String;Ljava/util/List;Lcom/android/server/backup/DataChangedJournal;Lcom/android…
5040 …lient;Ljava/lang/String;Ljava/util/List;Lcom/android/server/backup/DataChangedJournal;Landroid/app…