Searched refs:SequenceSortKey (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/base/task_scheduler/ |
D | sequence_sort_key_unittest.cc | 15 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 …]
|
D | sequence_sort_key.h | 16 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 {
|
D | sequence_unittest.cc | 129 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()
|
D | sequence_sort_key.cc | 10 SequenceSortKey::SequenceSortKey(TaskPriority priority, in SequenceSortKey() function in base::internal::SequenceSortKey 15 bool SequenceSortKey::operator<(const SequenceSortKey& other) const { in operator <()
|
D | sequence.cc | 51 SequenceSortKey Sequence::GetSortKey() const { in GetSortKey() 73 return SequenceSortKey(priority, next_task_sequenced_time); in GetSortKey()
|
D | sequence.h | 57 SequenceSortKey GetSortKey() const;
|