aboutsummaryrefslogtreecommitdiff
path: root/car-lib/src/android/car/VehicleAreaDoor.java
diff options
context:
space:
mode:
authorKai <kwangsudo@google.com>2018-04-06 12:35:31 -0700
committerKai <kwangsudo@google.com>2018-04-09 16:41:32 -0700
commit92c8d88e3977f7f78b2c33e1ed49b1c24c7a7dcd (patch)
treec5fa246940c0125ba39bc1af68e41b93fec3f646 /car-lib/src/android/car/VehicleAreaDoor.java
parent46505531860c78bb8721cffad5c0f7a0809f696d (diff)
downloadCar-92c8d88e3977f7f78b2c33e1ed49b1c24c7a7dcd.tar.gz
Rename Vehicle Cabin Zones
Rename Vehicle Cabin zones and add test for VehicleAreaMirror Bug: 74208223 Test: Compiles and runtest Change-Id: If393dc4c73f1b602d170922e0c2b56f2994bd135 (cherry picked from commit 0f6a88b215e096275831c8ff2dcb8fa27f092627)
Diffstat (limited to 'car-lib/src/android/car/VehicleAreaDoor.java')
-rw-r--r--car-lib/src/android/car/VehicleAreaDoor.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/car-lib/src/android/car/VehicleAreaDoor.java b/car-lib/src/android/car/VehicleAreaDoor.java
new file mode 100644
index 0000000000..7b06e0d0a4
--- /dev/null
+++ b/car-lib/src/android/car/VehicleAreaDoor.java
@@ -0,0 +1,37 @@
+/*
+ * 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;
+
+/**
+ * VehicleAreaDoor is an abstraction for a door in a car. Some car APIs may provide control per
+ * door and values defined here should be used to distinguish different doors.
+ * @hide
+ */
+@SystemApi
+public final class VehicleAreaDoor {
+ public static final int DOOR_ROW_1_LEFT = 0x00000001;
+ public static final int DOOR_ROW_1_RIGHT = 0x00000004;
+ public static final int DOOR_ROW_2_LEFT = 0x00000010;
+ public static final int DOOR_ROW_2_RIGHT = 0x00000040;
+ public static final int DOOR_ROW_3_LEFT = 0x00000100;
+ public static final int DOOR_ROW_3_RIGHT = 0x00000400;
+ public static final int DOOR_HOOD = 0x10000000;
+ public static final int DOOR_REAR = 0x20000000;
+
+ private VehicleAreaDoor() {}
+}