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.java43 public class DataChangedJournal { class
57 DataChangedJournal(@NonNull File file) { in DataChangedJournal() method in DataChangedJournal
123 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()
DUserBackupManagerService.java404 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()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DDataChangedJournalTest.java59 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 …]
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowKeyValueBackupTask.java21 import com.android.server.backup.DataChangedJournal;
64 @Nullable DataChangedJournal dataChangedJournal, in __constructor__()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupReporter.java32 import com.android.server.backup.DataChangedJournal;
381 void onJournalDeleteFailed(DataChangedJournal journal) { in onJournalDeleteFailed()
DKeyValueBackupTask.java56 import com.android.server.backup.DataChangedJournal;
219 @Nullable DataChangedJournal dataChangedJournal, in start()
267 @Nullable private final DataChangedJournal mJournal;
314 @Nullable DataChangedJournal journal, in KeyValueBackupTask()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DBackupHandler.java38 import com.android.server.backup.DataChangedJournal;
172 DataChangedJournal oldJournal = backupManagerService.getJournal(); in handleMessage()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java111 import com.android.server.backup.DataChangedJournal;
193 @Mock private DataChangedJournal mOldJournal;
2931 @Nullable DataChangedJournal journal, String packageName) throws IOException { in assertJournalDoesNotContain()
/frameworks/base/services/
Dart-wear-profile8596 PLcom/android/server/backup/DataChangedJournal;-><init>(Ljava/io/File;)V
8597 HPLcom/android/server/backup/DataChangedJournal;->addPackage(Ljava/lang/String;)V
8598 PLcom/android/server/backup/DataChangedJournal;->equals(Ljava/lang/Object;)Z
8599 HPLcom/android/server/backup/DataChangedJournal;->forEach(Ljava/util/function/Consumer;)V
8600 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…