Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 291f6828 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add APIs for the sensor embedded data"

parents 597ffa09 08a8a722
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -40,4 +40,8 @@ parcelable BufferDesc {
  @utf8InCpp String deviceId;
  long timestamp;
  byte[] metadata;
  @nullable android.hardware.automotive.evs.ExposureParameters[] exposureSettings;
  @nullable android.hardware.automotive.evs.Histogram[] histograms;
  @nullable android.hardware.automotive.evs.GridStatistics[] grids;
  @nullable android.hardware.automotive.evs.EmbeddedData embeddedData;
}
+12 −12
Original line number Diff line number Diff line
@@ -34,16 +34,16 @@
package android.hardware.automotive.evs;
@Backing(type="int") @VintfStability
enum CameraParam {
  BRIGHTNESS = 0,
  CONTRAST = 1,
  AUTOGAIN = 2,
  GAIN = 3,
  AUTO_WHITE_BALANCE = 4,
  WHITE_BALANCE_TEMPERATURE = 5,
  SHARPNESS = 6,
  AUTO_EXPOSURE = 7,
  ABSOLUTE_EXPOSURE = 8,
  ABSOLUTE_FOCUS = 9,
  AUTO_FOCUS = 10,
  ABSOLUTE_ZOOM = 11,
  BRIGHTNESS,
  CONTRAST,
  AUTOGAIN,
  GAIN,
  AUTO_WHITE_BALANCE,
  WHITE_BALANCE_TEMPERATURE,
  SHARPNESS,
  AUTO_EXPOSURE,
  ABSOLUTE_EXPOSURE,
  ABSOLUTE_FOCUS,
  AUTO_FOCUS,
  ABSOLUTE_ZOOM,
}
+41 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2023 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.
 */
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE.                          //
///////////////////////////////////////////////////////////////////////////////

// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
//     the interface (from the latest frozen version), the build system will
//     prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.automotive.evs;
@Backing(type="int") @VintfStability
enum ColorChannel {
  R,
  G_EVEN,
  B,
  G_ODD_OR_Y,
}
+4 −4
Original line number Diff line number Diff line
@@ -34,8 +34,8 @@
package android.hardware.automotive.evs;
@Backing(type="int") @VintfStability
enum DeviceStatusType {
  CAMERA_AVAILABLE = 0,
  CAMERA_NOT_AVAILABLE = 1,
  DISPLAY_AVAILABLE = 2,
  DISPLAY_NOT_AVAILABLE = 3,
  CAMERA_AVAILABLE,
  CAMERA_NOT_AVAILABLE,
  DISPLAY_AVAILABLE,
  DISPLAY_NOT_AVAILABLE,
}
+4 −4
Original line number Diff line number Diff line
@@ -35,8 +35,8 @@ package android.hardware.automotive.evs;
@Backing(type="int") @VintfStability
enum DisplayState {
  NOT_OPEN = 0,
  NOT_VISIBLE = 1,
  VISIBLE_ON_NEXT_FRAME = 2,
  VISIBLE = 3,
  DEAD = 4,
  NOT_VISIBLE,
  VISIBLE_ON_NEXT_FRAME,
  VISIBLE,
  DEAD,
}
Loading