• Home
  • Raw
  • Download

Lines Matching refs:sCallbackEnv

61   CallbackEnv sCallbackEnv(__func__);  in marshall_bda()  local
62 if (!sCallbackEnv.valid()) return nullptr; in marshall_bda()
64 jbyteArray addr = sCallbackEnv->NewByteArray(sizeof(RawAddress)); in marshall_bda()
69 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(RawAddress), in marshall_bda()
87 CallbackEnv sCallbackEnv(__func__); in ConnectionStateCallback() local
88 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in ConnectionStateCallback()
90 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in ConnectionStateCallback()
93 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onConnectionStateChanged, in ConnectionStateCallback()
102 CallbackEnv sCallbackEnv(__func__); in AudioStateCallback() local
103 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in AudioStateCallback()
105 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in AudioStateCallback()
108 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onAudioStateChanged, in AudioStateCallback()
115 CallbackEnv sCallbackEnv(__func__); in VoiceRecognitionCallback() local
116 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in VoiceRecognitionCallback()
118 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in VoiceRecognitionCallback()
124 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onVrStateChanged, in VoiceRecognitionCallback()
130 CallbackEnv sCallbackEnv(__func__); in AnswerCallCallback() local
131 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in AnswerCallCallback()
133 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in AnswerCallCallback()
139 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onAnswerCall, in AnswerCallCallback()
145 CallbackEnv sCallbackEnv(__func__); in HangupCallCallback() local
146 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in HangupCallCallback()
148 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in HangupCallCallback()
154 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onHangupCall, in HangupCallCallback()
161 CallbackEnv sCallbackEnv(__func__); in VolumeControlCallback() local
162 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in VolumeControlCallback()
164 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in VolumeControlCallback()
170 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onVolumeChanged, in VolumeControlCallback()
176 CallbackEnv sCallbackEnv(__func__); in DialCallCallback() local
177 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in DialCallCallback()
179 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in DialCallCallback()
186 if (!sCallbackEnv.isValidUtf(number)) { in DialCallCallback()
192 ScopedLocalRef<jstring> js_number(sCallbackEnv.get(), in DialCallCallback()
193 sCallbackEnv->NewStringUTF(number)); in DialCallCallback()
194 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onDialCall, in DialCallCallback()
200 CallbackEnv sCallbackEnv(__func__); in DtmfCmdCallback() local
201 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in DtmfCmdCallback()
203 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in DtmfCmdCallback()
210 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onSendDtmf, dtmf, in DtmfCmdCallback()
217 CallbackEnv sCallbackEnv(__func__); in NoiseReductionCallback() local
218 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in NoiseReductionCallback()
220 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in NoiseReductionCallback()
225 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onNoiseReductionEnable, in NoiseReductionCallback()
233 CallbackEnv sCallbackEnv(__func__); in WbsCallback() local
234 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in WbsCallback()
236 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in WbsCallback()
239 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onWBS, wbs_config, in WbsCallback()
246 CallbackEnv sCallbackEnv(__func__); in AtChldCallback() local
247 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in AtChldCallback()
250 sCallbackEnv.get(), sCallbackEnv->NewByteArray(sizeof(RawAddress))); in AtChldCallback()
256 sCallbackEnv->SetByteArrayRegion(addr.get(), 0, sizeof(RawAddress), in AtChldCallback()
258 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onAtChld, chld, in AtChldCallback()
264 CallbackEnv sCallbackEnv(__func__); in AtCnumCallback() local
265 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in AtCnumCallback()
267 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in AtCnumCallback()
273 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onAtCnum, addr.get()); in AtCnumCallback()
278 CallbackEnv sCallbackEnv(__func__); in AtCindCallback() local
279 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in AtCindCallback()
281 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in AtCindCallback()
287 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onAtCind, addr.get()); in AtCindCallback()
292 CallbackEnv sCallbackEnv(__func__); in AtCopsCallback() local
293 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in AtCopsCallback()
295 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in AtCopsCallback()
301 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onAtCops, addr.get()); in AtCopsCallback()
306 CallbackEnv sCallbackEnv(__func__); in AtClccCallback() local
307 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in AtClccCallback()
309 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in AtClccCallback()
315 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onAtClcc, addr.get()); in AtClccCallback()
320 CallbackEnv sCallbackEnv(__func__); in UnknownAtCallback() local
321 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in UnknownAtCallback()
323 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in UnknownAtCallback()
330 if (!sCallbackEnv.isValidUtf(at_string)) { in UnknownAtCallback()
336 ScopedLocalRef<jstring> js_at_string(sCallbackEnv.get(), in UnknownAtCallback()
337 sCallbackEnv->NewStringUTF(at_string)); in UnknownAtCallback()
338 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onUnknownAt, in UnknownAtCallback()
344 CallbackEnv sCallbackEnv(__func__); in KeyPressedCallback() local
345 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in KeyPressedCallback()
347 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in KeyPressedCallback()
353 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onKeyPressed, in KeyPressedCallback()
359 CallbackEnv sCallbackEnv(__func__); in AtBindCallback() local
360 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in AtBindCallback()
362 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in AtBindCallback()
366 if (!sCallbackEnv.isValidUtf(at_string)) { in AtBindCallback()
372 ScopedLocalRef<jstring> js_at_string(sCallbackEnv.get(), in AtBindCallback()
373 sCallbackEnv->NewStringUTF(at_string)); in AtBindCallback()
375 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onAtBind, in AtBindCallback()
382 CallbackEnv sCallbackEnv(__func__); in AtBievCallback() local
383 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in AtBievCallback()
385 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in AtBievCallback()
388 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onAtBiev, ind_id, in AtBievCallback()
395 CallbackEnv sCallbackEnv(__func__); in AtBiaCallback() local
396 if (!sCallbackEnv.valid() || !mCallbacksObj) return; in AtBiaCallback()
398 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in AtBiaCallback()
401 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onAtBia, service, roam, in AtBiaCallback()