chromium/third_party/cros_system_api/dbus/power_manager/dbus-constants.h

// Copyright 2015 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef SYSTEM_API_DBUS_POWER_MANAGER_DBUS_CONSTANTS_H_
#define SYSTEM_API_DBUS_POWER_MANAGER_DBUS_CONSTANTS_H_

namespace power_manager {

// powerd
const char kPowerManagerInterface[] =;
const char kPowerManagerServicePath[] =;
const char kPowerManagerServiceName[] =;

// Methods exposed by powerd.
const char kSetScreenBrightnessMethod[] =;
const char kDecreaseScreenBrightnessMethod[] =;
const char kIncreaseScreenBrightnessMethod[] =;
const char kGetScreenBrightnessPercentMethod[] =;
const char kHasKeyboardBacklightMethod[] =;
const char kGetKeyboardBrightnessPercentMethod[] =;
const char kSetKeyboardBrightnessMethod[] =;
const char kDecreaseKeyboardBrightnessMethod[] =;
const char kIncreaseKeyboardBrightnessMethod[] =;
const char kToggleKeyboardBacklightMethod[] =;
const char kSetKeyboardAmbientLightSensorEnabledMethod[] =;
const char kGetKeyboardAmbientLightSensorEnabledMethod[] =;
const char kRequestRestartMethod[] =;
const char kRequestShutdownMethod[] =;
const char kRequestSuspendMethod[] =;
const char kGetLastWakealarmMethod[] =;
const char kGetPowerSupplyPropertiesMethod[] =;
const char kGetBatteryStateMethod[] =;
const char kGetSwitchStatesMethod[] =;
const char kHandleUserActivityMethod[] =;
const char kHandleVideoActivityMethod[] =;
const char kHandleWakeNotificationMethod[] =;
const char kSetIsProjectingMethod[] =;
const char kSetPolicyMethod[] =;
const char kSetPowerSourceMethod[] =;
const char kSetBacklightsForcedOffMethod[] =;
const char kGetBacklightsForcedOffMethod[] =;
const char kRegisterSuspendDelayMethod[] =;
const char kUnregisterSuspendDelayMethod[] =;
const char kHandleSuspendReadinessMethod[] =;
const char kRegisterDarkSuspendDelayMethod[] =;
const char kUnregisterDarkSuspendDelayMethod[] =;
const char kHandleDarkSuspendReadinessMethod[] =;
const char kHandlePowerButtonAcknowledgmentMethod[] =;
const char kIgnoreNextPowerButtonPressMethod[] =;
const char kRecordDarkResumeWakeReasonMethod[] =;
const char kGetInactivityDelaysMethod[] =;
const char kCreateArcTimersMethod[] =;
const char kStartArcTimerMethod[] =;
const char kDeleteArcTimersMethod[] =;
const char kChangeWifiRegDomainMethod[] =;
const char kGetTabletModeMethod[] =;
const char kChargeNowForAdaptiveChargingMethod[] =;
const char kGetChargeHistoryMethod[] =;
const char kRefreshAllPeripheralBatteryMethod[] =;
const char kGetThermalStateMethod[] =;
const char kSetExternalDisplayALSBrightnessMethod[] =;
const char kGetExternalDisplayALSBrightnessMethod[] =;
const char kGetBatterySaverModeState[] =;
const char kSetBatterySaverModeState[] =;
const char kHasAmbientLightSensorMethod[] =;
const char kGetAmbientLightSensorEnabledMethod[] =;
const char kSetAmbientLightSensorEnabledMethod[] =;

// Signals emitted by powerd.
const char kScreenBrightnessChangedSignal[] =;
const char kKeyboardBrightnessChangedSignal[] =;
const char kPeripheralBatteryStatusSignal[] =;
const char kPowerSupplyPollSignal[] =;
const char kBatteryStatePollSignal[] =;
const char kSuspendImminentSignal[] =;
const char kDarkSuspendImminentSignal[] =;
const char kSuspendDoneSignal[] =;
const char kInputEventSignal[] =;
const char kIdleActionImminentSignal[] =;
const char kIdleActionDeferredSignal[] =;
const char kScreenIdleStateChangedSignal[] =;
const char kInactivityDelaysChangedSignal[] =;
const char kAmbientColorTemperatureChangedSignal[] =;
const char kLidClosedSignal[] =;
const char kLidOpenedSignal[] =;
const char kThermalEventSignal[] =;
const char kBatterySaverModeStateChanged[] =;
const char kAmbientLightSensorEnabledChangedSignal[] =;
const char kKeyboardAmbientLightSensorEnabledChangedSignal[] =;

// Values
const int kBrightnessTransitionGradual =;
const int kBrightnessTransitionInstant =;
enum UserActivityType {};
enum RequestRestartReason {};
enum RequestShutdownReason {};
enum WifiRegDomainDbus {};
enum RequestSuspendFlavor {};

}  // namespace power_manager

#endif  // SYSTEM_API_DBUS_POWER_MANAGER_DBUS_CONSTANTS_H_