summaryrefslogtreecommitdiffstats
path: root/service/jni
diff options
context:
space:
mode:
authorJerryLee <jerrylee@broadcom.com>2015-06-17 19:19:30 -0700
committerVinit Deshpande <vinitd@google.com>2015-06-24 22:47:47 +0000
commit32cbc7acce70697ccf7881324bf8a6861905e899 (patch)
treeb3afb88258d0b949b4d8046cb1fef8319ef64805 /service/jni
parent78638d80490e95beb62f46f47f9c98d357830064 (diff)
downloadandroid_frameworks_opt_net_wifi-32cbc7acce70697ccf7881324bf8a6861905e899.tar.gz
android_frameworks_opt_net_wifi-32cbc7acce70697ccf7881324bf8a6861905e899.tar.bz2
android_frameworks_opt_net_wifi-32cbc7acce70697ccf7881324bf8a6861905e899.zip
Add a debuggability interface: stop logging
bug: 21730601 Change-Id: I4dd4c6bae10b9e8ad7c8cabc887b8d51c07eff01 Signed-off-by: JerryLee <jerrylee@broadcom.com>
Diffstat (limited to 'service/jni')
-rw-r--r--service/jni/com_android_server_wifi_WifiNative.cpp1
-rw-r--r--service/jni/wifi_hal_stub.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/service/jni/com_android_server_wifi_WifiNative.cpp b/service/jni/com_android_server_wifi_WifiNative.cpp
index a245553c7..286b711ea 100644
--- a/service/jni/com_android_server_wifi_WifiNative.cpp
+++ b/service/jni/com_android_server_wifi_WifiNative.cpp
@@ -80,6 +80,7 @@ int init_wifi_hal_func_table(wifi_hal_fn *hal_fn) {
hal_fn->wifi_set_nodfs_flag = wifi_set_nodfs_flag_stub;
hal_fn->wifi_get_firmware_memory_dump = wifi_get_firmware_memory_dump_stub;
hal_fn->wifi_set_log_handler = wifi_set_log_handler_stub;
+ hal_fn->wifi_reset_log_handler = wifi_reset_log_handler_stub;
hal_fn->wifi_set_alert_handler = wifi_set_alert_handler_stub;
hal_fn->wifi_get_firmware_version = wifi_get_firmware_version_stub;
hal_fn->wifi_get_ring_buffers_status = wifi_get_ring_buffers_status_stub;
diff --git a/service/jni/wifi_hal_stub.h b/service/jni/wifi_hal_stub.h
index f02e6322f..30b05567c 100644
--- a/service/jni/wifi_hal_stub.h
+++ b/service/jni/wifi_hal_stub.h
@@ -76,6 +76,7 @@ wifi_error wifi_get_firmware_memory_dump_stub( wifi_interface_handle iface,
wifi_firmware_memory_dump_handler handler);
wifi_error wifi_set_log_handler_stub(wifi_request_id id, wifi_interface_handle iface,
wifi_ring_buffer_data_handler handler);
+wifi_error wifi_reset_log_handler_stub(wifi_request_id id, wifi_interface_handle iface);
wifi_error wifi_set_alert_handler_stub(wifi_request_id id, wifi_interface_handle iface,
wifi_alert_handler handler);
wifi_error wifi_get_firmware_version_stub(wifi_interface_handle iface, char *buffer,