Searched refs:isScheduled (Results 1 – 5 of 5) sorted by relevance
66 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isFalse(); in testIsScheduled_beforeScheduling_returnsFalse()67 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isFalse(); in testIsScheduled_beforeScheduling_returnsFalse()75 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isTrue(); in testIsScheduled_afterScheduling_returnsTrue()76 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isTrue(); in testIsScheduled_afterScheduling_returnsTrue()86 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isFalse(); in testIsScheduled_afterCancelling_returnsFalse()87 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isFalse(); in testIsScheduled_afterCancelling_returnsFalse()94 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isTrue(); in testIsScheduled_afterScheduling_returnsTrueOnlyForScheduledUser()95 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isFalse(); in testIsScheduled_afterScheduling_returnsTrueOnlyForScheduledUser()104 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isFalse(); in testIsScheduled_afterCancelling_returnsFalseOnlyForCancelledUser()105 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isTrue(); in testIsScheduled_afterCancelling_returnsFalseOnlyForCancelledUser()
174 if (mTimeTicker.isScheduled()) { in scheduleTimeTick()188 if (!mTimeTicker.isScheduled()) { in unscheduleTimeTick()
82 public boolean isScheduled() { in isScheduled() method in AlarmTimeout
132 public static boolean isScheduled(int userId) { in isScheduled() method in KeyValueBackupJob
2831 assertThat(KeyValueBackupJob.isScheduled(mBackupManagerService.getUserId())).isTrue(); in assertTaskReverted()