diff options
Diffstat (limited to 'systemservice/task_manager/client/libtskmcfg/include/system_service')
3 files changed, 0 insertions, 272 deletions
diff --git a/systemservice/task_manager/client/libtskmcfg/include/system_service/task_manager_libtskmcfg.h b/systemservice/task_manager/client/libtskmcfg/include/system_service/task_manager_libtskmcfg.h deleted file mode 100755 index c042fc8..0000000 --- a/systemservice/task_manager/client/libtskmcfg/include/system_service/task_manager_libtskmcfg.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * @copyright Copyright (c) 2017-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. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * @file task_manager_libtskmcfg.h - * @brief \~english This file include tskm_svcid.h file and tskm_xml_data.h file - */ -/** @addtogroup BaseSystem - * @{ - */ -/** @addtogroup system_service - * @ingroup BaseSystem - * @{ - */ -/** @addtogroup task_manager - * @ingroup system_service - * @{ - */ -#ifndef SYSTEMSERVICE_TASKMNAGERLIBTASKMCFG_H_ // NOLINT(build/header_guard) -#define SYSTEMSERVICE_TASKMNAGERLIBTASKMCFG_H_ - -#include "system_service/tskm_svcid.h" -#include "system_service/tskm_xml_data.h" - -#endif // SYSTEMSERVICE_TASKMNAGERLIBTASKMCFG_H_ -/** @}*/ -/** @}*/ -/** @}*/ diff --git a/systemservice/task_manager/client/libtskmcfg/include/system_service/tskm_svcid.h b/systemservice/task_manager/client/libtskmcfg/include/system_service/tskm_svcid.h deleted file mode 100755 index d8f3e3d..0000000 --- a/systemservice/task_manager/client/libtskmcfg/include/system_service/tskm_svcid.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * @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. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * @file tskm_svcid.h - * @brief \~english This file contains declaration of TSKM_SVC ID - */ -/** @addtogroup BaseSystem - * @{ - */ -/** @addtogroup system_service - * @ingroup BaseSystem - * @{ - */ -/** @addtogroup task_manager - * @ingroup system_service - * @{ - */ -/* - * Service ID - */ -#ifndef TASK_MANAGER_CLIENT_LIBTSKMCFG_INCLUDE_SYSTEM_SERVICE_TSKM_SVCID_H_ -#define TASK_MANAGER_CLIENT_LIBTSKMCFG_INCLUDE_SYSTEM_SERVICE_TSKM_SVCID_H_ - - -#define TSKM_SVCID_NONE 0x00000000U -#define TSKM_SVCID_TE_RESIDENT 0x00000001U // for test -#define TSKM_SVCID_TE_TRANSIENT 0x00000002U // for test -#define TSKM_SVCID_ACTIVITYMGR 0x00000003U -#define TSKM_SVCID_SYSVUP 0x00000004U // for vup -#define TSKM_SVCID__CWORD52_VUP 0x00000005U // for vup -#define TSKM_SVCID_ROOTFSVUP 0x00000006U // for vup -#define TSKM_SVCID_VUPPROGUI 0x00000007U // for vup -#define TSKM_SVCID_NORVUP 0x00000008U // for vup -#define TSKM_SVCID__CWORD58_ 0x00000009U // for _CWORD76_ -#define TSKM_SVCID_SYSUPDATE 0x0000000AU // for repro vup -#define TSKM_SVCID_NANDUPDATE 0x0000000BU // for repro vup -#define TSKM_SVCID_BTPHONESRV 0x0000000CU -#define TSKM_SVCID_BTPBKSRV 0x0000000DU -#define TSKM_SVCID_BTMSGSRV 0x0000000EU -#define TSKM_SVCID_DTVVUPSRV 0x0000000FU // fot peaks vup -#define TSKM_SVCID_XMVUPSRV 0x00000020U // fot XM_outer_update vup - -#endif // TASK_MANAGER_CLIENT_LIBTSKMCFG_INCLUDE_SYSTEM_SERVICE_TSKM_SVCID_H_ -/** @}*/ -/** @}*/ -/** @}*/ diff --git a/systemservice/task_manager/client/libtskmcfg/include/system_service/tskm_xml_data.h b/systemservice/task_manager/client/libtskmcfg/include/system_service/tskm_xml_data.h deleted file mode 100755 index 0c8b75b..0000000 --- a/systemservice/task_manager/client/libtskmcfg/include/system_service/tskm_xml_data.h +++ /dev/null @@ -1,173 +0,0 @@ -/* - * @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. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * @file tskm_xml_data.h - * @brief \~english This file provide api to operating task manager with XML data - */ -/** @addtogroup BaseSystem - * @{ - */ -/** @addtogroup system_service - * @ingroup BaseSystem - * @{ - */ -/** @addtogroup task_manager - * @ingroup system_service - * @{ - */ -#ifndef TASK_MANAGER_CLIENT_LIBTSKMCFG_INCLUDE_SYSTEM_SERVICE_TSKM_XML_DATA_H_ -#define TASK_MANAGER_CLIENT_LIBTSKMCFG_INCLUDE_SYSTEM_SERVICE_TSKM_XML_DATA_H_ - -#include "system_service/tskm_type.h" -#include "system_service/tskm_svc.h" - - -#ifdef __cplusplus -extern "C" { -#endif - - ///////////////////////////////////////////////////////////////////////////////////// - /// \ingroup tskm_initServiceList - /// \~english @par Summary - /// init started services list - /// \~english @param [out] p_svcs - /// p_svcs - pointer of service list - /// \~english @par - /// p_svcs TSKM_SVCS_CTX_t* - /// \~english @code - /// typedef struct { - /// uint32_t svcNum; // service num - /// TSKM_SVC_CTX_t *svcList; // services list pointer - /// } TSKM_SVCS_CTX_t; - /// @endcode - /// \~english @param [in] iFd - /// iFd - the file descriptor return by inotify_init1(). - /// \~english @par - /// p_svcs int - /// \~english @retval 0 Success - /// \~english @retval -1 Failed - /// \~english @par Preconditions - /// - called in the ctxCreate() - /// \~english @par Change of the internal state - /// - The internal state is not changed. - /// \~english @par Causes of failures - /// - if srvId in serviceList greater than TSKM_SVC_ID_MAX_SIZE. [-1] - /// \~english @par Classification - /// - public - /// \~english @par Type - /// - sync only - /// \~english @par Detail - /// Init started services list\n - /// Get the started services list from static variable serviceList and init by input parameter iFd\n - /// If envirment is NFS, change the path after /tmp to CAP path.\n - /// - /// \~english @see None - //////////////////////////////////////////////////////////////////////////////////// -int tskm_initServiceList(TSKM_SVCS_CTX_t* p_svcs, int iFd); - - ///////////////////////////////////////////////////////////////////////////////////// - /// \ingroup tskm_initWakeupCtx - /// \~english @par Summary - /// Get state of started step. - /// \~english @param [out] p_wakeup - /// p_wakeup - pointer of TSKM_GSTEP_CTX_t - /// \~english @par - /// p_wakeup TSKM_GSTEP_CTX_t* - /// \~english @code - /// typedef struct { - /// uint32_t gstepIdx; // step Index - /// uint32_t gstepNum; // number of step - /// TSKM_GSTEP_t* gstep; // step start/stop info - /// uint64_t compState; - /// } TSKM_GSTEP_CTX_t; - /// @endcode - /// \~english @param [in] isVupMode - /// isVupMode - version up flag - /// \~english @par - /// isVupMode BOOL - /// TRUE version up mode - /// FALSE not versoin up mode - /// \~english @retval void - /// - /// \~english @par Preconditions - /// - called in ctxCreate() - /// \~english @par Change of the internal state - /// - The internal state is not changed. - /// \~english @par Causes of failures - /// - none - /// \~english @par Classification - /// - public - /// \~english @par Type - /// - sync only - /// \~english @par Detail - /// Get state of started step.\n - /// if version up mode is TRUE, retrun the wakeupGstepVup.\n - /// if version up mode is FALSE, return the wakeupGstep.\n - /// - /// \~english @see None - //////////////////////////////////////////////////////////////////////////////////// -void tskm_initWakeupCtx(TSKM_GSTEP_CTX_t* p_wakeup, BOOL isVupMode); - - - ///////////////////////////////////////////////////////////////////////////////////// - /// \ingroup tskm_initDownCtx - /// \~english @par Summary - /// Get state of down step. - /// \~english @param [out] p_down - /// p_down - pointer of TSKM_GSTEP_CTX_t - /// \~english @par - /// p_wakeup TSKM_GSTEP_CTX_t* - /// \~english @code - /// typedef struct { - /// uint32_t gstepIdx; // step Index - /// uint32_t gstepNum; // number of step - /// TSKM_GSTEP_t* gstep; // step start/stop info - /// uint64_t compState; - /// } TSKM_GSTEP_CTX_t; - /// @endcode - /// \~english @param [in] isVupMode - /// isVupMode - version up mode flag - /// \~english @par - /// isVupMode BOOL - /// TRUE version up mode - /// FALSE not versoin up mode - /// \~english @retval - /// \~english @par Preconditions - /// - called in ctxCreate(). - /// \~english @par Change of the internal state - /// - The internal state is not changed. - /// \~english @par Causes of failures - /// - none - /// \~english @par Classification - /// - public - /// \~english @par Type - /// - sync only - /// \~english @par Detail - /// Get state of down step.\n - /// if version up mode is TRUE, retrun the downGstepVup.\n - /// if version up mode is FALSE, return the downGstep.\n - /// \~english @see None - //////////////////////////////////////////////////////////////////////////////////// -void tskm_initDownCtx(TSKM_GSTEP_CTX_t* p_down, BOOL isVupMode); - -#ifdef __cplusplus -} -#endif - -#endif // TASK_MANAGER_CLIENT_LIBTSKMCFG_INCLUDE_SYSTEM_SERVICE_TSKM_XML_DATA_H_ -/** @}*/ -/** @}*/ -/** @}*/ |