X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=apps%2Fagl-service-windowmanager-2017.git;a=blobdiff_plain;f=src%2Fpolicy_manager%2Fstm%2Fzipc%2Fsrc%2FStateTransitionor%2FRestrictionMode%2FZREM_RestrictionMode_func.c;fp=src%2Fpolicy_manager%2Fstm%2Fzipc%2Fsrc%2FStateTransitionor%2FRestrictionMode%2FZREM_RestrictionMode_func.c;h=0000000000000000000000000000000000000000;hp=94807f8de9e7bfe70055ae1e8fcfca8a159113ae;hb=e4222ca8da3b02afca5625fa2cef6832aa8ce90e;hpb=67f414f67ee22ddf40003d1be3fa1d0cb13deb8f diff --git a/src/policy_manager/stm/zipc/src/StateTransitionor/RestrictionMode/ZREM_RestrictionMode_func.c b/src/policy_manager/stm/zipc/src/StateTransitionor/RestrictionMode/ZREM_RestrictionMode_func.c deleted file mode 100644 index 94807f8..0000000 --- a/src/policy_manager/stm/zipc/src/StateTransitionor/RestrictionMode/ZREM_RestrictionMode_func.c +++ /dev/null @@ -1,53 +0,0 @@ -/************************************************************/ -/* ZREM_RestrictionMode_func.c */ -/* Function and variable source file */ -/* ZIPC Designer Version 1.2.0 */ -/************************************************************/ -#include "../ZST_include.h" - -/************************************************************* - Function definition -*************************************************************/ - -/* - * @name stm_rem_start_activity_restriction_mode_1_on - */ -void stm_rem_start_activity_restriction_mode_1_on() { - g_stm_crr_state.mode[StmModeNoRestrictionMode].state = StmRestrictionModeSttNo1On; - g_stm_crr_state.mode[StmModeNoRestrictionMode].changed = STM_TRUE; -} - -/* - * @name stm_rem_start_activity_restriction_mode_2_on - */ -void stm_rem_start_activity_restriction_mode_2_on() { - g_stm_crr_state.mode[StmModeNoRestrictionMode].state = StmRestrictionModeSttNo2On; - g_stm_crr_state.mode[StmModeNoRestrictionMode].changed = STM_TRUE; -} - -/* - * @name stm_rem_start_activity_restriction_mode_off - */ -void stm_rem_start_activity_restriction_mode_off() { - g_stm_crr_state.mode[StmModeNoRestrictionMode].state = StmRestrictionModeSttNoOff; - g_stm_crr_state.mode[StmModeNoRestrictionMode].changed = STM_TRUE; -} - -/* - * @name stm_rem_initialize_variable - */ -void stm_rem_initialize_variable() { - g_stm_prv_state.mode[StmModeNoRestrictionMode].state = StmRestrictionModeSttNoOff; - g_stm_prv_state.mode[StmModeNoRestrictionMode].changed = STM_FALSE; - - g_stm_crr_state.mode[StmModeNoRestrictionMode].state = StmRestrictionModeSttNoOff; - g_stm_crr_state.mode[StmModeNoRestrictionMode].changed = STM_FALSE; -} - -/* - * @name stm_rem_start_stm - */ -void stm_rem_start_stm() { - g_stm_prv_state.mode[StmModeNoRestrictionMode].state = g_stm_crr_state.mode[StmModeNoRestrictionMode].state; - g_stm_crr_state.mode[StmModeNoRestrictionMode].changed = STM_FALSE; -}