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()
DUserBackupManagerService.java400 private final File mBaseStateDir; field in UserBackupManagerService
535 mBaseStateDir = null; in UserBackupManagerService()
599 mBaseStateDir = Objects.requireNonNull(baseStateDir, "baseStateDir cannot be null"); in UserBackupManagerService()
603 mBaseStateDir.mkdirs(); in UserBackupManagerService()
604 if (!SELinux.restorecon(mBaseStateDir)) { in UserBackupManagerService()
608 userId, "SELinux restorecon failed on " + mBaseStateDir)); in UserBackupManagerService()
615 mBackupPasswordManager = new BackupPasswordManager(mContext, mBaseStateDir, mRng); in UserBackupManagerService()
639 mJournalDir = new File(mBaseStateDir, "pending"); in UserBackupManagerService()
674 mBackupPreferences = new UserBackupPreferences(mContext, mBaseStateDir); in UserBackupManagerService()
683 mFullBackupScheduleFile = new File(mBaseStateDir, "fb-schedule"); in UserBackupManagerService()
[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()
148 File stateFileDir = new File(mBaseStateDir, transportDirName); in run()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java119 private File mBaseStateDir; field in UserBackupManagerServiceTest
152 mBaseStateDir = new File(cacheDir, "base_state"); in setUp()
1058 mBaseStateDir, in testCreateAndInitializeService_postRegisterTransports()
1079 mBaseStateDir, in testCreateAndInitializeService_doesNotRegisterTransportsSynchronously()
1098 mBaseStateDir, in testCreateAndInitializeService_withNullContext_throws()
1114 mBaseStateDir, in testCreateAndInitializeService_withNullTrampoline_throws()
1130 mBaseStateDir, in testCreateAndInitializeService_withNullBackupThread_throws()
1166 mBaseStateDir, in testCreateAndInitializeService_withNullDataDir_throws()
1186 mBaseStateDir, in testCreateAndInitializeService_withNullTransportManager_throws()
1204 mBaseStateDir, in testCreateAndInitializeService_registersPackageTrackingReceiver()
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java82 private File mBaseStateDir; field in PerformInitializeTaskTest
94 mBaseStateDir = new File(context.getCacheDir(), "base_state_dir"); in setUp()
95 assertThat(mBaseStateDir.mkdir()).isTrue(); in setUp()
124 .resetBackupState(eq(new File(mBaseStateDir, mTransport.transportDirName))); in testRun_callsBackupManagerCorrectly()
379 mBaseStateDir); in createPerformInitializeTask()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java208 private File mBaseStateDir; field in KeyValueBackupTaskTest
230 mBaseStateDir = new File(cacheDir, "base_state"); in setUp()
248 USER_ID, mContext, mBaseStateDir, mDataDir, mTransportManager)); in setUp()
257 when(mBackupManagerService.getBaseStateDir()).thenReturn(mBaseStateDir); in setUp()
2594 return mBaseStateDir.toPath().resolve(transport.transportDirName); in getStateDirectory()