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
498 # define MCE_BATTERY_STATUS_UNKNOWN "unknown"
499
504 # define MCE_BATTERY_STATUS_FULL "full"
505
510 # define MCE_BATTERY_STATUS_OK "ok"
511
516 # define MCE_BATTERY_STATUS_LOW "low"
517
522 # define MCE_BATTERY_STATUS_EMPTY "empty"
523
528
539 # define MCE_BATTERY_STATE_UNKNOWN "unknown"
540
547 # define MCE_BATTERY_STATE_DISCHARGING "discharging"
548
555 # define MCE_BATTERY_STATE_CHARGING "charging"
556
563 # define MCE_BATTERY_STATE_NOT_CHARGING "not_charging"
564
571 # define MCE_BATTERY_STATE_FULL "full"
572
577
586 # define MCE_BATTERY_LEVEL_UNKNOWN (-1)
587
592
601 # define MCE_INPUT_POLICY_ENABLED "enabled"
602
607 # define MCE_INPUT_POLICY_DISABLED "disabled"
608
613
622 # define MCE_HARDWARE_KEYBOARD_UNDEF "undef"
623
628 # define MCE_HARDWARE_KEYBOARD_AVAILABLE "available"
629
634 # define MCE_HARDWARE_KEYBOARD_NOT_AVAILABLE "not-available"
639
657 # define MCE_FEEDBACK_EVENT_POWERKEY "powerkey"
658
671 # define MCE_FEEDBACK_EVENT_FLIPOVER "flipover"
672
688 # define MCE_FEEDBACK_EVENT_UNLOCK "double-power-key"
689
705 # define MCE_FEEDBACK_EVENT_HOMEKEY "home-key"
706
711
727 # define MCE_SLIDING_KEYBOARD_UNDEF "undef"
728
733 # define MCE_SLIDING_KEYBOARD_OPEN "open"
734
739 # define MCE_SLIDING_KEYBOARD_CLOSED "closed"
740
745
754 # define MCE_LPM_UI_ENABLED "enabled"
755
760 # define MCE_LPM_UI_DISABLED "disabled"
761
766
775 # define MCE_MEMORY_LEVEL_NORMAL "normal"
776
783 # define MCE_MEMORY_LEVEL_WARNING "warning"
784
793 # define MCE_MEMORY_LEVEL_CRITICAL "critical"
794
803 # define MCE_MEMORY_LEVEL_UNKNOWN "unknown"
804
809
818 # define TKLOCK_UNLOCK 1
825 # define TKLOCK_RETRY 2
826
833 # define TKLOCK_TIMEOUT 3
838 # define TKLOCK_CLOSED 4
839
844
853 #define MCE_BUTTON_BACKLIGHT_MODE_OFF 0
854
859 #define MCE_BUTTON_BACKLIGHT_MODE_ON 1
860
865 #define MCE_BUTTON_BACKLIGHT_MODE_POLICY 2
866
869 #endif /* MCE_MODE_NAMES_H_ */