From 9f8b5c7b1649c989c21fbb88781c36ed95e4d358 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Tue, 29 Nov 2016 15:03:38 -0800 Subject: [PATCH] Added AOSP license headers. This is only for hals which are currently only in master. Separate commit for hals currently in AOSP. Test: pass Change-Id: I0b1a09798c49f4f0141f36a322c4749e47eded03 --- boot/1.0/default/BootControl.cpp | 15 +++++++++++++++ boot/1.0/default/BootControl.h | 15 +++++++++++++++ boot/1.0/default/service.cpp | 15 +++++++++++++++ dumpstate/1.0/default/DumpstateDevice.h | 15 +++++++++++++++ example/extension/light/2.0/default/Light.cpp | 15 +++++++++++++++ example/extension/light/2.0/default/Light.h | 15 +++++++++++++++ example/extension/light/2.0/default/service.cpp | 15 +++++++++++++++ gatekeeper/1.0/IGatekeeper.hal | 15 +++++++++++++++ gatekeeper/1.0/default/Gatekeeper.cpp | 15 +++++++++++++++ gatekeeper/1.0/default/Gatekeeper.h | 15 +++++++++++++++ gatekeeper/1.0/default/service.cpp | 15 +++++++++++++++ gatekeeper/1.0/types.hal | 15 +++++++++++++++ health/1.0/default/Health.h | 15 +++++++++++++++ light/2.0/default/Light.cpp | 15 +++++++++++++++ light/2.0/default/Light.h | 15 +++++++++++++++ thermal/1.0/default/Thermal.h | 15 +++++++++++++++ 16 files changed, 240 insertions(+) diff --git a/boot/1.0/default/BootControl.cpp b/boot/1.0/default/BootControl.cpp index 4c34168696..56d7b33122 100644 --- a/boot/1.0/default/BootControl.cpp +++ b/boot/1.0/default/BootControl.cpp @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2016 The Android Open Source 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. + */ #define LOG_TAG "android.hardware.boot@1.0-impl" #include diff --git a/boot/1.0/default/BootControl.h b/boot/1.0/default/BootControl.h index be8a81441e..3d668dc0ad 100644 --- a/boot/1.0/default/BootControl.h +++ b/boot/1.0/default/BootControl.h @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2016 The Android Open Source 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 ANDROID_HARDWARE_BOOT_V1_0_BOOTCONTROL_H #define ANDROID_HARDWARE_BOOT_V1_0_BOOTCONTROL_H diff --git a/boot/1.0/default/service.cpp b/boot/1.0/default/service.cpp index a594db6e1e..0dc56bf1b6 100644 --- a/boot/1.0/default/service.cpp +++ b/boot/1.0/default/service.cpp @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2016 The Android Open Source 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. + */ #define LOG_TAG "android.hardware.boot@1.0-service" #include diff --git a/dumpstate/1.0/default/DumpstateDevice.h b/dumpstate/1.0/default/DumpstateDevice.h index 6f860c00c6..f216304f7e 100644 --- a/dumpstate/1.0/default/DumpstateDevice.h +++ b/dumpstate/1.0/default/DumpstateDevice.h @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2016 The Android Open Source 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 ANDROID_HARDWARE_DUMPSTATE_V1_0_DUMPSTATEDEVICE_H #define ANDROID_HARDWARE_DUMPSTATE_V1_0_DUMPSTATEDEVICE_H diff --git a/example/extension/light/2.0/default/Light.cpp b/example/extension/light/2.0/default/Light.cpp index d738a6d2a6..2e56319d76 100644 --- a/example/extension/light/2.0/default/Light.cpp +++ b/example/extension/light/2.0/default/Light.cpp @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2016 The Android Open Source 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 "Light.h" namespace android { diff --git a/example/extension/light/2.0/default/Light.h b/example/extension/light/2.0/default/Light.h index c555568970..e3b60df9b8 100644 --- a/example/extension/light/2.0/default/Light.h +++ b/example/extension/light/2.0/default/Light.h @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2016 The Android Open Source 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 ANDROID_HARDWARE_EXAMPLE_EXTENSION_LIGHT_V2_0_LIGHT_H #define ANDROID_HARDWARE_EXAMPLE_EXTENSION_LIGHT_V2_0_LIGHT_H diff --git a/example/extension/light/2.0/default/service.cpp b/example/extension/light/2.0/default/service.cpp index d21afa6612..ae00506d72 100644 --- a/example/extension/light/2.0/default/service.cpp +++ b/example/extension/light/2.0/default/service.cpp @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2016 The Android Open Source 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. + */ #define LOG_TAG "android.hardware.light@2.0-service" #include diff --git a/gatekeeper/1.0/IGatekeeper.hal b/gatekeeper/1.0/IGatekeeper.hal index 999a311011..c193477688 100644 --- a/gatekeeper/1.0/IGatekeeper.hal +++ b/gatekeeper/1.0/IGatekeeper.hal @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2016 The Android Open Source 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. + */ package android.hardware.gatekeeper@1.0; interface IGatekeeper { diff --git a/gatekeeper/1.0/default/Gatekeeper.cpp b/gatekeeper/1.0/default/Gatekeeper.cpp index 8fcd8ca4a2..35b8c02704 100644 --- a/gatekeeper/1.0/default/Gatekeeper.cpp +++ b/gatekeeper/1.0/default/Gatekeeper.cpp @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2016 The Android Open Source 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. + */ #define LOG_TAG "android.hardware.gatekeeper@1.0-service" #include diff --git a/gatekeeper/1.0/default/Gatekeeper.h b/gatekeeper/1.0/default/Gatekeeper.h index 375a910eaa..4cc01f6d58 100644 --- a/gatekeeper/1.0/default/Gatekeeper.h +++ b/gatekeeper/1.0/default/Gatekeeper.h @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2016 The Android Open Source 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 ANDROID_HARDWARE_GATEKEEPER_V1_0_GATEKEEPER_H #define ANDROID_HARDWARE_GATEKEEPER_V1_0_GATEKEEPER_H diff --git a/gatekeeper/1.0/default/service.cpp b/gatekeeper/1.0/default/service.cpp index c3fc25c340..407cf7157d 100644 --- a/gatekeeper/1.0/default/service.cpp +++ b/gatekeeper/1.0/default/service.cpp @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2016 The Android Open Source 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. + */ #define LOG_TAG "android.hardware.gatekeeper@1.0-service" #include diff --git a/gatekeeper/1.0/types.hal b/gatekeeper/1.0/types.hal index 9ab11521bb..8c184ee6a4 100644 --- a/gatekeeper/1.0/types.hal +++ b/gatekeeper/1.0/types.hal @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2016 The Android Open Source 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. + */ package android.hardware.gatekeeper@1.0; /** diff --git a/health/1.0/default/Health.h b/health/1.0/default/Health.h index 92de26f5a1..ed364c1132 100644 --- a/health/1.0/default/Health.h +++ b/health/1.0/default/Health.h @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2016 The Android Open Source 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 ANDROID_HARDWARE_HEALTH_V1_0_HEALTH_H #define ANDROID_HARDWARE_HEALTH_V1_0_HEALTH_H diff --git a/light/2.0/default/Light.cpp b/light/2.0/default/Light.cpp index fe94e91441..eb1f5598d6 100644 --- a/light/2.0/default/Light.cpp +++ b/light/2.0/default/Light.cpp @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2016 The Android Open Source 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 "Light.h" namespace android { diff --git a/light/2.0/default/Light.h b/light/2.0/default/Light.h index 83458d886b..8987036f99 100644 --- a/light/2.0/default/Light.h +++ b/light/2.0/default/Light.h @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2016 The Android Open Source 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 ANDROID_HARDWARE_LIGHT_V2_0_LIGHT_H #define ANDROID_HARDWARE_LIGHT_V2_0_LIGHT_H diff --git a/thermal/1.0/default/Thermal.h b/thermal/1.0/default/Thermal.h index 7280ee64fc..2e062893ff 100644 --- a/thermal/1.0/default/Thermal.h +++ b/thermal/1.0/default/Thermal.h @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2016 The Android Open Source 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 ANDROID_HARDWARE_THERMAL_V1_0_THERMAL_H #define ANDROID_HARDWARE_THERMAL_V1_0_THERMAL_H