Home | History | Annotate | Download | only in car
      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 
     20 /**
     21  * VehicleDoor is an abstraction for a door in a car. Some car APIs may provide control per
     22  * door and values defined here should be used to distinguish different doors.
     23  * @hide
     24  */
     25 @SystemApi
     26 public final class VehicleDoor {
     27     public static final int DOOR_ROW_1_LEFT = 0x00000001;
     28     public static final int DOOR_ROW_1_RIGHT = 0x00000004;
     29     public static final int DOOR_ROW_2_LEFT = 0x00000010;
     30     public static final int DOOR_ROW_2_RIGHT = 0x00000040;
     31     public static final int DOOR_ROW_3_LEFT = 0x00000100;
     32     public static final int DOOR_ROW_3_RIGHT = 0x00000400;
     33     public static final int DOOR_HOOD = 0x10000000;
     34     public static final int DOOR_REAR = 0x20000000;
     35 
     36     private VehicleDoor() {}
     37 }
     38