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 package android.car;
17 
18 import android.annotation.SystemApi;
19 import android.car.hardware.CarPropertyValue;
20 
21 /**
22  * VehicleZone is an abstraction for an area in a car. Some car APIs like
23  * {@link CarPropertyValue} needs to handle zone and values defined
24  * here should be used.
25  * @hide
26  */
27 @SystemApi
28 public final class VehicleZone {
29     public static final int ZONE_ROW_1_LEFT = 0x00000001;
30     public static final int ZONE_ROW_1_CENTER = 0x00000002;
31     public static final int ZONE_ROW_1_RIGHT = 0x00000004;
32     public static final int ZONE_ROW_1_ALL = 0x00000008;
33     public static final int ZONE_ROW_2_LEFT = 0x00000010;
34     public static final int ZONE_ROW_2_CENTER = 0x00000020;
35     public static final int ZONE_ROW_2_RIGHT = 0x00000040;
36     public static final int ZONE_ROW_2_ALL = 0x00000080;
37     public static final int ZONE_ROW_3_LEFT = 0x00000100;
38     public static final int ZONE_ROW_3_CENTER = 0x00000200;
39     public static final int ZONE_ROW_3_RIGHT = 0x00000400;
40     public static final int ZONE_ROW_3_ALL = 0x00000800;
41     public static final int ZONE_ROW_4_LEFT = 0x00001000;
42     public static final int ZONE_ROW_4_CENTER = 0x00002000;
43     public static final int ZONE_ROW_4_RIGHT = 0x00004000;
44     public static final int ZONE_ROW_4_ALL = 0x00008000;
45     public static final int ZONE_ALL = 0x80000000;
46 
VehicleZone()47     private VehicleZone() {}
48 }
49