aboutsummaryrefslogtreecommitdiffstats
path: root/policy_manager/stm/zipc/StateTransitionor/AppsLayer
diff options
context:
space:
mode:
Diffstat (limited to 'policy_manager/stm/zipc/StateTransitionor/AppsLayer')
-rwxr-xr-xpolicy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_AppsLayer.c810
-rwxr-xr-xpolicy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_AppsLayer.h24
-rwxr-xr-xpolicy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_Apps_func.c16
-rwxr-xr-xpolicy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_Apps_func.h2
4 files changed, 790 insertions, 62 deletions
diff --git a/policy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_AppsLayer.c b/policy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_AppsLayer.c
index ac1fb16..e1710b1 100755
--- a/policy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_AppsLayer.c
+++ b/policy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_AppsLayer.c
@@ -17,17 +17,21 @@ static void ZAPL_RestrictionModeOffs0e2( void );
static void ZAPL_RestrictionModeOffs0e3( void );
static void ZAPL_RestrictionModeOffs0e6( void );
static void ZAPL_RestrictionModeOffs0e7( void );
-static void ZAPL_RestrictionModeOffs0e13( void );
-static void ZAPL_RestrictionModeOffs0e15( void );
+static void ZAPL_RestrictionModeOffs0e8( void );
+static void ZAPL_RestrictionModeOffs0e9( void );
+static void ZAPL_RestrictionModeOffs0e16( void );
static void ZAPL_RestrictionModeOffs0e18( void );
+static void ZAPL_RestrictionModeOffs0e21( void );
static void ZAPL_RestrictionModeOffs1e0( void );
-static void ZAPL_RestrictionModeOffs1e8( void );
+static void ZAPL_RestrictionModeOffs1e10( void );
static void ZAPL_RestrictionModeOffs2e3( void );
-static void ZAPL_RestrictionModeOffs3e16( void );
+static void ZAPL_RestrictionModeOffs3e19( void );
static void ZAPL_RestrictionModeOffs4e3( void );
static void ZAPL_RestrictionModeOffs5e3( void );
static void ZAPL_RestrictionModeOffs6e6( void );
static void ZAPL_RestrictionModeOffs7e7( void );
+static void ZAPL_RestrictionModeOffs8e8( void );
+static void ZAPL_RestrictionModeOffs9e9( void );
static void ZAPL_RestrictionModeOns0e1( void );
static void ZAPL_RestrictionModeOns0e2( void );
static void ZAPL_RestrictionModeOns1e0( void );
@@ -41,6 +45,8 @@ static void ZAPL_RestrictionModeOffs4Event( void );
static void ZAPL_RestrictionModeOffs5Event( void );
static void ZAPL_RestrictionModeOffs6Event( void );
static void ZAPL_RestrictionModeOffs7Event( void );
+static void ZAPL_RestrictionModeOffs8Event( void );
+static void ZAPL_RestrictionModeOffs9Event( void );
static void ZAPL_AppsLayers1Event( void );
static void ZAPL_RestrictionModeOns0Event( void );
static void ZAPL_RestrictionModeOns1Event( void );
@@ -78,6 +84,12 @@ static void ZAPL_AppsLayers0StateEntry( void )
case ZAPL_RESTRICTIONMODEOFFS7:
stm_apl_start_activity_system();
break;
+ case ZAPL_RESTRICTIONMODEOFFS8:
+ stm_apl_start_activity_launcher();
+ break;
+ case ZAPL_RESTRICTIONMODEOFFS9:
+ stm_apl_start_activity_launcher_fullscreen();
+ break;
default:
/*Not accessible to this else (default).*/
break;
@@ -194,9 +206,33 @@ static void ZAPL_RestrictionModeOffs0e7( void )
/* Action function */
/* STM : RestrictionModeOff */
/* State : none( No 0 ) */
-/* Event : stt_prv_layer_apps_none( No 13 ) */
+/* Event : ara_normal( No 8 ) */
+/****************************************/
+static void ZAPL_RestrictionModeOffs0e8( void )
+{
+ ZAPL_AppsLayerState[ZAPL_APPSLAYERS0F] = ( uint8_t )ZAPL_RESTRICTIONMODEOFFS8;
+ stm_apl_start_activity_launcher();
+}
+
+/****************************************/
+/* Action function */
+/* STM : RestrictionModeOff */
+/* State : none( No 0 ) */
+/* Event : ara_fullscreen( No 9 ) */
+/****************************************/
+static void ZAPL_RestrictionModeOffs0e9( void )
+{
+ ZAPL_AppsLayerState[ZAPL_APPSLAYERS0F] = ( uint8_t )ZAPL_RESTRICTIONMODEOFFS9;
+ stm_apl_start_activity_launcher_fullscreen();
+}
+
+/****************************************/
+/* Action function */
+/* STM : RestrictionModeOff */
+/* State : none( No 0 ) */
+/* Event : stt_prv_layer_apps_none( No 16 ) */
/****************************************/
-static void ZAPL_RestrictionModeOffs0e13( void )
+static void ZAPL_RestrictionModeOffs0e16( void )
{
stm_apl_start_activity_none();
}
@@ -205,9 +241,9 @@ static void ZAPL_RestrictionModeOffs0e13( void )
/* Action function */
/* STM : RestrictionModeOff */
/* State : none( No 0 ) */
-/* Event : stt_prv_layer_apps_map_spl( No 15 ) */
+/* Event : stt_prv_layer_apps_map_spl( No 18 ) */
/****************************************/
-static void ZAPL_RestrictionModeOffs0e15( void )
+static void ZAPL_RestrictionModeOffs0e18( void )
{
ZAPL_AppsLayerState[ZAPL_APPSLAYERS0F] = ( uint8_t )ZAPL_RESTRICTIONMODEOFFS2;
stm_apl_start_activity_map_split();
@@ -217,9 +253,9 @@ static void ZAPL_RestrictionModeOffs0e15( void )
/* Action function */
/* STM : RestrictionModeOff */
/* State : none( No 0 ) */
-/* Event : stt_prv_layer_apps_spl_spl( No 18 ) */
+/* Event : stt_prv_layer_apps_spl_spl( No 21 ) */
/****************************************/
-static void ZAPL_RestrictionModeOffs0e18( void )
+static void ZAPL_RestrictionModeOffs0e21( void )
{
ZAPL_AppsLayerState[ZAPL_APPSLAYERS0F] = ( uint8_t )ZAPL_RESTRICTIONMODEOFFS5;
stm_apl_start_activity_splitable_split();
@@ -240,9 +276,9 @@ static void ZAPL_RestrictionModeOffs1e0( void )
/* Action function */
/* STM : RestrictionModeOff */
/* State : map( No 1 ) */
-/* Event : ara_fullscreen( No 8 ) */
+/* Event : ara_fullscreen( No 10 ) */
/****************************************/
-static void ZAPL_RestrictionModeOffs1e8( void )
+static void ZAPL_RestrictionModeOffs1e10( void )
{
ZAPL_AppsLayerState[ZAPL_APPSLAYERS0F] = ( uint8_t )ZAPL_RESTRICTIONMODEOFFS0;
stm_apl_start_activity_none();
@@ -263,9 +299,9 @@ static void ZAPL_RestrictionModeOffs2e3( void )
/* Action function */
/* STM : RestrictionModeOff */
/* State : map_fullscreen( No 3 ) */
-/* Event : stt_prv_layer_apps_map_fll( No 16 ) */
+/* Event : stt_prv_layer_apps_map_fll( No 19 ) */
/****************************************/
-static void ZAPL_RestrictionModeOffs3e16( void )
+static void ZAPL_RestrictionModeOffs3e19( void )
{
stm_apl_start_activity_map_fullscreen();
}
@@ -316,6 +352,28 @@ static void ZAPL_RestrictionModeOffs7e7( void )
/****************************************/
/* Action function */
+/* STM : RestrictionModeOff */
+/* State : launcher_normal( No 8 ) */
+/* Event : ara_normal( No 8 ) */
+/****************************************/
+static void ZAPL_RestrictionModeOffs8e8( void )
+{
+ stm_apl_start_activity_launcher();
+}
+
+/****************************************/
+/* Action function */
+/* STM : RestrictionModeOff */
+/* State : launcher_fullscreen( No 9 )*/
+/* Event : ara_fullscreen( No 9 ) */
+/****************************************/
+static void ZAPL_RestrictionModeOffs9e9( void )
+{
+ stm_apl_start_activity_launcher_fullscreen();
+}
+
+/****************************************/
+/* Action function */
/* STM : RestrictionModeOn */
/* State : map( No 0 ) */
/* Event : ara_fullscreen( No 1 ) */
@@ -472,6 +530,25 @@ static void ZAPL_RestrictionModeOffs0Event( void )
/*Please confirm the STM and design else and default.*/
}
}
+ /*ctg_launcher*/
+ else if( g_stm_category == StmCtgNoLauncher )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*ara_fullscreen*/
+ else if( g_stm_area == StmAreaNoFullscreen )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
else
{
/*Else and default design have not done.*/
@@ -484,7 +561,7 @@ static void ZAPL_RestrictionModeOffs0Event( void )
/*stt_prv_layer_apps_none*/
if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoNone )
{
- ZAPL_RestrictionModeOffs0e13();
+ ZAPL_RestrictionModeOffs0e16();
}
/*stt_prv_layer_apps_map_nml*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapNml )
@@ -494,7 +571,7 @@ static void ZAPL_RestrictionModeOffs0Event( void )
/*stt_prv_layer_apps_map_spl*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapSpl )
{
- ZAPL_RestrictionModeOffs0e15();
+ ZAPL_RestrictionModeOffs0e18();
}
/*stt_prv_layer_apps_map_fll*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapFll )
@@ -509,7 +586,7 @@ static void ZAPL_RestrictionModeOffs0Event( void )
/*stt_prv_layer_apps_spl_spl*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoSplSpl )
{
- ZAPL_RestrictionModeOffs0e18();
+ ZAPL_RestrictionModeOffs0e21();
}
/*stt_prv_layer_apps_gen_nml*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoGenNml )
@@ -521,6 +598,16 @@ static void ZAPL_RestrictionModeOffs0Event( void )
{
ZAPL_RestrictionModeOffs0e7();
}
+ /*stt_prv_layer_apps_lch_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchNml )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*stt_prv_layer_apps_lch_fll*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchFll )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
else
{
/*Else and default design have not done.*/
@@ -578,12 +665,12 @@ static void ZAPL_RestrictionModeOffs1Event( void )
/*ara_normal*/
if( g_stm_area == StmAreaNoNormal )
{
- ZAPL_RestrictionModeOffs0e15();
+ ZAPL_RestrictionModeOffs0e18();
}
/*ara_split_sub*/
else if( g_stm_area == StmAreaNoSplitSub )
{
- ZAPL_RestrictionModeOffs0e15();
+ ZAPL_RestrictionModeOffs0e18();
}
else
{
@@ -619,13 +706,32 @@ static void ZAPL_RestrictionModeOffs1Event( void )
/*Please confirm the STM and design else and default.*/
}
}
+ /*ctg_launcher*/
+ else if( g_stm_category == StmCtgNoLauncher )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*ara_fullscreen*/
+ else if( g_stm_area == StmAreaNoFullscreen )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
/*ctg_homescreen*/
else if( g_stm_category == StmCtgNoHomescreen )
{
/*ara_fullscreen*/
if( g_stm_area == StmAreaNoFullscreen )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
else
{
@@ -645,7 +751,7 @@ static void ZAPL_RestrictionModeOffs1Event( void )
/*ctg_map*/
if( g_stm_category == StmCtgNoMap )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
else
{
@@ -659,7 +765,7 @@ static void ZAPL_RestrictionModeOffs1Event( void )
/*stt_prv_layer_apps_none*/
if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoNone )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
/*stt_prv_layer_apps_map_nml*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapNml )
@@ -669,7 +775,7 @@ static void ZAPL_RestrictionModeOffs1Event( void )
/*stt_prv_layer_apps_map_spl*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapSpl )
{
- ZAPL_RestrictionModeOffs0e15();
+ ZAPL_RestrictionModeOffs0e18();
}
/*stt_prv_layer_apps_map_fll*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapFll )
@@ -684,7 +790,7 @@ static void ZAPL_RestrictionModeOffs1Event( void )
/*stt_prv_layer_apps_spl_spl*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoSplSpl )
{
- ZAPL_RestrictionModeOffs0e18();
+ ZAPL_RestrictionModeOffs0e21();
}
/*stt_prv_layer_apps_gen_nml*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoGenNml )
@@ -696,6 +802,16 @@ static void ZAPL_RestrictionModeOffs1Event( void )
{
ZAPL_RestrictionModeOffs0e7();
}
+ /*stt_prv_layer_apps_lch_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchNml )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*stt_prv_layer_apps_lch_fll*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchFll )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
else
{
/*Else and default design have not done.*/
@@ -794,13 +910,32 @@ static void ZAPL_RestrictionModeOffs2Event( void )
/*Please confirm the STM and design else and default.*/
}
}
+ /*ctg_launcher*/
+ else if( g_stm_category == StmCtgNoLauncher )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*ara_fullscreen*/
+ else if( g_stm_area == StmAreaNoFullscreen )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
/*ctg_homescreen*/
else if( g_stm_category == StmCtgNoHomescreen )
{
/*ara_fullscreen*/
if( g_stm_area == StmAreaNoFullscreen )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
else
{
@@ -834,7 +969,7 @@ static void ZAPL_RestrictionModeOffs2Event( void )
/*stt_prv_layer_apps_none*/
if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoNone )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
/*stt_prv_layer_apps_map_nml*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapNml )
@@ -859,7 +994,7 @@ static void ZAPL_RestrictionModeOffs2Event( void )
/*stt_prv_layer_apps_spl_spl*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoSplSpl )
{
- ZAPL_RestrictionModeOffs0e18();
+ ZAPL_RestrictionModeOffs0e21();
}
/*stt_prv_layer_apps_gen_nml*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoGenNml )
@@ -871,6 +1006,16 @@ static void ZAPL_RestrictionModeOffs2Event( void )
{
ZAPL_RestrictionModeOffs0e7();
}
+ /*stt_prv_layer_apps_lch_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchNml )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*stt_prv_layer_apps_lch_fll*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchFll )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
else
{
/*Else and default design have not done.*/
@@ -923,7 +1068,7 @@ static void ZAPL_RestrictionModeOffs3Event( void )
/*ara_normal*/
if( g_stm_area == StmAreaNoNormal )
{
- ZAPL_RestrictionModeOffs0e15();
+ ZAPL_RestrictionModeOffs0e18();
}
else
{
@@ -959,13 +1104,32 @@ static void ZAPL_RestrictionModeOffs3Event( void )
/*Please confirm the STM and design else and default.*/
}
}
+ /*ctg_launcher*/
+ else if( g_stm_category == StmCtgNoLauncher )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*ara_fullscreen*/
+ else if( g_stm_area == StmAreaNoFullscreen )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
/*ctg_homescreen*/
else if( g_stm_category == StmCtgNoHomescreen )
{
/*ara_fullscreen*/
if( g_stm_area == StmAreaNoFullscreen )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
else
{
@@ -985,7 +1149,7 @@ static void ZAPL_RestrictionModeOffs3Event( void )
/*ctg_map*/
if( g_stm_category == StmCtgNoMap )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
else
{
@@ -999,7 +1163,7 @@ static void ZAPL_RestrictionModeOffs3Event( void )
/*stt_prv_layer_apps_none*/
if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoNone )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
/*stt_prv_layer_apps_map_nml*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapNml )
@@ -1009,12 +1173,12 @@ static void ZAPL_RestrictionModeOffs3Event( void )
/*stt_prv_layer_apps_map_spl*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapSpl )
{
- ZAPL_RestrictionModeOffs0e15();
+ ZAPL_RestrictionModeOffs0e18();
}
/*stt_prv_layer_apps_map_fll*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapFll )
{
- ZAPL_RestrictionModeOffs3e16();
+ ZAPL_RestrictionModeOffs3e19();
}
/*stt_prv_layer_apps_spl_nml*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoSplNml )
@@ -1024,7 +1188,7 @@ static void ZAPL_RestrictionModeOffs3Event( void )
/*stt_prv_layer_apps_spl_spl*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoSplSpl )
{
- ZAPL_RestrictionModeOffs0e18();
+ ZAPL_RestrictionModeOffs0e21();
}
/*stt_prv_layer_apps_gen_nml*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoGenNml )
@@ -1036,6 +1200,16 @@ static void ZAPL_RestrictionModeOffs3Event( void )
{
ZAPL_RestrictionModeOffs0e7();
}
+ /*stt_prv_layer_apps_lch_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchNml )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*stt_prv_layer_apps_lch_fll*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchFll )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
else
{
/*Else and default design have not done.*/
@@ -1074,12 +1248,12 @@ static void ZAPL_RestrictionModeOffs4Event( void )
/*ara_normal*/
if( g_stm_area == StmAreaNoNormal )
{
- ZAPL_RestrictionModeOffs0e15();
+ ZAPL_RestrictionModeOffs0e18();
}
/*ara_split_main*/
else if( g_stm_area == StmAreaNoSplitMain )
{
- ZAPL_RestrictionModeOffs0e15();
+ ZAPL_RestrictionModeOffs0e18();
}
/*ara_fullscreen*/
else if( g_stm_area == StmAreaNoFullscreen )
@@ -1103,12 +1277,12 @@ static void ZAPL_RestrictionModeOffs4Event( void )
/*ara_split_main*/
else if( g_stm_area == StmAreaNoSplitMain )
{
- ZAPL_RestrictionModeOffs0e18();
+ ZAPL_RestrictionModeOffs0e21();
}
/*ara_split_sub*/
else if( g_stm_area == StmAreaNoSplitSub )
{
- ZAPL_RestrictionModeOffs0e18();
+ ZAPL_RestrictionModeOffs0e21();
}
else
{
@@ -1144,13 +1318,32 @@ static void ZAPL_RestrictionModeOffs4Event( void )
/*Please confirm the STM and design else and default.*/
}
}
+ /*ctg_launcher*/
+ else if( g_stm_category == StmCtgNoLauncher )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*ara_fullscreen*/
+ else if( g_stm_area == StmAreaNoFullscreen )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
/*ctg_homescreen*/
else if( g_stm_category == StmCtgNoHomescreen )
{
/*ara_fullscreen*/
if( g_stm_area == StmAreaNoFullscreen )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
else
{
@@ -1170,7 +1363,7 @@ static void ZAPL_RestrictionModeOffs4Event( void )
/*ctg_splitable*/
if( g_stm_category == StmCtgNoSplitable )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
else
{
@@ -1184,7 +1377,7 @@ static void ZAPL_RestrictionModeOffs4Event( void )
/*stt_prv_layer_apps_none*/
if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoNone )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
/*stt_prv_layer_apps_map_nml*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapNml )
@@ -1194,7 +1387,7 @@ static void ZAPL_RestrictionModeOffs4Event( void )
/*stt_prv_layer_apps_map_spl*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapSpl )
{
- ZAPL_RestrictionModeOffs0e15();
+ ZAPL_RestrictionModeOffs0e18();
}
/*stt_prv_layer_apps_map_fll*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapFll )
@@ -1209,7 +1402,7 @@ static void ZAPL_RestrictionModeOffs4Event( void )
/*stt_prv_layer_apps_spl_spl*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoSplSpl )
{
- ZAPL_RestrictionModeOffs0e18();
+ ZAPL_RestrictionModeOffs0e21();
}
/*stt_prv_layer_apps_gen_nml*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoGenNml )
@@ -1221,6 +1414,16 @@ static void ZAPL_RestrictionModeOffs4Event( void )
{
ZAPL_RestrictionModeOffs0e7();
}
+ /*stt_prv_layer_apps_lch_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchNml )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*stt_prv_layer_apps_lch_fll*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchFll )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
else
{
/*Else and default design have not done.*/
@@ -1259,12 +1462,12 @@ static void ZAPL_RestrictionModeOffs5Event( void )
/*ara_normal*/
if( g_stm_area == StmAreaNoNormal )
{
- ZAPL_RestrictionModeOffs0e15();
+ ZAPL_RestrictionModeOffs0e18();
}
/*ara_split_main*/
else if( g_stm_area == StmAreaNoSplitMain )
{
- ZAPL_RestrictionModeOffs0e15();
+ ZAPL_RestrictionModeOffs0e18();
}
/*ara_fullscreen*/
else if( g_stm_area == StmAreaNoFullscreen )
@@ -1329,13 +1532,32 @@ static void ZAPL_RestrictionModeOffs5Event( void )
/*Please confirm the STM and design else and default.*/
}
}
+ /*ctg_launcher*/
+ else if( g_stm_category == StmCtgNoLauncher )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*ara_fullscreen*/
+ else if( g_stm_area == StmAreaNoFullscreen )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
/*ctg_homescreen*/
else if( g_stm_category == StmCtgNoHomescreen )
{
/*ara_fullscreen*/
if( g_stm_area == StmAreaNoFullscreen )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
else
{
@@ -1369,7 +1591,7 @@ static void ZAPL_RestrictionModeOffs5Event( void )
/*stt_prv_layer_apps_none*/
if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoNone )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
/*stt_prv_layer_apps_map_nml*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapNml )
@@ -1379,7 +1601,7 @@ static void ZAPL_RestrictionModeOffs5Event( void )
/*stt_prv_layer_apps_map_spl*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapSpl )
{
- ZAPL_RestrictionModeOffs0e15();
+ ZAPL_RestrictionModeOffs0e18();
}
/*stt_prv_layer_apps_map_fll*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapFll )
@@ -1406,6 +1628,16 @@ static void ZAPL_RestrictionModeOffs5Event( void )
{
ZAPL_RestrictionModeOffs0e7();
}
+ /*stt_prv_layer_apps_lch_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchNml )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*stt_prv_layer_apps_lch_fll*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchFll )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
else
{
/*Else and default design have not done.*/
@@ -1499,13 +1731,32 @@ static void ZAPL_RestrictionModeOffs6Event( void )
/*Please confirm the STM and design else and default.*/
}
}
+ /*ctg_launcher*/
+ else if( g_stm_category == StmCtgNoLauncher )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*ara_fullscreen*/
+ else if( g_stm_area == StmAreaNoFullscreen )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
/*ctg_homescreen*/
else if( g_stm_category == StmCtgNoHomescreen )
{
/*ara_fullscreen*/
if( g_stm_area == StmAreaNoFullscreen )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
else
{
@@ -1525,7 +1776,7 @@ static void ZAPL_RestrictionModeOffs6Event( void )
/*ctg_general*/
if( g_stm_category == StmCtgNoGeneral )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
else
{
@@ -1539,7 +1790,7 @@ static void ZAPL_RestrictionModeOffs6Event( void )
/*stt_prv_layer_apps_none*/
if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoNone )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
/*stt_prv_layer_apps_map_nml*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapNml )
@@ -1549,7 +1800,7 @@ static void ZAPL_RestrictionModeOffs6Event( void )
/*stt_prv_layer_apps_map_spl*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapSpl )
{
- ZAPL_RestrictionModeOffs0e15();
+ ZAPL_RestrictionModeOffs0e18();
}
/*stt_prv_layer_apps_map_fll*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapFll )
@@ -1564,7 +1815,7 @@ static void ZAPL_RestrictionModeOffs6Event( void )
/*stt_prv_layer_apps_spl_spl*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoSplSpl )
{
- ZAPL_RestrictionModeOffs0e18();
+ ZAPL_RestrictionModeOffs0e21();
}
/*stt_prv_layer_apps_gen_nml*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoGenNml )
@@ -1576,6 +1827,16 @@ static void ZAPL_RestrictionModeOffs6Event( void )
{
ZAPL_RestrictionModeOffs0e7();
}
+ /*stt_prv_layer_apps_lch_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchNml )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*stt_prv_layer_apps_lch_fll*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchFll )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
else
{
/*Else and default design have not done.*/
@@ -1669,13 +1930,32 @@ static void ZAPL_RestrictionModeOffs7Event( void )
/*Please confirm the STM and design else and default.*/
}
}
+ /*ctg_launcher*/
+ else if( g_stm_category == StmCtgNoLauncher )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*ara_fullscreen*/
+ else if( g_stm_area == StmAreaNoFullscreen )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
/*ctg_homescreen*/
else if( g_stm_category == StmCtgNoHomescreen )
{
/*ara_fullscreen*/
if( g_stm_area == StmAreaNoFullscreen )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
else
{
@@ -1695,7 +1975,7 @@ static void ZAPL_RestrictionModeOffs7Event( void )
/*ctg_system*/
if( g_stm_category == StmCtgNoSystem )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
else
{
@@ -1709,7 +1989,7 @@ static void ZAPL_RestrictionModeOffs7Event( void )
/*stt_prv_layer_apps_none*/
if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoNone )
{
- ZAPL_RestrictionModeOffs1e8();
+ ZAPL_RestrictionModeOffs1e10();
}
/*stt_prv_layer_apps_map_nml*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapNml )
@@ -1719,7 +1999,7 @@ static void ZAPL_RestrictionModeOffs7Event( void )
/*stt_prv_layer_apps_map_spl*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapSpl )
{
- ZAPL_RestrictionModeOffs0e15();
+ ZAPL_RestrictionModeOffs0e18();
}
/*stt_prv_layer_apps_map_fll*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapFll )
@@ -1734,7 +2014,7 @@ static void ZAPL_RestrictionModeOffs7Event( void )
/*stt_prv_layer_apps_spl_spl*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoSplSpl )
{
- ZAPL_RestrictionModeOffs0e18();
+ ZAPL_RestrictionModeOffs0e21();
}
/*stt_prv_layer_apps_gen_nml*/
else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoGenNml )
@@ -1746,6 +2026,414 @@ static void ZAPL_RestrictionModeOffs7Event( void )
{
ZAPL_RestrictionModeOffs7e7();
}
+ /*stt_prv_layer_apps_lch_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchNml )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*stt_prv_layer_apps_lch_fll*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchFll )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+}
+
+/****************************************/
+/* Event appraisal function */
+/* STM : RestrictionModeOff */
+/* State : launcher_normal( No 8 ) */
+/****************************************/
+static void ZAPL_RestrictionModeOffs8Event( void )
+{
+ /*stt_restriction_mode_off*/
+ if( g_stm_crr_state.car_element[StmCarElementNoRestrictionMode].state == StmRestrictionModeSttNoOff )
+ {
+ /*evt_activate*/
+ if( g_stm_event == StmEvtNoActivate )
+ {
+ /*ctg_map*/
+ if( g_stm_category == StmCtgNoMap )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e0();
+ }
+ /*ara_fullscreen*/
+ else if( g_stm_area == StmAreaNoFullscreen )
+ {
+ ZAPL_RestrictionModeOffs0e2();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ /*ctg_splitable*/
+ else if( g_stm_category == StmCtgNoSplitable )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e3();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ /*ctg_general*/
+ else if( g_stm_category == StmCtgNoGeneral )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e6();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ /*ctg_system*/
+ else if( g_stm_category == StmCtgNoSystem )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e7();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ /*ctg_launcher*/
+ else if( g_stm_category == StmCtgNoLauncher )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs8e8();
+ }
+ /*ara_fullscreen*/
+ else if( g_stm_area == StmAreaNoFullscreen )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ /*ctg_homescreen*/
+ else if( g_stm_category == StmCtgNoHomescreen )
+ {
+ /*ara_fullscreen*/
+ if( g_stm_area == StmAreaNoFullscreen )
+ {
+ ZAPL_RestrictionModeOffs1e10();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ /*evt_deactivate*/
+ else if( g_stm_event == StmEvtNoDeactivate )
+ {
+ /*ctg_launcher*/
+ if( g_stm_category == StmCtgNoLauncher )
+ {
+ ZAPL_RestrictionModeOffs1e10();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ /*evt_undo*/
+ else if( g_stm_event == StmEvtNoUndo )
+ {
+ /*stt_prv_layer_apps_none*/
+ if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoNone )
+ {
+ ZAPL_RestrictionModeOffs1e10();
+ }
+ /*stt_prv_layer_apps_map_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapNml )
+ {
+ ZAPL_RestrictionModeOffs0e0();
+ }
+ /*stt_prv_layer_apps_map_spl*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapSpl )
+ {
+ ZAPL_RestrictionModeOffs0e18();
+ }
+ /*stt_prv_layer_apps_map_fll*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapFll )
+ {
+ ZAPL_RestrictionModeOffs0e2();
+ }
+ /*stt_prv_layer_apps_spl_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoSplNml )
+ {
+ ZAPL_RestrictionModeOffs0e3();
+ }
+ /*stt_prv_layer_apps_spl_spl*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoSplSpl )
+ {
+ ZAPL_RestrictionModeOffs0e21();
+ }
+ /*stt_prv_layer_apps_gen_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoGenNml )
+ {
+ ZAPL_RestrictionModeOffs0e6();
+ }
+ /*stt_prv_layer_apps_sys_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoSysNml )
+ {
+ ZAPL_RestrictionModeOffs0e7();
+ }
+ /*stt_prv_layer_apps_lch_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchNml )
+ {
+ ZAPL_RestrictionModeOffs8e8();
+ }
+ /*stt_prv_layer_apps_lch_fll*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchFll )
+ {
+ ZAPL_RestrictionModeOffs0e9();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+}
+
+/****************************************/
+/* Event appraisal function */
+/* STM : RestrictionModeOff */
+/* State : launcher_fullscreen( No 9 )*/
+/****************************************/
+static void ZAPL_RestrictionModeOffs9Event( void )
+{
+ /*stt_restriction_mode_off*/
+ if( g_stm_crr_state.car_element[StmCarElementNoRestrictionMode].state == StmRestrictionModeSttNoOff )
+ {
+ /*evt_activate*/
+ if( g_stm_event == StmEvtNoActivate )
+ {
+ /*ctg_map*/
+ if( g_stm_category == StmCtgNoMap )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e0();
+ }
+ /*ara_fullscreen*/
+ else if( g_stm_area == StmAreaNoFullscreen )
+ {
+ ZAPL_RestrictionModeOffs0e2();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ /*ctg_splitable*/
+ else if( g_stm_category == StmCtgNoSplitable )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e3();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ /*ctg_general*/
+ else if( g_stm_category == StmCtgNoGeneral )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e6();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ /*ctg_system*/
+ else if( g_stm_category == StmCtgNoSystem )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e7();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ /*ctg_launcher*/
+ else if( g_stm_category == StmCtgNoLauncher )
+ {
+ /*ara_normal*/
+ if( g_stm_area == StmAreaNoNormal )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*ara_fullscreen*/
+ else if( g_stm_area == StmAreaNoFullscreen )
+ {
+ ZAPL_RestrictionModeOffs9e9();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ /*ctg_homescreen*/
+ else if( g_stm_category == StmCtgNoHomescreen )
+ {
+ /*ara_fullscreen*/
+ if( g_stm_area == StmAreaNoFullscreen )
+ {
+ ZAPL_RestrictionModeOffs1e10();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ /*evt_deactivate*/
+ else if( g_stm_event == StmEvtNoDeactivate )
+ {
+ /*ctg_launcher*/
+ if( g_stm_category == StmCtgNoLauncher )
+ {
+ ZAPL_RestrictionModeOffs1e10();
+ }
+ else
+ {
+ /*Else and default design have not done.*/
+ /*Please confirm the STM and design else and default.*/
+ }
+ }
+ /*evt_undo*/
+ else if( g_stm_event == StmEvtNoUndo )
+ {
+ /*stt_prv_layer_apps_none*/
+ if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoNone )
+ {
+ ZAPL_RestrictionModeOffs1e10();
+ }
+ /*stt_prv_layer_apps_map_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapNml )
+ {
+ ZAPL_RestrictionModeOffs0e0();
+ }
+ /*stt_prv_layer_apps_map_spl*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapSpl )
+ {
+ ZAPL_RestrictionModeOffs0e18();
+ }
+ /*stt_prv_layer_apps_map_fll*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoMapFll )
+ {
+ ZAPL_RestrictionModeOffs0e2();
+ }
+ /*stt_prv_layer_apps_spl_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoSplNml )
+ {
+ ZAPL_RestrictionModeOffs0e3();
+ }
+ /*stt_prv_layer_apps_spl_spl*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoSplSpl )
+ {
+ ZAPL_RestrictionModeOffs0e21();
+ }
+ /*stt_prv_layer_apps_gen_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoGenNml )
+ {
+ ZAPL_RestrictionModeOffs0e6();
+ }
+ /*stt_prv_layer_apps_sys_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoSysNml )
+ {
+ ZAPL_RestrictionModeOffs0e7();
+ }
+ /*stt_prv_layer_apps_lch_nml*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchNml )
+ {
+ ZAPL_RestrictionModeOffs0e8();
+ }
+ /*stt_prv_layer_apps_lch_fll*/
+ else if( g_stm_prv_state.layer[StmLayerNoApps].state == StmLayoutNoLchFll )
+ {
+ ZAPL_RestrictionModeOffs9e9();
+ }
else
{
/*Else and default design have not done.*/
@@ -1951,6 +2639,12 @@ void stm_apl_event_call( void )
case ZAPL_RESTRICTIONMODEOFFS7:
ZAPL_RestrictionModeOffs7Event();
break;
+ case ZAPL_RESTRICTIONMODEOFFS8:
+ ZAPL_RestrictionModeOffs8Event();
+ break;
+ case ZAPL_RESTRICTIONMODEOFFS9:
+ ZAPL_RestrictionModeOffs9Event();
+ break;
default:
/*Not accessible to this else (default).*/
break;
diff --git a/policy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_AppsLayer.h b/policy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_AppsLayer.h
index d94cbc0..c4556e6 100755
--- a/policy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_AppsLayer.h
+++ b/policy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_AppsLayer.h
@@ -19,13 +19,15 @@
#define ZAPL_RESTRICTIONMODEOFFS5 ( 5U )
#define ZAPL_RESTRICTIONMODEOFFS6 ( 6U )
#define ZAPL_RESTRICTIONMODEOFFS7 ( 7U )
+#define ZAPL_RESTRICTIONMODEOFFS8 ( 8U )
+#define ZAPL_RESTRICTIONMODEOFFS9 ( 9U )
#define ZAPL_APPSLAYERS1 ( 1U )
#define ZAPL_RESTRICTIONMODEONS0 ( 0U )
#define ZAPL_RESTRICTIONMODEONS1 ( 1U )
#define ZAPL_APPSLAYERSTATENOMAX ( 3U )
/*End state define*/
-#define ZAPL_APPSLAYEREND ( 8U )
+#define ZAPL_APPSLAYEREND ( 10U )
/*Terminate state define*/
#define ZAPL_APPSLAYERTERMINATE ( ZAPL_APPSLAYEREND + 1U )
@@ -39,6 +41,8 @@
#define ZAPL_RESTRICTIONMODEOFFS5STATENO ( 5U )
#define ZAPL_RESTRICTIONMODEOFFS6STATENO ( 6U )
#define ZAPL_RESTRICTIONMODEOFFS7STATENO ( 7U )
+#define ZAPL_RESTRICTIONMODEOFFS8STATENO ( 8U )
+#define ZAPL_RESTRICTIONMODEOFFS9STATENO ( 9U )
#define ZAPL_APPSLAYERS1STATENO ( 1U )
#define ZAPL_RESTRICTIONMODEONS0STATENO ( 0U )
#define ZAPL_RESTRICTIONMODEONS1STATENO ( 1U )
@@ -53,9 +57,11 @@
#define ZAPL_RESTRICTIONMODEOFFS5STATESERIALNO ( 6U )
#define ZAPL_RESTRICTIONMODEOFFS6STATESERIALNO ( 7U )
#define ZAPL_RESTRICTIONMODEOFFS7STATESERIALNO ( 8U )
-#define ZAPL_APPSLAYERS1STATESERIALNO ( 9U )
-#define ZAPL_RESTRICTIONMODEONS0STATESERIALNO ( 10U )
-#define ZAPL_RESTRICTIONMODEONS1STATESERIALNO ( 11U )
+#define ZAPL_RESTRICTIONMODEOFFS8STATESERIALNO ( 9U )
+#define ZAPL_RESTRICTIONMODEOFFS9STATESERIALNO ( 10U )
+#define ZAPL_APPSLAYERS1STATESERIALNO ( 11U )
+#define ZAPL_RESTRICTIONMODEONS0STATESERIALNO ( 12U )
+#define ZAPL_RESTRICTIONMODEONS1STATESERIALNO ( 13U )
/*Event no define*/
#define ZAPL_APPSLAYERE0EVENTNO ( 0U )
@@ -81,6 +87,11 @@
#define ZAPL_RESTRICTIONMODEOFFE18EVENTNO ( 18U )
#define ZAPL_RESTRICTIONMODEOFFE19EVENTNO ( 19U )
#define ZAPL_RESTRICTIONMODEOFFE20EVENTNO ( 20U )
+#define ZAPL_RESTRICTIONMODEOFFE21EVENTNO ( 21U )
+#define ZAPL_RESTRICTIONMODEOFFE22EVENTNO ( 22U )
+#define ZAPL_RESTRICTIONMODEOFFE23EVENTNO ( 23U )
+#define ZAPL_RESTRICTIONMODEOFFE24EVENTNO ( 24U )
+#define ZAPL_RESTRICTIONMODEOFFE25EVENTNO ( 25U )
#define ZAPL_RESTRICTIONMODEONE0EVENTNO ( 0U )
#define ZAPL_RESTRICTIONMODEONE1EVENTNO ( 1U )
#define ZAPL_RESTRICTIONMODEONE2EVENTNO ( 2U )
@@ -110,6 +121,11 @@
#define ZAPL_RESTRICTIONMODEOFFE18EVENTNO ( 18U )
#define ZAPL_RESTRICTIONMODEOFFE19EVENTNO ( 19U )
#define ZAPL_RESTRICTIONMODEOFFE20EVENTNO ( 20U )
+#define ZAPL_RESTRICTIONMODEOFFE21EVENTNO ( 21U )
+#define ZAPL_RESTRICTIONMODEOFFE22EVENTNO ( 22U )
+#define ZAPL_RESTRICTIONMODEOFFE23EVENTNO ( 23U )
+#define ZAPL_RESTRICTIONMODEOFFE24EVENTNO ( 24U )
+#define ZAPL_RESTRICTIONMODEOFFE25EVENTNO ( 25U )
#define ZAPL_RESTRICTIONMODEONE0EVENTNO ( 0U )
#define ZAPL_RESTRICTIONMODEONE1EVENTNO ( 1U )
#define ZAPL_RESTRICTIONMODEONE2EVENTNO ( 2U )
diff --git a/policy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_Apps_func.c b/policy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_Apps_func.c
index 245271f..8d14bf3 100755
--- a/policy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_Apps_func.c
+++ b/policy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_Apps_func.c
@@ -89,6 +89,22 @@ void stm_apl_start_activity_system() {
}
/*
+ * @name stm_apl_start_activity_launcher
+ */
+void stm_apl_start_activity_launcher() {
+ g_stm_crr_state.layer[StmLayerNoApps].state = StmLayoutNoLchNml;
+ g_stm_crr_state.layer[StmLayerNoApps].changed = STM_TRUE;
+}
+
+/*
+ * @name stm_apl_start_activity_launcher_fullscreen
+ */
+void stm_apl_start_activity_launcher_fullscreen() {
+ g_stm_crr_state.layer[StmLayerNoApps].state = StmLayoutNoLchFll;
+ g_stm_crr_state.layer[StmLayerNoApps].changed = STM_TRUE;
+}
+
+/*
* @name stm_apl_event_restriction_mode_off
*/
void stm_apl_event_restriction_mode_off() {
diff --git a/policy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_Apps_func.h b/policy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_Apps_func.h
index 8d1de90..2d17845 100755
--- a/policy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_Apps_func.h
+++ b/policy_manager/stm/zipc/StateTransitionor/AppsLayer/ZAPL_Apps_func.h
@@ -14,6 +14,8 @@ extern void stm_apl_start_activity_splitable_normal();
extern void stm_apl_start_activity_splitable_split();
extern void stm_apl_start_activity_general();
extern void stm_apl_start_activity_system();
+extern void stm_apl_start_activity_launcher();
+extern void stm_apl_start_activity_launcher_fullscreen();
extern void stm_apl_event_restriction_mode_off();
extern void stm_apl_event_restriction_mode_on();
extern void stm_apl_initialize_variable();