Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifPipelineChoreographer.kt69 private var isScheduled = false variable
72 if (isScheduled) { in <lambda>()
73 isScheduled = false in <lambda>()
80 if (isScheduled) return in schedule()
81 isScheduled = true in schedule()
83 if (!isScheduled) { in schedule()
91 if (!isScheduled) return in cancel()
105 if (isScheduled) { in onTimeout()
106 isScheduled = false in onTimeout()
115 var isScheduled = false variable in com.android.systemui.statusbar.notification.collection.FakeNotifPipelineChoreographer
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DKeyValueBackupJobTest.java79 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isFalse(); in testSchedule_isNoopIfDisabled()
87 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isTrue(); in testSchedule_schedulesJobIfEnabled()
92 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isFalse(); in testIsScheduled_beforeScheduling_returnsFalse()
93 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isFalse(); in testIsScheduled_beforeScheduling_returnsFalse()
101 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isTrue(); in testIsScheduled_afterScheduling_returnsTrue()
102 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isTrue(); in testIsScheduled_afterScheduling_returnsTrue()
112 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isFalse(); in testIsScheduled_afterCancelling_returnsFalse()
113 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isFalse(); in testIsScheduled_afterCancelling_returnsFalse()
120 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isTrue(); in testIsScheduled_afterScheduling_returnsTrueOnlyForScheduledUser()
121 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isFalse(); in testIsScheduled_afterScheduling_returnsTrueOnlyForScheduledUser()
[all …]
/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.java135 public static boolean isScheduled(int userId) { in isScheduled() method in KeyValueBackupJob
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilderTest.java1038 assertTrue(mPipelineChoreographer.isScheduled()); in testThatPluggableInvalidationsTriggersRerun()
1044 assertTrue(mPipelineChoreographer.isScheduled()); in testThatPluggableInvalidationsTriggersRerun()
1050 assertTrue(mPipelineChoreographer.isScheduled()); in testThatPluggableInvalidationsTriggersRerun()
1056 assertTrue(mPipelineChoreographer.isScheduled()); in testThatPluggableInvalidationsTriggersRerun()
1062 assertTrue(mPipelineChoreographer.isScheduled()); in testThatPluggableInvalidationsTriggersRerun()
1068 assertTrue(mPipelineChoreographer.isScheduled()); in testThatPluggableInvalidationsTriggersRerun()
2258 assertTrue(mPipelineChoreographer.isScheduled()); in testMultipleInvalidationsCoalesce()
2427 while (mPipelineChoreographer.isScheduled()) { in runWhileScheduledUpTo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java840 if (!mHideTransientMessageHandler.isScheduled()) { in setVisible()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java2940 assertThat(KeyValueBackupJob.isScheduled(mBackupManagerService.getUserId())).isTrue(); in assertTaskReverted()