diff options
Diffstat (limited to 'task_manager/server/src')
-rw-r--r-- | task_manager/server/src/pri_main.cpp | 2 | ||||
-rw-r--r-- | task_manager/server/src/tskm_api.cpp | 2 | ||||
-rw-r--r-- | task_manager/server/src/tskm_comm.cpp | 2 | ||||
-rw-r--r-- | task_manager/server/src/tskm_debug.cpp | 73 | ||||
-rw-r--r-- | task_manager/server/src/tskm_main.cpp | 2 | ||||
-rw-r--r-- | task_manager/server/src/tskm_port_pf.cpp | 2 | ||||
-rw-r--r-- | task_manager/server/src/tskm_port_subsys.cpp | 10 | ||||
-rw-r--r-- | task_manager/server/src/tskm_shutdown.cpp | 2 | ||||
-rw-r--r-- | task_manager/server/src/tskm_state.cpp | 2 | ||||
-rw-r--r-- | task_manager/server/src/tskm_svc.cpp | 10 | ||||
-rw-r--r-- | task_manager/server/src/tskm_wakeup.cpp | 2 | ||||
-rw-r--r-- | task_manager/server/src/tskm_watch.cpp | 2 |
12 files changed, 13 insertions, 98 deletions
diff --git a/task_manager/server/src/pri_main.cpp b/task_manager/server/src/pri_main.cpp index e572e7a4..2c87623b 100644 --- a/task_manager/server/src/pri_main.cpp +++ b/task_manager/server/src/pri_main.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/task_manager/server/src/tskm_api.cpp b/task_manager/server/src/tskm_api.cpp index a9943ba1..94c8226e 100644 --- a/task_manager/server/src/tskm_api.cpp +++ b/task_manager/server/src/tskm_api.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/task_manager/server/src/tskm_comm.cpp b/task_manager/server/src/tskm_comm.cpp index c110c135..b177b9b8 100644 --- a/task_manager/server/src/tskm_comm.cpp +++ b/task_manager/server/src/tskm_comm.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/task_manager/server/src/tskm_debug.cpp b/task_manager/server/src/tskm_debug.cpp index 225c4b5c..5881f9af 100644 --- a/task_manager/server/src/tskm_debug.cpp +++ b/task_manager/server/src/tskm_debug.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,77 +40,6 @@ tskm_convState2Str(TSKM_STATE_t state) { } const char* -tskm_convLocalStep2Str(TSKM_LOCAL_STEP_t localStep) { - switch (localStep) { // LCOV_EXCL_BR_LINE 7:debug code - case TSKM_LSTEP_LAST: - return "LAST"; - case TSKM_LSTEP_SHM: - // LCOV_EXCL_START 7:debug code - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - return "SHM"; - case TSKM_LSTEP_BUPCHK: - // LCOV_EXCL_START 7:debug code - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - return "BUPCHK"; - case TSKM_LSTEP_ALL: - return "ALL"; - case 0: - return "0"; - case 1: - // LCOV_EXCL_START 7:debug code - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - return "1"; - // LCOV_EXCL_STOP - case 2: - // LCOV_EXCL_START 7:debug code - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - return "2"; - // LCOV_EXCL_STOP - case 3: - // LCOV_EXCL_START 7:debug code - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - return "3"; - // LCOV_EXCL_STOP - case 4: - // LCOV_EXCL_START 7:debug code - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - return "4"; - // LCOV_EXCL_STOP - case 5: - // LCOV_EXCL_START 7:debug code - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - return "5"; - // LCOV_EXCL_STOP - case 6: - // LCOV_EXCL_START 7:debug code - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - return "6"; - // LCOV_EXCL_STOP - case 7: - // LCOV_EXCL_START 7:debug code - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - return "7"; - // LCOV_EXCL_STOP - case 8: - // LCOV_EXCL_START 7:debug code - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - return "8"; - // LCOV_EXCL_STOP - case 9: - // LCOV_EXCL_START 7:debug code - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - return "9"; - // LCOV_EXCL_STOP - default: - break; - } - // LCOV_EXCL_START 7:debug code - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - return "UNKNONW"; - // LCOV_EXCL_STOP -} - -const char* tskm_convEvent2Str(TSKM_EVENT_t event) { switch (event) { // LCOV_EXCL_BR_LINE 7:debug code case TSKM_EV_NOP: diff --git a/task_manager/server/src/tskm_main.cpp b/task_manager/server/src/tskm_main.cpp index 66a0b296..33c10fa7 100644 --- a/task_manager/server/src/tskm_main.cpp +++ b/task_manager/server/src/tskm_main.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/task_manager/server/src/tskm_port_pf.cpp b/task_manager/server/src/tskm_port_pf.cpp index 72a52dd2..f4272553 100644 --- a/task_manager/server/src/tskm_port_pf.cpp +++ b/task_manager/server/src/tskm_port_pf.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/task_manager/server/src/tskm_port_subsys.cpp b/task_manager/server/src/tskm_port_subsys.cpp index a90fa4bc..cfdec490 100644 --- a/task_manager/server/src/tskm_port_subsys.cpp +++ b/task_manager/server/src/tskm_port_subsys.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -292,12 +292,6 @@ int tskm_sub_resmRcv(TSKM_EVENT_INFO_t* p_ev) { } int tskm_sub_setWakeupOrder(const char* p_order) { - EFrameworkunifiedStatus taskmanagerRet; - std::string order = p_order; - - taskmanagerRet = SetWakeupOrderToSystemManager(order); - if (taskmanagerRet != eFrameworkunifiedStatusOK) { - return -1; - } + // Under consideration return 0; } // LCOV_EXCL_BR_LINE 10: Gcov constraints (last row) diff --git a/task_manager/server/src/tskm_shutdown.cpp b/task_manager/server/src/tskm_shutdown.cpp index abee7297..1699f90f 100644 --- a/task_manager/server/src/tskm_shutdown.cpp +++ b/task_manager/server/src/tskm_shutdown.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/task_manager/server/src/tskm_state.cpp b/task_manager/server/src/tskm_state.cpp index 1018eb3c..b7770901 100644 --- a/task_manager/server/src/tskm_state.cpp +++ b/task_manager/server/src/tskm_state.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/task_manager/server/src/tskm_svc.cpp b/task_manager/server/src/tskm_svc.cpp index a7dda206..2f9abc1e 100644 --- a/task_manager/server/src/tskm_svc.cpp +++ b/task_manager/server/src/tskm_svc.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -109,10 +109,6 @@ TSKM_STATIC TSKM_ERR_t wakeupRequest(TSKM_SVC_CTX_t* p_svc, int ret; bzero(&ev, sizeof(ev)); - TSKM_PRINTF(TSKM_LOG_SVCSTATE, "WAKEUPREQ %s to %s(%d)", - tskm_convLocalStep2Str(p_req->localStep), p_svc->attr->name, - p_svc->pid); - ev.event = TSKM_EV_PRI_REQ_WAKEUP; ev.errCode = TSKM_E_OK; ev.prm.reqWakeup.svcId = p_svc->attr->svcId; @@ -915,10 +911,6 @@ TSKM_ERR_t tskm_svcDownRequest(TSKM_SVC_CTX_t* p_svc, return TSKM_E_OK; } - TSKM_PRINTF(TSKM_LOG_SVCSTATE, "DOWNREQ %s to %s(%d)", - tskm_convLocalStep2Str(p_req->localStep), p_svc->attr->name, - p_svc->pid); - ev.event = TSKM_EV_PRI_REQ_DOWN; ev.errCode = TSKM_E_OK; ev.prm.reqDown.localStep = p_req->localStep; diff --git a/task_manager/server/src/tskm_wakeup.cpp b/task_manager/server/src/tskm_wakeup.cpp index 5988e228..b5c6e896 100644 --- a/task_manager/server/src/tskm_wakeup.cpp +++ b/task_manager/server/src/tskm_wakeup.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/task_manager/server/src/tskm_watch.cpp b/task_manager/server/src/tskm_watch.cpp index 5ed9313c..455de0b3 100644 --- a/task_manager/server/src/tskm_watch.cpp +++ b/task_manager/server/src/tskm_watch.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. |