enum app_cmd {
APP_START = 0,
- APP_OPEN,
- APP_RESUME,
- APP_RESUME_BY_PID,
- APP_TERM_BY_PID,
- APP_TERM_BY_PID_WITHOUT_RESTART,
- APP_RESULT,
- APP_START_RES,
- APP_CANCEL,
- APP_KILL_BY_PID,
- APP_UPDATE_RUA_STAT,
- APP_ADD_HISTORY,
- APP_REMOVE_HISTORY,
- APP_RUNNING_INFO,
- APP_RUNNING_INFO_RESULT,
- APP_IS_RUNNING,
- APP_GET_APPID_BYPID,
- APP_GET_PKGID_BYPID,
- APP_GET_INFO_OK,
- APP_GET_INFO_ERROR,
- APP_KEY_EVENT,
- APP_KEY_RESERVE,
- APP_KEY_RELEASE,
- APP_STATUS_UPDATE,
- APP_RUNNING_LIST_UPDATE,
- APP_TERM_REQ_BY_PID,
- APP_TERM_BY_PID_ASYNC,
- APP_TERM_BGAPP_BY_PID,
- APP_PAUSE,
- APP_PAUSE_BY_PID,
- APP_GROUP_GET_WINDOW,
- APP_GROUP_SET_WINDOW,
- APP_GROUP_GET_FG,
- APP_GROUP_GET_LEADER_PID,
- APP_GROUP_GET_LEADER_PIDS,
- APP_GROUP_GET_GROUP_PIDS,
- APP_GROUP_GET_IDLE_PIDS,
- APP_GROUP_LOWER,
- APP_GROUP_CLEAR_TOP,
- APP_GROUP_ACTIVATE_BELOW,
- APP_GET_STATUS,
- APP_ADD_LOADER,
- APP_REMOVE_LOADER,
- APP_GET_PID,
- /* for data-control */
- APP_GET_DC_SOCKET_PAIR,
+ APP_OPEN = 1,
+ APP_RESUME = 2,
+ APP_RESUME_BY_PID = 3,
+ APP_TERM_BY_PID = 4,
+ APP_TERM_BY_PID_WITHOUT_RESTART = 5,
+ APP_RESULT = 6,
+ APP_START_RES = 7,
+ APP_CANCEL = 8,
+ APP_KILL_BY_PID = 9,
+ APP_UPDATE_RUA_STAT = 10,
- /* for message-port */
- APP_GET_MP_SOCKET_PAIR,
+ APP_ADD_HISTORY = 11,
+ APP_REMOVE_HISTORY = 12,
+ APP_RUNNING_INFO = 13,
+ APP_RUNNING_INFO_RESULT = 14,
+ APP_IS_RUNNING = 15,
+ APP_GET_APPID_BYPID = 16,
+ APP_GET_PKGID_BYPID = 17,
+ APP_GET_INFO_OK = 18,
+ APP_GET_INFO_ERROR = 19,
+ APP_KEY_EVENT = 20,
- APP_COM_CREATE,
- APP_COM_JOIN,
- APP_COM_SEND,
- APP_COM_LEAVE,
- APP_COM_MESSAGE,
- WIDGET_ADD,
- WIDGET_DEL,
- WIDGET_LIST,
- WIDGET_UPDATE,
- WIDGET_COUNT,
- WIDGET_GET_CONTENT,
+ APP_KEY_RESERVE = 21,
+ APP_KEY_RELEASE = 22,
+ APP_STATUS_UPDATE = 23,
+ APP_RUNNING_LIST_UPDATE = 24,
+ APP_TERM_REQ_BY_PID = 25,
+ APP_TERM_BY_PID_ASYNC = 26,
+ APP_TERM_BGAPP_BY_PID = 27,
+ APP_PAUSE = 28,
+ APP_PAUSE_BY_PID = 29,
+ APP_GROUP_GET_WINDOW = 30,
- APP_REGISTER_PID,
+ APP_GROUP_SET_WINDOW = 31,
+ APP_GROUP_GET_FG = 32,
+ APP_GROUP_GET_LEADER_PID = 33,
+ APP_GROUP_GET_LEADER_PIDS = 34,
+ APP_GROUP_GET_GROUP_PIDS = 35,
+ APP_GROUP_GET_IDLE_PIDS = 36,
+ APP_GROUP_LOWER = 37,
+ APP_GROUP_CLEAR_TOP = 38,
+ APP_GROUP_ACTIVATE_BELOW = 39,
+ APP_GET_STATUS = 40,
- /* background category */
- APP_WAKE,
- APP_SUSPEND,
+ APP_ADD_LOADER = 41,
+ APP_REMOVE_LOADER = 42,
+ APP_GET_PID = 43,
+ APP_GET_DC_SOCKET_PAIR = 44,
+ APP_GET_MP_SOCKET_PAIR = 45,
+ APP_COM_CREATE = 46,
+ APP_COM_JOIN = 47,
+ APP_COM_SEND = 48,
+ APP_COM_LEAVE = 49,
+ APP_COM_MESSAGE = 50,
- /* for special purpose */
- AMD_RELOAD_APPINFO,
- /* reserved for AMD Agent */
- AGENT_DEAD_SIGNAL,
+ WIDGET_ADD = 51,
+ WIDGET_DEL = 52,
+ WIDGET_LIST = 53,
+ WIDGET_UPDATE = 54,
+ WIDGET_COUNT = 55,
+ WIDGET_GET_CONTENT = 56,
+ APP_REGISTER_PID = 57,
+ APP_WAKE = 58,
+ APP_SUSPEND = 59,
+ AMD_RELOAD_APPINFO = 60,
+
+ AGENT_DEAD_SIGNAL = 61,
+ APP_ALL_RUNNING_INFO = 62,
+ APP_SET_APP_CONTROL_DEFAULT_APP = 63,
+ APP_UNSET_APP_CONTROL_DEFAULT_APP = 64,
+ APP_START_ASYNC = 65,
+ APP_SET_PROCESS_GROUP = 66,
+ APP_PREPARE_CANDIDATE_PROCESS = 67,
+ APP_TERM_BY_PID_SYNC = 68,
+ APP_GET_STATUS_BY_APPID = 69,
+ APP_GET_LAST_CALLER_PID = 70,
+
+ APP_TERM_BY_PID_SYNC_WITHOUT_RESTART = 71,
+ APP_RESUME_BY_PID_ASYNC = 72,
+ APP_SET_ALIAS_APPID = 73,
+ APP_UNSET_ALIAS_APPID = 74,
+ APP_LISTEN_STATUS = 75,
+ APP_STATUS_NOTIFICATION = 76,
+ APP_ENABLE_ALIAS_INFO = 77,
+ APP_DISABLE_ALIAS_INFO = 78,
- APP_ALL_RUNNING_INFO,
- APP_SET_APP_CONTROL_DEFAULT_APP,
- APP_UNSET_APP_CONTROL_DEFAULT_APP,
- APP_START_ASYNC,
- APP_SET_PROCESS_GROUP,
- APP_PREPARE_CANDIDATE_PROCESS,
- APP_TERM_BY_PID_SYNC,
- APP_GET_STATUS_BY_APPID,
- APP_GET_LAST_CALLER_PID,
- APP_TERM_BY_PID_SYNC_WITHOUT_RESTART,
- APP_RESUME_BY_PID_ASYNC,
- APP_SET_ALIAS_APPID,
- APP_UNSET_ALIAS_APPID,
- APP_LISTEN_STATUS,
- APP_STATUS_NOTIFICATION,
- APP_ENABLE_ALIAS_INFO,
- APP_DISABLE_ALIAS_INFO,
APP_CMD_MAX
};