OSDN Git Service

Replace cutils/log.h and rationalize log/log.h and android/log.h
authorMark Salyzyn <salyzyn@google.com>
Thu, 29 Sep 2016 15:08:05 +0000 (08:08 -0700)
committerMark Salyzyn <salyzyn@google.com>
Wed, 11 Jan 2017 23:07:17 +0000 (15:07 -0800)
commit7823e124e00576e20e47ec717cbe8bc89f0f2bf2
treeb0d7ec03dfc3d58408a9616b7125a77a4ca4439c
parent5cfc1c0546d797ebca9bdc3645585e33cc0c1193
Replace cutils/log.h and rationalize log/log.h and android/log.h

- cutils/log.h treat as deprecated and lead by example
- android/log.h to be used instead of log/log.h if possible
- add system includes that are assumed as side effects
- define LOG_TAG first

Test: compile
Bug: 31289077
Bug: 30465923
Change-Id: I8d99b24c333578c9b5aa9f2a01324bd0bba268dd
46 files changed:
cmds/installd/InstalldNativeService.cpp
cmds/installd/dexopt.cpp
cmds/installd/globals.cpp
cmds/installd/otapreopt.cpp
cmds/installd/utils.cpp
cmds/ip-up-vpn/ip-up-vpn.c
cmds/servicemanager/binder.c
cmds/servicemanager/service_manager.c
include/ui/Rect.h
libs/binder/IMemory.cpp
libs/binder/MemoryHeapBase.cpp
libs/binder/PersistableBundle.cpp
libs/gui/GraphicBufferAlloc.cpp
libs/gui/Sensor.cpp
libs/input/InputTransport.cpp
libs/ui/GraphicBufferAllocator.cpp
opengl/libagl/egl.cpp
opengl/libs/EGL/Loader.cpp
opengl/libs/EGL/egl.cpp
opengl/libs/EGL/eglApi.cpp
opengl/libs/EGL/egl_tls.cpp
services/inputflinger/InputDispatcher.cpp
services/inputflinger/InputManager.cpp
services/inputflinger/InputReader.cpp
services/inputflinger/InputWindow.cpp
services/inputflinger/host/InputFlinger.cpp
services/surfaceflinger/DdmConnection.cpp
services/surfaceflinger/DispSync.cpp
services/surfaceflinger/DisplayHardware/FramebufferSurface.cpp
services/surfaceflinger/DisplayHardware/HWC2On1Adapter.cpp
services/surfaceflinger/DisplayHardware/HWComposer.cpp
services/surfaceflinger/DisplayHardware/HWComposer_hwc1.cpp
services/surfaceflinger/RenderEngine/Program.cpp
services/surfaceflinger/RenderEngine/RenderEngine.cpp
services/surfaceflinger/SurfaceFlinger.cpp
services/surfaceflinger/SurfaceFlinger_hwc1.cpp
vulkan/libvulkan/api.cpp
vulkan/libvulkan/api_gen.cpp
vulkan/libvulkan/code-generator.tmpl
vulkan/libvulkan/driver.cpp
vulkan/libvulkan/driver.h
vulkan/libvulkan/driver_gen.cpp
vulkan/libvulkan/layers_extensions.cpp
vulkan/libvulkan/stubhal.cpp
vulkan/libvulkan/swapchain.cpp
vulkan/nulldrv/null_driver.cpp