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

Commit 240075d8 authored by Haofan Wang's avatar Haofan Wang Committed by Android (Google) Code Review
Browse files

Merge changes Ib793b6ec,I8bebeaa4 into main

* changes:
  Add notify status change api per vendor request
  Add more parameters for picture and audio per vendor request
parents e1b5d4b9 776b6c87
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ parcelable DolbyAudioProcessing {
  android.hardware.tv.mediaquality.DolbyAudioProcessing.SoundMode soundMode;
  boolean volumeLeveler;
  boolean surroundVirtualizer;
  boolean doblyAtmos;
  boolean dolbyAtmos;
  enum SoundMode {
    GAME,
    MOVIE,
+1 −0
Original line number Diff line number Diff line
@@ -38,4 +38,5 @@ interface IPictureProfileAdjustmentListener {
  oneway void onParamCapabilityChanged(long pictureProfileId, in android.hardware.tv.mediaquality.ParamCapability[] caps);
  oneway void onVendorParamCapabilityChanged(long pictureProfileId, in android.hardware.tv.mediaquality.VendorParamCapability[] caps);
  oneway void requestPictureParameters(long pictureProfileId);
  oneway void onStreamStatusChanged(long pictureProfileId, android.hardware.tv.mediaquality.StreamStatus status);
}
+43 −0
Original line number Diff line number Diff line
@@ -71,4 +71,47 @@ union PictureParameter {
  int panelInitMaxLuminceNits;
  boolean panelInitMaxLuminceValid;
  android.hardware.tv.mediaquality.Gamma gamma;
  int colorTemperatureRedGain;
  int colorTemperatureGreenGain;
  int colorTemperatureBlueGain;
  int colorTemperatureRedOffset;
  int colorTemperatureGreenOffset;
  int colorTemperatureBlueOffset;
  int[11] elevenPointRed;
  int[11] elevenPointGreen;
  int[11] elevenPointBlue;
  android.hardware.tv.mediaquality.QualityLevel lowBlueLight;
  android.hardware.tv.mediaquality.QualityLevel LdMode;
  int osdRedGain;
  int osdGreenGain;
  int osdBlueGain;
  int osdRedOffset;
  int osdGreenOffset;
  int osdBlueOffset;
  int osdHue;
  int osdSaturation;
  int osdContrast;
  boolean colorTunerSwitch;
  int colorTunerHueRed;
  int colorTunerHueGreen;
  int colorTunerHueBlue;
  int colorTunerHueCyan;
  int colorTunerHueMagenta;
  int colorTunerHueYellow;
  int colorTunerHueFlesh;
  int colorTunerSaturationRed;
  int colorTunerSaturationGreen;
  int colorTunerSaturationBlue;
  int colorTunerSaturationCyan;
  int colorTunerSaturationMagenta;
  int colorTunerSaturationYellow;
  int colorTunerSaturationFlesh;
  int colorTunerLuminanceRed;
  int colorTunerLuminanceGreen;
  int colorTunerLuminanceBlue;
  int colorTunerLuminanceCyan;
  int colorTunerLuminanceMagenta;
  int colorTunerLuminanceYellow;
  int colorTunerLuminanceFlesh;
  boolean activeProfile;
}
+1 −0
Original line number Diff line number Diff line
@@ -50,4 +50,5 @@ union SoundParameter {
  @nullable android.hardware.tv.mediaquality.DtsVirtualX dtsVirtualX;
  android.hardware.tv.mediaquality.DigitalOutput digitalOutput;
  int digitalOutputDelayMs;
  boolean activeProfile;
}
+54 −0
Original line number Diff line number Diff line
/*
 * Copyright 2024 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.tv.mediaquality;
@VintfStability
enum StreamStatus {
  SDR,
  DOLBYVISION,
  HDR10,
  TCH,
  HLG,
  HDR10PLUS,
  HDRVIVID,
  IMAXSDR,
  IMAXHDR10,
  IMAXHDR10PLUS,
  FMMSDR,
  FMMHDR10,
  FMMHDR10PLUS,
  FMMHLG,
  FMMDOLBY,
  FMMTCH,
  FMMHDRVIVID,
}
Loading