Use final specifier for all effects implementation classes. am: 6755d76d9d am: ef880df229

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2281902

Change-Id: Ib15863a897d9f73e5cd4c424e755ea01cea9a255
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Shunkai Yao 2022-11-02 03:52:59 +00:00 committed by Automerger Merge Worker
commit 1181505448
8 changed files with 16 additions and 16 deletions

View file

@ -26,7 +26,7 @@
namespace aidl::android::hardware::audio::effect {
class BassBoostSwContext : public EffectContext {
class BassBoostSwContext final : public EffectContext {
public:
BassBoostSwContext(int statusDepth, const Parameter::Common& common)
: EffectContext(statusDepth, common) {
@ -35,7 +35,7 @@ class BassBoostSwContext : public EffectContext {
// TODO: add specific context here
};
class BassBoostSw : public EffectImpl {
class BassBoostSw final : public EffectImpl {
public:
BassBoostSw() { LOG(DEBUG) << __func__; }
~BassBoostSw() {

View file

@ -26,7 +26,7 @@
namespace aidl::android::hardware::audio::effect {
class DynamicsProcessingSwContext : public EffectContext {
class DynamicsProcessingSwContext final : public EffectContext {
public:
DynamicsProcessingSwContext(int statusDepth, const Parameter::Common& common)
: EffectContext(statusDepth, common) {
@ -35,7 +35,7 @@ class DynamicsProcessingSwContext : public EffectContext {
// TODO: add specific context here
};
class DynamicsProcessingSw : public EffectImpl {
class DynamicsProcessingSw final : public EffectImpl {
public:
DynamicsProcessingSw() { LOG(DEBUG) << __func__; }
~DynamicsProcessingSw() {

View file

@ -26,7 +26,7 @@
namespace aidl::android::hardware::audio::effect {
class HapticGeneratorSwContext : public EffectContext {
class HapticGeneratorSwContext final : public EffectContext {
public:
HapticGeneratorSwContext(int statusDepth, const Parameter::Common& common)
: EffectContext(statusDepth, common) {
@ -35,7 +35,7 @@ class HapticGeneratorSwContext : public EffectContext {
// TODO: add specific context here
};
class HapticGeneratorSw : public EffectImpl {
class HapticGeneratorSw final : public EffectImpl {
public:
HapticGeneratorSw() { LOG(DEBUG) << __func__; }
~HapticGeneratorSw() {

View file

@ -26,7 +26,7 @@
namespace aidl::android::hardware::audio::effect {
class LoudnessEnhancerSwContext : public EffectContext {
class LoudnessEnhancerSwContext final : public EffectContext {
public:
LoudnessEnhancerSwContext(int statusDepth, const Parameter::Common& common)
: EffectContext(statusDepth, common) {
@ -35,7 +35,7 @@ class LoudnessEnhancerSwContext : public EffectContext {
// TODO: add specific context here
};
class LoudnessEnhancerSw : public EffectImpl {
class LoudnessEnhancerSw final : public EffectImpl {
public:
LoudnessEnhancerSw() { LOG(DEBUG) << __func__; }
~LoudnessEnhancerSw() {

View file

@ -26,7 +26,7 @@
namespace aidl::android::hardware::audio::effect {
class ReverbSwContext : public EffectContext {
class ReverbSwContext final : public EffectContext {
public:
ReverbSwContext(int statusDepth, const Parameter::Common& common)
: EffectContext(statusDepth, common) {
@ -35,7 +35,7 @@ class ReverbSwContext : public EffectContext {
// TODO: add specific context here
};
class ReverbSw : public EffectImpl {
class ReverbSw final : public EffectImpl {
public:
ReverbSw() { LOG(DEBUG) << __func__; }
~ReverbSw() {

View file

@ -26,7 +26,7 @@
namespace aidl::android::hardware::audio::effect {
class VirtualizerSwContext : public EffectContext {
class VirtualizerSwContext final : public EffectContext {
public:
VirtualizerSwContext(int statusDepth, const Parameter::Common& common)
: EffectContext(statusDepth, common) {
@ -35,7 +35,7 @@ class VirtualizerSwContext : public EffectContext {
// TODO: add specific context here
};
class VirtualizerSw : public EffectImpl {
class VirtualizerSw final : public EffectImpl {
public:
VirtualizerSw() { LOG(DEBUG) << __func__; }
~VirtualizerSw() {

View file

@ -26,7 +26,7 @@
namespace aidl::android::hardware::audio::effect {
class VisualizerSwContext : public EffectContext {
class VisualizerSwContext final : public EffectContext {
public:
VisualizerSwContext(int statusDepth, const Parameter::Common& common)
: EffectContext(statusDepth, common) {
@ -35,7 +35,7 @@ class VisualizerSwContext : public EffectContext {
// TODO: add specific context here
};
class VisualizerSw : public EffectImpl {
class VisualizerSw final : public EffectImpl {
public:
VisualizerSw() { LOG(DEBUG) << __func__; }
~VisualizerSw() {

View file

@ -26,7 +26,7 @@
namespace aidl::android::hardware::audio::effect {
class VolumeSwContext : public EffectContext {
class VolumeSwContext final : public EffectContext {
public:
VolumeSwContext(int statusDepth, const Parameter::Common& common)
: EffectContext(statusDepth, common) {
@ -35,7 +35,7 @@ class VolumeSwContext : public EffectContext {
// TODO: add specific context here
};
class VolumeSw : public EffectImpl {
class VolumeSw final : public EffectImpl {
public:
VolumeSw() { LOG(DEBUG) << __func__; }
~VolumeSw() {