Init basesystem source codes.
[staging/basesystem.git] / video_in_hal / systemservice / interface_unified / library / include / system_service / ss_power_service_local.h
1 /*
2  * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 /**
18  * @file ss_power_service_local.h
19  * @brief \~english This file supports the Power Service interface.
20  */
21 /** @addtogroup BaseSystem
22  *  @{
23  */
24 /** @addtogroup system_service
25  *  @ingroup BaseSystem
26  *  @{
27  */
28 /** @addtogroup interface_unified
29  *  @ingroup system_service
30  *  @{
31  */
32 #ifndef SS_POWER_SERVICE_LOCAL_H_  // NOLINT (build/header_guard)
33 #define SS_POWER_SERVICE_LOCAL_H_
34
35
36 #include <native_service/frameworkunified_types.h>
37 #include <map>
38 #include "system_service/ss_system_types.h"
39
40
41
42
43
44 const UI_32  MaxTestCaseName = 128;
45 const UI_32  MaxRespMsg      = 2048;
46
47 typedef enum _PwLVIStatus {
48   ePwSrvLVI_Status_InActive,
49   ePwSrvLVI_Status_Active
50 } PowerSrvLVIStatus, EPWER_LVI_STATUS;
51
52 typedef struct _PwCompleteAck {
53   UI_16 unSessionId;
54   CHAR  szServiceName[MAX_QUEUE_NAME_SIZE];
55 } StartCompleteAck;
56
57 typedef struct _SS_PSCurrentState {
58   CHAR  testCaseId[MaxTestCaseName];
59   CHAR  printRespmsg[MaxRespMsg];
60 }SS_PSCurrentState;
61
62
63 #endif /* SS_POWER_SERVICE_LOCAL_H_ */  // NOLINT (build/header_guard)
64 /** @}*/  // end of power_service
65 /** @}*/  // end of SystemService
66 /** @}*/  // end of BaseSystem