summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/wds
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-10-20 11:55:49 +0100
committerSteve Block <steveblock@google.com>2011-10-25 18:15:50 +0100
commit2df3aefb377b3f3c4af3b548b1980d8c8ae56844 (patch)
tree6f183d0da27c00b22bcce6d11f13563a6c99865f /Source/WebKit/android/wds
parent2a9675cb0ba09718f308bc6edff3e2b6a5170383 (diff)
downloadexternal_webkit-2df3aefb377b3f3c4af3b548b1980d8c8ae56844.zip
external_webkit-2df3aefb377b3f3c4af3b548b1980d8c8ae56844.tar.gz
external_webkit-2df3aefb377b3f3c4af3b548b1980d8c8ae56844.tar.bz2
Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I821098330652380686aca9e83222936bd5678970
Diffstat (limited to 'Source/WebKit/android/wds')
-rw-r--r--Source/WebKit/android/wds/client/AdbConnection.cpp6
-rw-r--r--Source/WebKit/android/wds/client/main.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebKit/android/wds/client/AdbConnection.cpp b/Source/WebKit/android/wds/client/AdbConnection.cpp
index 465f9c3..617ed72 100644
--- a/Source/WebKit/android/wds/client/AdbConnection.cpp
+++ b/Source/WebKit/android/wds/client/AdbConnection.cpp
@@ -89,7 +89,7 @@ bool AdbConnection::sendRequest(const char* fmt, ...) const {
int res = vsnprintf(buf, MAX_COMMAND_LENGTH, fmt, args);
va_end(args);
- LOGV("Sending command: %04X%.*s", res, res, buf);
+ ALOGV("Sending command: %04X%.*s", res, res, buf);
// Construct the payload length
char payloadLen[PAYLOAD_LENGTH + 1];
@@ -156,7 +156,7 @@ bool AdbConnection::checkOkayResponse() const {
// Check for a response other than OKAY/FAIL
if ((res == ADB_RESPONSE_LENGTH) && (strncmp(buf, "OKAY", res) == 0)) {
- LOGV("Command OKAY");
+ ALOGV("Command OKAY");
return true;
} else if (strncmp(buf, "FAIL", ADB_RESPONSE_LENGTH) == 0) {
// Something happened, print out the reason for failure
@@ -224,7 +224,7 @@ const DeviceList& AdbConnection::getDeviceList() {
static const char emulator[] = "emulator-";
if (strncmp(serial, emulator, sizeof(emulator) - 1) == 0)
t = Device::EMULATOR;
- LOGV("Adding device %s (%s)", serial, state);
+ ALOGV("Adding device %s (%s)", serial, state);
m_devices.add(new Device(serial, t, this));
// Reset for the next line
diff --git a/Source/WebKit/android/wds/client/main.cpp b/Source/WebKit/android/wds/client/main.cpp
index 1c7d856..7e96f30 100644
--- a/Source/WebKit/android/wds/client/main.cpp
+++ b/Source/WebKit/android/wds/client/main.cpp
@@ -141,7 +141,7 @@ int main(int argc, char** argv) {
return 1;
}
- LOGV("Connecting to localhost port " PORT_STR);
+ ALOGV("Connecting to localhost port " PORT_STR);
const char* command = argv[optind];
int commandLen = strlen(command);