diff options
author | 2017-01-11 08:30:03 -0800 | |
---|---|---|
committer | 2017-01-11 08:30:17 -0800 | |
commit | db15537e6e0d35c7ed3b1bef45e421760be70683 (patch) | |
tree | a37853e5f3889f478cbcd204b46d1c8c640215f2 /libs | |
parent | 505d8262ab8702fea19c926bdff4d66bbbaa766a (diff) | |
parent | 082a1721b5165420e11319b98eefaa35d0feb844 (diff) |
resolve merge conflicts of 082a1721b516 to master
Test: compile
Bug: 26552300
Bug: 31289077
Change-Id: I17f178f425975c1c0dbd48091d25b101956d505e
Diffstat (limited to 'libs')
-rw-r--r-- | libs/androidfw/BackupData.cpp | 7 | ||||
-rw-r--r-- | libs/androidfw/BackupHelpers.cpp | 19 | ||||
-rw-r--r-- | libs/androidfw/include/androidfw/CursorWindow.h | 2 | ||||
-rw-r--r-- | libs/hwui/DamageAccumulator.cpp | 2 | ||||
-rw-r--r-- | libs/hwui/DeviceInfo.cpp | 8 | ||||
-rw-r--r-- | libs/hwui/GpuMemoryTracker.h | 3 | ||||
-rw-r--r-- | libs/hwui/Interpolator.cpp | 7 | ||||
-rw-r--r-- | libs/hwui/JankTracker.cpp | 16 | ||||
-rw-r--r-- | libs/hwui/PixelBuffer.h | 3 | ||||
-rw-r--r-- | libs/hwui/Properties.cpp | 10 | ||||
-rw-r--r-- | libs/hwui/SkiaCanvasProxy.cpp | 8 | ||||
-rw-r--r-- | libs/hwui/hwui/MinikinSkia.cpp | 3 | ||||
-rw-r--r-- | libs/hwui/hwui/MinikinUtils.cpp | 8 | ||||
-rw-r--r-- | libs/hwui/utils/GLUtils.h | 2 | ||||
-rw-r--r-- | libs/input/PointerController.cpp | 4 | ||||
-rw-r--r-- | libs/input/SpriteController.cpp | 4 |
16 files changed, 57 insertions, 49 deletions
diff --git a/libs/androidfw/BackupData.cpp b/libs/androidfw/BackupData.cpp index ba4a4ff4fe63..76a430ee9f0e 100644 --- a/libs/androidfw/BackupData.cpp +++ b/libs/androidfw/BackupData.cpp @@ -16,14 +16,13 @@ #define LOG_TAG "backup_data" -#include <androidfw/BackupHelpers.h> -#include <utils/ByteOrder.h> - #include <stdio.h> #include <string.h> #include <unistd.h> -#include <cutils/log.h> +#include <androidfw/BackupHelpers.h> +#include <log/log.h> +#include <utils/ByteOrder.h> namespace android { diff --git a/libs/androidfw/BackupHelpers.cpp b/libs/androidfw/BackupHelpers.cpp index 78e9d91c4d67..8bfe2b6a259a 100644 --- a/libs/androidfw/BackupHelpers.cpp +++ b/libs/androidfw/BackupHelpers.cpp @@ -18,23 +18,22 @@ #include <androidfw/BackupHelpers.h> -#include <utils/KeyedVector.h> -#include <utils/ByteOrder.h> -#include <utils/String8.h> - #include <errno.h> -#include <sys/types.h> -#include <sys/uio.h> -#include <sys/stat.h> -#include <sys/time.h> // for utimes +#include <fcntl.h> #include <stdio.h> #include <stdlib.h> +#include <sys/stat.h> +#include <sys/types.h> +#include <sys/time.h> // for utimes +#include <sys/uio.h> #include <unistd.h> #include <utime.h> -#include <fcntl.h> #include <zlib.h> -#include <cutils/log.h> +#include <log/log.h> +#include <utils/ByteOrder.h> +#include <utils/KeyedVector.h> +#include <utils/String8.h> namespace android { diff --git a/libs/androidfw/include/androidfw/CursorWindow.h b/libs/androidfw/include/androidfw/CursorWindow.h index 8a2979a3756d..f54356576551 100644 --- a/libs/androidfw/include/androidfw/CursorWindow.h +++ b/libs/androidfw/include/androidfw/CursorWindow.h @@ -17,11 +17,11 @@ #ifndef _ANDROID__DATABASE_WINDOW_H #define _ANDROID__DATABASE_WINDOW_H -#include <cutils/log.h> #include <stddef.h> #include <stdint.h> #include <binder/Parcel.h> +#include <log/log.h> #include <utils/String8.h> #if LOG_NDEBUG diff --git a/libs/hwui/DamageAccumulator.cpp b/libs/hwui/DamageAccumulator.cpp index 6d5833b3be86..2b4fe17d424d 100644 --- a/libs/hwui/DamageAccumulator.cpp +++ b/libs/hwui/DamageAccumulator.cpp @@ -16,7 +16,7 @@ #include "DamageAccumulator.h" -#include <cutils/log.h> +#include <log/log.h> #include "RenderNode.h" #include "utils/MathUtils.h" diff --git a/libs/hwui/DeviceInfo.cpp b/libs/hwui/DeviceInfo.cpp index 700642ed7334..d180ba51b304 100644 --- a/libs/hwui/DeviceInfo.cpp +++ b/libs/hwui/DeviceInfo.cpp @@ -13,16 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + #include <DeviceInfo.h> #include "Extensions.h" -#include <GLES2/gl2.h> -#include <log/log.h> - #include <thread> #include <mutex> +#include <log/log.h> + +#include <GLES2/gl2.h> + namespace android { namespace uirenderer { diff --git a/libs/hwui/GpuMemoryTracker.h b/libs/hwui/GpuMemoryTracker.h index bfb1bf1ba098..352f3d785c54 100644 --- a/libs/hwui/GpuMemoryTracker.h +++ b/libs/hwui/GpuMemoryTracker.h @@ -15,10 +15,11 @@ */ #pragma once -#include <cutils/log.h> #include <pthread.h> #include <ostream> +#include <log/log.h> + namespace android { namespace uirenderer { diff --git a/libs/hwui/Interpolator.cpp b/libs/hwui/Interpolator.cpp index f94a22d51d9f..d740c038f36d 100644 --- a/libs/hwui/Interpolator.cpp +++ b/libs/hwui/Interpolator.cpp @@ -16,10 +16,11 @@ #include "Interpolator.h" -#include "utils/MathUtils.h" - #include <algorithm> -#include <cutils/log.h> + +#include <log/log.h> + +#include "utils/MathUtils.h" namespace android { namespace uirenderer { diff --git a/libs/hwui/JankTracker.cpp b/libs/hwui/JankTracker.cpp index ed6b211eef1b..0a9bf5450091 100644 --- a/libs/hwui/JankTracker.cpp +++ b/libs/hwui/JankTracker.cpp @@ -15,19 +15,21 @@ */ #include "JankTracker.h" -#include "Properties.h" -#include "utils/TimeUtils.h" +#include <errno.h> +#include <inttypes.h> #include <algorithm> -#include <cutils/ashmem.h> -#include <cutils/log.h> +#include <cmath> #include <cstdio> -#include <errno.h> -#include <inttypes.h> #include <limits> -#include <cmath> #include <sys/mman.h> +#include <cutils/ashmem.h> +#include <log/log.h> + +#include "Properties.h" +#include "utils/TimeUtils.h" + namespace android { namespace uirenderer { diff --git a/libs/hwui/PixelBuffer.h b/libs/hwui/PixelBuffer.h index 9536bc807fbc..77d5e413cb36 100644 --- a/libs/hwui/PixelBuffer.h +++ b/libs/hwui/PixelBuffer.h @@ -18,7 +18,8 @@ #define ANDROID_HWUI_PIXEL_BUFFER_H #include <GLES3/gl3.h> -#include <cutils/log.h> + +#include <log/log.h> namespace android { namespace uirenderer { diff --git a/libs/hwui/Properties.cpp b/libs/hwui/Properties.cpp index 848161e44604..a7663817721d 100644 --- a/libs/hwui/Properties.cpp +++ b/libs/hwui/Properties.cpp @@ -13,17 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include "Properties.h" +#include "Properties.h" #include "Debug.h" -#include <cutils/compiler.h> -#include <cutils/log.h> -#include <cutils/properties.h> - #include <algorithm> #include <cstdlib> +#include <log/log.h> +#include <cutils/compiler.h> +#include <cutils/properties.h> + namespace android { namespace uirenderer { diff --git a/libs/hwui/SkiaCanvasProxy.cpp b/libs/hwui/SkiaCanvasProxy.cpp index c5156cfd6844..f32612d21319 100644 --- a/libs/hwui/SkiaCanvasProxy.cpp +++ b/libs/hwui/SkiaCanvasProxy.cpp @@ -16,9 +16,11 @@ #include "SkiaCanvasProxy.h" -#include "hwui/Bitmap.h" +#include <memory> + +#include <log/log.h> -#include <cutils/log.h> +#include "hwui/Bitmap.h" #include <SkLatticeIter.h> #include <SkPatchUtils.h> #include <SkPaint.h> @@ -30,8 +32,6 @@ #include <SkSurface.h> #include <SkTextBlobRunIterator.h> -#include <memory> - namespace android { namespace uirenderer { diff --git a/libs/hwui/hwui/MinikinSkia.cpp b/libs/hwui/hwui/MinikinSkia.cpp index f172473d1652..956f66ed22cb 100644 --- a/libs/hwui/hwui/MinikinSkia.cpp +++ b/libs/hwui/hwui/MinikinSkia.cpp @@ -16,9 +16,10 @@ #include "MinikinSkia.h" +#include <log/log.h> + #include <SkPaint.h> #include <SkTypeface.h> -#include <cutils/log.h> namespace android { diff --git a/libs/hwui/hwui/MinikinUtils.cpp b/libs/hwui/hwui/MinikinUtils.cpp index 8dd165c46d21..713e5099da26 100644 --- a/libs/hwui/hwui/MinikinUtils.cpp +++ b/libs/hwui/hwui/MinikinUtils.cpp @@ -13,15 +13,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + #include "MinikinUtils.h" +#include <string> + +#include <log/log.h> + #include "Paint.h" #include "SkPathMeasure.h" #include "Typeface.h" -#include <cutils/log.h> -#include <string> - namespace android { minikin::FontStyle MinikinUtils::prepareMinikinPaint(minikin::MinikinPaint* minikinPaint, diff --git a/libs/hwui/utils/GLUtils.h b/libs/hwui/utils/GLUtils.h index 94818b2dc44f..c12747805293 100644 --- a/libs/hwui/utils/GLUtils.h +++ b/libs/hwui/utils/GLUtils.h @@ -18,7 +18,7 @@ #include "Debug.h" -#include <cutils/log.h> +#include <log/log.h> namespace android { namespace uirenderer { diff --git a/libs/input/PointerController.cpp b/libs/input/PointerController.cpp index 0b22ad5ba470..7c6046789cdc 100644 --- a/libs/input/PointerController.cpp +++ b/libs/input/PointerController.cpp @@ -15,7 +15,6 @@ */ #define LOG_TAG "PointerController" - //#define LOG_NDEBUG 0 // Log debug messages about pointer updates @@ -23,8 +22,9 @@ #include "PointerController.h" -#include <cutils/log.h> +#include <log/log.h> +// ToDo: Fix code to be warning free #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-parameter" #include <SkBitmap.h> diff --git a/libs/input/SpriteController.cpp b/libs/input/SpriteController.cpp index 18ebd47558bc..4991f0434bc2 100644 --- a/libs/input/SpriteController.cpp +++ b/libs/input/SpriteController.cpp @@ -15,15 +15,15 @@ */ #define LOG_TAG "Sprites" - //#define LOG_NDEBUG 0 #include "SpriteController.h" -#include <cutils/log.h> +#include <log/log.h> #include <utils/String8.h> #include <gui/Surface.h> +// ToDo: Fix code to be warning free #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-parameter" #include <SkBitmap.h> |