Lines Matching full:addr
57 jbyteArray addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
58 if (!addr) {
59 ALOGE("Fail to new jbyteArray bd addr");
62 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t),
64 return addr;
74 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
75 if (!addr.get()) return;
80 addr.get());
88 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
89 if (!addr.get()) return;
92 (jint)state, addr.get());
108 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
109 if (!addr.get()) return;
112 (jint)state, addr.get());
119 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
120 if (!addr.get()) return;
123 (jint)type, addr.get());
130 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
131 if (!addr.get()) return;
134 (jint)signal, addr.get());
141 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
142 if (!addr.get()) return;
145 (jint)level, addr.get());
152 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
153 if (!addr.get()) return;
158 js_name.get(), addr.get());
165 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
166 if (!addr.get()) return;
169 addr.get());
177 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
178 if (!addr.get()) return;
185 (jint)callsetup, addr.get());
193 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
194 if (!addr.get()) return;
197 addr.get());
205 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
206 if (!addr.get()) return;
209 (jint)resp_and_hold, addr.get());
216 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
217 if (!addr.get()) return;
222 addr.get());
229 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
230 if (!addr.get()) return;
234 js_number.get(), addr.get());
245 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
246 if (!addr.get()) return;
250 state, mpty, js_number.get(), addr.get());
258 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
259 if (!addr.get()) return;
261 (jint)volume, addr.get());
269 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
270 if (!addr.get()) return;
272 (jint)cme, addr.get());
280 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
281 if (!addr.get()) return;
285 js_name.get(), (jint)type, addr.get());
293 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
294 if (!addr.get()) return;
296 (jint)in_band, addr.get());
304 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
305 if (!addr.get()) return;
309 js_number.get(), addr.get());
316 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
317 if (!addr.get()) return;
319 addr.get());
442 jbyte* addr = env->GetByteArrayElements(address, NULL);
443 if (!addr) {
449 sBluetoothHfpClientInterface->connect((bt_bdaddr_t*)addr);
453 env->ReleaseByteArrayElements(address, addr, 0);
461 jbyte* addr = env->GetByteArrayElements(address, NULL);
462 if (!addr) {
468 sBluetoothHfpClientInterface->disconnect((const bt_bdaddr_t*)addr);
472 env->ReleaseByteArrayElements(address, addr, 0);
480 jbyte* addr = env->GetByteArrayElements(address, NULL);
481 if (!addr) {
487 sBluetoothHfpClientInterface->connect_audio((const bt_bdaddr_t*)addr);
491 env->ReleaseByteArrayElements(address, addr, 0);
499 jbyte* addr = env->GetByteArrayElements(address, NULL);
500 if (!addr) {
506 sBluetoothHfpClientInterface->disconnect_audio((const bt_bdaddr_t*)addr);
510 env->ReleaseByteArrayElements(address, addr, 0);
518 jbyte* addr = env->GetByteArrayElements(address, NULL);
519 if (!addr) {
525 (const bt_bdaddr_t*)addr);
529 env->ReleaseByteArrayElements(address, addr, 0);
537 jbyte* addr = env->GetByteArrayElements(address, NULL);
538 if (!addr) {
544 (const bt_bdaddr_t*)addr);
548 env->ReleaseByteArrayElements(address, addr, 0);
556 jbyte* addr = env->GetByteArrayElements(address, NULL);
557 if (!addr) {
563 (const bt_bdaddr_t*)addr, (bthf_client_volume_type_t)volume_type, volume);
567 env->ReleaseByteArrayElements(address, addr, 0);
575 jbyte* addr = env->GetByteArrayElements(address, NULL);
576 if (!addr) {
587 sBluetoothHfpClientInterface->dial((const bt_bdaddr_t*)addr, number);
594 env->ReleaseByteArrayElements(address, addr, 0);
602 jbyte* addr = env->GetByteArrayElements(address, NULL);
603 if (!addr) {
609 (const bt_bdaddr_t*)addr, (int)location);
614 env->ReleaseByteArrayElements(address, addr, 0);
623 jbyte* addr = env->GetByteArrayElements(address, NULL);
624 if (!addr) {
630 (const bt_bdaddr_t*)addr, (bthf_client_call_action_t)action, (int)index);
635 env->ReleaseByteArrayElements(address, addr, 0);
643 jbyte* addr = env->GetByteArrayElements(address, NULL);
644 if (!addr) {
650 (const bt_bdaddr_t*)addr);
655 env->ReleaseByteArrayElements(address, addr, 0);
663 jbyte* addr = env->GetByteArrayElements(address, NULL);
664 if (!addr) {
671 (const bt_bdaddr_t*)addr);
676 env->ReleaseByteArrayElements(address, addr, 0);
684 jbyte* addr = env->GetByteArrayElements(address, NULL);
685 if (!addr) {
691 (const bt_bdaddr_t*)addr);
696 env->ReleaseByteArrayElements(address, addr, 0);
704 jbyte* addr = env->GetByteArrayElements(address, NULL);
705 if (!addr) {
711 (const bt_bdaddr_t*)addr, (char)code);
716 env->ReleaseByteArrayElements(address, addr, 0);
724 jbyte* addr = env->GetByteArrayElements(address, NULL);
725 if (!addr) {
732 (const bt_bdaddr_t*)addr);
738 env->ReleaseByteArrayElements(address, addr, 0);
747 jbyte* addr = env->GetByteArrayElements(address, NULL);
748 if (!addr) {
759 (const bt_bdaddr_t*)addr, cmd, val1, val2, arg);
769 env->ReleaseByteArrayElements(address, addr, 0);