Home
last modified time | relevance | path

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

/external/libchrome/base/task_scheduler/
Dsequence_sort_key_unittest.cc15 SequenceSortKey key_a(TaskPriority::USER_BLOCKING, in TEST()
17 SequenceSortKey key_b(TaskPriority::USER_BLOCKING, in TEST()
19 SequenceSortKey key_c(TaskPriority::USER_VISIBLE, in TEST()
21 SequenceSortKey key_d(TaskPriority::USER_VISIBLE, in TEST()
23 SequenceSortKey key_e(TaskPriority::BACKGROUND, in TEST()
25 SequenceSortKey key_f(TaskPriority::BACKGROUND, in TEST()
72 SequenceSortKey key_a(TaskPriority::USER_BLOCKING, in TEST()
74 SequenceSortKey key_b(TaskPriority::USER_BLOCKING, in TEST()
76 SequenceSortKey key_c(TaskPriority::USER_VISIBLE, in TEST()
78 SequenceSortKey key_d(TaskPriority::USER_VISIBLE, in TEST()
[all …]
Dsequence_sort_key.h16 class BASE_EXPORT SequenceSortKey final {
18 SequenceSortKey(TaskPriority priority, TimeTicks next_task_sequenced_time);
22 bool operator<(const SequenceSortKey& other) const;
23 bool operator>(const SequenceSortKey& other) const { return other < *this; }
25 bool operator==(const SequenceSortKey& other) const {
29 bool operator!=(const SequenceSortKey& other) const {
Dsequence_unittest.cc129 EXPECT_EQ(SequenceSortKey(TaskPriority::BACKGROUND, task_a_->sequenced_time), in TEST_F()
136 SequenceSortKey(TaskPriority::USER_VISIBLE, task_a_->sequenced_time), in TEST_F()
143 SequenceSortKey(TaskPriority::USER_BLOCKING, task_a_->sequenced_time), in TEST_F()
150 SequenceSortKey(TaskPriority::USER_BLOCKING, task_a_->sequenced_time), in TEST_F()
157 SequenceSortKey(TaskPriority::USER_BLOCKING, task_b_->sequenced_time), in TEST_F()
164 SequenceSortKey(TaskPriority::USER_BLOCKING, task_c_->sequenced_time), in TEST_F()
171 SequenceSortKey(TaskPriority::USER_BLOCKING, task_d_->sequenced_time), in TEST_F()
178 SequenceSortKey(TaskPriority::USER_BLOCKING, task_d_->sequenced_time), in TEST_F()
184 EXPECT_EQ(SequenceSortKey(TaskPriority::BACKGROUND, task_e_->sequenced_time), in TEST_F()
Dsequence_sort_key.cc10 SequenceSortKey::SequenceSortKey(TaskPriority priority, in SequenceSortKey() function in base::internal::SequenceSortKey
15 bool SequenceSortKey::operator<(const SequenceSortKey& other) const { in operator <()
Dsequence.cc51 SequenceSortKey Sequence::GetSortKey() const { in GetSortKey()
73 return SequenceSortKey(priority, next_task_sequenced_time); in GetSortKey()
Dsequence.h57 SequenceSortKey GetSortKey() const;