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/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 758 public void setJournal(@Nullable DataChangedJournal journal) { in setJournal() argument 759 mJournal = journal; in setJournal() 1031 for (DataChangedJournal journal : journals) { in parseLeftoverJournals() 1032 if (!journal.equals(mJournal)) { in parseLeftoverJournals() 1034 journal.forEach(packageName -> { in parseLeftoverJournals() 1040 Slog.e(TAG, "Can't read " + journal, e); in parseLeftoverJournals()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 2802 JournaledFile journal = makeJournaledFile(userId); in saveSettingsLocked() local 2807 fstream = new FileOutputStream(journal.chooseForWrite(), false); in saveSettingsLocked() 2828 journal.commit(); in saveSettingsLocked() 2831 journal.rollback(); in saveSettingsLocked() 2979 JournaledFile journal = makeJournaledFile(userId); in loadSettingsLocked() local 2981 File file = journal.chooseForRead(); in loadSettingsLocked()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 2728 @Nullable DataChangedJournal journal, String packageName) throws IOException { in assertJournalDoesNotContain() 2729 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 | 3031 JournaledFile journal = makeJournaledFile(userHandle); 3034 stream = new FileOutputStream(journal.chooseForWrite(), false); 3206 journal.commit(); 3217 journal.rollback(); 3233 JournaledFile journal = makeJournaledFile(userHandle); 3235 File file = journal.chooseForRead();
|