Home
last modified time | relevance | path

Searched refs:WakelockManager (Results 1 – 5 of 5) sorted by relevance

/aosp12/system/bt/gd/os/linux_generic/
H A Dwakelock_manager_unittest.cc38 using bluetooth::os::WakelockManager;
105 WakelockManager::Get().Acquire(); in TEST_F()
110 WakelockManager::Get().Acquire(); in TEST_F()
115 WakelockManager::Get().Release(); in TEST_F()
119 WakelockManager::Get().CleanUp(); in TEST_F()
131 WakelockManager::Get().Acquire(); in TEST_F()
136 WakelockManager::Get().Release(); in TEST_F()
142 WakelockManager::Get().Release(); in TEST_F()
146 WakelockManager::Get().CleanUp(); in TEST_F()
159 WakelockManager::Get().Acquire(); in TEST_F()
[all …]
H A Dwakelock_manager.cc44 const std::string WakelockManager::kBtWakelockId = "bluetooth_gd_timer";
47 struct WakelockManager::Stats {
181 void WakelockManager::SetOsCallouts(OsCallouts* callouts, Handler* handler) { in SetOsCallouts()
195 bool WakelockManager::Acquire() { in Acquire()
221 bool WakelockManager::Release() { in Release()
247 void WakelockManager::CleanUp() { in CleanUp()
264 flatbuffers::Offset<WakelockManagerData> WakelockManager::GetDumpsysData(flatbuffers::FlatBufferBui… in GetDumpsysData()
269 WakelockManager::WakelockManager() : pstats_(std::make_unique<Stats>()) {} in WakelockManager() function in bluetooth::os::WakelockManager
271 WakelockManager::~WakelockManager() = default;
/aosp12/system/bt/gd/os/
H A Dwakelock_manager.h33 class WakelockManager {
37 static WakelockManager& Get() { in Get()
38 static WakelockManager instance; in Get()
78 ~WakelockManager();
81 WakelockManager();
/aosp12/system/bt/gd/
H A Dstack_manager.cc34 using ::bluetooth::os::WakelockManager;
44 WakelockManager::Get().Acquire(); in StartUp()
53 WakelockManager::Get().Release(); in StartUp()
73 WakelockManager::Get().Acquire(); in ShutDown()
81 WakelockManager::Get().Release(); in ShutDown()
82 WakelockManager::Get().CleanUp(); in ShutDown()
H A Dmodule.cc25 using ::bluetooth::os::WakelockManager;
144 auto wakelock_offset = WakelockManager::Get().GetDumpsysData(&builder); in DumpState()