Merge "Replace cutils/log.h and log/logger.h with log/log.h" am: e7fcbcb991 am: 6143cbf1e5
am: ef8ccc8510
Change-Id: If6673f44c7d08960f3a0a86703cebf577bd21f1b
This commit is contained in:
@@ -58,7 +58,7 @@ public class EventLog {
|
||||
private final ByteBuffer mBuffer;
|
||||
|
||||
// Layout of event log entry received from Android logger.
|
||||
// see system/core/include/log/logger.h
|
||||
// see system/core/include/log/log.h
|
||||
private static final int LENGTH_OFFSET = 0;
|
||||
private static final int HEADER_SIZE_OFFSET = 2;
|
||||
private static final int PROCESS_OFFSET = 4;
|
||||
|
||||
@@ -33,7 +33,9 @@
|
||||
#include "HarfBuzzNGFaceSkia.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <cutils/log.h>
|
||||
|
||||
#include <log/log.h>
|
||||
|
||||
#include <SkPaint.h>
|
||||
#include <SkPath.h>
|
||||
#include <SkPoint.h>
|
||||
|
||||
@@ -16,32 +16,32 @@
|
||||
|
||||
#define LOG_TAG "android.os.Debug"
|
||||
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <inttypes.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#include <errno.h>
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <malloc.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <iomanip>
|
||||
#include <string>
|
||||
|
||||
#include "jni.h"
|
||||
#include <android-base/stringprintf.h>
|
||||
#include <cutils/debugger.h>
|
||||
#include <log/log.h>
|
||||
#include <utils/misc.h>
|
||||
#include <utils/String8.h>
|
||||
|
||||
#include "android-base/stringprintf.h"
|
||||
#include "cutils/debugger.h"
|
||||
#include "cutils/log.h"
|
||||
#include "JNIHelp.h"
|
||||
#include "memtrack/memtrack.h"
|
||||
#include "memunreachable/memunreachable.h"
|
||||
#include "utils/misc.h"
|
||||
#include "utils/String8.h"
|
||||
#include "jni.h"
|
||||
#include <memtrack/memtrack.h>
|
||||
#include <memunreachable/memunreachable.h>
|
||||
|
||||
namespace android
|
||||
{
|
||||
|
||||
@@ -19,15 +19,14 @@
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#include <cutils/trace.h>
|
||||
#include <utils/String8.h>
|
||||
#include <log/log.h>
|
||||
|
||||
#include <JNIHelp.h>
|
||||
#include <ScopedUtfChars.h>
|
||||
#include <ScopedStringChars.h>
|
||||
|
||||
#include <utils/String8.h>
|
||||
|
||||
#include <cutils/trace.h>
|
||||
#include <cutils/log.h>
|
||||
|
||||
namespace android {
|
||||
|
||||
static void sanitizeString(String8& utf8Chars) {
|
||||
|
||||
@@ -29,19 +29,19 @@
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <utils/Atomic.h>
|
||||
#include <binder/IInterface.h>
|
||||
#include <binder/IServiceManager.h>
|
||||
#include <binder/IPCThreadState.h>
|
||||
#include <utils/Log.h>
|
||||
#include <utils/SystemClock.h>
|
||||
#include <utils/List.h>
|
||||
#include <utils/KeyedVector.h>
|
||||
#include <log/logger.h>
|
||||
#include <binder/Parcel.h>
|
||||
#include <binder/ProcessState.h>
|
||||
#include <binder/IServiceManager.h>
|
||||
#include <utils/threads.h>
|
||||
#include <log/log.h>
|
||||
#include <utils/Atomic.h>
|
||||
#include <utils/KeyedVector.h>
|
||||
#include <utils/List.h>
|
||||
#include <utils/Log.h>
|
||||
#include <utils/String8.h>
|
||||
#include <utils/SystemClock.h>
|
||||
#include <utils/threads.h>
|
||||
|
||||
#include <ScopedUtfChars.h>
|
||||
#include <ScopedLocalRef.h>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <android-base/macros.h>
|
||||
#include <assert.h>
|
||||
#include <cutils/properties.h>
|
||||
#include <log/logger.h> // For LOGGER_ENTRY_MAX_PAYLOAD.
|
||||
#include <log/log.h> // For LOGGER_ENTRY_MAX_PAYLOAD.
|
||||
#include <utils/Log.h>
|
||||
#include <utils/String8.h>
|
||||
|
||||
|
||||
@@ -20,13 +20,14 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <log/log.h>
|
||||
|
||||
#include "JNIHelp.h"
|
||||
#include "JniConstants.h"
|
||||
#include "ScopedLocalRef.h"
|
||||
#include "ScopedUtfChars.h"
|
||||
#include "jni.h"
|
||||
#include "ziparchive/zip_archive.h"
|
||||
#include "cutils/log.h"
|
||||
|
||||
namespace android {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#include "DamageAccumulator.h"
|
||||
|
||||
#include <cutils/log.h>
|
||||
#include <log/log.h>
|
||||
|
||||
#include "RenderNode.h"
|
||||
#include "utils/MathUtils.h"
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -15,10 +15,11 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <cutils/log.h>
|
||||
#include <pthread.h>
|
||||
#include <ostream>
|
||||
|
||||
#include <log/log.h>
|
||||
|
||||
namespace android {
|
||||
namespace uirenderer {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -15,19 +15,21 @@
|
||||
*/
|
||||
#include "JankTracker.h"
|
||||
|
||||
#include "Properties.h"
|
||||
#include "utils/TimeUtils.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cutils/ashmem.h>
|
||||
#include <cutils/log.h>
|
||||
#include <cstdio>
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
#include <limits>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <limits>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include <cutils/ashmem.h>
|
||||
#include <log/log.h>
|
||||
|
||||
#include "Properties.h"
|
||||
#include "utils/TimeUtils.h"
|
||||
|
||||
namespace android {
|
||||
namespace uirenderer {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -13,17 +13,17 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#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 {
|
||||
|
||||
|
||||
@@ -16,7 +16,10 @@
|
||||
|
||||
#include "SkiaCanvasProxy.h"
|
||||
|
||||
#include <cutils/log.h>
|
||||
#include <memory>
|
||||
|
||||
#include <log/log.h>
|
||||
|
||||
#include <SkPatchUtils.h>
|
||||
#include <SkPaint.h>
|
||||
#include <SkPath.h>
|
||||
@@ -24,8 +27,6 @@
|
||||
#include <SkRect.h>
|
||||
#include <SkRRect.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace android {
|
||||
namespace uirenderer {
|
||||
|
||||
|
||||
@@ -16,9 +16,10 @@
|
||||
|
||||
#include "MinikinSkia.h"
|
||||
|
||||
#include <log/log.h>
|
||||
|
||||
#include <SkPaint.h>
|
||||
#include <SkTypeface.h>
|
||||
#include <cutils/log.h>
|
||||
|
||||
namespace android {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
FontStyle MinikinUtils::prepareMinikinPaint(MinikinPaint* minikinPaint, FontCollection** pFont,
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "Debug.h"
|
||||
|
||||
#include <cutils/log.h>
|
||||
#include <log/log.h>
|
||||
|
||||
namespace android {
|
||||
namespace uirenderer {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -13,10 +13,12 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
#define LOG_TAG "geometry"
|
||||
|
||||
#include <cutils/log.h>
|
||||
#include <cmath>
|
||||
|
||||
#include <log/log.h>
|
||||
|
||||
#include "geometry.h"
|
||||
|
||||
namespace android {
|
||||
|
||||
@@ -13,14 +13,16 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
#define LOG_TAG "time_util"
|
||||
|
||||
#include "time_util.h"
|
||||
#include "utilities.h"
|
||||
|
||||
#include <cutils/log.h>
|
||||
#include <sys/time.h>
|
||||
#include <map>
|
||||
|
||||
#include <log/log.h>
|
||||
|
||||
namespace android {
|
||||
namespace filterfw {
|
||||
|
||||
|
||||
@@ -17,24 +17,25 @@
|
||||
#define LOG_NDEBUG 0
|
||||
|
||||
#define LOG_TAG "VpnJni"
|
||||
#include <cutils/log.h>
|
||||
#include "netutils/ifc.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include <linux/if.h>
|
||||
#include <linux/if_tun.h>
|
||||
#include <linux/route.h>
|
||||
#include <linux/ipv6_route.h>
|
||||
#include <netinet/in.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <log/log.h>
|
||||
|
||||
#include "netutils/ifc.h"
|
||||
|
||||
#include "jni.h"
|
||||
#include "JNIHelp.h"
|
||||
|
||||
Reference in New Issue
Block a user