Merge "Fix transitive includes."

This commit is contained in:
TreeHugger Robot 2017-04-06 23:36:12 +00:00 committed by Android (Google) Code Review
commit 04b10ccc41
31 changed files with 43 additions and 32 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -15,8 +15,8 @@
*/
#define LOG_TAG "HandleImporter"
#include <utils/Log.h>
#include "HandleImporter.h"
#include <log/log.h>
namespace android {
namespace hardware {

View file

@ -16,13 +16,13 @@
#define LOG_TAG "CamComm1.0-VTDesc"
#include <utils/Errors.h>
#include <utils/Log.h>
#include <utils/Mutex.h>
#include <utils/Vector.h>
#include <utils/SortedVector.h>
#include <log/log.h>
#include <system/camera_metadata.h>
#include <camera_metadata_hidden.h>
#include <utils/Errors.h>
#include <utils/Mutex.h>
#include <utils/SortedVector.h>
#include <utils/Vector.h>
#include "VendorTagDescriptor.h"

View file

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

View file

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

View file

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

View file

@ -16,7 +16,7 @@
*/
#define LOG_TAG "CameraParams"
#include <utils/Log.h>
#include <log/log.h>
#include <string.h>
#include <stdlib.h>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -18,7 +18,7 @@
#include <dirent.h>
#include <dlfcn.h>
#include <utils/Log.h>
#include <log/log.h>
#include <memory>
#include "shared_library.h"

View file

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

View file

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

View file

@ -25,7 +25,7 @@
#include <hardware/gralloc.h>
#include <utils/Log.h>
#include <log/log.h>
#include <sync/sync.h>
#include <inttypes.h>

View file

@ -22,6 +22,7 @@
#include <VtsHalHidlTargetTestBase.h>
#include <fcntl.h>
#include <algorithm>
#include <vector>

View file

@ -24,6 +24,7 @@
#include <VtsHalHidlTargetTestBase.h>
#include <fcntl.h>
#include <algorithm>
using ::android::hardware::power::V1_0::IPower;

View file

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

View file

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

View file

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

View file

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

View file

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