Lines Matching refs:sCallbackEnv
48 CallbackEnv sCallbackEnv(__func__); in marshall_bda() local
49 if (!sCallbackEnv.valid()) return NULL; in marshall_bda()
51 jbyteArray addr = sCallbackEnv->NewByteArray(sizeof(RawAddress)); in marshall_bda()
56 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(RawAddress), in marshall_bda()
68 CallbackEnv sCallbackEnv(__func__); in control_state_callback() local
69 if (!sCallbackEnv.valid()) return; in control_state_callback()
70 ScopedLocalRef<jstring> js_ifname(sCallbackEnv.get(), in control_state_callback()
71 sCallbackEnv->NewStringUTF(ifname)); in control_state_callback()
72 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onControlStateChanged, in control_state_callback()
87 CallbackEnv sCallbackEnv(__func__); in connection_state_callback() local
88 if (!sCallbackEnv.valid()) return; in connection_state_callback()
89 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in connection_state_callback()
94 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onConnectStateChanged, in connection_state_callback()