diff options
author | Steve Block <steveblock@google.com> | 2012-01-06 19:20:56 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-08 13:19:13 +0000 |
commit | 3762c311729fe9f3af085c14c5c1fb471d994c03 (patch) | |
tree | 7d4caccad80ac7327c7bff96dafc857d5f4631ad /opengl/libs/GLES_trace | |
parent | 7a939077bd14521c7d351af98df7ed75a8ec9c15 (diff) | |
download | frameworks_base-3762c311729fe9f3af085c14c5c1fb471d994c03.zip frameworks_base-3762c311729fe9f3af085c14c5c1fb471d994c03.tar.gz frameworks_base-3762c311729fe9f3af085c14c5c1fb471d994c03.tar.bz2 |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
Diffstat (limited to 'opengl/libs/GLES_trace')
-rw-r--r-- | opengl/libs/GLES_trace/src/gltrace_eglapi.cpp | 2 | ||||
-rw-r--r-- | opengl/libs/GLES_trace/src/gltrace_fixup.cpp | 6 | ||||
-rw-r--r-- | opengl/libs/GLES_trace/src/gltrace_transport.cpp | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/opengl/libs/GLES_trace/src/gltrace_eglapi.cpp b/opengl/libs/GLES_trace/src/gltrace_eglapi.cpp index 0fe97ce..c237d75 100644 --- a/opengl/libs/GLES_trace/src/gltrace_eglapi.cpp +++ b/opengl/libs/GLES_trace/src/gltrace_eglapi.cpp @@ -84,7 +84,7 @@ void GLTrace_start() { int clientSocket = gltrace::acceptClientConnection(port); if (clientSocket < 0) { - LOGE("Error creating GLTrace server socket. Quitting application."); + ALOGE("Error creating GLTrace server socket. Quitting application."); exit(-1); } diff --git a/opengl/libs/GLES_trace/src/gltrace_fixup.cpp b/opengl/libs/GLES_trace/src/gltrace_fixup.cpp index 5a439e3..5220aa4 100644 --- a/opengl/libs/GLES_trace/src/gltrace_fixup.cpp +++ b/opengl/libs/GLES_trace/src/gltrace_fixup.cpp @@ -51,7 +51,7 @@ unsigned getBytesPerTexel(const GLenum format, const GLenum type) { case GL_UNSIGNED_BYTE: break; default: - LOGE("GetBytesPerPixel: unknown type %x", type); + ALOGE("GetBytesPerPixel: unknown type %x", type); } switch (format) { @@ -66,7 +66,7 @@ unsigned getBytesPerTexel(const GLenum format, const GLenum type) { case 0x80E1: // GL_BGRA_EXT return 4; default: - LOGE("GetBytesPerPixel: unknown format %x", format); + ALOGE("GetBytesPerPixel: unknown format %x", format); } return 1; // in doubt... @@ -139,7 +139,7 @@ void fixup_glTexImage2D(GLMessage *glmsg) { if (data != NULL) { arg_data->add_rawbytes(data, bytesPerTexel * width * height); } else { - LOGE("fixup_glTexImage2D: image data is NULL.\n"); + ALOGE("fixup_glTexImage2D: image data is NULL.\n"); arg_data->set_type(GLMessage::DataType::VOID); // FIXME: // This will create the texture, but it will be uninitialized. diff --git a/opengl/libs/GLES_trace/src/gltrace_transport.cpp b/opengl/libs/GLES_trace/src/gltrace_transport.cpp index 7758e48..ce3fae5 100644 --- a/opengl/libs/GLES_trace/src/gltrace_transport.cpp +++ b/opengl/libs/GLES_trace/src/gltrace_transport.cpp @@ -31,7 +31,7 @@ namespace gltrace { int acceptClientConnection(int serverPort) { int serverSocket = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); if (serverSocket < 0) { - LOGE("Error (%d) while creating socket. Check if app has network permissions.", + ALOGE("Error (%d) while creating socket. Check if app has network permissions.", serverSocket); return -1; } @@ -45,13 +45,13 @@ int acceptClientConnection(int serverPort) { socklen_t sockaddr_len = sizeof(sockaddr_in); if (bind(serverSocket, (struct sockaddr *) &server, sizeof(server)) < 0) { close(serverSocket); - LOGE("Failed to bind the server socket"); + ALOGE("Failed to bind the server socket"); return -1; } if (listen(serverSocket, 1) < 0) { close(serverSocket); - LOGE("Failed to listen on server socket"); + ALOGE("Failed to listen on server socket"); return -1; } @@ -60,7 +60,7 @@ int acceptClientConnection(int serverPort) { int clientSocket = accept(serverSocket, (struct sockaddr *)&client, &sockaddr_len); if (clientSocket < 0) { close(serverSocket); - LOGE("Failed to accept client connection"); + ALOGE("Failed to accept client connection"); return -1; } |