Home
last modified time | relevance | path

Searched refs:journal (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DProcessedPackagesJournalTest.java141 File journal = new File(mStateDirectory, JOURNAL_FILE_NAME); in readJournalPackages() local
144 try (FileInputStream fis = new FileInputStream(journal); in readJournalPackages()
157 File journal = new File(mStateDirectory, JOURNAL_FILE_NAME); in writePermanentJournalPackages() local
159 try (FileOutputStream fos = new FileOutputStream(journal); in writePermanentJournalPackages()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTestIWindow.java86 public void setDragEventJournal(ArrayList<DragEvent> journal) { in setDragEventJournal() argument
87 mDragEvents = journal; in setDragEventJournal()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperDataParser.java143 JournaledFile journal = makeJournaledFile(userId); in loadSettingsLocked() local
145 File file = journal.chooseForRead(); in loadSettingsLocked()
429 JournaledFile journal = makeJournaledFile(userId); in saveSettingsLocked() local
432 fstream = new FileOutputStream(journal.chooseForWrite(), false); in saveSettingsLocked()
449 journal.commit(); in saveSettingsLocked()
452 journal.rollback(); in saveSettingsLocked()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupReporter.java381 void onJournalDeleteFailed(DataChangedJournal journal) { in onJournalDeleteFailed() argument
382 Slog.e(TAG, "Unable to remove backup journal file " + journal); in onJournalDeleteFailed()
DKeyValueBackupTask.java314 @Nullable DataChangedJournal journal, in KeyValueBackupTask() argument
328 mJournal = journal; in KeyValueBackupTask()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java854 public void setJournal(@Nullable DataChangedJournal journal) { in setJournal() argument
855 mJournal = journal; in setJournal()
1155 for (DataChangedJournal journal : journals) { in parseLeftoverJournals()
1157 journal.forEach(packageName -> { in parseLeftoverJournals()
1163 Slog.e(TAG, addUserIdToLogMessage(mUserId, "Can't read " + journal), e); in parseLeftoverJournals()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java2931 @Nullable DataChangedJournal journal, String packageName) throws IOException { in assertJournalDoesNotContain()
2932 List<String> packages = (journal == null) ? emptyList() : journal.getPackages(); in assertJournalDoesNotContain()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java3005 JournaledFile journal = new JournaledFile(mPackageListFilename, tempFile);
3007 final File writeTarget = journal.chooseForWrite();
3106 journal.commit();
3110 journal.rollback();