Searched refs:GetNetAcquiredCount (Results 1 – 1 of 1) sorted by relevance
60 std::optional<int> GetNetAcquiredCount(const std::string& lock_name) const { in GetNetAcquiredCount() function in testing::TestOsCallouts103 ASSERT_FALSE(os_callouts.GetNetAcquiredCount(WakelockManager::kBtWakelockId)); in TEST_F()108 ASSERT_THAT(os_callouts.GetNetAcquiredCount(WakelockManager::kBtWakelockId), Optional(Eq(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()129 ASSERT_FALSE(os_callouts.GetNetAcquiredCount(WakelockManager::kBtWakelockId)); in TEST_F()134 ASSERT_THAT(os_callouts.GetNetAcquiredCount(WakelockManager::kBtWakelockId), Optional(Eq(1))); in TEST_F()139 ASSERT_THAT(os_callouts.GetNetAcquiredCount(WakelockManager::kBtWakelockId), Optional(Eq(0))); in TEST_F()144 ASSERT_THAT(os_callouts.GetNetAcquiredCount(WakelockManager::kBtWakelockId), Optional(Eq(-1))); in TEST_F()156 ASSERT_FALSE(os_callouts.GetNetAcquiredCount(WakelockManager::kBtWakelockId)); in TEST_F()[all …]