diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2017-04-06 23:36:12 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-04-06 23:36:13 +0000 |
commit | 04b10ccc41fc0290759986840e781b948757a6b5 (patch) | |
tree | f57e7f6415e8c34f56637fe1f66000cac456cfe4 | |
parent | 139bc621459791d5f0d4fd734be39160e55b77e1 (diff) | |
parent | 3eb7df74b8eae5c902039d1b76402350715a0944 (diff) | |
download | android_hardware_interfaces-04b10ccc41fc0290759986840e781b948757a6b5.tar.gz android_hardware_interfaces-04b10ccc41fc0290759986840e781b948757a6b5.tar.bz2 android_hardware_interfaces-04b10ccc41fc0290759986840e781b948757a6b5.zip |
Merge "Fix transitive includes."
31 files changed, 42 insertions, 31 deletions
diff --git a/automotive/evs/1.0/default/service.cpp b/automotive/evs/1.0/default/service.cpp index 1b64e4444..d4181b9ab 100644 --- a/automotive/evs/1.0/default/service.cpp +++ b/automotive/evs/1.0/default/service.cpp @@ -19,9 +19,9 @@ #include <unistd.h> #include <hidl/HidlTransportSupport.h> +#include <log/log.h> #include <utils/Errors.h> #include <utils/StrongPointer.h> -#include <utils/Log.h> #include "ServiceNames.h" #include "EvsEnumerator.h" diff --git a/automotive/evs/1.0/vts/functional/VtsEvsV1_0TargetTest.cpp b/automotive/evs/1.0/vts/functional/VtsEvsV1_0TargetTest.cpp index 6a0ae48ce..50b6581fa 100644 --- a/automotive/evs/1.0/vts/functional/VtsEvsV1_0TargetTest.cpp +++ b/automotive/evs/1.0/vts/functional/VtsEvsV1_0TargetTest.cpp @@ -37,10 +37,10 @@ static const float kNanoToSeconds = 0.000000001f; #include <string.h> #include <hidl/HidlTransportSupport.h> +#include <hwbinder/ProcessState.h> +#include <log/log.h> #include <utils/Errors.h> #include <utils/StrongPointer.h> -#include <utils/Log.h> -#include <hwbinder/ProcessState.h> #include <android/log.h> #include <android/hardware/automotive/evs/1.0/IEvsCamera.h> diff --git a/automotive/vehicle/2.0/default/common/src/VehiclePropertyStore.cpp b/automotive/vehicle/2.0/default/common/src/VehiclePropertyStore.cpp index 0e6b776f2..2c3ebfccb 100644 --- a/automotive/vehicle/2.0/default/common/src/VehiclePropertyStore.cpp +++ b/automotive/vehicle/2.0/default/common/src/VehiclePropertyStore.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ #define LOG_TAG "VehiclePropertyStore" -#include <android/log.h> +#include <log/log.h> #include <common/include/vhal_v2_0/VehicleUtils.h> #include "VehiclePropertyStore.h" diff --git a/automotive/vehicle/2.0/default/impl/vhal_v2_0/PipeComm.cpp b/automotive/vehicle/2.0/default/impl/vhal_v2_0/PipeComm.cpp index 4da59a928..5a9b25459 100644 --- a/automotive/vehicle/2.0/default/impl/vhal_v2_0/PipeComm.cpp +++ b/automotive/vehicle/2.0/default/impl/vhal_v2_0/PipeComm.cpp @@ -17,7 +17,7 @@ #define LOG_TAG "PipeComm" #include <android/hardware/automotive/vehicle/2.0/IVehicle.h> -#include <android/log.h> +#include <log/log.h> #include <qemu_pipe.h> #include "PipeComm.h" diff --git a/automotive/vehicle/2.0/default/impl/vhal_v2_0/SocketComm.cpp b/automotive/vehicle/2.0/default/impl/vhal_v2_0/SocketComm.cpp index a3ef4b127..42c1c780c 100644 --- a/automotive/vehicle/2.0/default/impl/vhal_v2_0/SocketComm.cpp +++ b/automotive/vehicle/2.0/default/impl/vhal_v2_0/SocketComm.cpp @@ -18,6 +18,7 @@ #include <android/hardware/automotive/vehicle/2.0/IVehicle.h> #include <android/log.h> +#include <log/log.h> #include <netinet/in.h> #include <sys/socket.h> diff --git a/automotive/vehicle/2.0/default/impl/vhal_v2_0/VehicleEmulator.h b/automotive/vehicle/2.0/default/impl/vhal_v2_0/VehicleEmulator.h index 9a75ddc19..c8bcd6036 100644 --- a/automotive/vehicle/2.0/default/impl/vhal_v2_0/VehicleEmulator.h +++ b/automotive/vehicle/2.0/default/impl/vhal_v2_0/VehicleEmulator.h @@ -17,9 +17,11 @@ #ifndef android_hardware_automotive_vehicle_V2_0_impl_VehicleHalEmulator_H_ #define android_hardware_automotive_vehicle_V2_0_impl_VehicleHalEmulator_H_ +#include <log/log.h> #include <memory> #include <thread> #include <vector> + #include "vhal_v2_0/VehicleHal.h" #include "CommBase.h" diff --git a/automotive/vehicle/2.1/default/impl/vhal_v2_1/EmulatedVehicleHal.cpp b/automotive/vehicle/2.1/default/impl/vhal_v2_1/EmulatedVehicleHal.cpp index ae7f416e2..4dceae058 100644 --- a/automotive/vehicle/2.1/default/impl/vhal_v2_1/EmulatedVehicleHal.cpp +++ b/automotive/vehicle/2.1/default/impl/vhal_v2_1/EmulatedVehicleHal.cpp @@ -17,9 +17,10 @@ #define LOG_TAG "DefaultVehicleHal_v2_1" #include <android/log.h> -#include <algorithm> +#include <log/log.h> #include <netinet/in.h> #include <sys/socket.h> +#include <algorithm> #include "EmulatedVehicleHal.h" #include "VehicleHalProto.pb.h" diff --git a/camera/common/1.0/default/CameraMetadata.cpp b/camera/common/1.0/default/CameraMetadata.cpp index 44c204065..0e7ef6e1b 100644 --- a/camera/common/1.0/default/CameraMetadata.cpp +++ b/camera/common/1.0/default/CameraMetadata.cpp @@ -17,7 +17,7 @@ // #define LOG_NDEBUG 0 #define LOG_TAG "CamComm1.0-MD" -#include <utils/Log.h> +#include <log/log.h> #include <utils/Errors.h> #include "CameraMetadata.h" diff --git a/camera/common/1.0/default/HandleImporter.cpp b/camera/common/1.0/default/HandleImporter.cpp index dee297338..e22f26f3d 100644 --- a/camera/common/1.0/default/HandleImporter.cpp +++ b/camera/common/1.0/default/HandleImporter.cpp @@ -15,8 +15,8 @@ */ #define LOG_TAG "HandleImporter" -#include <utils/Log.h> #include "HandleImporter.h" +#include <log/log.h> namespace android { namespace hardware { diff --git a/camera/common/1.0/default/VendorTagDescriptor.cpp b/camera/common/1.0/default/VendorTagDescriptor.cpp index db884a86a..bc1827060 100644 --- a/camera/common/1.0/default/VendorTagDescriptor.cpp +++ b/camera/common/1.0/default/VendorTagDescriptor.cpp @@ -16,13 +16,13 @@ #define LOG_TAG "CamComm1.0-VTDesc" +#include <log/log.h> +#include <system/camera_metadata.h> +#include <camera_metadata_hidden.h> #include <utils/Errors.h> -#include <utils/Log.h> #include <utils/Mutex.h> -#include <utils/Vector.h> #include <utils/SortedVector.h> -#include <system/camera_metadata.h> -#include <camera_metadata_hidden.h> +#include <utils/Vector.h> #include "VendorTagDescriptor.h" diff --git a/camera/device/1.0/default/CameraDevice.cpp b/camera/device/1.0/default/CameraDevice.cpp index 877c6e772..6495f3022 100644 --- a/camera/device/1.0/default/CameraDevice.cpp +++ b/camera/device/1.0/default/CameraDevice.cpp @@ -15,10 +15,10 @@ */ #define LOG_TAG "CamDev@1.0-impl" -#include <utils/Log.h> #include <hardware/camera.h> #include <hardware/gralloc1.h> #include <hidlmemory/mapping.h> +#include <log/log.h> #include <utils/Trace.h> #include "CameraDevice_1_0.h" diff --git a/camera/device/3.2/default/CameraDevice.cpp b/camera/device/3.2/default/CameraDevice.cpp index a74233554..637a1e661 100644 --- a/camera/device/3.2/default/CameraDevice.cpp +++ b/camera/device/3.2/default/CameraDevice.cpp @@ -15,7 +15,7 @@ */ #define LOG_TAG "CamDev@3.2-impl" -#include <utils/Log.h> +#include <log/log.h> #include <utils/Vector.h> #include <utils/Trace.h> diff --git a/camera/device/3.2/default/convert.cpp b/camera/device/3.2/default/convert.cpp index 35676df3a..c7cc75ad4 100644 --- a/camera/device/3.2/default/convert.cpp +++ b/camera/device/3.2/default/convert.cpp @@ -15,7 +15,7 @@ */ #define LOG_TAG "android.hardware.camera.device@3.2-convert-impl" -#include <android/log.h> +#include <log/log.h> #include "include/convert.h" diff --git a/camera/provider/2.4/vts/functional/CameraParameters.cpp b/camera/provider/2.4/vts/functional/CameraParameters.cpp index 0285154a8..97b263b64 100644 --- a/camera/provider/2.4/vts/functional/CameraParameters.cpp +++ b/camera/provider/2.4/vts/functional/CameraParameters.cpp @@ -16,7 +16,7 @@ */ #define LOG_TAG "CameraParams" -#include <utils/Log.h> +#include <log/log.h> #include <string.h> #include <stdlib.h> diff --git a/contexthub/1.0/vts/functional/VtsHalContexthubV1_0TargetTest.cpp b/contexthub/1.0/vts/functional/VtsHalContexthubV1_0TargetTest.cpp index 765857f8c..5672824d4 100644 --- a/contexthub/1.0/vts/functional/VtsHalContexthubV1_0TargetTest.cpp +++ b/contexthub/1.0/vts/functional/VtsHalContexthubV1_0TargetTest.cpp @@ -16,12 +16,13 @@ #define LOG_TAG "contexthub_hidl_hal_test" +#include <VtsHalHidlTargetTestBase.h> #include <android-base/logging.h> #include <android/hardware/contexthub/1.0/IContexthub.h> #include <android/hardware/contexthub/1.0/IContexthubCallback.h> #include <android/hardware/contexthub/1.0/types.h> #include <android/log.h> -#include <VtsHalHidlTargetTestBase.h> +#include <log/log.h> #include <cinttypes> #include <future> diff --git a/drm/1.0/default/CryptoFactory.cpp b/drm/1.0/default/CryptoFactory.cpp index 935786ddf..caab83bc0 100644 --- a/drm/1.0/default/CryptoFactory.cpp +++ b/drm/1.0/default/CryptoFactory.cpp @@ -16,10 +16,10 @@ #define LOG_TAG "android.hardware.drm@1.0-impl" #include "CryptoFactory.h" +#include <log/log.h> #include "CryptoPlugin.h" #include "LegacyPluginPath.h" #include "TypeConvert.h" -#include <utils/Log.h> namespace android { namespace hardware { diff --git a/drm/1.0/default/CryptoPlugin.cpp b/drm/1.0/default/CryptoPlugin.cpp index 5e5b5a7fe..591861aee 100644 --- a/drm/1.0/default/CryptoPlugin.cpp +++ b/drm/1.0/default/CryptoPlugin.cpp @@ -20,8 +20,8 @@ #include <android/hidl/memory/1.0/IMemory.h> #include <hidlmemory/mapping.h> +#include <log/log.h> #include <media/stagefright/foundation/AString.h> -#include <utils/Log.h> using android::hardware::hidl_memory; using android::hidl::memory::V1_0::IMemory; diff --git a/drm/1.0/default/DrmFactory.cpp b/drm/1.0/default/DrmFactory.cpp index 72466a14f..7e5d998e4 100644 --- a/drm/1.0/default/DrmFactory.cpp +++ b/drm/1.0/default/DrmFactory.cpp @@ -16,10 +16,10 @@ #define LOG_TAG "android.hardware.drm@1.0-impl" #include "DrmFactory.h" +#include <log/log.h> #include "DrmPlugin.h" #include "LegacyPluginPath.h" #include "TypeConvert.h" -#include <utils/Log.h> namespace android { namespace hardware { diff --git a/drm/1.0/vts/functional/drm_hal_clearkey_test.cpp b/drm/1.0/vts/functional/drm_hal_clearkey_test.cpp index 691085571..5a0d73a69 100644 --- a/drm/1.0/vts/functional/drm_hal_clearkey_test.cpp +++ b/drm/1.0/vts/functional/drm_hal_clearkey_test.cpp @@ -16,7 +16,6 @@ #define LOG_TAG "drm_hal_clearkey_test@1.0" -#include <android-base/logging.h> #include <android/hardware/drm/1.0/ICryptoFactory.h> #include <android/hardware/drm/1.0/ICryptoPlugin.h> #include <android/hardware/drm/1.0/IDrmFactory.h> @@ -26,6 +25,7 @@ #include <gtest/gtest.h> #include <hidl/HidlSupport.h> #include <hidlmemory/mapping.h> +#include <log/log.h> #include <memory> #include <openssl/aes.h> #include <random> diff --git a/drm/1.0/vts/functional/drm_hal_vendor_test.cpp b/drm/1.0/vts/functional/drm_hal_vendor_test.cpp index 7448c4253..c2e942d13 100644 --- a/drm/1.0/vts/functional/drm_hal_vendor_test.cpp +++ b/drm/1.0/vts/functional/drm_hal_vendor_test.cpp @@ -16,7 +16,6 @@ #define LOG_TAG "drm_hal_vendor_test@1.0" -#include <android-base/logging.h> #include <android/hardware/drm/1.0/ICryptoFactory.h> #include <android/hardware/drm/1.0/ICryptoPlugin.h> #include <android/hardware/drm/1.0/IDrmFactory.h> @@ -26,6 +25,7 @@ #include <android/hidl/allocator/1.0/IAllocator.h> #include <gtest/gtest.h> #include <hidlmemory/mapping.h> +#include <log/log.h> #include <memory> #include <openssl/aes.h> #include <random> diff --git a/drm/1.0/vts/functional/vendor_modules.cpp b/drm/1.0/vts/functional/vendor_modules.cpp index bb232aeaf..2bf0b28a9 100644 --- a/drm/1.0/vts/functional/vendor_modules.cpp +++ b/drm/1.0/vts/functional/vendor_modules.cpp @@ -18,7 +18,7 @@ #include <dirent.h> #include <dlfcn.h> -#include <utils/Log.h> +#include <log/log.h> #include <memory> #include "shared_library.h" diff --git a/gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp b/gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp index 391dea035..e9a44ebe4 100644 --- a/gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp +++ b/gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp @@ -30,6 +30,8 @@ #include <android/hardware/gatekeeper/1.0/IGatekeeper.h> #include <android/hardware/gatekeeper/1.0/types.h> +#include <log/log.h> + #include <VtsHalHidlTargetTestBase.h> using ::android::hardware::hidl_string; diff --git a/gnss/1.0/vts/functional/VtsHalGnssV1_0TargetTest.cpp b/gnss/1.0/vts/functional/VtsHalGnssV1_0TargetTest.cpp index bd5cc2e95..ec60b6500 100644 --- a/gnss/1.0/vts/functional/VtsHalGnssV1_0TargetTest.cpp +++ b/gnss/1.0/vts/functional/VtsHalGnssV1_0TargetTest.cpp @@ -16,7 +16,7 @@ #define LOG_TAG "VtsHalGnssV1_0TargetTest" #include <android/hardware/gnss/1.0/IGnss.h> -#include <android/log.h> +#include <log/log.h> #include <VtsHalHidlTargetTestBase.h> diff --git a/graphics/allocator/2.0/default/Gralloc1On0Adapter.cpp b/graphics/allocator/2.0/default/Gralloc1On0Adapter.cpp index f72242972..be055ec3b 100644 --- a/graphics/allocator/2.0/default/Gralloc1On0Adapter.cpp +++ b/graphics/allocator/2.0/default/Gralloc1On0Adapter.cpp @@ -25,7 +25,7 @@ #include <hardware/gralloc.h> -#include <utils/Log.h> +#include <log/log.h> #include <sync/sync.h> #include <inttypes.h> diff --git a/memtrack/1.0/vts/functional/VtsHalMemtrackV1_0TargetTest.cpp b/memtrack/1.0/vts/functional/VtsHalMemtrackV1_0TargetTest.cpp index a8d8aea1e..6ff566e7d 100644 --- a/memtrack/1.0/vts/functional/VtsHalMemtrackV1_0TargetTest.cpp +++ b/memtrack/1.0/vts/functional/VtsHalMemtrackV1_0TargetTest.cpp @@ -22,6 +22,7 @@ #include <VtsHalHidlTargetTestBase.h> +#include <fcntl.h> #include <algorithm> #include <vector> diff --git a/power/1.0/vts/functional/VtsHalPowerV1_0TargetTest.cpp b/power/1.0/vts/functional/VtsHalPowerV1_0TargetTest.cpp index cd1a26122..c94fa4f46 100644 --- a/power/1.0/vts/functional/VtsHalPowerV1_0TargetTest.cpp +++ b/power/1.0/vts/functional/VtsHalPowerV1_0TargetTest.cpp @@ -24,6 +24,7 @@ #include <VtsHalHidlTargetTestBase.h> +#include <fcntl.h> #include <algorithm> using ::android::hardware::power::V1_0::IPower; diff --git a/sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp b/sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp index 14c4a2a34..f757a64bb 100644 --- a/sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp +++ b/sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp @@ -15,14 +15,14 @@ */ #define LOG_TAG "sensors_hidl_hal_test" +#include <VtsHalHidlTargetTestBase.h> #include <android-base/logging.h> #include <android/hardware/sensors/1.0/ISensors.h> #include <android/hardware/sensors/1.0/types.h> -#include <android/log.h> #include <cutils/ashmem.h> +#include <hardware/sensors.h> // for sensor type strings +#include <log/log.h> #include <utils/SystemClock.h> -#include <VtsHalHidlTargetTestBase.h> -#include <hardware/sensors.h> // for sensor type strings #include <algorithm> #include <cinttypes> diff --git a/soundtrigger/2.0/vts/functional/VtsHalSoundtriggerV2_0TargetTest.cpp b/soundtrigger/2.0/vts/functional/VtsHalSoundtriggerV2_0TargetTest.cpp index 3fbef18e1..2eca8f461 100644 --- a/soundtrigger/2.0/vts/functional/VtsHalSoundtriggerV2_0TargetTest.cpp +++ b/soundtrigger/2.0/vts/functional/VtsHalSoundtriggerV2_0TargetTest.cpp @@ -23,6 +23,7 @@ #include <android/log.h> #include <cutils/native_handle.h> +#include <log/log.h> #include <android/hardware/audio/common/2.0/types.h> #include <android/hardware/soundtrigger/2.0/ISoundTriggerHw.h> diff --git a/usb/1.0/default/Usb.h b/usb/1.0/default/Usb.h index c34d08074..ddfcac6aa 100644 --- a/usb/1.0/default/Usb.h +++ b/usb/1.0/default/Usb.h @@ -4,7 +4,7 @@ #include <android/hardware/usb/1.0/IUsb.h> #include <hidl/MQDescriptor.h> #include <hidl/Status.h> -#include <utils/Log.h> +#include <log/log.h> #ifdef LOG_TAG #undef LOG_TAG diff --git a/usb/1.0/vts/functional/VtsHalUsbV1_0TargetTest.cpp b/usb/1.0/vts/functional/VtsHalUsbV1_0TargetTest.cpp index ea6d4a9ba..b77398fc6 100644 --- a/usb/1.0/vts/functional/VtsHalUsbV1_0TargetTest.cpp +++ b/usb/1.0/vts/functional/VtsHalUsbV1_0TargetTest.cpp @@ -22,6 +22,7 @@ #include <android/hardware/usb/1.0/types.h> #include <VtsHalHidlTargetTestBase.h> +#include <log/log.h> #include <stdlib.h> #include <chrono> #include <condition_variable> diff --git a/vr/1.0/vts/functional/VtsHalVrV1_0TargetTest.cpp b/vr/1.0/vts/functional/VtsHalVrV1_0TargetTest.cpp index a9837318d..23f4c71df 100644 --- a/vr/1.0/vts/functional/VtsHalVrV1_0TargetTest.cpp +++ b/vr/1.0/vts/functional/VtsHalVrV1_0TargetTest.cpp @@ -15,11 +15,11 @@ */ #define LOG_TAG "vr_hidl_hal_test" +#include <VtsHalHidlTargetTestBase.h> #include <android-base/logging.h> #include <android/hardware/vr/1.0/IVr.h> -#include <android/log.h> -#include <VtsHalHidlTargetTestBase.h> #include <hardware/vr.h> +#include <log/log.h> using ::android::hardware::vr::V1_0::IVr; using ::android::hardware::Return; |