Searched refs:BackupManagerConstants (Results 1 – 10 of 10) sorted by relevance
41 private BackupManagerConstants mConstants;48 mConstants = new BackupManagerConstants(new Handler(), mContentResolver); in setUp()71 .isEqualTo(BackupManagerConstants.DEFAULT_KEY_VALUE_BACKUP_INTERVAL_MILLISECONDS); in testGetConstants_afterConstructorWithStart_returnsDefaultValues()73 .isEqualTo(BackupManagerConstants.DEFAULT_KEY_VALUE_BACKUP_FUZZ_MILLISECONDS); in testGetConstants_afterConstructorWithStart_returnsDefaultValues()75 .isEqualTo(BackupManagerConstants.DEFAULT_KEY_VALUE_BACKUP_REQUIRE_CHARGING); in testGetConstants_afterConstructorWithStart_returnsDefaultValues()77 .isEqualTo(BackupManagerConstants.DEFAULT_KEY_VALUE_BACKUP_REQUIRED_NETWORK_TYPE); in testGetConstants_afterConstructorWithStart_returnsDefaultValues()79 .isEqualTo(BackupManagerConstants.DEFAULT_FULL_BACKUP_INTERVAL_MILLISECONDS); in testGetConstants_afterConstructorWithStart_returnsDefaultValues()81 .isEqualTo(BackupManagerConstants.DEFAULT_FULL_BACKUP_REQUIRE_CHARGING); in testGetConstants_afterConstructorWithStart_returnsDefaultValues()83 .isEqualTo(BackupManagerConstants.DEFAULT_FULL_BACKUP_REQUIRED_NETWORK_TYPE); in testGetConstants_afterConstructorWithStart_returnsDefaultValues()95 BackupManagerConstants.DEFAULT_KEY_VALUE_BACKUP_INTERVAL_MILLISECONDS * 2; in testGetConstant_withSettingChangeBeforeStart_updatesValues()[all …]
46 private BackupManagerConstants mConstants;58 mConstants = new BackupManagerConstants(Handler.getMain(), mContext.getContentResolver()); in setUp()
54 private BackupManagerConstants mConstants;67 mConstants = new BackupManagerConstants(Handler.getMain(), mContext.getContentResolver()); in setUp()
39 public class BackupManagerConstants extends KeyValueSettingObserver { class110 public BackupManagerConstants(Handler handler, ContentResolver resolver) { in BackupManagerConstants() method in BackupManagerConstants
54 final BackupManagerConstants constants = userBackupManagerService.getConstants(); in schedule()
85 final BackupManagerConstants constants = userBackupManagerService.getConstants(); in schedule()
331 private final BackupManagerConstants mConstants;523 BackupHandler backupHandler, BackupManagerConstants backupManagerConstants) { in UserBackupManagerService()643 mConstants = new BackupManagerConstants(mBackupHandler, mContext.getContentResolver()); in UserBackupManagerService()709 public BackupManagerConstants getConstants() { in getConstants()
22 import com.android.server.backup.BackupManagerConstants;
326 private static BackupManagerConstants createConstants(Context context) { in createConstants()327 BackupManagerConstants constants = new BackupManagerConstants( in createConstants()
8542 PLcom/android/server/backup/BackupManagerConstants;-><init>(Landroid/os/Handler;Landroid/content/Co…8543 PLcom/android/server/backup/BackupManagerConstants;->getKeyValueBackupFuzzMilliseconds()J8544 PLcom/android/server/backup/BackupManagerConstants;->getKeyValueBackupIntervalMilliseconds()J8545 PLcom/android/server/backup/BackupManagerConstants;->getKeyValueBackupRequireCharging()Z8546 PLcom/android/server/backup/BackupManagerConstants;->getKeyValueBackupRequiredNetworkType()I8547 PLcom/android/server/backup/BackupManagerConstants;->getSettingValue(Landroid/content/ContentResolv…8548 PLcom/android/server/backup/BackupManagerConstants;->update(Landroid/util/KeyValueListParser;)V8677 …/backup/UserBackupManagerService;->getConstants()Lcom/android/server/backup/BackupManagerConstants;