Searched refs:callbackEnv (Results 1 – 1 of 1) sorted by relevance
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_btservice_AdapterService.cpp | 86 static JNIEnv* callbackEnv = NULL; variable 96 JNIEnv* getCallbackEnv() { return callbackEnv; } in getCallbackEnv() 115 callbackEnv, callbackEnv->NewByteArray(properties[i].len)); in get_properties() 121 callbackEnv->SetByteArrayRegion(propVal.get(), 0, properties[i].len, in get_properties() 123 callbackEnv->SetObjectArrayElement(*props, i, propVal.get()); in get_properties() 124 callbackEnv->SetIntArrayRegion(*types, i, 1, (jint*)&properties[i].type); in get_properties() 574 vm->AttachCurrentThread(&callbackEnv, &args); in callback_thread_event() 577 ALOGV("Callback thread attached: %p", callbackEnv); in callback_thread_event()
|