Home
last modified time | relevance | path

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

/external/cronet/base/test/
Dpower_monitor_test.cc16 class PowerMonitorTestSource : public PowerMonitorSource { class
18 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 …]
Dpower_monitor_test.h19 class PowerMonitorTestSource; variable
59 RAW_PTR_EXCLUSION PowerMonitorTestSource* power_monitor_test_source_ =
/external/libchrome/base/test/
Dpower_monitor_test_base.cc15 PowerMonitorTestSource::PowerMonitorTestSource() in PowerMonitorTestSource() function in base::PowerMonitorTestSource
21 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()
Dpower_monitor_test_base.h13 class PowerMonitorTestSource : public PowerMonitorSource {
15 PowerMonitorTestSource();
16 ~PowerMonitorTestSource() override;
/external/libchrome/base/power_monitor/
Dpower_monitor_unittest.cc16 power_monitor_source_ = new PowerMonitorTestSource(); in PowerMonitorTest()
22 PowerMonitorTestSource* source() { return power_monitor_source_; } in source()
27 PowerMonitorTestSource* power_monitor_source_;