Lines Matching defs:env
211 static jint android_net_wifi_nan_register_handler(JNIEnv *env, jclass cls,
214 JNIHelper helper(env);
232 env->GetJavaVM(&mVM);
233 mCls = (jclass) env->NewGlobalRef(cls);
239 static jint android_net_wifi_nan_enable_request(JNIEnv *env, jclass cls,
244 JNIHelper helper(env);
263 static jint android_net_wifi_nan_get_capabilities(JNIEnv *env, jclass cls,
267 JNIHelper helper(env);
276 static jint android_net_wifi_nan_disable_request(JNIEnv *env, jclass cls,
280 JNIHelper helper(env);
289 static jint android_net_wifi_nan_publish(JNIEnv *env, jclass cls,
296 JNIHelper helper(env);
318 ScopedUtfChars chars1(env, objStr1);
357 static jint android_net_wifi_nan_subscribe(JNIEnv *env, jclass cls,
364 JNIHelper helper(env);
391 ScopedUtfChars chars1(env, objStr1);
425 static jint android_net_wifi_nan_send_message(JNIEnv *env, jclass cls,
434 JNIHelper helper(env);
451 ScopedBytesRO messageBytes(env, message);
454 ScopedBytesRO destBytes(env, dest);
460 static jint android_net_wifi_nan_stop_publish(JNIEnv *env, jclass cls,
465 JNIHelper helper(env);
478 static jint android_net_wifi_nan_stop_subscribe(JNIEnv *env, jclass cls,
483 JNIHelper helper(env);
518 jint Java_com_android_server_wifi_nan_WifiNanNative_registerNanNatives(JNIEnv* env, jclass clazz) {
519 return jniRegisterNativeMethods(env,