Searched refs:BackupManagerConstants (Results 1 – 5 of 5) sorted by relevance
47 private BackupManagerConstants mConstants;54 mConstants = new BackupManagerConstants(new Handler(), mContentResolver); in setUp()77 .isEqualTo(BackupManagerConstants.DEFAULT_KEY_VALUE_BACKUP_INTERVAL_MILLISECONDS); in testGetConstants_afterConstructorWithStart_returnsDefaultValues()79 .isEqualTo(BackupManagerConstants.DEFAULT_KEY_VALUE_BACKUP_FUZZ_MILLISECONDS); in testGetConstants_afterConstructorWithStart_returnsDefaultValues()81 .isEqualTo(BackupManagerConstants.DEFAULT_KEY_VALUE_BACKUP_REQUIRE_CHARGING); in testGetConstants_afterConstructorWithStart_returnsDefaultValues()83 .isEqualTo(BackupManagerConstants.DEFAULT_KEY_VALUE_BACKUP_REQUIRED_NETWORK_TYPE); in testGetConstants_afterConstructorWithStart_returnsDefaultValues()85 .isEqualTo(BackupManagerConstants.DEFAULT_FULL_BACKUP_INTERVAL_MILLISECONDS); in testGetConstants_afterConstructorWithStart_returnsDefaultValues()87 .isEqualTo(BackupManagerConstants.DEFAULT_FULL_BACKUP_REQUIRE_CHARGING); in testGetConstants_afterConstructorWithStart_returnsDefaultValues()89 .isEqualTo(BackupManagerConstants.DEFAULT_FULL_BACKUP_REQUIRED_NETWORK_TYPE); in testGetConstants_afterConstructorWithStart_returnsDefaultValues()101 BackupManagerConstants.DEFAULT_KEY_VALUE_BACKUP_INTERVAL_MILLISECONDS * 2; in testGetConstant_withSettingChangeBeforeStart_updatesValues()[all …]
50 public static void schedule(Context ctx, BackupManagerConstants constants) { in schedule()54 public static void schedule(Context ctx, long delay, BackupManagerConstants constants) { in schedule()
35 class BackupManagerConstants extends KeyValueSettingObserver { class102 public BackupManagerConstants(Handler handler, ContentResolver resolver) { in BackupManagerConstants() method in BackupManagerConstants
37 public static void schedule(Context ctx, long minDelay, BackupManagerConstants constants) { in schedule()
227 private BackupManagerConstants mConstants;308 public BackupManagerConstants getConstants() { in getConstants()855 mConstants = new BackupManagerConstants(mBackupHandler, mContext.getContentResolver()); in BackupManagerService()