aboutsummaryrefslogtreecommitdiffstats
path: root/ipc_unit_test/ipc_unit_test_common.c
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2021-04-15 11:17:32 +0000
committerNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2021-04-15 11:17:32 +0000
commit738c1d56adb80ac3623251a47a7c5f2d4db57193 (patch)
treeeba82b97376f605ba4ed92464fceeea71f4045cc /ipc_unit_test/ipc_unit_test_common.c
Initial commit for AGL cluster ipc library
This source code is AGL instrument cluster common ipc library. Currently, this source code is missing author information, license and other. Will be add by author. Author: Nozomu Abe (nozo_abe@nippon-seiki.co.jp) Committed by Naoto Yamaguchi. Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Diffstat (limited to 'ipc_unit_test/ipc_unit_test_common.c')
-rw-r--r--ipc_unit_test/ipc_unit_test_common.c83
1 files changed, 83 insertions, 0 deletions
diff --git a/ipc_unit_test/ipc_unit_test_common.c b/ipc_unit_test/ipc_unit_test_common.c
new file mode 100644
index 0000000..02416c2
--- /dev/null
+++ b/ipc_unit_test/ipc_unit_test_common.c
@@ -0,0 +1,83 @@
+#include <ipc.h>
+#include "ipc_unit_test_common.h"
+
+IPC_UNIT_TEST_DATA_LIST IcServiceList[] = {
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, turnR),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, turnL),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, brake),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, seatbelt),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, frontRightSeatbelt),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, frontCenterSeatbelt),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, frontLeftSeatbelt),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, mid1RightSeatbelt),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, mid1CenterSeatbelt),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, mid1LeftSeatbelt),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, mid2RightSeatbelt),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, mid2CenterSeatbelt),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, mid2LeftSeatbelt),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, rearRightSeatbelt),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, rearCenterSeatbelt),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, rearLeftSeatbelt),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, highbeam),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, door),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, frontRightDoor),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, frontLeftDoor),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, rearRightDoor),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, rearLeftDoor),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, trunkDoor),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, hoodDoor),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, eps),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, srsAirbag),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, abs),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, lowBattery),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, oilPress),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, engine),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, fuel),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, immobi),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, tmFail),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, espAct),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, espOff),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, adaptingLighting),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, autoStop),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, autoStopFail),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, parkingLights),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, frontFog),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, exteriorLightFault),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, accFail),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, ldwOff),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, hillDescent),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, autoHiBeamGreen),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, autoHiBeamAmber),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, sportsMode),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, ldwOperate),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, generalWarn),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, drivingPowerMode),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, hotTemp),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, lowTemp),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, gearAtVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, gearMtVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, spAnalogVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, spAnaDigUnitVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, taAnalogVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, trcomTripAVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, trcomTripBVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, trcomOdoVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, trcomUnitVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, avgSpeedAVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, avgSpeedBVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, hourAVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, hourBVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, minuteAVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, minuteBVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, secondAVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, secondBVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, oTempVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, oTempUnitVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, cruRangeVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, avgFuelAVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, avgFuelBVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, insFuelAVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, insFuelBVal),
+ DEFINE_STRUCT_DATA(IPC_DATA_IC_SERVICE_S, fuelEconomyUnitVal)
+};
+