13 #ifndef __KNOX_CUSTOM_SYSTEM_MANAGER_H__ 14 #define __KNOX_CUSTOM_SYSTEM_MANAGER_H__ 16 #include "knox_custom_client_type.h" 26 #ifndef DOXYGEN_SKIP_EMERGENCY_CALL 34 KNOX_CUSTOM_EMERGENCY_FLAG_OFF = 0,
35 KNOX_CUSTOM_EMERGENCY_FLAG_ON,
36 } knox_custom_emergency_flag_mode;
45 KNOX_CUSTOM_EMERGENCY_NUMBER_WHITELIST_ADD = 0,
46 KNOX_CUSTOM_EMERGENCY_NUMBER_WHITELIST_REMOVE ,
47 KNOX_CUSTOM_EMERGENCY_NUMBER_WHITELIST_REMOVE_ALL,
48 } knox_custom_emergency_number_whitelist_mode;
57 KNOX_CUSTOM_EMERGENCY_NUMBER_WHITELIST_FALSE = 0,
58 KNOX_CUSTOM_EMERGENCY_NUMBER_WHITELIST_TRUE,
59 } knox_custom_emergency_number_whitelist_state;
80 KNOX_CUSTOM_AUTO_CALL_ANSWERING_NUMBER_WHITELIST_ADD = 0,
81 KNOX_CUSTOM_AUTO_CALL_ANSWERING_NUMBER_WHITELIST_REMOVE,
82 KNOX_CUSTOM_AUTO_CALL_ANSWERING_NUMBER_WHITELIST_REMOVE_ALL,
92 KNOX_CUSTOM_CLEAR_BOOT_ANIMATION = 1,
93 KNOX_CUSTOM_CLEAR_SHUTDOWN_ANIMATION,
94 KNOX_CUSTOM_CLEAR_ALL_ANIMATION,
121 typedef void (*knox_custom_cool_down_mode_changed_cb)(knox_custom_cool_down_mode mode,
void *user_data);
397 #ifndef DOXYGEN_SKIP_EMERGENCY_CALL 439 knox_result_t knox_custom_set_emergency_flag(knox_custom_emergency_flag_mode mode);
482 knox_result_t knox_custom_get_emergency_flag(knox_custom_emergency_flag_mode * mode);
533 knox_result_t knox_custom_set_emergency_number_whitelist(
const char * numberlist, knox_custom_emergency_number_whitelist_mode mode);
612 knox_result_t knox_custom_is_emergency_number_whitelist(
const char * emergency_number, knox_custom_emergency_number_whitelist_state * state);
971 knox_result_t knox_custom_set_cool_down_mode_changed_cb(knox_custom_cool_down_mode_changed_cb callback,
void *user_data);
1010 knox_result_t knox_custom_unset_cool_down_mode_changed_cb(
void);
knox_result_t knox_custom_clear_animation(knox_custom_clear_animation_mode mode)
API to clear animation.
knox_result_t knox_custom_get_auto_call_answering_mode(knox_custom_auto_call_answering_mode *mode)
API to get the status of automatic call answering mode.
knox_result_t knox_custom_set_boot_animation(const char *animation_path)
API to configure boot animation on the device.
knox_custom_auto_call_answering_number_whitelist_mode
Phone number whitelist mode for automatic call answering.
knox_custom_auto_call_answering_mode
Automatic call answering mode.
knox_result_t knox_custom_is_incoming_call_number_in_whitelist(const char *incoming_call_number, knox_custom_status_t *status)
API to check if the incoming call number is whitelisted or not.
knox_custom_data_t * knox_custom_get_home_key_doublepress(void)
API to get the package name that is set for home key double-press.
This structure is used to store GList.
knox_result_t knox_custom_set_auto_call_answering_mode(knox_custom_auto_call_answering_mode mode)
API to set the automatic call answering mode.
knox_result_t knox_custom_set_shutdown_animation(const char *animation_path)
API to configure shutdown animation on the device.
knox_result_t knox_custom_set_home_key_doublepress(const char *package_name, const char *app_id)
API to configure an application to launch when the end user double presses the physical home key...
knox_result_t
KNOX_CUSTOM API result.
knox_result_t knox_custom_read_cool_down_mode(knox_custom_cool_down_mode *mode)
API to get the current value of the device's cool down mode.
knox_result_t knox_custom_create_dump_state_log(void)
API to create dump state log.
knox_custom_data_t * knox_custom_get_auto_call_answering_number_whitelist(void)
API to get phone number whitelist for automatic call answering.
knox_custom_status_t
KNOX_CUSTOM Policy status.
knox_result_t knox_custom_set_enable_hid_state(void)
API to set the Bluetooth HID state.
knox_custom_clear_animation_mode
Clear Animation mode.
knox_result_t knox_custom_set_auto_call_answering_number_whitelist(const char *numberlist, knox_custom_auto_call_answering_number_whitelist_mode mode)
API to whitelist a number for automatic call answering.
knox_result_t knox_custom_set_back_key_longpress(const char *appid)
API to configure an application to launch when the physical back key is long-pressed.
knox_custom_cool_down_mode
Cool down mode.