Searched refs:PowerMonitorTestSource (Results 1 – 5 of 5) sorted by relevance
16 class PowerMonitorTestSource : public PowerMonitorSource { class18 PowerMonitorTestSource() = default;19 ~PowerMonitorTestSource() override = default;47 PowerMonitorTestSource::GetCurrentThermalState() { in GetCurrentThermalState()51 void PowerMonitorTestSource::Suspend() { in Suspend()55 void PowerMonitorTestSource::Resume() { in Resume()59 void PowerMonitorTestSource::SetOnBatteryPower(bool on_battery_power) { in SetOnBatteryPower()64 void PowerMonitorTestSource::GeneratePowerStateEvent(bool on_battery_power) { in GeneratePowerStateEvent()69 void PowerMonitorTestSource::GenerateSuspendEvent() { in GenerateSuspendEvent()74 void PowerMonitorTestSource::GenerateResumeEvent() { in GenerateResumeEvent()[all …]
19 class PowerMonitorTestSource; variable59 RAW_PTR_EXCLUSION PowerMonitorTestSource* power_monitor_test_source_ =
15 PowerMonitorTestSource::PowerMonitorTestSource() in PowerMonitorTestSource() function in base::PowerMonitorTestSource21 PowerMonitorTestSource::~PowerMonitorTestSource() = default;23 void PowerMonitorTestSource::Shutdown() {} in Shutdown()25 void PowerMonitorTestSource::GeneratePowerStateEvent(bool on_battery_power) { in GeneratePowerStateEvent()31 void PowerMonitorTestSource::GenerateSuspendEvent() { in GenerateSuspendEvent()36 void PowerMonitorTestSource::GenerateResumeEvent() { in GenerateResumeEvent()41 bool PowerMonitorTestSource::IsOnBatteryPowerImpl() { in IsOnBatteryPowerImpl()
13 class PowerMonitorTestSource : public PowerMonitorSource {15 PowerMonitorTestSource();16 ~PowerMonitorTestSource() override;
16 power_monitor_source_ = new PowerMonitorTestSource(); in PowerMonitorTest()22 PowerMonitorTestSource* source() { return power_monitor_source_; } in source()27 PowerMonitorTestSource* power_monitor_source_;