Home
last modified time | relevance | path

Searched refs:isScheduled (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DKeyValueBackupJobTest.java62 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeUi.java171 if (mTimeTicker.isScheduled()) { in scheduleTimeTick()
185 if (!mTimeTicker.isScheduled()) { in unscheduleTimeTick()
DDozeSensors.java328 setRegistered(mRequested && !mCooldownTimer.isScheduled()); in updateRegistered()
378 + " sensor=%s}", mRegistered, mRequested, mCooldownTimer.isScheduled(), in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAlarmTimeout.java82 public boolean isScheduled() { in isScheduled() method in AlarmTimeout
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueBackupJob.java131 public static boolean isScheduled(int userId) { in isScheduled() method in KeyValueBackupJob
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java2736 assertThat(KeyValueBackupJob.isScheduled(mBackupManagerService.getUserId())).isTrue(); in assertTaskReverted()