static void android_net_wifi_waitForHalEvents(JNIEnv* env, jclass cls) { ALOGD("waitForHalEvents called, vm = %p, obj = %p, env = %p", mVM, mCls, env); wifi_handle halHandle = getWifiHandle(env, cls); wifi_event_loop(halHandle); }
static void *eventThreadFunc(void *context) { printMsg("starting wifi event loop\n"); wifi_event_loop(halHandle); printMsg("out of wifi event loop\n"); return NULL; }