OSDN Git Service

Fix transitive includes.
authorSteven Moreland <smoreland@google.com>
Thu, 6 Apr 2017 19:15:23 +0000 (12:15 -0700)
committerSteven Moreland <smoreland@google.com>
Thu, 6 Apr 2017 22:04:05 +0000 (22:04 +0000)
Files relying on transitive include of utils/Log.h (and things that it
includes) from MQDescriptor.h

Test: pass
Merged-In: Iff316b21bef556bb026378b7f89e97ded3febef4
Change-Id: Iff316b21bef556bb026378b7f89e97ded3febef4

31 files changed:
automotive/evs/1.0/default/service.cpp
automotive/evs/1.0/vts/functional/VtsEvsV1_0TargetTest.cpp
automotive/vehicle/2.0/default/common/src/VehiclePropertyStore.cpp
automotive/vehicle/2.0/default/impl/vhal_v2_0/PipeComm.cpp
automotive/vehicle/2.0/default/impl/vhal_v2_0/SocketComm.cpp
automotive/vehicle/2.0/default/impl/vhal_v2_0/VehicleEmulator.h
automotive/vehicle/2.1/default/impl/vhal_v2_1/EmulatedVehicleHal.cpp
camera/common/1.0/default/CameraMetadata.cpp
camera/common/1.0/default/HandleImporter.cpp
camera/common/1.0/default/VendorTagDescriptor.cpp
camera/device/1.0/default/CameraDevice.cpp
camera/device/3.2/default/CameraDevice.cpp
camera/device/3.2/default/convert.cpp
camera/provider/2.4/vts/functional/CameraParameters.cpp
contexthub/1.0/vts/functional/VtsHalContexthubV1_0TargetTest.cpp
drm/1.0/default/CryptoFactory.cpp
drm/1.0/default/CryptoPlugin.cpp
drm/1.0/default/DrmFactory.cpp
drm/1.0/vts/functional/drm_hal_clearkey_test.cpp
drm/1.0/vts/functional/drm_hal_vendor_test.cpp
drm/1.0/vts/functional/vendor_modules.cpp
gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp
gnss/1.0/vts/functional/VtsHalGnssV1_0TargetTest.cpp
graphics/allocator/2.0/default/Gralloc1On0Adapter.cpp
memtrack/1.0/vts/functional/VtsHalMemtrackV1_0TargetTest.cpp
power/1.0/vts/functional/VtsHalPowerV1_0TargetTest.cpp
sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp
soundtrigger/2.0/vts/functional/VtsHalSoundtriggerV2_0TargetTest.cpp
usb/1.0/default/Usb.h
usb/1.0/vts/functional/VtsHalUsbV1_0TargetTest.cpp
vr/1.0/vts/functional/VtsHalVrV1_0TargetTest.cpp

index 1b64e44..d4181b9 100644 (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"
index 6a0ae48..50b6581 100644 (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>
index 0e6b776..2c3ebfc 100644 (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"
index 6f219fa..2b15aa3 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <android/hardware/automotive/vehicle/2.0/IVehicle.h>
 #include <android/log.h>
+#include <log/log.h>
 #include <system/qemu_pipe.h>
 
 #include "PipeComm.h"
index a3ef4b1..42c1c78 100644 (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>
 
index 9a75ddc..c8bcd60 100644 (file)
 #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"
index ae7f416..4dceae0 100644 (file)
 #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"
index 44c2040..0e7ef6e 100644 (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"
index dee2973..e22f26f 100644 (file)
@@ -15,8 +15,8 @@
  */
 
 #define LOG_TAG "HandleImporter"
-#include <utils/Log.h>
 #include "HandleImporter.h"
+#include <log/log.h>
 
 namespace android {
 namespace hardware {
index db884a8..bc18270 100644 (file)
 
 #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"
 
index 877c6e7..6495f30 100644 (file)
  */
 
 #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"
index a742335..637a1e6 100644 (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>
index 35676df..c7cc75a 100644 (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"
 
index 0285154..97b263b 100644 (file)
@@ -16,7 +16,7 @@
 */
 
 #define LOG_TAG "CameraParams"
-#include <utils/Log.h>
+#include <log/log.h>
 
 #include <string.h>
 #include <stdlib.h>
index 765857f..5672824 100644 (file)
 
 #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>
index 935786d..caab83b 100644 (file)
 #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 {
index 5e5b5a7..591861a 100644 (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;
index 72466a1..7e5d998 100644 (file)
 #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 {
index 6910855..e97ac10 100644 (file)
@@ -26,8 +26,9 @@
 #include <gtest/gtest.h>
 #include <hidl/HidlSupport.h>
 #include <hidlmemory/mapping.h>
-#include <memory>
+#include <log/log.h>
 #include <openssl/aes.h>
+#include <memory>
 #include <random>
 
 #include "VtsHalHidlTargetTestBase.h"
index 7448c42..44675dc 100644 (file)
@@ -26,8 +26,9 @@
 #include <android/hidl/allocator/1.0/IAllocator.h>
 #include <gtest/gtest.h>
 #include <hidlmemory/mapping.h>
-#include <memory>
+#include <log/log.h>
 #include <openssl/aes.h>
+#include <memory>
 #include <random>
 
 #include "drm_hal_vendor_module_api.h"
index bb232ae..2bf0b28 100644 (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"
index 391dea0..e9a44eb 100644 (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;
index bd5cc2e..ec60b65 100644 (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>
 
index f722429..be055ec 100644 (file)
@@ -25,7 +25,7 @@
 
 #include <hardware/gralloc.h>
 
-#include <utils/Log.h>
+#include <log/log.h>
 #include <sync/sync.h>
 
 #include <inttypes.h>
index cd1a261..c94fa4f 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <VtsHalHidlTargetTestBase.h>
 
+#include <fcntl.h>
 #include <algorithm>
 
 using ::android::hardware::power::V1_0::IPower;
index 14c4a2a..f757a64 100644 (file)
  */
 
 #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>
index 3fbef18..2eca8f4 100644 (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>
index c34d080..ddfcac6 100644 (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
index ea6d4a9..b77398f 100644 (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>
index a983731..23f4c71 100644 (file)
  */
 
 #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;