Merge changes I0b1a0979,I4aa89a39

* changes:
  Added AOSP license headers.
  Remove HIDL_GENERATED from things written by hand.
This commit is contained in:
TreeHugger Robot 2016-11-30 18:15:48 +00:00 committed by Android (Google) Code Review
commit 32094ca29f
44 changed files with 339 additions and 99 deletions

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_V2_0_Device_H_
#define HIDL_GENERATED_android_hardware_audio_V2_0_Device_H_
#ifndef ANDROID_HARDWARE_AUDIO_V2_0_DEVICE_H
#define ANDROID_HARDWARE_AUDIO_V2_0_DEVICE_H
#include <memory>
@ -144,4 +144,4 @@ struct Device : public IDevice, public ParametersUtil {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_V2_0_Device_H_
#endif // ANDROID_HARDWARE_AUDIO_V2_0_DEVICE_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_V2_0_DevicesFactory_H_
#define HIDL_GENERATED_android_hardware_audio_V2_0_DevicesFactory_H_
#ifndef ANDROID_HARDWARE_AUDIO_V2_0_DEVICESFACTORY_H
#define ANDROID_HARDWARE_AUDIO_V2_0_DEVICESFACTORY_H
#include <hardware/audio.h>
@ -56,4 +56,4 @@ extern "C" IDevicesFactory* HIDL_FETCH_IDevicesFactory(const char* name);
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_V2_0_DevicesFactory_H_
#endif // ANDROID_HARDWARE_AUDIO_V2_0_DEVICESFACTORY_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_V2_0_PrimaryDevice_H_
#define HIDL_GENERATED_android_hardware_audio_V2_0_PrimaryDevice_H_
#ifndef ANDROID_HARDWARE_AUDIO_V2_0_PRIMARYDEVICE_H
#define ANDROID_HARDWARE_AUDIO_V2_0_PRIMARYDEVICE_H
#include <android/hardware/audio/2.0/IPrimaryDevice.h>
#include <hidl/Status.h>
@ -114,4 +114,4 @@ struct PrimaryDevice : public IPrimaryDevice {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_V2_0_PrimaryDevice_H_
#endif // ANDROID_HARDWARE_AUDIO_V2_0_PRIMARYDEVICE_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_V2_0_Stream_H_
#define HIDL_GENERATED_android_hardware_audio_V2_0_Stream_H_
#ifndef ANDROID_HARDWARE_AUDIO_V2_0_STREAM_H
#define ANDROID_HARDWARE_AUDIO_V2_0_STREAM_H
#include <android/hardware/audio/2.0/IStream.h>
#include <hidl/Status.h>
@ -91,4 +91,4 @@ struct Stream : public IStream, public ParametersUtil {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_V2_0_Stream_H_
#endif // ANDROID_HARDWARE_AUDIO_V2_0_STREAM_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_V2_0_StreamIn_H_
#define HIDL_GENERATED_android_hardware_audio_V2_0_StreamIn_H_
#ifndef ANDROID_HARDWARE_AUDIO_V2_0_STREAMIN_H
#define ANDROID_HARDWARE_AUDIO_V2_0_STREAMIN_H
#include <android/hardware/audio/2.0/IStreamIn.h>
#include <hidl/Status.h>
@ -95,4 +95,4 @@ struct StreamIn : public IStreamIn {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_V2_0_StreamIn_H_
#endif // ANDROID_HARDWARE_AUDIO_V2_0_STREAMIN_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_V2_0_StreamOut_H_
#define HIDL_GENERATED_android_hardware_audio_V2_0_StreamOut_H_
#ifndef ANDROID_HARDWARE_AUDIO_V2_0_STREAMOUT_H
#define ANDROID_HARDWARE_AUDIO_V2_0_STREAMOUT_H
#include <android/hardware/audio/2.0/IStreamOut.h>
#include <hidl/Status.h>
@ -110,4 +110,4 @@ struct StreamOut : public IStreamOut {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_V2_0_StreamOut_H_
#endif // ANDROID_HARDWARE_AUDIO_V2_0_STREAMOUT_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_effect_V2_0_AcousticEchoCancelerEffect_H_
#define HIDL_GENERATED_android_hardware_audio_effect_V2_0_AcousticEchoCancelerEffect_H_
#ifndef ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_ACOUSTICECHOCANCELEREFFECT_H
#define ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_ACOUSTICECHOCANCELEREFFECT_H
#include <android/hardware/audio/effect/2.0/IAcousticEchoCancelerEffect.h>
#include <hidl/Status.h>
@ -115,4 +115,4 @@ struct AcousticEchoCancelerEffect : public IAcousticEchoCancelerEffect {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_effect_V2_0_AcousticEchoCancelerEffect_H_
#endif // ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_ACOUSTICECHOCANCELEREFFECT_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_effect_V2_0_AutomaticGainControlEffect_H_
#define HIDL_GENERATED_android_hardware_audio_effect_V2_0_AutomaticGainControlEffect_H_
#ifndef ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_AUTOMATICGAINCONTROLEFFECT_H
#define ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_AUTOMATICGAINCONTROLEFFECT_H
#include <system/audio_effects/effect_agc.h>
@ -131,4 +131,4 @@ struct AutomaticGainControlEffect : public IAutomaticGainControlEffect {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_effect_V2_0_AutomaticGainControlEffect_H_
#endif // ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_AUTOMATICGAINCONTROLEFFECT_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_effect_V2_0_BassBoostEffect_H_
#define HIDL_GENERATED_android_hardware_audio_effect_V2_0_BassBoostEffect_H_
#ifndef ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_BASSBOOSTEFFECT_H
#define ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_BASSBOOSTEFFECT_H
#include <android/hardware/audio/effect/2.0/IBassBoostEffect.h>
#include <hidl/Status.h>
@ -116,4 +116,4 @@ struct BassBoostEffect : public IBassBoostEffect {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_effect_V2_0_BassBoostEffect_H_
#endif // ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_BASSBOOSTEFFECT_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_effect_V2_0_DownmixEffect_H_
#define HIDL_GENERATED_android_hardware_audio_effect_V2_0_DownmixEffect_H_
#ifndef ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_DOWNMIXEFFECT_H
#define ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_DOWNMIXEFFECT_H
#include <android/hardware/audio/effect/2.0/IDownmixEffect.h>
#include <hidl/Status.h>
@ -115,4 +115,4 @@ struct DownmixEffect : public IDownmixEffect {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_effect_V2_0_DownmixEffect_H_
#endif // ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_DOWNMIXEFFECT_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_effect_V2_0_Effect_H_
#define HIDL_GENERATED_android_hardware_audio_effect_V2_0_Effect_H_
#ifndef ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_EFFECT_H
#define ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_EFFECT_H
#include <vector>
@ -256,4 +256,4 @@ struct Effect : public IEffect {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_effect_V2_0_Effect_H_
#endif // ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_EFFECT_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_effect_V2_0_EffectsFactory_H_
#define HIDL_GENERATED_android_hardware_audio_effect_V2_0_EffectsFactory_H_
#ifndef ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_EFFECTSFACTORY_H
#define ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_EFFECTSFACTORY_H
#include <system/audio_effect.h>
@ -63,4 +63,4 @@ extern "C" IEffectsFactory* HIDL_FETCH_IEffectsFactory(const char* name);
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_effect_V2_0_EffectsFactory_H_
#endif // ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_EFFECTSFACTORY_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_effect_V2_0_EnvironmentalReverbEffect_H_
#define HIDL_GENERATED_android_hardware_audio_effect_V2_0_EnvironmentalReverbEffect_H_
#ifndef ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_ENVIRONMENTALREVERBEFFECT_H
#define ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_ENVIRONMENTALREVERBEFFECT_H
#include <system/audio_effects/effect_environmentalreverb.h>
@ -157,4 +157,4 @@ struct EnvironmentalReverbEffect : public IEnvironmentalReverbEffect {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_effect_V2_0_EnvironmentalReverbEffect_H_
#endif // ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_ENVIRONMENTALREVERBEFFECT_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_effect_V2_0_EqualizerEffect_H_
#define HIDL_GENERATED_android_hardware_audio_effect_V2_0_EqualizerEffect_H_
#ifndef ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_EQUALIZEREFFECT_H
#define ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_EQUALIZEREFFECT_H
#include <vector>
@ -147,4 +147,4 @@ struct EqualizerEffect : public IEqualizerEffect {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_effect_V2_0_EqualizerEffect_H_
#endif // ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_EQUALIZEREFFECT_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_effect_V2_0_LoudnessEnhancerEffect_H_
#define HIDL_GENERATED_android_hardware_audio_effect_V2_0_LoudnessEnhancerEffect_H_
#ifndef ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_LOUDNESSENHANCEREFFECT_H
#define ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_LOUDNESSENHANCEREFFECT_H
#include <android/hardware/audio/effect/2.0/ILoudnessEnhancerEffect.h>
#include <hidl/Status.h>
@ -125,4 +125,4 @@ struct LoudnessEnhancerEffect : public ILoudnessEnhancerEffect {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_effect_V2_0_LoudnessEnhancerEffect_H_
#endif // ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_LOUDNESSENHANCEREFFECT_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_effect_V2_0_NoiseSuppressionEffect_H_
#define HIDL_GENERATED_android_hardware_audio_effect_V2_0_NoiseSuppressionEffect_H_
#ifndef ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_NOISESUPPRESSIONEFFECT_H
#define ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_NOISESUPPRESSIONEFFECT_H
#include <system/audio_effects/effect_ns.h>
@ -139,4 +139,4 @@ struct NoiseSuppressionEffect : public INoiseSuppressionEffect {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_effect_V2_0_NoiseSuppressionEffect_H_
#endif // ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_NOISESUPPRESSIONEFFECT_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_effect_V2_0_PresetReverbEffect_H_
#define HIDL_GENERATED_android_hardware_audio_effect_V2_0_PresetReverbEffect_H_
#ifndef ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_PRESETREVERBEFFECT_H
#define ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_PRESETREVERBEFFECT_H
#include <android/hardware/audio/effect/2.0/IPresetReverbEffect.h>
#include <hidl/Status.h>
@ -125,4 +125,4 @@ struct PresetReverbEffect : public IPresetReverbEffect {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_effect_V2_0_PresetReverbEffect_H_
#endif // ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_PRESETREVERBEFFECT_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_effect_V2_0_VirtualizerEffect_H_
#define HIDL_GENERATED_android_hardware_audio_effect_V2_0_VirtualizerEffect_H_
#ifndef ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_VIRTUALIZEREFFECT_H
#define ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_VIRTUALIZEREFFECT_H
#include <android/hardware/audio/effect/2.0/IVirtualizerEffect.h>
#include <hidl/Status.h>
@ -136,4 +136,4 @@ struct VirtualizerEffect : public IVirtualizerEffect {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_effect_V2_0_VirtualizerEffect_H_
#endif // ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_VIRTUALIZEREFFECT_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_audio_effect_V2_0_VisualizerEffect_H_
#define HIDL_GENERATED_android_hardware_audio_effect_V2_0_VisualizerEffect_H_
#ifndef ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_VISUALIZEREFFECT_H
#define ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_VISUALIZEREFFECT_H
#include <android/hardware/audio/effect/2.0/IVisualizerEffect.h>
#include <hidl/Status.h>
@ -135,4 +135,4 @@ struct VisualizerEffect : public IVisualizerEffect {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_audio_effect_V2_0_VisualizerEffect_H_
#endif // ANDROID_HARDWARE_AUDIO_EFFECT_V2_0_VISUALIZEREFFECT_H

View file

@ -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 <utils/Log.h>

View file

@ -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

View file

@ -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 <android/hardware/boot/1.0/IBootControl.h>

View file

@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_broadcastradio_V1_0_BroadcastRadio_H_
#define HIDL_GENERATED_android_hardware_broadcastradio_V1_0_BroadcastRadio_H_
#ifndef ANDROID_HARDWARE_BROADCASTRADIO_V1_0_BROADCASTRADIO_H
#define ANDROID_HARDWARE_BROADCASTRADIO_V1_0_BROADCASTRADIO_H
#include <android/hardware/broadcastradio/1.0/IBroadcastRadio.h>
#include <hidl/Status.h>
@ -68,4 +68,4 @@ private:
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_broadcastradio_V1_0_BroadcastRadio_H_
#endif // ANDROID_HARDWARE_BROADCASTRADIO_V1_0_BROADCASTRADIO_H

View file

@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_broadcastradio_V1_0_BroadcastRadioFactory_H_
#define HIDL_GENERATED_android_hardware_broadcastradio_V1_0_BroadcastRadioFactory_H_
#ifndef ANDROID_HARDWARE_BROADCASTRADIO_V1_0_BROADCASTRADIOFACTORY_H
#define ANDROID_HARDWARE_BROADCASTRADIO_V1_0_BROADCASTRADIOFACTORY_H
#include <android/hardware/broadcastradio/1.0/IBroadcastRadioFactory.h>
#include <hidl/Status.h>
@ -40,4 +40,4 @@ extern "C" IBroadcastRadioFactory* HIDL_FETCH_IBroadcastRadioFactory(const char*
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_broadcastradio_V1_0_BroadcastRadioFactory_H_
#endif // ANDROID_HARDWARE_BROADCASTRADIO_V1_0_BROADCASTRADIOFACTORY_H

View file

@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_broadcastradio_V1_0_Tuner_H_
#define HIDL_GENERATED_android_hardware_broadcastradio_V1_0_Tuner_H_
#ifndef ANDROID_HARDWARE_BROADCASTRADIO_V1_0_TUNER_H
#define ANDROID_HARDWARE_BROADCASTRADIO_V1_0_TUNER_H
#include <android/hardware/broadcastradio/1.0/ITuner.h>
#include <android/hardware/broadcastradio/1.0/ITunerCallback.h>
@ -64,4 +64,4 @@ struct Tuner : public ITuner {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_broadcastradio_V1_0_Tuner_H_
#endif // ANDROID_HARDWARE_BROADCASTRADIO_V1_0_TUNER_H

View file

@ -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

View file

@ -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 {

View file

@ -1,5 +1,20 @@
#ifndef HIDL_GENERATED_android_hardware_example_extension_light_V2_0_Light_H_
#define HIDL_GENERATED_android_hardware_example_extension_light_V2_0_Light_H_
/*
* 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
#include <android/hardware/example/extension/light/2.0/IExtLight.h>
#include <hidl/Status.h>
@ -43,4 +58,4 @@ struct Light : public IExtLight {
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_example_extension_light_V2_0_Light_H_
#endif // ANDROID_HARDWARE_EXAMPLE_EXTENSION_LIGHT_V2_0_LIGHT_H

View file

@ -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 <utils/Log.h>

View file

@ -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 {

View file

@ -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 <utils/Log.h>

View file

@ -1,5 +1,20 @@
#ifndef HIDL_GENERATED_android_hardware_gatekeeper_V1_0_Gatekeeper_H_
#define HIDL_GENERATED_android_hardware_gatekeeper_V1_0_Gatekeeper_H_
/*
* 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
#include <android/hardware/gatekeeper/1.0/IGatekeeper.h>
#include <hidl/Status.h>
@ -54,4 +69,4 @@ extern "C" IGatekeeper* HIDL_FETCH_IGatekeeper(const char* name);
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_gatekeeper_V1_0_Gatekeeper_H_
#endif // ANDROID_HARDWARE_GATEKEEPER_V1_0_GATEKEEPER_H

View file

@ -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 <android/hardware/gatekeeper/1.0/IGatekeeper.h>

View file

@ -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;
/**

View file

@ -1,5 +1,20 @@
#ifndef HIDL_GENERATED_android_hardware_health_V1_0_Health_H_
#define HIDL_GENERATED_android_hardware_health_V1_0_Health_H_
/*
* 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
#include <android/hardware/health/1.0/IHealth.h>
#include <hidl/Status.h>
@ -39,4 +54,4 @@ extern "C" IHealth* HIDL_FETCH_IHealth(const char* name);
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_health_V1_0_Health_H_
#endif // ANDROID_HARDWARE_HEALTH_V1_0_HEALTH_H

View file

@ -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 {

View file

@ -1,5 +1,20 @@
#ifndef HIDL_GENERATED_android_hardware_light_V2_0_Light_H_
#define HIDL_GENERATED_android_hardware_light_V2_0_Light_H_
/*
* 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
#include <android/hardware/light/2.0/ILight.h>
#include <hardware/hardware.h>
@ -43,4 +58,4 @@ extern "C" ILight* HIDL_FETCH_ILight(const char* name);
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_light_V2_0_Light_H_
#endif // ANDROID_HARDWARE_LIGHT_V2_0_LIGHT_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_memtrack_V1_0_Memtrack_H_
#define HIDL_GENERATED_android_hardware_memtrack_V1_0_Memtrack_H_
#ifndef ANDROID_HARDWARE_MEMTRACK_V1_0_MEMTRACK_H
#define ANDROID_HARDWARE_MEMTRACK_V1_0_MEMTRACK_H
#include <android/hardware/memtrack/1.0/IMemtrack.h>
#include <hidl/Status.h>
@ -54,4 +54,4 @@ extern "C" IMemtrack* HIDL_FETCH_IMemtrack(const char* name);
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_memtrack_V1_0_Memtrack_H_
#endif // ANDROID_HARDWARE_MEMTRACK_V1_0_MEMTRACK_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_power_V1_0_Power_H_
#define HIDL_GENERATED_android_hardware_power_V1_0_Power_H_
#ifndef ANDROID_HARDWARE_POWER_V1_0_POWER_H
#define ANDROID_HARDWARE_POWER_V1_0_POWER_H
#include <android/hardware/power/1.0/IPower.h>
#include <hidl/Status.h>
@ -58,4 +58,4 @@ extern "C" IPower* HIDL_FETCH_IPower(const char* name);
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_power_V1_0_Power_H_
#endif // ANDROID_HARDWARE_POWER_V1_0_POWER_H

View file

@ -1,5 +1,20 @@
#ifndef HIDL_GENERATED_android_hardware_thermal_V1_0_Thermal_H_
#define HIDL_GENERATED_android_hardware_thermal_V1_0_Thermal_H_
/*
* 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
#include <android/hardware/thermal/1.0/IThermal.h>
#include <hidl/Status.h>
@ -42,4 +57,4 @@ extern "C" IThermal* HIDL_FETCH_IThermal(const char* name);
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_thermal_V1_0_Thermal_H_
#endif // ANDROID_HARDWARE_THERMAL_V1_0_THERMAL_H

View file

@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_tv_cec_V1_0_HdmiCec_H_
#define HIDL_GENERATED_android_hardware_tv_cec_V1_0_HdmiCec_H_
#ifndef ANDROID_HARDWARE_TV_CEC_V1_0_HDMICEC_H
#define ANDROID_HARDWARE_TV_CEC_V1_0_HDMICEC_H
#include <algorithm>
@ -101,4 +101,4 @@ extern "C" IHdmiCec* HIDL_FETCH_IHdmiCec(const char* name);
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_tv_cec_V1_0_HdmiCec_H_
#endif // ANDROID_HARDWARE_TV_CEC_V1_0_HDMICEC_H

View file

@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_tv_input_V1_0_TvInput_H_
#define HIDL_GENERATED_android_hardware_tv_input_V1_0_TvInput_H_
#ifndef ANDROID_HARDWARE_TV_INPUT_V1_0_TVINPUT_H
#define ANDROID_HARDWARE_TV_INPUT_V1_0_TVINPUT_H
#include <android/hardware/tv/input/1.0/ITvInput.h>
#include <hidl/Status.h>
@ -72,4 +72,4 @@ extern "C" ITvInput* HIDL_FETCH_ITvInput(const char* name);
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_tv_input_V1_0_TvInput_H_
#endif // ANDROID_HARDWARE_TV_INPUT_V1_0_TVINPUT_H

View file

@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_vibrator_V1_0_Vibrator_H_
#define HIDL_GENERATED_android_hardware_vibrator_V1_0_Vibrator_H_
#ifndef ANDROID_HARDWARE_VIBRATOR_V1_0_VIBRATOR_H
#define ANDROID_HARDWARE_VIBRATOR_V1_0_VIBRATOR_H
#include <android/hardware/vibrator/1.0/IVibrator.h>
#include <hidl/Status.h>
@ -53,4 +53,4 @@ extern "C" IVibrator* HIDL_FETCH_IVibrator(const char* name);
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_vibrator_V1_0_Vibrator_H_
#endif // ANDROID_HARDWARE_VIBRATOR_V1_0_VIBRATOR_H

View file

@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef HIDL_GENERATED_android_hardware_vr_V1_0_Vr_H_
#define HIDL_GENERATED_android_hardware_vr_V1_0_Vr_H_
#ifndef ANDROID_HARDWARE_VR_V1_0_VR_H
#define ANDROID_HARDWARE_VR_V1_0_VR_H
#include <android/hardware/vr/1.0/IVr.h>
#include <hardware/vr.h>
@ -48,4 +48,4 @@ extern "C" IVr* HIDL_FETCH_IVr(const char* name);
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_android_hardware_vr_V1_0_Vr_H_
#endif // ANDROID_HARDWARE_VR_V1_0_VR_H