Searched refs:on_battery_power (Results 1 – 11 of 11) sorted by relevance
42 void OnPowerStateChange(bool on_battery_power) { in OnPowerStateChange() argument45 on_battery_power)); in OnPowerStateChange()56 void NotifySourcePowerStateChange(bool on_battery_power) { in NotifySourcePowerStateChange() argument58 source_->OnPowerStateChange(on_battery_power); in NotifySourcePowerStateChange()95 void PowerMonitorBroadcastSource::OnPowerStateChange(bool on_battery_power) { in OnPowerStateChange() argument96 last_reported_battery_power_state_ = on_battery_power; in OnPowerStateChange()
35 void OnPowerStateChange(bool on_battery_power);
20 void PowerMonitorTestSource::GeneratePowerStateEvent(bool on_battery_power) { in GeneratePowerStateEvent() argument21 test_on_battery_power_ = on_battery_power; in GeneratePowerStateEvent()51 void PowerMonitorTestObserver::OnPowerStateChange(bool on_battery_power) { in OnPowerStateChange() argument52 last_power_state_ = on_battery_power; in OnPowerStateChange()
19 void GeneratePowerStateEvent(bool on_battery_power);36 virtual void OnPowerStateChange(bool on_battery_power) OVERRIDE;
25 void HighResolutionTimerManager::OnPowerStateChange(bool on_battery_power) { in OnPowerStateChange() argument26 UseHiResClock(!on_battery_power); in OnPowerStateChange()
18 void HighResolutionTimerManager::OnPowerStateChange(bool on_battery_power) { in OnPowerStateChange() argument
22 virtual void OnPowerStateChange(bool on_battery_power) OVERRIDE;
34 void PowerMonitorMessageBroadcaster::OnPowerStateChange(bool on_battery_power) { in OnPowerStateChange() argument35 sender_->Send(new PowerMonitorMsg_PowerStateChange(on_battery_power)); in OnPowerStateChange()
27 virtual void OnPowerStateChange(bool on_battery_power) OVERRIDE;
68 bool on_battery_power = in FetchBatteryStatus() local75 status.charging = !on_battery_power || is_charging; in FetchBatteryStatus()107 if (on_battery_power) { in FetchBatteryStatus()
17 virtual void OnPowerStateChange(bool on_battery_power) {}; in OnPowerStateChange() argument