Searched refs:isScheduled (Results 1 – 6 of 6) sorted by relevance
62 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isFalse(); in testIsScheduled_beforeScheduling_returnsFalse()63 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isFalse(); in testIsScheduled_beforeScheduling_returnsFalse()71 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isTrue(); in testIsScheduled_afterScheduling_returnsTrue()72 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isTrue(); in testIsScheduled_afterScheduling_returnsTrue()82 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isFalse(); in testIsScheduled_afterCancelling_returnsFalse()83 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isFalse(); in testIsScheduled_afterCancelling_returnsFalse()90 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isTrue(); in testIsScheduled_afterScheduling_returnsTrueOnlyForScheduledUser()91 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isFalse(); in testIsScheduled_afterScheduling_returnsTrueOnlyForScheduledUser()100 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isFalse(); in testIsScheduled_afterCancelling_returnsFalseOnlyForCancelledUser()101 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isTrue(); in testIsScheduled_afterCancelling_returnsFalseOnlyForCancelledUser()
171 if (mTimeTicker.isScheduled()) { in scheduleTimeTick()185 if (!mTimeTicker.isScheduled()) { in unscheduleTimeTick()
328 setRegistered(mRequested && !mCooldownTimer.isScheduled()); in updateRegistered()378 + " sensor=%s}", mRegistered, mRequested, mCooldownTimer.isScheduled(), in toString()
82 public boolean isScheduled() { in isScheduled() method in AlarmTimeout
131 public static boolean isScheduled(int userId) { in isScheduled() method in KeyValueBackupJob
2736 assertThat(KeyValueBackupJob.isScheduled(mBackupManagerService.getUserId())).isTrue(); in assertTaskReverted()