Home
last modified time | relevance | path

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

/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DKeyValueBackupJobTest.java66 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeUi.java174 if (mTimeTicker.isScheduled()) { in scheduleTimeTick()
188 if (!mTimeTicker.isScheduled()) { in unscheduleTimeTick()
/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.java132 public static boolean isScheduled(int userId) { in isScheduled() method in KeyValueBackupJob
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java2831 assertThat(KeyValueBackupJob.isScheduled(mBackupManagerService.getUserId())).isTrue(); in assertTaskReverted()