Home
last modified time | relevance | path

Searched refs:on_battery_power (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/content/child/
Dpower_monitor_broadcast_source.cc42 void OnPowerStateChange(bool on_battery_power) { in OnPowerStateChange() argument
45 on_battery_power)); in OnPowerStateChange()
56 void NotifySourcePowerStateChange(bool on_battery_power) { in NotifySourcePowerStateChange() argument
58 source_->OnPowerStateChange(on_battery_power); in NotifySourcePowerStateChange()
95 void PowerMonitorBroadcastSource::OnPowerStateChange(bool on_battery_power) { in OnPowerStateChange() argument
96 last_reported_battery_power_state_ = on_battery_power; in OnPowerStateChange()
Dpower_monitor_broadcast_source.h35 void OnPowerStateChange(bool on_battery_power);
/external/chromium_org/base/test/
Dpower_monitor_test_base.cc20 void PowerMonitorTestSource::GeneratePowerStateEvent(bool on_battery_power) { in GeneratePowerStateEvent() argument
21 test_on_battery_power_ = on_battery_power; in GeneratePowerStateEvent()
51 void PowerMonitorTestObserver::OnPowerStateChange(bool on_battery_power) { in OnPowerStateChange() argument
52 last_power_state_ = on_battery_power; in OnPowerStateChange()
Dpower_monitor_test_base.h19 void GeneratePowerStateEvent(bool on_battery_power);
36 virtual void OnPowerStateChange(bool on_battery_power) OVERRIDE;
/external/chromium_org/base/timer/
Dhi_res_timer_manager_win.cc25 void HighResolutionTimerManager::OnPowerStateChange(bool on_battery_power) { in OnPowerStateChange() argument
26 UseHiResClock(!on_battery_power); in OnPowerStateChange()
Dhi_res_timer_manager_posix.cc18 void HighResolutionTimerManager::OnPowerStateChange(bool on_battery_power) { in OnPowerStateChange() argument
Dhi_res_timer_manager.h22 virtual void OnPowerStateChange(bool on_battery_power) OVERRIDE;
/external/chromium_org/content/browser/
Dpower_monitor_message_broadcaster.cc34 void PowerMonitorMessageBroadcaster::OnPowerStateChange(bool on_battery_power) { in OnPowerStateChange() argument
35 sender_->Send(new PowerMonitorMsg_PowerStateChange(on_battery_power)); in OnPowerStateChange()
Dpower_monitor_message_broadcaster.h27 virtual void OnPowerStateChange(bool on_battery_power) OVERRIDE;
/external/chromium_org/content/browser/battery_status/
Dbattery_status_manager_mac.cc68 bool on_battery_power = in FetchBatteryStatus() local
75 status.charging = !on_battery_power || is_charging; in FetchBatteryStatus()
107 if (on_battery_power) { in FetchBatteryStatus()
/external/chromium_org/base/power_monitor/
Dpower_observer.h17 virtual void OnPowerStateChange(bool on_battery_power) {}; in OnPowerStateChange() argument