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

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

Completed in 1647 milliseconds