Home
last modified time | relevance | path

Searched refs:mBaseStateDir (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/
DBackupPasswordManager.java57 private final File mBaseStateDir; field in BackupPasswordManager
74 mBaseStateDir = baseStateDir; in BackupPasswordManager()
236 new File(mBaseStateDir, PASSWORD_VERSION_FILE_NAME), in getPasswordVersionFileCodec()
245 return new File(mBaseStateDir, PASSWORD_HASH_FILE_NAME); in getPasswordHashFile()
DBackupManagerService.java479 return mBaseStateDir; in getBaseStateDir()
483 mBaseStateDir = baseStateDir; in setBaseStateDir()
648 private File mBaseStateDir; field in BackupManagerService
819 mBaseStateDir = baseStateDir; in BackupManagerService()
820 mBaseStateDir.mkdirs(); in BackupManagerService()
821 if (!SELinux.restorecon(mBaseStateDir)) { in BackupManagerService()
822 Slog.e(TAG, "SELinux restorecon failed on " + mBaseStateDir); in BackupManagerService()
827 mBackupPasswordManager = new BackupPasswordManager(mContext, mBaseStateDir, mRng); in BackupManagerService()
851 mJournalDir = new File(mBaseStateDir, "pending"); in BackupManagerService()
862 mFullBackupScheduleFile = new File(mBaseStateDir, "fb-schedule"); in BackupManagerService()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DPerformInitializeTask.java55 private final File mBaseStateDir; field in PerformInitializeTask
86 mBaseStateDir = baseStateDir; in PerformInitializeTask()
143 File stateFileDir = new File(mBaseStateDir, transportDirName); in run()
/frameworks/base/services/robotests/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java80 private File mBaseStateDir; field in PerformInitializeTaskTest
92 mBaseStateDir = new File(context.getCacheDir(), "base_state_dir"); in setUp()
93 assertThat(mBaseStateDir.mkdir()).isTrue(); in setUp()
122 .resetBackupState(eq(new File(mBaseStateDir, mTransport.transportDirName))); in testRun_callsBackupManagerCorrectly()
349 mBaseStateDir); in createPerformInitializeTask()
/frameworks/base/services/robotests/src/com/android/server/backup/
DPerformBackupTaskTest.java128 private File mBaseStateDir; field in PerformBackupTaskTest
138 mBaseStateDir = new File(cacheDir, "base_state_dir"); in setUp()
140 assertThat(mBaseStateDir.mkdir()).isTrue(); in setUp()
171 when(mBackupManagerService.getBaseStateDir()).thenReturn(mBaseStateDir); in setUp()
523 File stateDir = new File(mBaseStateDir, transport.transportDirName); in setUpTransport()
DBackupManagerServiceTest.java87 private File mBaseStateDir; field in BackupManagerServiceTest
109 mBaseStateDir = new File(cacheDir, "base_state_dir"); in setUp()
638 mBaseStateDir, in createBackupManagerService()
649 mBaseStateDir, in createInitializedBackupManagerService()