diff --git a/Android.bp b/Android.bp index c00ffb958fddfb590733947b241906d5fbf8ca34..0f93ad65d783f83019e03247133976e19dc57840 100644 --- a/Android.bp +++ b/Android.bp @@ -1,3 +1,8 @@ +// +// SPDX-FileCopyrightText: 2022-2024 The LineageOS Project +// SPDX-License-Identifier: Apache-2.0 +// + soong_namespace { } diff --git a/Android.mk b/Android.mk index 479a161827a528f72c138ef0f345c8e4e5900157..9c5304c69ba30ac943c118523596eb224897e15b 100644 --- a/Android.mk +++ b/Android.mk @@ -1,17 +1,6 @@ # -# Copyright (C) 2017, 2022 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. +# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project +# SPDX-License-Identifier: Apache-2.0 # LOCAL_PATH := $(call my-dir) diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 1742fe40a54837d8ce3e1385766de52a2c88d129..17c746b5650487453f3a1cebd31d3905f3c4eb77 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -1,2 +1,7 @@ +# +# SPDX-FileCopyrightText: 2020-2024 The LineageOS Project +# SPDX-License-Identifier: Apache-2.0 +# + PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/lineage_onclite.mk diff --git a/BoardConfig.mk b/BoardConfig.mk index 55aa5573ef04dbeea8b062df742e94f75137cd2e..af5954bab8bea42ec04c36e6e1433be46ddd98c3 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -1,17 +1,6 @@ # -# Copyright (C) 2017-2022 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. +# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project +# SPDX-License-Identifier: Apache-2.0 # DEVICE_PATH := device/xiaomi/onclite diff --git a/README.md b/README.md index d85575f7eeb2962fef4b2f4bc3684141bd98d653..d7c6aa7aaac0b994f1cfd93a097d983a7e265c92 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,17 @@ -Copyright (C) 2019-2020 The LineageOS Project - +``` + +SPDX-FileCopyrightText: 2019-2024 The LineageOS Project + +SPDX-License-Identifier: Apache-2.0 + +``` + Device configuration for Xiaomi Redmi 7 ========================================= - The Xiaomi Redmi 7 (codenamed "Onclite") is an + The Xiaomi Redmi 7 (codenamed "onclite") is an budget smartphone from Xiaomi. - + It was announced and released in April 2019. ## Device specifications diff --git a/device.mk b/device.mk index 473768fd4cd159248d7c128c277b65f57eddbc38..9b48f6cfbee7f2babfeb6ccdf3fc91b72dd2ee0d 100644 --- a/device.mk +++ b/device.mk @@ -1,17 +1,6 @@ # -# Copyright (C) 2019-2024 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. +# SPDX-FileCopyrightText: 2019-2024 The LineageOS Project +# SPDX-License-Identifier: Apache-2.0 # $(call inherit-product, vendor/xiaomi/onclite/onclite-vendor.mk) diff --git a/doze/Android.bp b/doze/Android.bp index a3aeac50a7ecd2913976dad7975a6dd960a23892..da4b36afbf6483515a317403a708a23a90a8935b 100644 --- a/doze/Android.bp +++ b/doze/Android.bp @@ -1,6 +1,5 @@ // -// Copyright (C) 2017-2022 The LineageOS Project -// +// SPDX-FileCopyrightText: 2017-2024 The LineageOS Project // SPDX-License-Identifier: Apache-2.0 // diff --git a/doze/AndroidManifest.xml b/doze/AndroidManifest.xml index f2f07f927ed7a14348f34b22da9129980bfed485..a3377c7dd4fd7ca411f79eae86ad83eaae0f86f9 100644 --- a/doze/AndroidManifest.xml +++ b/doze/AndroidManifest.xml @@ -1,19 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <!-- - Copyright (C) 2015-2016 The CyanogenMod Project - 2017 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. + SPDX-FileCopyrightText: 2015-2016 The CyanogenMod Project + SPDX-FileCopyrightText: 2017-2024 The LineageOS Project + SPDX-License-Identifier: Apache-2.0 --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.lineageos.settings.doze" diff --git a/doze/res/xml/doze_settings.xml b/doze/res/xml/doze_settings.xml index b04193c3e18f3cb49f95a6c135d25ece640cbfc2..d087e03a6ee6540809aad0845a5cb8e34eb36a99 100644 --- a/doze/res/xml/doze_settings.xml +++ b/doze/res/xml/doze_settings.xml @@ -1,18 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- - Copyright (C) 2015 The CyanogenMod 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. + SPDX-FileCopyrightText: 2015 The CyanogenMod Project + SPDX-License-Identifier: Apache-2.0 --> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" diff --git a/doze/src/org/lineageos/settings/doze/BootCompletedReceiver.java b/doze/src/org/lineageos/settings/doze/BootCompletedReceiver.java index a55d3300e41a991300cf614a23598319f7a20933..6262388a72e23fea2fab02a32210dc5d8340b4b9 100644 --- a/doze/src/org/lineageos/settings/doze/BootCompletedReceiver.java +++ b/doze/src/org/lineageos/settings/doze/BootCompletedReceiver.java @@ -1,20 +1,8 @@ /* - * Copyright (C) 2015 The CyanogenMod Project - * 2017 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. + * SPDX-FileCopyrightText: 2015 The CyanogenMod Project + * SPDX-FileCopyrightText: 2017 The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ - package org.lineageos.settings.doze; import android.content.BroadcastReceiver; diff --git a/doze/src/org/lineageos/settings/doze/DozeService.java b/doze/src/org/lineageos/settings/doze/DozeService.java index 581397f40406b841377375f03968dc128e18d716..0238c79776db30c98b62b793b94fc51c07bdf3ec 100644 --- a/doze/src/org/lineageos/settings/doze/DozeService.java +++ b/doze/src/org/lineageos/settings/doze/DozeService.java @@ -1,20 +1,8 @@ /* - * Copyright (C) 2015 The CyanogenMod Project - * 2017-2018,2021 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. + * SPDX-FileCopyrightText: 2015 The CyanogenMod Project + * SPDX-FileCopyrightText: 2017-2018,2021 The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ - package org.lineageos.settings.doze; import android.app.Service; diff --git a/doze/src/org/lineageos/settings/doze/DozeSettingsActivity.java b/doze/src/org/lineageos/settings/doze/DozeSettingsActivity.java index 68aedf7e0a5f7884315a88125024053bc11da064..c0d66fde70056266a19343bd43c89aa68c750dd8 100644 --- a/doze/src/org/lineageos/settings/doze/DozeSettingsActivity.java +++ b/doze/src/org/lineageos/settings/doze/DozeSettingsActivity.java @@ -1,20 +1,8 @@ /* - * Copyright (C) 2015-2016 The CyanogenMod Project - * 2017,2021-2022 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. + * SPDX-FileCopyrightText: 2015-2016 The CyanogenMod Project + * SPDX-FileCopyrightText: 2017,2021-2022 The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ - package org.lineageos.settings.doze; import android.os.Bundle; diff --git a/doze/src/org/lineageos/settings/doze/DozeSettingsFragment.java b/doze/src/org/lineageos/settings/doze/DozeSettingsFragment.java index 60a21c3f2d8c546e0cb61b4bc77c6b7ffefcdb7a..c46f9ca942fdd05f94224172d81b7eb5071a970b 100644 --- a/doze/src/org/lineageos/settings/doze/DozeSettingsFragment.java +++ b/doze/src/org/lineageos/settings/doze/DozeSettingsFragment.java @@ -1,20 +1,8 @@ /* - * Copyright (C) 2015 The CyanogenMod Project - * 2017-2023 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. + * SPDX-FileCopyrightText: 2015 The CyanogenMod Project + * SPDX-FileCopyrightText: 2017-2023 The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ - package org.lineageos.settings.doze; import android.app.Activity; diff --git a/doze/src/org/lineageos/settings/doze/DozeUtils.java b/doze/src/org/lineageos/settings/doze/DozeUtils.java index 99afa866ebce3ad82f8d21ce9419682fe81216be..cac9d5ac46fa53ce7b553a45bb7611863e2f4996 100644 --- a/doze/src/org/lineageos/settings/doze/DozeUtils.java +++ b/doze/src/org/lineageos/settings/doze/DozeUtils.java @@ -1,20 +1,8 @@ /* - * Copyright (C) 2015 The CyanogenMod Project - * 2017-2022 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. + * SPDX-FileCopyrightText: 2015 The CyanogenMod Project + * SPDX-FileCopyrightText: 2017-2022 The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ - package org.lineageos.settings.doze; import android.content.Context; diff --git a/doze/src/org/lineageos/settings/doze/ProximitySensor.java b/doze/src/org/lineageos/settings/doze/ProximitySensor.java index 1b5f5be683d1e66cfddb1e7479b109cda2eeeba3..9ad03fe2592d64ddc333ac1c7797bab5f647785e 100644 --- a/doze/src/org/lineageos/settings/doze/ProximitySensor.java +++ b/doze/src/org/lineageos/settings/doze/ProximitySensor.java @@ -1,20 +1,8 @@ /* - * Copyright (c) 2015 The CyanogenMod Project - * 2017-2018,2021 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. + * SPDX-FileCopyrightText: 2015 The CyanogenMod Project + * SPDX-FileCopyrightText: 2017-2018,2021 The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ - package org.lineageos.settings.doze; import android.content.Context; diff --git a/doze/src/org/lineageos/settings/doze/TiltSensor.java b/doze/src/org/lineageos/settings/doze/TiltSensor.java index d91a2309266c6ae518a1b3cadea4a54ec75d3ae2..98a63db5005af0a31d4ec6dddbd758e4955787f2 100644 --- a/doze/src/org/lineageos/settings/doze/TiltSensor.java +++ b/doze/src/org/lineageos/settings/doze/TiltSensor.java @@ -1,20 +1,8 @@ /* - * Copyright (C) 2015 The CyanogenMod Project - * 2017-2018,2021 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. + * SPDX-FileCopyrightText: 2015 The CyanogenMod Project + * SPDX-FileCopyrightText: 2017-2018,2021 The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ - package org.lineageos.settings.doze; import android.content.Context; diff --git a/framework_compatibility_matrix.xml b/framework_compatibility_matrix.xml index 901d8fcd41b312caf7b0acc76d5fa3cd7a7bf94a..9e1367961f83b9f314c58c937b3d2a2d988c8390 100644 --- a/framework_compatibility_matrix.xml +++ b/framework_compatibility_matrix.xml @@ -1,3 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + SPDX-FileCopyrightText: 2024 The Linux Foundation + SPDX-License-Identifier: BSD-3-Clause +--> <compatibility-matrix version="2.0" type="framework"> <hal format="hidl" optional="true"> <name>android.hardware.light</name> diff --git a/framework_manifest.xml b/framework_manifest.xml index 2d0ebdb6466dced966f8a1e9d5674751a9b6f15c..c09d9cde8fead14449614f7d5adccd4e5d5d7115 100644 --- a/framework_manifest.xml +++ b/framework_manifest.xml @@ -1,3 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + SPDX-FileCopyrightText: 2020 The Linux Foundation + SPDX-License-Identifier: BSD-3-Clause +--> <manifest version="1.0" type="framework"> <hal format="hidl"> <name>vendor.qti.hardware.radio.atcmdfwd</name> diff --git a/libinit/Android.bp b/libinit/Android.bp index dc8ade5553ad368c2f4728283a832c8a187a1844..747335e84bd3d571cc883bb8af35b3d436d8f7e3 100644 --- a/libinit/Android.bp +++ b/libinit/Android.bp @@ -1,6 +1,5 @@ // -// Copyright (C) 2023 The LineageOS Project -// +// SPDX-FileCopyrightText: 2023 The LineageOS Project // SPDX-License-Identifier: Apache-2.0 // diff --git a/libinit/init_onclite.cpp b/libinit/init_onclite.cpp index 413c3c65788226a622690ed9fd4159909715b19b..ba6c95725e74763a1a3ee28185a18428456e5d8a 100644 --- a/libinit/init_onclite.cpp +++ b/libinit/init_onclite.cpp @@ -1,6 +1,5 @@ /* - * Copyright (C) 2023 The LineageOS Project - * + * SPDX-FileCopyrightText: 2023 The LineageOS Project * SPDX-License-Identifier: Apache-2.0 */ diff --git a/light/Android.bp b/light/Android.bp index a2b09fdcc19169eeb74e09be8b116deb05b146c2..fc6d867d70daa32473e38dfbe15b12dad813d3c9 100644 --- a/light/Android.bp +++ b/light/Android.bp @@ -1,16 +1,7 @@ -// Copyright (C) 2018,2020 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 +// SPDX-FileCopyrightText: 2018-2020 The LineageOS Project +// SPDX-License-Identifier: Apache-2.0 // -// 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_binary { relative_install_path: "hw", diff --git a/light/Light.cpp b/light/Light.cpp index 588fc42116fd01fa811c5da5c445736fa60a57de..872773dff27c4fe77d2bde929576edbffb539a2f 100644 --- a/light/Light.cpp +++ b/light/Light.cpp @@ -1,17 +1,6 @@ /* - * Copyright (C) 2018 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. + * SPDX-FileCopyrightText: 2018 The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ #define LOG_TAG "LightService" diff --git a/light/Light.h b/light/Light.h index 6196e541fea118128ba5fefe0fa8b5523c960ef9..615bda6e146794ebf374c7a5888f8eb52b931e24 100644 --- a/light/Light.h +++ b/light/Light.h @@ -1,17 +1,6 @@ /* - * Copyright (C) 2018 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. + * SPDX-FileCopyrightText: 2018 The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ #ifndef ANDROID_HARDWARE_LIGHT_V2_0_LIGHT_H diff --git a/light/service.cpp b/light/service.cpp index 63b522ecbc40e7ddd07ea2a4fcbd87c80a65a252..b6a22747aa826152113072c6b510adc66f89b22c 100644 --- a/light/service.cpp +++ b/light/service.cpp @@ -1,17 +1,6 @@ /* - * Copyright (C) 2018 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. + * SPDX-FileCopyrightText: 2018 The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ #define LOG_TAG "android.hardware.light@2.0-service.onclite" diff --git a/lineage_onclite.mk b/lineage_onclite.mk index d52394a77b56b86c434f739f81c1a4530ea8d052..b05b05565d58b8f066562ffe1ae4b243336af18e 100644 --- a/lineage_onclite.mk +++ b/lineage_onclite.mk @@ -1,6 +1,5 @@ # -# Copyright (C) 2019-2020 The LineageOS Project -# +# SPDX-FileCopyrightText: 2019-2020 The LineageOS Project # SPDX-License-Identifier: Apache-2.0 # diff --git a/manifest.xml b/manifest.xml index 7483c89d86ec6ca2ec05fc6437f6ed17b1e7e59d..bddb1d8ccd737215d7ec9defe73493dc088010d8 100644 --- a/manifest.xml +++ b/manifest.xml @@ -1,3 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + SPDX-FileCopyrightText: 2018-2020 The Linux Foundation + SPDX-License-Identifier: BSD-3-Clause +--> <manifest version="1.0" type="device" target-level="5"> <hal format="hidl"> <name>android.hardware.audio</name> diff --git a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml index d51b86feeb115ac76b290251180d63a4e626eee7..604223733f29bfdcbcfb517abd6f8af2e18cd775 100644 --- a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml +++ b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml @@ -1,15 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- - Copyright (C) 2015-2016 The CyanogenMod 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. + SPDX-FileCopyrightText: 2015-2016 The CyanogenMod Project + SPDX-License-Identifier: Apache-2.0 --> <resources> <!-- Default value for proximity check on screen wake diff --git a/overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml b/overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml index f4512d12369e55a646b020580a32493c4880cce6..02a2773ecd95876e6ad78f4b88d1cc6df9f8e2d1 100644 --- a/overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml +++ b/overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml @@ -1,18 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (C) 2015 The CyanogenMod 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. + SPDX-FileCopyrightText: 2015 The CyanogenMod Project + SPDX-License-Identifier: Apache-2.0 --> <resources> <bool name="call_recording_enabled">true</bool> diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 565ebfb7be588f5c516d308b428c52573c669ca1..9273228eaf08a42fd243624d0ecad3f1fdeff6d3 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -1,20 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <!-- - Copyright (C) 2017-2021 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. + SPDX-FileCopyrightText: 2017-2021 The LineageOS Project + SPDX-License-Identifier: Apache-2.0 --> - <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <!-- Flag indicating whether the we should enable the automatic brightness in Settings. diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml index 74df52f75593bae2c5ae3bd06bb5909e2e6aec01..c5c71ba1105ccfa4814edd193b857d28d4ce6b6d 100644 --- a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml +++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml @@ -23,4 +23,3 @@ <!-- Doze: does this device support STATE_DOZE and STATE_DOZE_SUSPEND? --> <bool name="doze_display_state_supported">true</bool> </resources> - diff --git a/power/power-mode.cpp b/power/power-mode.cpp index d7a9f9d352a61f1e39949a2a1d8b4c221cc8f278..407e56079d4c17693d319bda843dfa985705483b 100644 --- a/power/power-mode.cpp +++ b/power/power-mode.cpp @@ -1,19 +1,7 @@ /* - * Copyright (C) 2020 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. + * SPDX-FileCopyrightText: 2020 The LineageOS Project + * SPDX-License-Identifier: Apache-2.0 */ - #include <aidl/android/hardware/power/BnPower.h> #include <android-base/file.h> #include <linux/input.h> diff --git a/releasetools.py b/releasetools.py index 42309a3645bcbddf8ed7b8d77f6041ac45d8fbdf..f41f23fba41e172ceac5d8b55960642d9082ae2e 100755 --- a/releasetools.py +++ b/releasetools.py @@ -1,19 +1,9 @@ -# Copyright (C) 2009 The Android Open Source Project -# Copyright (c) 2011, The Linux Foundation. All rights reserved. -# Copyright (C) 2017-2018 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 +# SPDX-FileCopyrightText: 2009 The Android Open Source Project +# SPDX-FileCopyrightText: 2011 The Linux Foundation +# SPDX-FileCopyrightText: 2017-2018 The LineageOS Project +# SPDX-License-Identifier: Apache-2.0 # -# 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. - import hashlib import common import re diff --git a/rro_overlays/OncWifiOverlay/Android.bp b/rro_overlays/OncWifiOverlay/Android.bp index 196cb5e4cd3b3c955165648b7fc0f67a0de2ed5b..14ce6b0d6b0962ec085256891aa95ecf8d6097dd 100644 --- a/rro_overlays/OncWifiOverlay/Android.bp +++ b/rro_overlays/OncWifiOverlay/Android.bp @@ -1,6 +1,5 @@ // -// Copyright (C) 2023 The LineageOS Project -// +// SPDX-FileCopyrightText: 2023 The LineageOS Project // SPDX-License-Identifier: Apache-2.0 // diff --git a/rro_overlays/OncWifiOverlay/AndroidManifest.xml b/rro_overlays/OncWifiOverlay/AndroidManifest.xml index b492f39fe45d1c1ea932a4101e7f7017cdaed8e4..3e1fb400ab52fbdf809986c116a0be0dffb3ef8b 100644 --- a/rro_overlays/OncWifiOverlay/AndroidManifest.xml +++ b/rro_overlays/OncWifiOverlay/AndroidManifest.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- - Copyright (C) 2023 The LineageOS Project + SPDX-FileCopyrightText: 2023 The LineageOS Project SPDX-License-Identifier: Apache-2.0 --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" diff --git a/rro_overlays/OncWifiOverlay/res/values/config.xml b/rro_overlays/OncWifiOverlay/res/values/config.xml index 7c93e385057a6f2fa15249e67aefbee1009dbde0..a996fbc49980787e246744775a111bf286c545d0 100644 --- a/rro_overlays/OncWifiOverlay/res/values/config.xml +++ b/rro_overlays/OncWifiOverlay/res/values/config.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- - Copyright (C) 2021 The LineageOS Project + SPDX-FileCopyrightText: 2023 The LineageOS Project SPDX-License-Identifier: Apache-2.0 --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> diff --git a/update-sha1sums.py b/update-sha1sums.py index 9ea76a13202d87b0fa5c879ea429d3a248a63a42..c01c40b2057f4c4525948982de8f6d9cb5ff9169 100755 --- a/update-sha1sums.py +++ b/update-sha1sums.py @@ -1,21 +1,9 @@ #!/usr/bin/env python # -# Copyright (C) 2016 The CyanogenMod Project -# Copyright (C) 2017-2018 The LineageOS Project +# SPDX-FileCopyrightText: 2016 The CyanogenMod Project +# SPDX-FileCopyrightText: 2017-2018 The LineageOS Project +# SPDX-License-Identifier: Apache-2.0 # -# 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. -# - from hashlib import sha1 import sys