Home
last modified time | relevance | path

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

/external/chromium_org/base/test/
Dpower_monitor_test_base.cc13 PowerMonitorTestSource::PowerMonitorTestSource() in PowerMonitorTestSource() function in base::PowerMonitorTestSource
17 PowerMonitorTestSource::~PowerMonitorTestSource() { in ~PowerMonitorTestSource()
20 void PowerMonitorTestSource::GeneratePowerStateEvent(bool on_battery_power) { in GeneratePowerStateEvent()
26 void PowerMonitorTestSource::GenerateSuspendEvent() { in GenerateSuspendEvent()
31 void PowerMonitorTestSource::GenerateResumeEvent() { in GenerateResumeEvent()
36 bool PowerMonitorTestSource::IsOnBatteryPowerImpl() { in IsOnBatteryPowerImpl()
Dpower_monitor_test_base.h14 class PowerMonitorTestSource : public PowerMonitorSource {
16 PowerMonitorTestSource();
17 virtual ~PowerMonitorTestSource();
/external/chromium_org/base/power_monitor/
Dpower_monitor_unittest.cc14 power_monitor_source_ = new PowerMonitorTestSource(); in PowerMonitorTest()
20 PowerMonitorTestSource* source() { return power_monitor_source_; } in source()
24 PowerMonitorTestSource* power_monitor_source_;
/external/chromium_org/content/browser/
Dpower_monitor_message_broadcaster_unittest.cc52 power_monitor_source_ = new base::PowerMonitorTestSource(); in PowerMonitorMessageBroadcasterTest()
58 base::PowerMonitorTestSource* source() { return power_monitor_source_; } in source()
62 base::PowerMonitorTestSource* power_monitor_source_;