Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
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
/external/libweave/src/
Dbackoff_entry_unittest.cc51 EXPECT_FALSE(never_expires.CanDiscard()); in TEST()
53 EXPECT_FALSE(never_expires.CanDiscard()); in TEST()
56 TEST(BackoffEntryTest, CanDiscard) { in TEST() argument
59 EXPECT_FALSE(entry.CanDiscard()); in TEST()
63 EXPECT_FALSE(entry.CanDiscard()); in TEST()
67 EXPECT_FALSE(entry.CanDiscard()); in TEST()
71 EXPECT_TRUE(entry.CanDiscard()); in TEST()
77 EXPECT_FALSE(entry.CanDiscard()); in TEST()
80 EXPECT_TRUE(entry.CanDiscard()); in TEST()
92 EXPECT_TRUE(entry.CanDiscard()); in TEST()
[all …]
Dbackoff_entry.h84 bool CanDiscard() const;
Dbackoff_entry.cc71 bool BackoffEntry::CanDiscard() const { in CanDiscard() function in weave::BackoffEntry