Searched refs:os_callouts (Results 1 – 1 of 1) sorted by relevance
98 TestOsCallouts os_callouts; in TEST_F() local99 WakelockManager::Get().SetOsCallouts(&os_callouts, handler_); in TEST_F()102 ASSERT_TRUE(os_callouts.acquired_lock_counts.empty()); in TEST_F()103 ASSERT_FALSE(os_callouts.GetNetAcquiredCount(WakelockManager::kBtWakelockId)); in TEST_F()107 ASSERT_EQ(os_callouts.acquired_lock_counts.size(), 1); in TEST_F()108 ASSERT_THAT(os_callouts.GetNetAcquiredCount(WakelockManager::kBtWakelockId), Optional(Eq(1))); in TEST_F()112 ASSERT_EQ(os_callouts.acquired_lock_counts.size(), 1); in TEST_F()113 ASSERT_THAT(os_callouts.GetNetAcquiredCount(WakelockManager::kBtWakelockId), Optional(Eq(2))); in TEST_F()117 ASSERT_THAT(os_callouts.GetNetAcquiredCount(WakelockManager::kBtWakelockId), Optional(Eq(1))); in TEST_F()124 TestOsCallouts os_callouts; in TEST_F() local[all …]