diff options
author | Paul Keith <javelinanddart@gmail.com> | 2018-08-12 20:05:57 +0200 |
---|---|---|
committer | Bruno Martins <bgcngm@gmail.com> | 2019-01-26 19:39:16 +0000 |
commit | 7193ce23f53c2ad0c368050066bd22378baa43a0 (patch) | |
tree | 6192ef74535878b178c87da4eba3f79e2348a035 | |
parent | 948ade8b598336842610f91d65539ab25d141138 (diff) | |
download | android_hardware_lineage_livedisplay-7193ce23f53c2ad0c368050066bd22378baa43a0.tar.gz android_hardware_lineage_livedisplay-7193ce23f53c2ad0c368050066bd22378baa43a0.tar.bz2 android_hardware_lineage_livedisplay-7193ce23f53c2ad0c368050066bd22378baa43a0.zip |
livedisplay: qti: Add LineageOS copyrights
Change-Id: Ie0aaba053dbee4cd806ee62764d26e8fa1810d6c
-rw-r--r-- | qti/AdaptiveBacklight.cpp | 20 | ||||
-rw-r--r-- | qti/AdaptiveBacklight.h | 20 | ||||
-rw-r--r-- | qti/Android.bp | 14 | ||||
-rw-r--r-- | qti/AutoContrast.cpp | 20 | ||||
-rw-r--r-- | qti/AutoContrast.h | 20 | ||||
-rw-r--r-- | qti/ColorBalance.cpp | 20 | ||||
-rw-r--r-- | qti/ColorBalance.h | 20 | ||||
-rw-r--r-- | qti/ColorEnhancement.cpp | 20 | ||||
-rw-r--r-- | qti/ColorEnhancement.h | 20 | ||||
-rw-r--r-- | qti/DisplayColorCalibration.cpp | 20 | ||||
-rw-r--r-- | qti/DisplayColorCalibration.h | 20 | ||||
-rw-r--r-- | qti/DisplayModes.cpp | 20 | ||||
-rw-r--r-- | qti/DisplayModes.h | 20 | ||||
-rw-r--r-- | qti/PictureAdjustment.cpp | 20 | ||||
-rw-r--r-- | qti/PictureAdjustment.h | 20 | ||||
-rw-r--r-- | qti/ReadingEnhancement.cpp | 20 | ||||
-rw-r--r-- | qti/ReadingEnhancement.h | 20 | ||||
-rw-r--r-- | qti/SunlightEnhancement.cpp | 20 | ||||
-rw-r--r-- | qti/SunlightEnhancement.h | 20 |
19 files changed, 338 insertions, 36 deletions
diff --git a/qti/AdaptiveBacklight.cpp b/qti/AdaptiveBacklight.cpp index c32a14e..1385a25 100644 --- a/qti/AdaptiveBacklight.cpp +++ b/qti/AdaptiveBacklight.cpp @@ -1,10 +1,26 @@ +/* + * 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 implementation { +namespace qti { // Methods from ::vendor::lineage::livedisplay::V2_0::IAdaptiveBacklight follow. Return<bool> AdaptiveBacklight::isEnabled() { @@ -24,7 +40,7 @@ Return<bool> AdaptiveBacklight::setEnabled(bool enabled) { //return new AdaptiveBacklight(); //} // -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/AdaptiveBacklight.h b/qti/AdaptiveBacklight.h index 58bd74d..da4cbd9 100644 --- a/qti/AdaptiveBacklight.h +++ b/qti/AdaptiveBacklight.h @@ -1,3 +1,19 @@ +/* + * 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 @@ -9,7 +25,7 @@ namespace vendor { namespace lineage { namespace livedisplay { namespace V2_0 { -namespace implementation { +namespace qti { using ::android::hardware::hidl_array; using ::android::hardware::hidl_memory; @@ -31,7 +47,7 @@ struct AdaptiveBacklight : public IAdaptiveBacklight { // FIXME: most likely delete, this is only for passthrough implementations // extern "C" IAdaptiveBacklight* HIDL_FETCH_IAdaptiveBacklight(const char* name); -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/Android.bp b/qti/Android.bp index bea960b..276c386 100644 --- a/qti/Android.bp +++ b/qti/Android.bp @@ -1,3 +1,17 @@ +// 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. + cc_library_shared { // FIXME: this should only be -impl for a passthrough hal. // In most cases, to convert this to a binderized implementation, you should: diff --git a/qti/AutoContrast.cpp b/qti/AutoContrast.cpp index f02896a..131205e 100644 --- a/qti/AutoContrast.cpp +++ b/qti/AutoContrast.cpp @@ -1,10 +1,26 @@ +/* + * 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 implementation { +namespace qti { // Methods from ::vendor::lineage::livedisplay::V2_0::IAutoContrast follow. Return<bool> AutoContrast::isEnabled() { @@ -24,7 +40,7 @@ Return<bool> AutoContrast::setEnabled(bool enabled) { //return new AutoContrast(); //} // -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/AutoContrast.h b/qti/AutoContrast.h index 50d949b..6f1785e 100644 --- a/qti/AutoContrast.h +++ b/qti/AutoContrast.h @@ -1,3 +1,19 @@ +/* + * 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 @@ -9,7 +25,7 @@ namespace vendor { namespace lineage { namespace livedisplay { namespace V2_0 { -namespace implementation { +namespace qti { using ::android::hardware::hidl_array; using ::android::hardware::hidl_memory; @@ -31,7 +47,7 @@ struct AutoContrast : public IAutoContrast { // FIXME: most likely delete, this is only for passthrough implementations // extern "C" IAutoContrast* HIDL_FETCH_IAutoContrast(const char* name); -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/ColorBalance.cpp b/qti/ColorBalance.cpp index 2382070..0b0843f 100644 --- a/qti/ColorBalance.cpp +++ b/qti/ColorBalance.cpp @@ -1,10 +1,26 @@ +/* + * 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 "ColorBalance.h" namespace vendor { namespace lineage { namespace livedisplay { namespace V2_0 { -namespace implementation { +namespace qti { // Methods from ::vendor::lineage::livedisplay::V2_0::IColorBalance follow. Return<void> ColorBalance::getColorBalanceRange(getColorBalanceRange_cb _hidl_cb) { @@ -29,7 +45,7 @@ Return<bool> ColorBalance::setColorBalance(int32_t value) { //return new ColorBalance(); //} // -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/ColorBalance.h b/qti/ColorBalance.h index 542f1ed..bfb42c9 100644 --- a/qti/ColorBalance.h +++ b/qti/ColorBalance.h @@ -1,3 +1,19 @@ +/* + * 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_COLORBALANCE_H #define VENDOR_LINEAGE_LIVEDISPLAY_V2_0_COLORBALANCE_H @@ -9,7 +25,7 @@ namespace vendor { namespace lineage { namespace livedisplay { namespace V2_0 { -namespace implementation { +namespace qti { using ::android::hardware::hidl_array; using ::android::hardware::hidl_memory; @@ -32,7 +48,7 @@ struct ColorBalance : public IColorBalance { // FIXME: most likely delete, this is only for passthrough implementations // extern "C" IColorBalance* HIDL_FETCH_IColorBalance(const char* name); -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/ColorEnhancement.cpp b/qti/ColorEnhancement.cpp index 0f186d3..077f66c 100644 --- a/qti/ColorEnhancement.cpp +++ b/qti/ColorEnhancement.cpp @@ -1,10 +1,26 @@ +/* + * 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 implementation { +namespace qti { // Methods from ::vendor::lineage::livedisplay::V2_0::IColorEnhancement follow. Return<bool> ColorEnhancement::isEnabled() { @@ -24,7 +40,7 @@ Return<bool> ColorEnhancement::setEnabled(bool enabled) { //return new ColorEnhancement(); //} // -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/ColorEnhancement.h b/qti/ColorEnhancement.h index dc43726..fe14cfd 100644 --- a/qti/ColorEnhancement.h +++ b/qti/ColorEnhancement.h @@ -1,3 +1,19 @@ +/* + * 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 @@ -9,7 +25,7 @@ namespace vendor { namespace lineage { namespace livedisplay { namespace V2_0 { -namespace implementation { +namespace qti { using ::android::hardware::hidl_array; using ::android::hardware::hidl_memory; @@ -31,7 +47,7 @@ struct ColorEnhancement : public IColorEnhancement { // FIXME: most likely delete, this is only for passthrough implementations // extern "C" IColorEnhancement* HIDL_FETCH_IColorEnhancement(const char* name); -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/DisplayColorCalibration.cpp b/qti/DisplayColorCalibration.cpp index e5b1169..dd800cb 100644 --- a/qti/DisplayColorCalibration.cpp +++ b/qti/DisplayColorCalibration.cpp @@ -1,10 +1,26 @@ +/* + * 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 implementation { +namespace qti { // Methods from ::vendor::lineage::livedisplay::V2_0::IDisplayColorCalibration follow. Return<int32_t> DisplayColorCalibration::getMaxValue() { @@ -34,7 +50,7 @@ Return<bool> DisplayColorCalibration::setCalibration(const hidl_vec<int32_t>& rg //return new DisplayColorCalibration(); //} // -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/DisplayColorCalibration.h b/qti/DisplayColorCalibration.h index 644ca9d..8ea592c 100644 --- a/qti/DisplayColorCalibration.h +++ b/qti/DisplayColorCalibration.h @@ -1,3 +1,19 @@ +/* + * 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 @@ -9,7 +25,7 @@ namespace vendor { namespace lineage { namespace livedisplay { namespace V2_0 { -namespace implementation { +namespace qti { using ::android::hardware::hidl_array; using ::android::hardware::hidl_memory; @@ -33,7 +49,7 @@ struct DisplayColorCalibration : public IDisplayColorCalibration { // FIXME: most likely delete, this is only for passthrough implementations // extern "C" IDisplayColorCalibration* HIDL_FETCH_IDisplayColorCalibration(const char* name); -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/DisplayModes.cpp b/qti/DisplayModes.cpp index ecac41b..044778c 100644 --- a/qti/DisplayModes.cpp +++ b/qti/DisplayModes.cpp @@ -1,10 +1,26 @@ +/* + * 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 "DisplayModes.h" namespace vendor { namespace lineage { namespace livedisplay { namespace V2_0 { -namespace implementation { +namespace qti { // Methods from ::vendor::lineage::livedisplay::V2_0::IDisplayModes follow. Return<void> DisplayModes::getDisplayModes(getDisplayModes_cb _hidl_cb) { @@ -34,7 +50,7 @@ Return<bool> DisplayModes::setDisplayMode(int32_t modeID, bool makeDefault) { //return new DisplayModes(); //} // -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/DisplayModes.h b/qti/DisplayModes.h index d83caf8..98940ee 100644 --- a/qti/DisplayModes.h +++ b/qti/DisplayModes.h @@ -1,3 +1,19 @@ +/* + * 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_DISPLAYMODES_H #define VENDOR_LINEAGE_LIVEDISPLAY_V2_0_DISPLAYMODES_H @@ -9,7 +25,7 @@ namespace vendor { namespace lineage { namespace livedisplay { namespace V2_0 { -namespace implementation { +namespace qti { using ::android::hardware::hidl_array; using ::android::hardware::hidl_memory; @@ -33,7 +49,7 @@ struct DisplayModes : public IDisplayModes { // FIXME: most likely delete, this is only for passthrough implementations // extern "C" IDisplayModes* HIDL_FETCH_IDisplayModes(const char* name); -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/PictureAdjustment.cpp b/qti/PictureAdjustment.cpp index 99881bb..0312055 100644 --- a/qti/PictureAdjustment.cpp +++ b/qti/PictureAdjustment.cpp @@ -1,10 +1,26 @@ +/* + * 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 "PictureAdjustment.h" namespace vendor { namespace lineage { namespace livedisplay { namespace V2_0 { -namespace implementation { +namespace qti { // Methods from ::vendor::lineage::livedisplay::V2_0::IPictureAdjustment follow. Return<void> PictureAdjustment::getHueRange(getHueRange_cb _hidl_cb) { @@ -54,7 +70,7 @@ Return<bool> PictureAdjustment::setPictureAdjustment(const ::vendor::lineage::li //return new PictureAdjustment(); //} // -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/PictureAdjustment.h b/qti/PictureAdjustment.h index 0d8d998..500e7a6 100644 --- a/qti/PictureAdjustment.h +++ b/qti/PictureAdjustment.h @@ -1,3 +1,19 @@ +/* + * 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_PICTUREADJUSTMENT_H #define VENDOR_LINEAGE_LIVEDISPLAY_V2_0_PICTUREADJUSTMENT_H @@ -9,7 +25,7 @@ namespace vendor { namespace lineage { namespace livedisplay { namespace V2_0 { -namespace implementation { +namespace qti { using ::android::hardware::hidl_array; using ::android::hardware::hidl_memory; @@ -37,7 +53,7 @@ struct PictureAdjustment : public IPictureAdjustment { // FIXME: most likely delete, this is only for passthrough implementations // extern "C" IPictureAdjustment* HIDL_FETCH_IPictureAdjustment(const char* name); -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/ReadingEnhancement.cpp b/qti/ReadingEnhancement.cpp index bf71df9..35e0e28 100644 --- a/qti/ReadingEnhancement.cpp +++ b/qti/ReadingEnhancement.cpp @@ -1,10 +1,26 @@ +/* + * 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 implementation { +namespace qti { // Methods from ::vendor::lineage::livedisplay::V2_0::IReadingEnhancement follow. Return<bool> ReadingEnhancement::isEnabled() { @@ -24,7 +40,7 @@ Return<bool> ReadingEnhancement::setEnabled(bool enabled) { //return new ReadingEnhancement(); //} // -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/ReadingEnhancement.h b/qti/ReadingEnhancement.h index ee996d5..b302360 100644 --- a/qti/ReadingEnhancement.h +++ b/qti/ReadingEnhancement.h @@ -1,3 +1,19 @@ +/* + * 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 @@ -9,7 +25,7 @@ namespace vendor { namespace lineage { namespace livedisplay { namespace V2_0 { -namespace implementation { +namespace qti { using ::android::hardware::hidl_array; using ::android::hardware::hidl_memory; @@ -31,7 +47,7 @@ struct ReadingEnhancement : public IReadingEnhancement { // FIXME: most likely delete, this is only for passthrough implementations // extern "C" IReadingEnhancement* HIDL_FETCH_IReadingEnhancement(const char* name); -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/SunlightEnhancement.cpp b/qti/SunlightEnhancement.cpp index 8516a53..7794204 100644 --- a/qti/SunlightEnhancement.cpp +++ b/qti/SunlightEnhancement.cpp @@ -1,10 +1,26 @@ +/* + * 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 implementation { +namespace qti { // Methods from ::vendor::lineage::livedisplay::V2_0::ISunlightEnhancement follow. Return<bool> SunlightEnhancement::isEnabled() { @@ -24,7 +40,7 @@ Return<bool> SunlightEnhancement::setEnabled(bool enabled) { //return new SunlightEnhancement(); //} // -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage diff --git a/qti/SunlightEnhancement.h b/qti/SunlightEnhancement.h index 98848d9..78e7c38 100644 --- a/qti/SunlightEnhancement.h +++ b/qti/SunlightEnhancement.h @@ -1,3 +1,19 @@ +/* + * 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 @@ -9,7 +25,7 @@ namespace vendor { namespace lineage { namespace livedisplay { namespace V2_0 { -namespace implementation { +namespace qti { using ::android::hardware::hidl_array; using ::android::hardware::hidl_memory; @@ -31,7 +47,7 @@ struct SunlightEnhancement : public ISunlightEnhancement { // FIXME: most likely delete, this is only for passthrough implementations // extern "C" ISunlightEnhancement* HIDL_FETCH_ISunlightEnhancement(const char* name); -} // namespace implementation +} // namespace qti } // namespace V2_0 } // namespace livedisplay } // namespace lineage |