Searched refs:os_callouts (Results 1 – 2 of 2) 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(), (size_t)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(), (size_t)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 …]
1201 os_callouts: Option<Box<bindings::bt_os_callouts_t>>, field1286 self.os_callouts = Some(callouts); in initialize()1497 os_callouts: None, in get_btinterface()