summaryrefslogtreecommitdiff
path: root/include/devman_plugin_intf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/devman_plugin_intf.h')
-rw-r--r--include/devman_plugin_intf.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/devman_plugin_intf.h b/include/devman_plugin_intf.h
index ca76206..ff7492f 100644
--- a/include/devman_plugin_intf.h
+++ b/include/devman_plugin_intf.h
@@ -56,6 +56,12 @@ enum {
POWER_STATE_POST_RESUME,
};
+enum {
+ LUX_DECREMENT,
+ LUX_NOCHANGE,
+ LUX_INCREMENT,
+};
+
typedef struct {
int (*OEM_sys_get_display_count) (int *value);
@@ -94,6 +100,12 @@ typedef struct {
int (*OEM_sys_get_usb_path) (int *value);
int (*OEM_sys_set_usb_path) (int value);
+ int (*OEM_sys_get_haptic_motor_level_max) (int *value);
+ int (*OEM_sys_get_haptic_motor_level) (int *value);
+ int (*OEM_sys_set_haptic_motor_level) (int value);
+ int (*OEM_sys_set_haptic_motor_enable) (int value);
+ int (*OEM_sys_set_haptic_motor_oneshot) (int value);
+
int (*OEM_sys_get_haptic_vibetones_level_max) (int *value);
int (*OEM_sys_get_haptic_vibetones_level) (int *value);
int (*OEM_sys_set_haptic_vibetones_level) (int value);
@@ -107,6 +119,7 @@ typedef struct {
int (*OEM_sys_get_battery_present) (int *value);
int (*OEM_sys_get_battery_health) (int *value);
int (*OEM_sys_get_battery_polling_required) (int *value);
+ int (*OEM_sys_get_battery_support_insuspend_charging) (int *value);
int (*OEM_sys_get_jack_charger_online) (int *value);
int (*OEM_sys_get_jack_earjack_online) (int *value);
@@ -117,6 +130,8 @@ typedef struct {
int (*OEM_sys_get_jack_tvout_online) (int *value);
int (*OEM_sys_get_jack_keyboard_online) (int *value);
+ int (*OEM_sys_get_hdmi_support) (int *value);
+
int (*OEM_sys_get_leds_torch_max_brightness) (int *value);
int (*OEM_sys_get_leds_torch_brightness) (int *value);
int (*OEM_sys_set_leds_torch_brightness) (int value);
@@ -143,6 +158,9 @@ typedef struct {
int (*OEM_sys_set_cpufreq_scaling_max_freq) (int value);
int (*OEM_sys_get_cpufreq_scaling_min_freq) (int *value);
int (*OEM_sys_set_cpufreq_scaling_min_freq) (int value);
+
+ int (*OEM_sys_get_backlight_brightness_by_lux) (int lux, int *value);
+
} OEM_sys_devman_plugin_interface;
const OEM_sys_devman_plugin_interface *OEM_sys_get_devman_plugin_interface();