diff options
Diffstat (limited to 'automotive/vehicle/2.1/default/impl/vhal_v2_1/DefaultConfig.h')
-rw-r--r-- | automotive/vehicle/2.1/default/impl/vhal_v2_1/DefaultConfig.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/automotive/vehicle/2.1/default/impl/vhal_v2_1/DefaultConfig.h b/automotive/vehicle/2.1/default/impl/vhal_v2_1/DefaultConfig.h new file mode 100644 index 00000000..ab08cece --- /dev/null +++ b/automotive/vehicle/2.1/default/impl/vhal_v2_1/DefaultConfig.h | |||
@@ -0,0 +1,47 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2016 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 | |||
17 | #ifndef android_hardware_automotive_vehicle_V2_1_impl_DefaultConfig_H_ | ||
18 | #define android_hardware_automotive_vehicle_V2_1_impl_DefaultConfig_H_ | ||
19 | |||
20 | #include <android/hardware/automotive/vehicle/2.1/types.h> | ||
21 | #include <vhal_v2_0/VehicleUtils.h> | ||
22 | |||
23 | namespace android { | ||
24 | namespace hardware { | ||
25 | namespace automotive { | ||
26 | namespace vehicle { | ||
27 | namespace V2_1 { | ||
28 | |||
29 | namespace impl { | ||
30 | |||
31 | const V2_0::VehiclePropConfig kVehicleProperties[] = { | ||
32 | { | ||
33 | .prop = V2_0::toInt(V2_1::VehicleProperty::WHEEL_TICK), | ||
34 | .access = V2_0::VehiclePropertyAccess::READ, | ||
35 | .changeMode = V2_0::VehiclePropertyChangeMode::CONTINUOUS, | ||
36 | } | ||
37 | }; | ||
38 | |||
39 | } // impl | ||
40 | |||
41 | } // namespace V2_1 | ||
42 | } // namespace vehicle | ||
43 | } // namespace automotive | ||
44 | } // namespace hardware | ||
45 | } // namespace android | ||
46 | |||
47 | #endif // android_hardware_automotive_vehicle_V2_1_impl_DefaultConfig_H_ | ||