Lines Matching refs:addr
62 ScopedLocalRef<jbyteArray> addr( in bta2dp_connection_state_callback() local
64 if (!addr.get()) { in bta2dp_connection_state_callback()
70 addr.get(), 0, sizeof(RawAddress), in bta2dp_connection_state_callback()
73 addr.get(), (jint)state); in bta2dp_connection_state_callback()
84 ScopedLocalRef<jbyteArray> addr( in bta2dp_audio_state_callback() local
86 if (!addr.get()) { in bta2dp_audio_state_callback()
92 addr.get(), 0, sizeof(RawAddress), in bta2dp_audio_state_callback()
95 addr.get(), (jint)state); in bta2dp_audio_state_callback()
151 ScopedLocalRef<jbyteArray> addr( in bta2dp_audio_config_callback() local
153 if (!addr.get()) { in bta2dp_audio_config_callback()
158 addr.get(), 0, RawAddress::kLength, in bta2dp_audio_config_callback()
162 mCallbacksObj, method_onCodecConfigChanged, addr.get(), codecConfigObj, in bta2dp_audio_config_callback()
352 jbyte* addr = env->GetByteArrayElements(address, nullptr); in connectA2dpNative() local
353 if (!addr) { in connectA2dpNative()
359 bd_addr.FromOctets(reinterpret_cast<const uint8_t*>(addr)); in connectA2dpNative()
364 env->ReleaseByteArrayElements(address, addr, 0); in connectA2dpNative()
377 jbyte* addr = env->GetByteArrayElements(address, nullptr); in disconnectA2dpNative() local
378 if (!addr) { in disconnectA2dpNative()
384 bd_addr.FromOctets(reinterpret_cast<const uint8_t*>(addr)); in disconnectA2dpNative()
389 env->ReleaseByteArrayElements(address, addr, 0); in disconnectA2dpNative()
402 jbyte* addr = env->GetByteArrayElements(address, nullptr); in setSilenceDeviceNative() local
405 if (addr) { in setSilenceDeviceNative()
406 bd_addr.FromOctets(reinterpret_cast<const uint8_t*>(addr)); in setSilenceDeviceNative()
416 env->ReleaseByteArrayElements(address, addr, 0); in setSilenceDeviceNative()
429 jbyte* addr = env->GetByteArrayElements(address, nullptr); in setActiveDeviceNative() local
432 if (addr) { in setActiveDeviceNative()
433 bd_addr.FromOctets(reinterpret_cast<const uint8_t*>(addr)); in setActiveDeviceNative()
442 env->ReleaseByteArrayElements(address, addr, 0); in setActiveDeviceNative()
456 jbyte* addr = env->GetByteArrayElements(address, nullptr); in setCodecConfigPreferenceNative() local
457 if (!addr) { in setCodecConfigPreferenceNative()
463 bd_addr.FromOctets(reinterpret_cast<const uint8_t*>(addr)); in setCodecConfigPreferenceNative()
472 env->ReleaseByteArrayElements(address, addr, 0); in setCodecConfigPreferenceNative()