1 /*
2  * Copyright (C) 2015 The Android Open Source Project
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 #ifndef ANDROID_VECHILE_TEST_PROPERTIES_H
17 #define ANDROID_VECHILE_TEST_PROPERTIES_H
18 
19 #include <stdint.h>
20 #include <sys/types.h>
21 
22 #include <hardware/hardware.h>
23 #include <hardware/vehicle.h>
24 
25 #define TEST_PROPERTY_STRING (VEHICLE_PROPERTY_CUSTOM_START + 1)
26 #define TEST_PROPERTY_BYTES (VEHICLE_PROPERTY_CUSTOM_START + 2)
27 #define TEST_PROPERTY_BOOLEAN (VEHICLE_PROPERTY_CUSTOM_START + 3)
28 #define TEST_PROPERTY_ZONED_INT32 (VEHICLE_PROPERTY_CUSTOM_START + 4)
29 #define TEST_PROPERTY_ZONED_FLOAT (VEHICLE_PROPERTY_CUSTOM_START + 5)
30 #define TEST_PROPERTY_ZONED_BOOLEAN (VEHICLE_PROPERTY_CUSTOM_START + 6)
31 #define TEST_PROPERTY_INT64 (VEHICLE_PROPERTY_CUSTOM_START + 7)
32 #define TEST_PROPERTY_FLOAT (VEHICLE_PROPERTY_CUSTOM_START + 8)
33 #define TEST_PROPERTY_FLOAT_VEC2 (VEHICLE_PROPERTY_CUSTOM_START + 9)
34 #define TEST_PROPERTY_FLOAT_VEC3 (VEHICLE_PROPERTY_CUSTOM_START + 10)
35 #define TEST_PROPERTY_FLOAT_VEC4 (VEHICLE_PROPERTY_CUSTOM_START + 11)
36 #define TEST_PROPERTY_INT32 (VEHICLE_PROPERTY_CUSTOM_START + 12)
37 #define TEST_PROPERTY_INT32_VEC2 (VEHICLE_PROPERTY_CUSTOM_START + 13)
38 #define TEST_PROPERTY_INT32_VEC3 (VEHICLE_PROPERTY_CUSTOM_START + 14)
39 #define TEST_PROPERTY_INT32_VEC4 (VEHICLE_PROPERTY_CUSTOM_START + 15)
40 
41 #endif /* ANDROID_VECHILE_TEST_PROPERTIES_H */
42