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

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

Merge changes I96775dd4,I6e163c46,Id3065a85 into main

* changes:
  Rename api name and parameter type base on HAL feedback
  Return status for the setters API
  Remove send parameter API from IMediaQuality
parents b2ae164e e7c0ba02
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -34,12 +34,12 @@
package android.hardware.tv.mediaquality;
@VintfStability
parcelable AmbientBacklightSettings {
  String packageName;
  int uid;
  android.hardware.tv.mediaquality.AmbientBacklightSource source;
  int maxFramerate;
  android.hardware.graphics.common.PixelFormat colorFormat;
  int hZonesNumber;
  int vZonesNumber;
  boolean hasLetterbox;
  int threshold;
  int colorThreshold;
}
+0 −2
Original line number Diff line number Diff line
@@ -55,6 +55,4 @@ interface IMediaQuality {
  void sendDefaultSoundParameters(in android.hardware.tv.mediaquality.SoundParameters soundParameters);
  void getParamCaps(in android.hardware.tv.mediaquality.ParameterName[] paramNames, out android.hardware.tv.mediaquality.ParamCapability[] caps);
  void getVendorParamCaps(in android.hardware.tv.mediaquality.VendorParameterIdentifier[] names, out android.hardware.tv.mediaquality.VendorParamCapability[] caps);
  void sendPictureParameters(in android.hardware.tv.mediaquality.PictureParameters pictureParameters);
  void sendSoundParameters(in android.hardware.tv.mediaquality.SoundParameters soundParameters);
}
+1 −1
Original line number Diff line number Diff line
@@ -37,5 +37,5 @@ interface IPictureProfileAdjustmentListener {
  oneway void onPictureProfileAdjusted(in android.hardware.tv.mediaquality.PictureProfile pictureProfile);
  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 onRequestPictureParameters(long pictureProfileId);
  oneway void requestPictureParameters(long pictureProfileId);
}
+1 −1
Original line number Diff line number Diff line
@@ -37,5 +37,5 @@ interface ISoundProfileAdjustmentListener {
  oneway void onSoundProfileAdjusted(in android.hardware.tv.mediaquality.SoundProfile soundProfile);
  oneway void onParamCapabilityChanged(long soundProfileId, in android.hardware.tv.mediaquality.ParamCapability[] caps);
  oneway void onVendorParamCapabilityChanged(long soundProfileId, in android.hardware.tv.mediaquality.VendorParamCapability[] caps);
  oneway void onRequestSoundParameters(long SoundProfileId);
  oneway void requestSoundParameters(long SoundProfileId);
}
+2 −2
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ parcelable AmbientBacklightSettings {
    /**
     * The package name of the ambient backlight control application.
     */
    String packageName;
    int uid;

    /**
     * The source of the ambient backlight.
@@ -66,5 +66,5 @@ parcelable AmbientBacklightSettings {
     * the colorFormat. For example, RGB888, where the values of R/G/B range from 0 to 255,
     * and the threshold is a positive number within the same range.
     */
    int threshold;
    int colorThreshold;
}
Loading