summaryrefslogtreecommitdiffstats
path: root/service/jni
diff options
context:
space:
mode:
authorVinit Deshpande <vinitd@google.com>2015-06-03 15:51:55 -0700
committerVinit Deshpande <vinitd@google.com>2015-06-03 18:50:52 -0700
commitc5cdba4fa88dd5653be476377ad97665fe2d4872 (patch)
treefb9e02f272dc6fdacf865224eb7613d29ed24153 /service/jni
parent800f0bd2fd9ef6886a9d2d3fd08e14ec32fa9066 (diff)
downloadandroid_frameworks_opt_net_wifi-c5cdba4fa88dd5653be476377ad97665fe2d4872.tar.gz
android_frameworks_opt_net_wifi-c5cdba4fa88dd5653be476377ad97665fe2d4872.tar.bz2
android_frameworks_opt_net_wifi-c5cdba4fa88dd5653be476377ad97665fe2d4872.zip
Remove trivial GScan logs
These helped once; but now this is just noise. Also given that GMSCore starts/stops scans many times it is taking too much of log real estate. Bug: 20416721 Change-Id: I965ed919afbac56e123e8d019be84d7d33abf3f9
Diffstat (limited to 'service/jni')
-rw-r--r--service/jni/com_android_server_wifi_WifiNative.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/service/jni/com_android_server_wifi_WifiNative.cpp b/service/jni/com_android_server_wifi_WifiNative.cpp
index 40f41ba3f..10b78573d 100644
--- a/service/jni/com_android_server_wifi_WifiNative.cpp
+++ b/service/jni/com_android_server_wifi_WifiNative.cpp
@@ -432,7 +432,7 @@ static void onScanResultsAvailable(wifi_request_id id, unsigned num_results) {
JNIEnv *env = NULL;
mVM->AttachCurrentThread(&env, NULL);
- ALOGD("onScanResultsAvailable called, vm = %p, obj = %p, env = %p", mVM, mCls, env);
+ // ALOGD("onScanResultsAvailable called, vm = %p, obj = %p, env = %p", mVM, mCls, env);
reportEvent(env, mCls, "onScanResultsAvailable", "(I)V", id);
}
@@ -441,7 +441,7 @@ static void onScanEvent(wifi_scan_event event, unsigned status) {
JNIEnv *env = NULL;
mVM->AttachCurrentThread(&env, NULL);
- ALOGD("onScanStatus called, vm = %p, obj = %p, env = %p", mVM, mCls, env);
+ // ALOGD("onScanStatus called, vm = %p, obj = %p, env = %p", mVM, mCls, env);
reportEvent(env, mCls, "onScanStatus", "(I)V", event);
}
@@ -629,7 +629,7 @@ static jobject android_net_wifi_getScanResults(
env->SetObjectArrayElement(scanData, i, data);
}
- ALOGD("retrieved %d scan data from interface[%d] = %p", num_scan_data, iface, handle);
+ // ALOGD("retrieved %d scan data from interface[%d] = %p", num_scan_data, iface, handle);
return scanData;
} else {
return NULL;