Loading tv/mediaquality/aidl/aidl_api/android.hardware.tv.mediaquality/current/android/hardware/tv/mediaquality/IMediaQuality.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -55,4 +55,6 @@ 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); } tv/mediaquality/aidl/android/hardware/tv/mediaquality/IMediaQuality.aidl +16 −0 Original line number Diff line number Diff line Loading @@ -207,4 +207,20 @@ interface IMediaQuality { * Gets vendor capability information of the given parameters. */ void getVendorParamCaps(in VendorParameterIdentifier[] names, out VendorParamCapability[] caps); /** * When HAL request picture parameters by picture profile id, the framework will use this to * send the picture parameters associate with the profile id. * * @param pictureParameters pictureParameters that associate with the profile id HAL provided. */ void sendPictureParameters(in PictureParameters pictureParameters); /** * When HAL request sound parameters by sound profile id, the framework will use this to * send the sound parameters associate with the profile id. * * @param soundParameters soundParameters that associate with the profile id HAL provided. */ void sendSoundParameters(in SoundParameters soundParameters); } tv/mediaquality/aidl/default/hal/media_quality_hal_impl.rs +10 −0 Original line number Diff line number Diff line Loading @@ -265,4 +265,14 @@ impl IMediaQuality for MediaQualityService { println!("getVendorParamCaps. len= {}", param_names.len()); Ok(()) } fn sendPictureParameters(&self, _picture_parameters: &PictureParameters) -> binder::Result<()>{ println!("Received picture parameters"); Ok(()) } fn sendSoundParameters(&self, _sound_parameters: &SoundParameters) -> binder::Result<()>{ println!("Received sound parameters"); Ok(()) } } Loading
tv/mediaquality/aidl/aidl_api/android.hardware.tv.mediaquality/current/android/hardware/tv/mediaquality/IMediaQuality.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -55,4 +55,6 @@ 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); }
tv/mediaquality/aidl/android/hardware/tv/mediaquality/IMediaQuality.aidl +16 −0 Original line number Diff line number Diff line Loading @@ -207,4 +207,20 @@ interface IMediaQuality { * Gets vendor capability information of the given parameters. */ void getVendorParamCaps(in VendorParameterIdentifier[] names, out VendorParamCapability[] caps); /** * When HAL request picture parameters by picture profile id, the framework will use this to * send the picture parameters associate with the profile id. * * @param pictureParameters pictureParameters that associate with the profile id HAL provided. */ void sendPictureParameters(in PictureParameters pictureParameters); /** * When HAL request sound parameters by sound profile id, the framework will use this to * send the sound parameters associate with the profile id. * * @param soundParameters soundParameters that associate with the profile id HAL provided. */ void sendSoundParameters(in SoundParameters soundParameters); }
tv/mediaquality/aidl/default/hal/media_quality_hal_impl.rs +10 −0 Original line number Diff line number Diff line Loading @@ -265,4 +265,14 @@ impl IMediaQuality for MediaQualityService { println!("getVendorParamCaps. len= {}", param_names.len()); Ok(()) } fn sendPictureParameters(&self, _picture_parameters: &PictureParameters) -> binder::Result<()>{ println!("Received picture parameters"); Ok(()) } fn sendSoundParameters(&self, _sound_parameters: &SoundParameters) -> binder::Result<()>{ println!("Received sound parameters"); Ok(()) } }