Searched refs:PowerManagerInterface (Results 1 – 9 of 9) sorted by relevance
26 class PowerManagerInterface {28 virtual ~PowerManagerInterface() = default;34 PowerManagerInterface() = default;37 DISALLOW_COPY_AND_ASSIGN(PowerManagerInterface);42 std::unique_ptr<PowerManagerInterface> CreatePowerManager();
26 std::unique_ptr<PowerManagerInterface> CreatePowerManager() { in CreatePowerManager()27 return std::unique_ptr<PowerManagerInterface>(new PowerManagerAndroid()); in CreatePowerManager()
29 std::unique_ptr<PowerManagerInterface> CreatePowerManager() { in CreatePowerManager()30 return std::unique_ptr<PowerManagerInterface>(new PowerManagerChromeOS()); in CreatePowerManager()
46 class PowerManagerInterface; variable107 virtual PowerManagerInterface* power_manager() = 0;
26 class MockPowerManager : public PowerManagerInterface {
26 class PowerManagerAndroid : public PowerManagerInterface {
27 class PowerManagerChromeOS : public PowerManagerInterface {
124 inline PowerManagerInterface* power_manager() override { in power_manager()142 std::unique_ptr<PowerManagerInterface> power_manager_;
99 inline PowerManagerInterface* power_manager() override { in power_manager()269 PowerManagerInterface* power_manager_{&mock_power_manager_};