/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupPasswordManager.java | 57 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()
|
D | UserBackupManagerService.java | 400 private final File mBaseStateDir; field in UserBackupManagerService 551 mBaseStateDir = checkNotNull(baseStateDir, "baseStateDir cannot be null"); in UserBackupManagerService() 555 mBaseStateDir.mkdirs(); in UserBackupManagerService() 556 if (!SELinux.restorecon(mBaseStateDir)) { in UserBackupManagerService() 557 Slog.w(TAG, "SELinux restorecon failed on " + mBaseStateDir); in UserBackupManagerService() 564 mBackupPasswordManager = new BackupPasswordManager(mContext, mBaseStateDir, mRng); in UserBackupManagerService() 608 mJournalDir = new File(mBaseStateDir, "pending"); in UserBackupManagerService() 642 mFullBackupScheduleFile = new File(mBaseStateDir, "fb-schedule"); in UserBackupManagerService() 798 return mBaseStateDir; in getBaseStateDir() 895 mTokenFile = new File(mBaseStateDir, "ancestral"); in initPackageTracking() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
D | PerformInitializeTask.java | 55 private final File mBaseStateDir; field in PerformInitializeTask 86 mBaseStateDir = baseStateDir; in PerformInitializeTask() 147 File stateFileDir = new File(mBaseStateDir, transportDirName); in run()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | UserBackupManagerServiceTest.java | 102 private File mBaseStateDir; field in UserBackupManagerServiceTest 135 mBaseStateDir = new File(cacheDir, "base_state"); in setUp() 1004 mBaseStateDir, in testCreateAndInitializeService_postRegisterTransports() 1025 mBaseStateDir, in testCreateAndInitializeService_doesNotRegisterTransportsSynchronously() 1044 mBaseStateDir, in testCreateAndInitializeService_withNullContext_throws() 1060 mBaseStateDir, in testCreateAndInitializeService_withNullTrampoline_throws() 1076 mBaseStateDir, in testCreateAndInitializeService_withNullBackupThread_throws() 1112 mBaseStateDir, in testCreateAndInitializeService_withNullDataDir_throws() 1132 mBaseStateDir, in testCreateAndInitializeService_withNullTransportManager_throws() 1150 mBaseStateDir, in testCreateAndInitializeService_registersPackageTrackingReceiver() [all …]
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/ |
D | PerformInitializeTaskTest.java | 82 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() 377 mBaseStateDir); in createPerformInitializeTask()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 191 private File mBaseStateDir; field in KeyValueBackupTaskTest 212 mBaseStateDir = new File(cacheDir, "base_state"); in setUp() 229 USER_ID, mContext, mBaseStateDir, mDataDir, mTransportManager)); in setUp() 238 when(mBackupManagerService.getBaseStateDir()).thenReturn(mBaseStateDir); in setUp() 2418 return mBaseStateDir.toPath().resolve(transport.transportDirName); in getStateDirectory()
|