aboutsummaryrefslogtreecommitdiff
path: root/car-lib/src/android/car/VehicleZone.java
blob: 780d82711f6efef9c814afd11e499d2e57f06750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 * Copyright (C) 2016 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package android.car;

import android.annotation.SystemApi;
import android.car.hardware.CarPropertyValue;

/**
 * VehicleZone is an abstraction for an area in a car. Some car APIs like
 * {@link CarPropertyValue} needs to handle zone and values defined
 * here should be used.
 * @hide
 */
@SystemApi
public final class VehicleZone {
    public static final int ZONE_ROW_1_LEFT = 0x00000001;
    public static final int ZONE_ROW_1_CENTER = 0x00000002;
    public static final int ZONE_ROW_1_RIGHT = 0x00000004;
    public static final int ZONE_ROW_1_ALL = 0x00000008;
    public static final int ZONE_ROW_2_LEFT = 0x00000010;
    public static final int ZONE_ROW_2_CENTER = 0x00000020;
    public static final int ZONE_ROW_2_RIGHT = 0x00000040;
    public static final int ZONE_ROW_2_ALL = 0x00000080;
    public static final int ZONE_ROW_3_LEFT = 0x00000100;
    public static final int ZONE_ROW_3_CENTER = 0x00000200;
    public static final int ZONE_ROW_3_RIGHT = 0x00000400;
    public static final int ZONE_ROW_3_ALL = 0x00000800;
    public static final int ZONE_ROW_4_LEFT = 0x00001000;
    public static final int ZONE_ROW_4_CENTER = 0x00002000;
    public static final int ZONE_ROW_4_RIGHT = 0x00004000;
    public static final int ZONE_ROW_4_ALL = 0x00008000;
    public static final int ZONE_ALL = 0x80000000;

    private VehicleZone() {}
}