Searched refs:journal (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | ProcessedPackagesJournalTest.java | 141 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/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupReporter.java | 390 void onJournalDeleteFailed(DataChangedJournal journal) { in onJournalDeleteFailed() argument 391 Slog.e(TAG, "Unable to remove backup journal file " + journal); in onJournalDeleteFailed()
|
D | KeyValueBackupTask.java | 296 @Nullable DataChangedJournal journal, in KeyValueBackupTask() argument 309 mJournal = journal; in KeyValueBackupTask()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 2877 JournaledFile journal = makeJournaledFile(userId); in saveSettingsLocked() local 2882 fstream = new FileOutputStream(journal.chooseForWrite(), false); in saveSettingsLocked() 2903 journal.commit(); in saveSettingsLocked() 2906 journal.rollback(); in saveSettingsLocked() 3054 JournaledFile journal = makeJournaledFile(userId); in loadSettingsLocked() local 3056 File file = journal.chooseForRead(); in loadSettingsLocked()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 815 public void setJournal(@Nullable DataChangedJournal journal) { in setJournal() argument 816 mJournal = journal; in setJournal() 1094 for (DataChangedJournal journal : journals) { in parseLeftoverJournals() 1096 journal.forEach(packageName -> { in parseLeftoverJournals() 1102 Slog.e(TAG, "Can't read " + journal, e); in parseLeftoverJournals()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 2727 @Nullable DataChangedJournal journal, String packageName) throws IOException { in assertJournalDoesNotContain() 2728 List<String> packages = (journal == null) ? emptyList() : journal.getPackages(); in assertJournalDoesNotContain()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 2663 JournaledFile journal = new JournaledFile(mPackageListFilename, tempFile); in writePackageListLPrInternal() local 2665 final File writeTarget = journal.chooseForWrite(); in writePackageListLPrInternal() 2737 journal.commit(); in writePackageListLPrInternal() 2741 journal.rollback(); in writePackageListLPrInternal()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 3039 JournaledFile journal = makeJournaledFile(userHandle); 3042 stream = new FileOutputStream(journal.chooseForWrite(), false); 3214 journal.commit(); 3225 journal.rollback(); 3241 JournaledFile journal = makeJournaledFile(userHandle); 3243 File file = journal.chooseForRead();
|