summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/wds/client/main.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-06 19:14:39 +0000
committerSteve Block <steveblock@google.com>2012-01-08 11:03:21 +0000
commitf6b86ce97ca983128ec58f77cb4932774845f072 (patch)
tree0ef57bbddd0a17a5292ea70ba26250932cb24451 /Source/WebKit/android/wds/client/main.cpp
parent422f9d3f7b0a4110e925506184ef381a816cdb92 (diff)
downloadexternal_webkit-f6b86ce97ca983128ec58f77cb4932774845f072.zip
external_webkit-f6b86ce97ca983128ec58f77cb4932774845f072.tar.gz
external_webkit-f6b86ce97ca983128ec58f77cb4932774845f072.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: I4de9cd9a3bc462c4aead1fbcd4ac0f426556bc59
Diffstat (limited to 'Source/WebKit/android/wds/client/main.cpp')
-rw-r--r--Source/WebKit/android/wds/client/main.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/WebKit/android/wds/client/main.cpp b/Source/WebKit/android/wds/client/main.cpp
index 7e96f30..276affe 100644
--- a/Source/WebKit/android/wds/client/main.cpp
+++ b/Source/WebKit/android/wds/client/main.cpp
@@ -74,7 +74,7 @@ int main(int argc, char** argv) {
Device::DeviceType type = Device::NONE;
if (argc <= 1) {
- LOGE("wdsclient takes at least 1 argument");
+ ALOGE("wdsclient takes at least 1 argument");
return 1;
} else {
// Parse the options, look for -e or -d to choose a device.
@@ -94,7 +94,7 @@ int main(int argc, char** argv) {
}
}
if (optind == argc) {
- LOGE("No command specified");
+ ALOGE("No command specified");
return 1;
}
}
@@ -109,10 +109,10 @@ int main(int argc, char** argv) {
// No device specified and more than one connected, bail
if (type == Device::NONE && devices.size() > 1) {
- LOGE("More than one device/emulator, please specify with -e or -d");
+ ALOGE("More than one device/emulator, please specify with -e or -d");
return 1;
} else if (devices.size() == 0) {
- LOGE("No devices connected");
+ ALOGE("No devices connected");
return 1;
}
@@ -131,13 +131,13 @@ int main(int argc, char** argv) {
}
if (!device) {
- LOGE("No device found!");
+ ALOGE("No device found!");
return 1;
}
// Forward tcp:9999
if (!device->sendRequest("forward:tcp:" PORT_STR ";tcp:" PORT_STR)) {
- LOGE("Failed to send forwarding request");
+ ALOGE("Failed to send forwarding request");
return 1;
}
@@ -147,7 +147,7 @@ int main(int argc, char** argv) {
int commandLen = strlen(command);
#define WDS_COMMAND_LENGTH 4
if (commandLen != WDS_COMMAND_LENGTH) {
- LOGE("Commands must be 4 characters '%s'", command);
+ ALOGE("Commands must be 4 characters '%s'", command);
return 1;
}