diff options
-rw-r--r-- | legacymm/AdaptiveBacklight.cpp | 47 | ||||
-rw-r--r-- | legacymm/AdaptiveBacklight.h | 56 | ||||
-rw-r--r-- | legacymm/Android.bp | 6 | ||||
-rw-r--r-- | legacymm/AutoContrast.cpp | 47 | ||||
-rw-r--r-- | legacymm/AutoContrast.h | 56 | ||||
-rw-r--r-- | legacymm/ColorEnhancement.cpp | 47 | ||||
-rw-r--r-- | legacymm/ColorEnhancement.h | 56 | ||||
-rw-r--r-- | legacymm/DisplayColorCalibration.cpp | 57 | ||||
-rw-r--r-- | legacymm/DisplayColorCalibration.h | 58 | ||||
-rw-r--r-- | legacymm/ReadingEnhancement.cpp | 47 | ||||
-rw-r--r-- | legacymm/ReadingEnhancement.h | 56 | ||||
-rw-r--r-- | legacymm/SunlightEnhancement.cpp | 47 | ||||
-rw-r--r-- | legacymm/SunlightEnhancement.h | 56 |
13 files changed, 0 insertions, 636 deletions
diff --git a/legacymm/AdaptiveBacklight.cpp b/legacymm/AdaptiveBacklight.cpp deleted file mode 100644 index 20f05cf..0000000 --- a/legacymm/AdaptiveBacklight.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2019 The LineageOS 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. - */ - -#include "AdaptiveBacklight.h" - -namespace vendor { -namespace lineage { -namespace livedisplay { -namespace V2_0 { -namespace legacymm { - -// Methods from ::vendor::lineage::livedisplay::V2_0::IAdaptiveBacklight follow. -Return<bool> AdaptiveBacklight::isEnabled() { - // TODO implement - return bool {}; -} - -Return<bool> AdaptiveBacklight::setEnabled(bool enabled) { - // TODO implement - return bool {}; -} - - -// Methods from ::android::hidl::base::V1_0::IBase follow. - -//IAdaptiveBacklight* HIDL_FETCH_IAdaptiveBacklight(const char* /* name */) { - //return new AdaptiveBacklight(); -//} -// -} // namespace legacymm -} // namespace V2_0 -} // namespace livedisplay -} // namespace lineage -} // namespace vendor diff --git a/legacymm/AdaptiveBacklight.h b/legacymm/AdaptiveBacklight.h deleted file mode 100644 index 7fead9a..0000000 --- a/legacymm/AdaptiveBacklight.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2019 The LineageOS 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. - */ - -#ifndef VENDOR_LINEAGE_LIVEDISPLAY_V2_0_ADAPTIVEBACKLIGHT_H -#define VENDOR_LINEAGE_LIVEDISPLAY_V2_0_ADAPTIVEBACKLIGHT_H - -#include <vendor/lineage/livedisplay/2.0/IAdaptiveBacklight.h> -#include <hidl/MQDescriptor.h> -#include <hidl/Status.h> - -namespace vendor { -namespace lineage { -namespace livedisplay { -namespace V2_0 { -namespace legacymm { - -using ::android::hardware::hidl_array; -using ::android::hardware::hidl_memory; -using ::android::hardware::hidl_string; -using ::android::hardware::hidl_vec; -using ::android::hardware::Return; -using ::android::hardware::Void; -using ::android::sp; - -struct AdaptiveBacklight : public IAdaptiveBacklight { - // Methods from ::vendor::lineage::livedisplay::V2_0::IAdaptiveBacklight follow. - Return<bool> isEnabled() override; - Return<bool> setEnabled(bool enabled) override; - - // Methods from ::android::hidl::base::V1_0::IBase follow. - -}; - -// FIXME: most likely delete, this is only for passthrough implementations -// extern "C" IAdaptiveBacklight* HIDL_FETCH_IAdaptiveBacklight(const char* name); - -} // namespace legacymm -} // namespace V2_0 -} // namespace livedisplay -} // namespace lineage -} // namespace vendor - -#endif // VENDOR_LINEAGE_LIVEDISPLAY_V2_0_ADAPTIVEBACKLIGHT_H diff --git a/legacymm/Android.bp b/legacymm/Android.bp index 276c386..701bb51 100644 --- a/legacymm/Android.bp +++ b/legacymm/Android.bp @@ -28,15 +28,9 @@ cc_library_shared { // on AOSP. proprietary: true, srcs: [ - "AdaptiveBacklight.cpp", - "AutoContrast.cpp", "ColorBalance.cpp", - "ColorEnhancement.cpp", - "DisplayColorCalibration.cpp", "DisplayModes.cpp", "PictureAdjustment.cpp", - "ReadingEnhancement.cpp", - "SunlightEnhancement.cpp", ], shared_libs: [ "libhidlbase", diff --git a/legacymm/AutoContrast.cpp b/legacymm/AutoContrast.cpp deleted file mode 100644 index 25dff24..0000000 --- a/legacymm/AutoContrast.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2019 The LineageOS 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. - */ - -#include "AutoContrast.h" - -namespace vendor { -namespace lineage { -namespace livedisplay { -namespace V2_0 { -namespace legacymm { - -// Methods from ::vendor::lineage::livedisplay::V2_0::IAutoContrast follow. -Return<bool> AutoContrast::isEnabled() { - // TODO implement - return bool {}; -} - -Return<bool> AutoContrast::setEnabled(bool enabled) { - // TODO implement - return bool {}; -} - - -// Methods from ::android::hidl::base::V1_0::IBase follow. - -//IAutoContrast* HIDL_FETCH_IAutoContrast(const char* /* name */) { - //return new AutoContrast(); -//} -// -} // namespace legacymm -} // namespace V2_0 -} // namespace livedisplay -} // namespace lineage -} // namespace vendor diff --git a/legacymm/AutoContrast.h b/legacymm/AutoContrast.h deleted file mode 100644 index 12a5546..0000000 --- a/legacymm/AutoContrast.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2019 The LineageOS 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. - */ - -#ifndef VENDOR_LINEAGE_LIVEDISPLAY_V2_0_AUTOCONTRAST_H -#define VENDOR_LINEAGE_LIVEDISPLAY_V2_0_AUTOCONTRAST_H - -#include <vendor/lineage/livedisplay/2.0/IAutoContrast.h> -#include <hidl/MQDescriptor.h> -#include <hidl/Status.h> - -namespace vendor { -namespace lineage { -namespace livedisplay { -namespace V2_0 { -namespace legacymm { - -using ::android::hardware::hidl_array; -using ::android::hardware::hidl_memory; -using ::android::hardware::hidl_string; -using ::android::hardware::hidl_vec; -using ::android::hardware::Return; -using ::android::hardware::Void; -using ::android::sp; - -struct AutoContrast : public IAutoContrast { - // Methods from ::vendor::lineage::livedisplay::V2_0::IAutoContrast follow. - Return<bool> isEnabled() override; - Return<bool> setEnabled(bool enabled) override; - - // Methods from ::android::hidl::base::V1_0::IBase follow. - -}; - -// FIXME: most likely delete, this is only for passthrough implementations -// extern "C" IAutoContrast* HIDL_FETCH_IAutoContrast(const char* name); - -} // namespace legacymm -} // namespace V2_0 -} // namespace livedisplay -} // namespace lineage -} // namespace vendor - -#endif // VENDOR_LINEAGE_LIVEDISPLAY_V2_0_AUTOCONTRAST_H diff --git a/legacymm/ColorEnhancement.cpp b/legacymm/ColorEnhancement.cpp deleted file mode 100644 index 723025b..0000000 --- a/legacymm/ColorEnhancement.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2019 The LineageOS 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. - */ - -#include "ColorEnhancement.h" - -namespace vendor { -namespace lineage { -namespace livedisplay { -namespace V2_0 { -namespace legacymm { - -// Methods from ::vendor::lineage::livedisplay::V2_0::IColorEnhancement follow. -Return<bool> ColorEnhancement::isEnabled() { - // TODO implement - return bool {}; -} - -Return<bool> ColorEnhancement::setEnabled(bool enabled) { - // TODO implement - return bool {}; -} - - -// Methods from ::android::hidl::base::V1_0::IBase follow. - -//IColorEnhancement* HIDL_FETCH_IColorEnhancement(const char* /* name */) { - //return new ColorEnhancement(); -//} -// -} // namespace legacymm -} // namespace V2_0 -} // namespace livedisplay -} // namespace lineage -} // namespace vendor diff --git a/legacymm/ColorEnhancement.h b/legacymm/ColorEnhancement.h deleted file mode 100644 index e560a9c..0000000 --- a/legacymm/ColorEnhancement.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2019 The LineageOS 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. - */ - -#ifndef VENDOR_LINEAGE_LIVEDISPLAY_V2_0_COLORENHANCEMENT_H -#define VENDOR_LINEAGE_LIVEDISPLAY_V2_0_COLORENHANCEMENT_H - -#include <vendor/lineage/livedisplay/2.0/IColorEnhancement.h> -#include <hidl/MQDescriptor.h> -#include <hidl/Status.h> - -namespace vendor { -namespace lineage { -namespace livedisplay { -namespace V2_0 { -namespace legacymm { - -using ::android::hardware::hidl_array; -using ::android::hardware::hidl_memory; -using ::android::hardware::hidl_string; -using ::android::hardware::hidl_vec; -using ::android::hardware::Return; -using ::android::hardware::Void; -using ::android::sp; - -struct ColorEnhancement : public IColorEnhancement { - // Methods from ::vendor::lineage::livedisplay::V2_0::IColorEnhancement follow. - Return<bool> isEnabled() override; - Return<bool> setEnabled(bool enabled) override; - - // Methods from ::android::hidl::base::V1_0::IBase follow. - -}; - -// FIXME: most likely delete, this is only for passthrough implementations -// extern "C" IColorEnhancement* HIDL_FETCH_IColorEnhancement(const char* name); - -} // namespace legacymm -} // namespace V2_0 -} // namespace livedisplay -} // namespace lineage -} // namespace vendor - -#endif // VENDOR_LINEAGE_LIVEDISPLAY_V2_0_COLORENHANCEMENT_H diff --git a/legacymm/DisplayColorCalibration.cpp b/legacymm/DisplayColorCalibration.cpp deleted file mode 100644 index 197f2fd..0000000 --- a/legacymm/DisplayColorCalibration.cpp +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2019 The LineageOS 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. - */ - -#include "DisplayColorCalibration.h" - -namespace vendor { -namespace lineage { -namespace livedisplay { -namespace V2_0 { -namespace legacymm { - -// Methods from ::vendor::lineage::livedisplay::V2_0::IDisplayColorCalibration follow. -Return<int32_t> DisplayColorCalibration::getMaxValue() { - // TODO implement - return int32_t {}; -} - -Return<int32_t> DisplayColorCalibration::getMinValue() { - // TODO implement - return int32_t {}; -} - -Return<void> DisplayColorCalibration::getCalibration(getCalibration_cb _hidl_cb) { - // TODO implement - return Void(); -} - -Return<bool> DisplayColorCalibration::setCalibration(const hidl_vec<int32_t>& rgb) { - // TODO implement - return bool {}; -} - - -// Methods from ::android::hidl::base::V1_0::IBase follow. - -//IDisplayColorCalibration* HIDL_FETCH_IDisplayColorCalibration(const char* /* name */) { - //return new DisplayColorCalibration(); -//} -// -} // namespace legacymm -} // namespace V2_0 -} // namespace livedisplay -} // namespace lineage -} // namespace vendor diff --git a/legacymm/DisplayColorCalibration.h b/legacymm/DisplayColorCalibration.h deleted file mode 100644 index 00bd2eb..0000000 --- a/legacymm/DisplayColorCalibration.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2019 The LineageOS 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. - */ - -#ifndef VENDOR_LINEAGE_LIVEDISPLAY_V2_0_DISPLAYCOLORCALIBRATION_H -#define VENDOR_LINEAGE_LIVEDISPLAY_V2_0_DISPLAYCOLORCALIBRATION_H - -#include <vendor/lineage/livedisplay/2.0/IDisplayColorCalibration.h> -#include <hidl/MQDescriptor.h> -#include <hidl/Status.h> - -namespace vendor { -namespace lineage { -namespace livedisplay { -namespace V2_0 { -namespace legacymm { - -using ::android::hardware::hidl_array; -using ::android::hardware::hidl_memory; -using ::android::hardware::hidl_string; -using ::android::hardware::hidl_vec; -using ::android::hardware::Return; -using ::android::hardware::Void; -using ::android::sp; - -struct DisplayColorCalibration : public IDisplayColorCalibration { - // Methods from ::vendor::lineage::livedisplay::V2_0::IDisplayColorCalibration follow. - Return<int32_t> getMaxValue() override; - Return<int32_t> getMinValue() override; - Return<void> getCalibration(getCalibration_cb _hidl_cb) override; - Return<bool> setCalibration(const hidl_vec<int32_t>& rgb) override; - - // Methods from ::android::hidl::base::V1_0::IBase follow. - -}; - -// FIXME: most likely delete, this is only for passthrough implementations -// extern "C" IDisplayColorCalibration* HIDL_FETCH_IDisplayColorCalibration(const char* name); - -} // namespace legacymm -} // namespace V2_0 -} // namespace livedisplay -} // namespace lineage -} // namespace vendor - -#endif // VENDOR_LINEAGE_LIVEDISPLAY_V2_0_DISPLAYCOLORCALIBRATION_H diff --git a/legacymm/ReadingEnhancement.cpp b/legacymm/ReadingEnhancement.cpp deleted file mode 100644 index 6d897c8..0000000 --- a/legacymm/ReadingEnhancement.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2019 The LineageOS 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. - */ - -#include "ReadingEnhancement.h" - -namespace vendor { -namespace lineage { -namespace livedisplay { -namespace V2_0 { -namespace legacymm { - -// Methods from ::vendor::lineage::livedisplay::V2_0::IReadingEnhancement follow. -Return<bool> ReadingEnhancement::isEnabled() { - // TODO implement - return bool {}; -} - -Return<bool> ReadingEnhancement::setEnabled(bool enabled) { - // TODO implement - return bool {}; -} - - -// Methods from ::android::hidl::base::V1_0::IBase follow. - -//IReadingEnhancement* HIDL_FETCH_IReadingEnhancement(const char* /* name */) { - //return new ReadingEnhancement(); -//} -// -} // namespace legacymm -} // namespace V2_0 -} // namespace livedisplay -} // namespace lineage -} // namespace vendor diff --git a/legacymm/ReadingEnhancement.h b/legacymm/ReadingEnhancement.h deleted file mode 100644 index 91fc88c..0000000 --- a/legacymm/ReadingEnhancement.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2019 The LineageOS 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. - */ - -#ifndef VENDOR_LINEAGE_LIVEDISPLAY_V2_0_READINGENHANCEMENT_H -#define VENDOR_LINEAGE_LIVEDISPLAY_V2_0_READINGENHANCEMENT_H - -#include <vendor/lineage/livedisplay/2.0/IReadingEnhancement.h> -#include <hidl/MQDescriptor.h> -#include <hidl/Status.h> - -namespace vendor { -namespace lineage { -namespace livedisplay { -namespace V2_0 { -namespace legacymm { - -using ::android::hardware::hidl_array; -using ::android::hardware::hidl_memory; -using ::android::hardware::hidl_string; -using ::android::hardware::hidl_vec; -using ::android::hardware::Return; -using ::android::hardware::Void; -using ::android::sp; - -struct ReadingEnhancement : public IReadingEnhancement { - // Methods from ::vendor::lineage::livedisplay::V2_0::IReadingEnhancement follow. - Return<bool> isEnabled() override; - Return<bool> setEnabled(bool enabled) override; - - // Methods from ::android::hidl::base::V1_0::IBase follow. - -}; - -// FIXME: most likely delete, this is only for passthrough implementations -// extern "C" IReadingEnhancement* HIDL_FETCH_IReadingEnhancement(const char* name); - -} // namespace legacymm -} // namespace V2_0 -} // namespace livedisplay -} // namespace lineage -} // namespace vendor - -#endif // VENDOR_LINEAGE_LIVEDISPLAY_V2_0_READINGENHANCEMENT_H diff --git a/legacymm/SunlightEnhancement.cpp b/legacymm/SunlightEnhancement.cpp deleted file mode 100644 index de609b6..0000000 --- a/legacymm/SunlightEnhancement.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2019 The LineageOS 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. - */ - -#include "SunlightEnhancement.h" - -namespace vendor { -namespace lineage { -namespace livedisplay { -namespace V2_0 { -namespace legacymm { - -// Methods from ::vendor::lineage::livedisplay::V2_0::ISunlightEnhancement follow. -Return<bool> SunlightEnhancement::isEnabled() { - // TODO implement - return bool {}; -} - -Return<bool> SunlightEnhancement::setEnabled(bool enabled) { - // TODO implement - return bool {}; -} - - -// Methods from ::android::hidl::base::V1_0::IBase follow. - -//ISunlightEnhancement* HIDL_FETCH_ISunlightEnhancement(const char* /* name */) { - //return new SunlightEnhancement(); -//} -// -} // namespace legacymm -} // namespace V2_0 -} // namespace livedisplay -} // namespace lineage -} // namespace vendor diff --git a/legacymm/SunlightEnhancement.h b/legacymm/SunlightEnhancement.h deleted file mode 100644 index 27e34af..0000000 --- a/legacymm/SunlightEnhancement.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2019 The LineageOS 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. - */ - -#ifndef VENDOR_LINEAGE_LIVEDISPLAY_V2_0_SUNLIGHTENHANCEMENT_H -#define VENDOR_LINEAGE_LIVEDISPLAY_V2_0_SUNLIGHTENHANCEMENT_H - -#include <vendor/lineage/livedisplay/2.0/ISunlightEnhancement.h> -#include <hidl/MQDescriptor.h> -#include <hidl/Status.h> - -namespace vendor { -namespace lineage { -namespace livedisplay { -namespace V2_0 { -namespace legacymm { - -using ::android::hardware::hidl_array; -using ::android::hardware::hidl_memory; -using ::android::hardware::hidl_string; -using ::android::hardware::hidl_vec; -using ::android::hardware::Return; -using ::android::hardware::Void; -using ::android::sp; - -struct SunlightEnhancement : public ISunlightEnhancement { - // Methods from ::vendor::lineage::livedisplay::V2_0::ISunlightEnhancement follow. - Return<bool> isEnabled() override; - Return<bool> setEnabled(bool enabled) override; - - // Methods from ::android::hidl::base::V1_0::IBase follow. - -}; - -// FIXME: most likely delete, this is only for passthrough implementations -// extern "C" ISunlightEnhancement* HIDL_FETCH_ISunlightEnhancement(const char* name); - -} // namespace legacymm -} // namespace V2_0 -} // namespace livedisplay -} // namespace lineage -} // namespace vendor - -#endif // VENDOR_LINEAGE_LIVEDISPLAY_V2_0_SUNLIGHTENHANCEMENT_H |