summaryrefslogtreecommitdiffstats
path: root/nexus
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-04 19:19:03 +0000
committerSteve Block <steveblock@google.com>2012-01-04 19:23:34 +0000
commitfe71a61e5b0cb666675900d206251a7c18ed944b (patch)
treee76dbede05c1e6b92ea4e05878745c6d21ed9d4b /nexus
parent8d66c49258ac4f59bd67c23c9c914cca81f85b01 (diff)
downloadsystem_core-fe71a61e5b0cb666675900d206251a7c18ed944b.zip
system_core-fe71a61e5b0cb666675900d206251a7c18ed944b.tar.gz
system_core-fe71a61e5b0cb666675900d206251a7c18ed944b.tar.bz2
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
Bug: 5449033 Change-Id: I4951baa981f09a84ce483e3d1bd0f9ebe009035f
Diffstat (limited to 'nexus')
-rw-r--r--nexus/WifiController.cpp10
-rw-r--r--nexus/main.cpp4
2 files changed, 7 insertions, 7 deletions
diff --git a/nexus/WifiController.cpp b/nexus/WifiController.cpp
index 1209d1f..18891ce 100644
--- a/nexus/WifiController.cpp
+++ b/nexus/WifiController.cpp
@@ -108,7 +108,7 @@ int WifiController::stop() {
int WifiController::enable() {
if (!isPoweredUp()) {
- LOGI("Powering up");
+ ALOGI("Powering up");
sendStatusBroadcast("Powering up WiFi hardware");
if (powerUp()) {
LOGE("Powerup failed (%s)", strerror(errno));
@@ -117,7 +117,7 @@ int WifiController::enable() {
}
if (mModuleName[0] != '\0' && !isKernelModuleLoaded(mModuleName)) {
- LOGI("Loading driver");
+ ALOGI("Loading driver");
sendStatusBroadcast("Loading WiFi driver");
if (loadKernelModule(mModulePath, mModuleArgs)) {
LOGE("Kernel module load failed (%s)", strerror(errno));
@@ -126,7 +126,7 @@ int WifiController::enable() {
}
if (!isFirmwareLoaded()) {
- LOGI("Loading firmware");
+ ALOGI("Loading firmware");
sendStatusBroadcast("Loading WiFI firmware");
if (loadFirmware()) {
LOGE("Firmware load failed (%s)", strerror(errno));
@@ -135,7 +135,7 @@ int WifiController::enable() {
}
if (!mSupplicant->isStarted()) {
- LOGI("Starting WPA Supplicant");
+ ALOGI("Starting WPA Supplicant");
sendStatusBroadcast("Starting WPA Supplicant");
if (mSupplicant->start()) {
LOGE("Supplicant start failed (%s)", strerror(errno));
@@ -167,7 +167,7 @@ int WifiController::enable() {
mPropMngr->attachProperty("wifi", mDynamicProperties.propNetCount);
mPropMngr->attachProperty("wifi", mDynamicProperties.propTriggerScan);
- LOGI("Enabled successfully");
+ ALOGI("Enabled successfully");
return 0;
out_unloadmodule:
diff --git a/nexus/main.cpp b/nexus/main.cpp
index 936d33f..5d21067 100644
--- a/nexus/main.cpp
+++ b/nexus/main.cpp
@@ -28,7 +28,7 @@
#include "TiwlanWifiController.h"
int main() {
- LOGI("Nexus version 0.1 firing up");
+ ALOGI("Nexus version 0.1 firing up");
CommandListener *cl = new CommandListener();
@@ -62,6 +62,6 @@ int main() {
sleep(1000);
}
- LOGI("Nexus exiting");
+ ALOGI("Nexus exiting");
exit(0);
}