MCE D-Bus Interface: include/mce/mode-names.h Source File

MCE D-Bus Interface 1.10.x

mode-names.h
Go to the documentation of this file.
1
30#ifndef MCE_MODE_NAMES_H_
31# define MCE_MODE_NAMES_H_
32
35
48# define MCE_RADIO_STATE_MASTER (1 << 0)
49
56# define MCE_RADIO_STATE_CELLULAR (1 << 1)
57
64# define MCE_RADIO_STATE_WLAN (1 << 2)
65
72# define MCE_RADIO_STATE_BLUETOOTH (1 << 3)
73
80# define MCE_RADIO_STATE_NFC (1 << 4)
81
88# define MCE_RADIO_STATE_FMTX (1 << 5)
89
94
103# define MCE_CALL_STATE_NONE "none"
104
109# define MCE_CALL_STATE_RINGING "ringing"
110
115# define MCE_CALL_STATE_ACTIVE "active"
116
126# define MCE_CALL_STATE_SERVICE "service"
127
132
141# define MCE_NORMAL_CALL "normal"
142
147# define MCE_EMERGENCY_CALL "emergency"
148
153
162# define MCE_TK_LOCKED "locked"
163
170# define MCE_TK_SILENT_LOCKED "silent-locked"
171
178# define MCE_TK_LOCKED_DIM "locked-dim"
179
186# define MCE_TK_LOCKED_DELAY "locked-delay"
187
194# define MCE_TK_SILENT_LOCKED_DIM "silent-locked-dim"
195
200# define MCE_TK_UNLOCKED "unlocked"
201
208# define MCE_TK_SILENT_UNLOCKED "silent-unlocked"
209
214
223# define MCE_DISPLAY_ON_STRING "on"
224
229# define MCE_DISPLAY_DIM_STRING "dimmed"
230
235# define MCE_DISPLAY_OFF_STRING "off"
236
241
250# define MCE_PREVENT_BLANK_ACTIVE_STRING "active"
251
256# define MCE_PREVENT_BLANK_INACTIVE_STRING "inactive"
257
262
271# define MCE_INHIBIT_BLANK_ACTIVE_STRING "active"
272
277# define MCE_INHIBIT_BLANK_INACTIVE_STRING "inactive"
278
283
292# define MCE_BLANKING_POLICY_DEFAULT_STRING "default"
293
298# define MCE_BLANKING_POLICY_NOTIFICATION_STRING "notification"
299
304# define MCE_BLANKING_POLICY_ALARM_STRING "alarm"
305
310# define MCE_BLANKING_POLICY_CALL_STRING "call"
311
316# define MCE_BLANKING_POLICY_LINGER_STRING "linger"
317
322
331# define MCE_CABC_MODE_OFF "off"
332
337# define MCE_CABC_MODE_UI "ui"
338
343# define MCE_CABC_MODE_STILL_IMAGE "still-image"
344
349# define MCE_CABC_MODE_MOVING_IMAGE "moving-image"
350
355
364# define MCE_POWERKEY_EVENT_SHORT_PRESS (0u)
365
370# define MCE_POWERKEY_EVENT_LONG_PRESS (1u)
371
376# define MCE_POWERKEY_EVENT_DOUBLE_PRESS (2u)
377
382
391# define MCE_USB_CABLE_STATE_UNKNOWN "unknown"
392
397# define MCE_USB_CABLE_STATE_CONNECTED "connected"
398
403# define MCE_USB_CABLE_STATE_DISCONNECTED "disconnected"
404
409
418# define MCE_CHARGER_STATE_UNKNOWN "unknown"
419
424# define MCE_CHARGER_STATE_ON "on"
425
430# define MCE_CHARGER_STATE_OFF "off"
431
436
445# define MCE_CHARGER_TYPE_NONE "none"
446
451# define MCE_CHARGER_TYPE_USB "usb"
452
457# define MCE_CHARGER_TYPE_DCP "dcp"
458
463# define MCE_CHARGER_TYPE_HVDCP "hvdcp"
464
469# define MCE_CHARGER_TYPE_CDP "cdp"
470
475# define MCE_CHARGER_TYPE_WIRELESS "wireless"
476
481# define MCE_CHARGER_TYPE_OTHER "other"
482
487
496# define MCE_CHARGING_STATE_UNKNOWN "unknown"
497
502# define MCE_CHARGING_STATE_ENABLED "enabled"
503
508# define MCE_CHARGING_STATE_DISABLED "disabled"
513
522# define MCE_FORCED_CHARGING_UNKNOWN "unknown"
523
528# define MCE_FORCED_CHARGING_ENABLED "enabled"
529
534# define MCE_FORCED_CHARGING_DISABLED "disabled"
539
550# define MCE_BATTERY_STATUS_UNKNOWN "unknown"
551
556# define MCE_BATTERY_STATUS_FULL "full"
557
562# define MCE_BATTERY_STATUS_OK "ok"
563
568# define MCE_BATTERY_STATUS_LOW "low"
569
574# define MCE_BATTERY_STATUS_EMPTY "empty"
575
580
591# define MCE_BATTERY_STATE_UNKNOWN "unknown"
592
599# define MCE_BATTERY_STATE_DISCHARGING "discharging"
600
607# define MCE_BATTERY_STATE_CHARGING "charging"
608
615# define MCE_BATTERY_STATE_NOT_CHARGING "not_charging"
616
623# define MCE_BATTERY_STATE_FULL "full"
624
629
638# define MCE_BATTERY_LEVEL_UNKNOWN (-1)
639
644
653# define MCE_INPUT_POLICY_ENABLED "enabled"
654
659# define MCE_INPUT_POLICY_DISABLED "disabled"
660
665
674# define MCE_HARDWARE_KEYBOARD_UNDEF "undef"
675
680# define MCE_HARDWARE_KEYBOARD_AVAILABLE "available"
681
686# define MCE_HARDWARE_KEYBOARD_NOT_AVAILABLE "not-available"
691
700# define MCE_HARDWARE_MOUSE_UNDEF "undef"
701
706# define MCE_HARDWARE_MOUSE_AVAILABLE "available"
707
712# define MCE_HARDWARE_MOUSE_NOT_AVAILABLE "not-available"
717
735# define MCE_FEEDBACK_EVENT_POWERKEY "powerkey"
736
749# define MCE_FEEDBACK_EVENT_FLIPOVER "flipover"
750
766# define MCE_FEEDBACK_EVENT_UNLOCK "double-power-key"
767
783# define MCE_FEEDBACK_EVENT_HOMEKEY "home-key"
784
789
805# define MCE_SLIDING_KEYBOARD_UNDEF "undef"
806
811# define MCE_SLIDING_KEYBOARD_OPEN "open"
812
817# define MCE_SLIDING_KEYBOARD_CLOSED "closed"
818
823
832# define MCE_LPM_UI_ENABLED "enabled"
833
838# define MCE_LPM_UI_DISABLED "disabled"
839
844
853# define MCE_MEMORY_LEVEL_NORMAL "normal"
854
861# define MCE_MEMORY_LEVEL_WARNING "warning"
862
871# define MCE_MEMORY_LEVEL_CRITICAL "critical"
872
881# define MCE_MEMORY_LEVEL_UNKNOWN "unknown"
882
887
896# define TKLOCK_UNLOCK 1
903# define TKLOCK_RETRY 2
904
911# define TKLOCK_TIMEOUT 3
916# define TKLOCK_CLOSED 4
917
922
931#define MCE_BUTTON_BACKLIGHT_MODE_OFF 0
932
937#define MCE_BUTTON_BACKLIGHT_MODE_ON 1
938
943#define MCE_BUTTON_BACKLIGHT_MODE_POLICY 2
944
947#endif /* MCE_MODE_NAMES_H_ */