Home
last modified time | relevance | path

Searched refs:callbackEnv (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_btservice_AdapterService.cpp73 static JNIEnv* callbackEnv = NULL; variable
86 JNIEnv* getCallbackEnv() { return callbackEnv; } in getCallbackEnv()
101 callbackEnv, callbackEnv->NewByteArray(properties[i].len)); in get_properties()
107 callbackEnv->SetByteArrayRegion(propVal.get(), 0, properties[i].len, in get_properties()
109 callbackEnv->SetObjectArrayElement(*props, i, propVal.get()); in get_properties()
110 callbackEnv->SetIntArrayRegion(*types, i, 1, (jint*)&properties[i].type); in get_properties()
399 vm->AttachCurrentThread(&callbackEnv, &args); in callback_thread_event()
400 ALOGV("Callback thread attached: %p", callbackEnv); in callback_thread_event()
402 if (callbackEnv != AndroidRuntime::getJNIEnv()) { in callback_thread_event()