Fix transitive includes.
Files relying on transitive include of utils/Log.h (and things that it includes) from MQDescriptor.h Test: pass Change-Id: Iff316b21bef556bb026378b7f89e97ded3febef4
This commit is contained in:
parent
4cb19c55b5
commit
3eb7df74b8
31 changed files with 43 additions and 32 deletions
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
*/
|
||||
|
||||
#define LOG_TAG "HandleImporter"
|
||||
#include <utils/Log.h>
|
||||
#include "HandleImporter.h"
|
||||
#include <log/log.h>
|
||||
|
||||
namespace android {
|
||||
namespace hardware {
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
#define LOG_TAG "CameraParams"
|
||||
#include <utils/Log.h>
|
||||
#include <log/log.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 <random>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
@ -25,6 +24,7 @@
|
|||
#include <android/hidl/allocator/1.0/IAllocator.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <hidlmemory/mapping.h>
|
||||
#include <log/log.h>
|
||||
#include <memory>
|
||||
#include <random>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include <dirent.h>
|
||||
#include <dlfcn.h>
|
||||
#include <utils/Log.h>
|
||||
#include <log/log.h>
|
||||
#include <memory>
|
||||
|
||||
#include "shared_library.h"
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include <hardware/gralloc.h>
|
||||
|
||||
#include <utils/Log.h>
|
||||
#include <log/log.h>
|
||||
#include <sync/sync.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include <VtsHalHidlTargetTestBase.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <algorithm>
|
||||
|
||||
using ::android::hardware::power::V1_0::IPower;
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue