Home
last modified time | relevance | path

Searched refs:c_address (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp134 const char *c_address = env->GetStringUTFChars(device_address, NULL); in android_media_AudioSystem_setDeviceConnectionState() local
137 c_address)); in android_media_AudioSystem_setDeviceConnectionState()
138 env->ReleaseStringUTFChars(device_address, c_address); in android_media_AudioSystem_setDeviceConnectionState()
145 const char *c_address = env->GetStringUTFChars(device_address, NULL); in android_media_AudioSystem_getDeviceConnectionState() local
147 c_address)); in android_media_AudioSystem_getDeviceConnectionState()
148 env->ReleaseStringUTFChars(device_address, c_address); in android_media_AudioSystem_getDeviceConnectionState()
Dandroid_server_BluetoothService.cpp358 const char *c_address = env->GetStringUTFChars(address, NULL); in createPairedDeviceNative() local
359 LOGV("... address = %s", c_address); in createPairedDeviceNative()
364 strlcpy(context_address, c_address, BTADDR_SIZE); // for callback in createPairedDeviceNative()
372 DBUS_TYPE_STRING, &c_address, in createPairedDeviceNative()
376 env->ReleaseStringUTFChars(address, c_address); in createPairedDeviceNative()
394 const char *c_address = env->GetStringUTFChars(address, NULL); in createPairedDeviceOutOfBandNative() local
395 LOGV("... address = %s", c_address); in createPairedDeviceOutOfBandNative()
400 strlcpy(context_address, c_address, BTADDR_SIZE); // for callback in createPairedDeviceOutOfBandNative()
408 DBUS_TYPE_STRING, &c_address, in createPairedDeviceOutOfBandNative()
412 env->ReleaseStringUTFChars(address, c_address); in createPairedDeviceOutOfBandNative()
[all …]
Dandroid_bluetooth_HeadsetBase.cpp52 const char *c_address; member
206 nat->c_address = env->GetStringUTFChars(nat->address, NULL); in initializeNativeDataNative()
220 env->ReleaseStringUTFChars(nat->address, nat->c_address); in cleanupNativeDataNative()
257 get_bdaddr(nat->c_address, &addr.rc_bdaddr); in connectNative()
317 get_bdaddr(nat->c_address, &addr.rc_bdaddr); in connectAsyncNative()
Dandroid_server_BluetoothEventLoop.cpp863 char *c_address; in event_filter() local
867 dbus_message_iter_get_basic(&iter, &c_address); in event_filter()
875 env->NewStringUTF(c_address), in event_filter()
883 char *c_address; in event_filter() local
885 DBUS_TYPE_STRING, &c_address, in event_filter()
887 LOGV("... address = %s", c_address); in event_filter()
889 env->NewStringUTF(c_address)); in event_filter()
996 char *c_address; in event_filter() local
998 DBUS_TYPE_STRING, &c_address, in event_filter()
1002 env->NewStringUTF(c_address)); in event_filter()
[all …]
Dandroid_bluetooth_BluetoothSocket.cpp172 const char *c_address; in connectNative() local
187 c_address = env->GetStringUTFChars(address, NULL); in connectNative()
188 if (get_bdaddr(c_address, &bdaddress)) { in connectNative()
189 env->ReleaseStringUTFChars(address, c_address); in connectNative()
193 env->ReleaseStringUTFChars(address, c_address); in connectNative()