Home
last modified time | relevance | path

Searched refs:CanDiscard (Results 1 – 4 of 4) sorted by relevance

/external/libbrillo/brillo/
Dbackoff_entry_test.cc53 EXPECT_FALSE(never_expires.CanDiscard()); in TEST()
55 EXPECT_FALSE(never_expires.CanDiscard()); in TEST()
58 TEST(BackoffEntryTest, CanDiscard) { in TEST() argument
61 EXPECT_FALSE(entry.CanDiscard()); in TEST()
65 EXPECT_FALSE(entry.CanDiscard()); in TEST()
70 EXPECT_FALSE(entry.CanDiscard()); in TEST()
73 EXPECT_TRUE(entry.CanDiscard()); in TEST()
79 EXPECT_FALSE(entry.CanDiscard()); in TEST()
82 EXPECT_TRUE(entry.CanDiscard()); in TEST()
94 EXPECT_TRUE(entry.CanDiscard()); in TEST()
[all …]
Dbackoff_entry_unittest.cc53 EXPECT_FALSE(never_expires.CanDiscard()); in TEST()
55 EXPECT_FALSE(never_expires.CanDiscard()); in TEST()
58 TEST(BackoffEntryTest, CanDiscard) { in TEST() argument
61 EXPECT_FALSE(entry.CanDiscard()); in TEST()
65 EXPECT_FALSE(entry.CanDiscard()); in TEST()
70 EXPECT_FALSE(entry.CanDiscard()); in TEST()
73 EXPECT_TRUE(entry.CanDiscard()); in TEST()
79 EXPECT_FALSE(entry.CanDiscard()); in TEST()
82 EXPECT_TRUE(entry.CanDiscard()); in TEST()
94 EXPECT_TRUE(entry.CanDiscard()); in TEST()
[all …]
Dbackoff_entry.h85 bool CanDiscard() const;
Dbackoff_entry.cc72 bool BackoffEntry::CanDiscard() const { in CanDiscard() function in brillo::BackoffEntry