/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_hfpclient.cpp | 53 static jbyteArray marshall_bda(const RawAddress* bd_addr) { in marshall_bda() argument 63 (jbyte*)bd_addr); in marshall_bda() 67 static void connection_state_cb(const RawAddress* bd_addr, in connection_state_cb() argument 74 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in connection_state_cb() 83 static void audio_state_cb(const RawAddress* bd_addr, in audio_state_cb() argument 88 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in audio_state_cb() 95 static void vr_cmd_cb(const RawAddress* bd_addr, bthf_client_vr_state_t state) { in vr_cmd_cb() argument 99 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in vr_cmd_cb() 106 static void network_state_cb(const RawAddress* bd_addr, in network_state_cb() argument 111 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in network_state_cb() [all …]
|
D | com_android_bluetooth_hfp.cpp | 59 static jbyteArray marshall_bda(RawAddress* bd_addr) { in marshall_bda() argument 69 (jbyte*)bd_addr); in marshall_bda() 82 RawAddress* bd_addr) override { in ConnectionStateCallback() argument 83 ALOGI("%s %d for %s", __func__, state, bd_addr->ToString().c_str()); in ConnectionStateCallback() 89 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in ConnectionStateCallback() 97 RawAddress* bd_addr) override { in AudioStateCallback() argument 98 ALOGI("%s, %d for %s", __func__, state, bd_addr->ToString().c_str()); in AudioStateCallback() 104 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in AudioStateCallback() 112 RawAddress* bd_addr) override { in VoiceRecognitionCallback() argument 117 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in VoiceRecognitionCallback() [all …]
|
D | com_android_bluetooth_a2dp.cpp | 54 static void bta2dp_connection_state_callback(const RawAddress& bd_addr, in bta2dp_connection_state_callback() argument 71 reinterpret_cast<const jbyte*>(bd_addr.address)); in bta2dp_connection_state_callback() 76 static void bta2dp_audio_state_callback(const RawAddress& bd_addr, in bta2dp_audio_state_callback() argument 93 reinterpret_cast<const jbyte*>(bd_addr.address)); in bta2dp_audio_state_callback() 99 const RawAddress& bd_addr, btav_a2dp_codec_config_t codec_config, in bta2dp_audio_config_callback() argument 159 reinterpret_cast<const jbyte*>(bd_addr.address)); in bta2dp_audio_config_callback() 167 const RawAddress& bd_addr) { in bta2dp_mandatory_codec_preferred_callback() argument 182 reinterpret_cast<const jbyte*>(bd_addr.address)); in bta2dp_mandatory_codec_preferred_callback() 390 RawAddress bd_addr; in connectA2dpNative() local 391 bd_addr.FromOctets(reinterpret_cast<const uint8_t*>(addr)); in connectA2dpNative() [all …]
|
D | com_android_bluetooth_avrcp_controller.cpp | 61 static void btavrcp_passthrough_response_callback(const RawAddress& bd_addr, in btavrcp_passthrough_response_callback() argument 80 (jbyte*)&bd_addr.address); in btavrcp_passthrough_response_callback() 100 const RawAddress& bd_addr) { in btavrcp_connection_state_callback() argument 118 (jbyte*)bd_addr.address); in btavrcp_connection_state_callback() 124 static void btavrcp_get_rcfeatures_callback(const RawAddress& bd_addr, in btavrcp_get_rcfeatures_callback() argument 143 (jbyte*)&bd_addr.address); in btavrcp_get_rcfeatures_callback() 149 const RawAddress& bd_addr, uint8_t accepted) { in btavrcp_setplayerapplicationsetting_rsp_callback() argument 167 (jbyte*)&bd_addr.address); in btavrcp_setplayerapplicationsetting_rsp_callback() 173 const RawAddress& bd_addr, uint8_t num_attr, in btavrcp_playerapplicationsetting_callback() argument 192 (jbyte*)&bd_addr.address); in btavrcp_playerapplicationsetting_callback() [all …]
|
D | com_android_bluetooth_a2dp_sink.cpp | 35 static void bta2dp_connection_state_callback(const RawAddress& bd_addr, in bta2dp_connection_state_callback() argument 49 (const jbyte*)bd_addr.address); in bta2dp_connection_state_callback() 54 static void bta2dp_audio_state_callback(const RawAddress& bd_addr, in bta2dp_audio_state_callback() argument 68 (const jbyte*)bd_addr.address); in bta2dp_audio_state_callback() 73 static void bta2dp_audio_config_callback(const RawAddress& bd_addr, in bta2dp_audio_config_callback() argument 88 (const jbyte*)bd_addr.address); in bta2dp_audio_config_callback() 179 RawAddress bd_addr; in connectA2dpNative() local 180 bd_addr.FromOctets(reinterpret_cast<const uint8_t*>(addr)); in connectA2dpNative() 181 bt_status_t status = sBluetoothA2dpInterface->connect(bd_addr); in connectA2dpNative() 199 RawAddress bd_addr; in disconnectA2dpNative() local [all …]
|
D | com_android_bluetooth_hid_host.cpp | 40 static jbyteArray marshall_bda(RawAddress* bd_addr) { in marshall_bda() argument 50 (jbyte*)bd_addr); in marshall_bda() 54 static void connection_state_callback(RawAddress* bd_addr, in connection_state_callback() argument 63 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in connection_state_callback() 73 static void get_protocol_mode_callback(RawAddress* bd_addr, in get_protocol_mode_callback() argument 88 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in get_protocol_mode_callback() 98 static void get_report_callback(RawAddress* bd_addr, bthh_status_t hh_status, in get_report_callback() argument 112 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in get_report_callback() 129 static void virtual_unplug_callback(RawAddress* bd_addr, in virtual_unplug_callback() argument 139 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in virtual_unplug_callback() [all …]
|
D | com_android_bluetooth_hid_device.cpp | 40 static jbyteArray marshall_bda(RawAddress* bd_addr) { in marshall_bda() argument 50 (jbyte*)bd_addr); in marshall_bda() 54 static void application_state_callback(RawAddress* bd_addr, in application_state_callback() argument 66 if (bd_addr) { in application_state_callback() 67 addr.reset(marshall_bda(bd_addr)); in application_state_callback() 78 static void connection_state_callback(RawAddress* bd_addr, in connection_state_callback() argument 82 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in connection_state_callback()
|
D | com_android_bluetooth_btservice_AdapterService.cpp | 166 RawAddress* bd_addr, in remote_device_properties_callback() argument 216 (jbyte*)bd_addr); in remote_device_properties_callback() 264 static void bond_state_changed_callback(bt_status_t status, RawAddress* bd_addr, in bond_state_changed_callback() argument 269 if (!bd_addr) { in bond_state_changed_callback() 281 (jbyte*)bd_addr); in bond_state_changed_callback() 287 static void acl_state_changed_callback(bt_status_t status, RawAddress* bd_addr, in acl_state_changed_callback() argument 289 if (!bd_addr) { in acl_state_changed_callback() 304 (jbyte*)bd_addr); in acl_state_changed_callback() 320 static void pin_request_callback(RawAddress* bd_addr, bt_bdname_t* bdname, in pin_request_callback() argument 322 if (!bd_addr) { in pin_request_callback() [all …]
|
D | com_android_bluetooth_pan.cpp | 46 static jbyteArray marshall_bda(const RawAddress* bd_addr) { in marshall_bda() argument 56 (jbyte*)bd_addr); in marshall_bda() 78 const RawAddress* bd_addr, int local_role, in connection_state_callback() argument 88 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in connection_state_callback()
|
D | com_android_bluetooth_hearing_aid.cpp | 46 const RawAddress& bd_addr) override { in OnConnectionState() argument 61 (jbyte*)&bd_addr); in OnConnectionState() 67 const RawAddress& bd_addr) override { in OnDeviceAvailable() argument 83 (jbyte*)&bd_addr); in OnDeviceAvailable()
|
D | com_android_bluetooth_gatt.cpp | 80 RawAddress bd_addr; in str2addr() local 82 if (!c_address) return bd_addr; in str2addr() 84 RawAddress::FromString(std::string(c_address), bd_addr); in str2addr() 87 return bd_addr; in str2addr() 398 bdaddr2newjstr(sCallbackEnv.get(), &p_adv_track_info->bd_addr)); in btgattc_track_adv_event_cb() 1146 RawAddress bd_addr = str2addr(env, address); in gattClientRegisterForNotificationsNative() local 1148 sGattIf->client->register_for_notification(clientIf, bd_addr, handle); in gattClientRegisterForNotificationsNative() 1150 sGattIf->client->deregister_for_notification(clientIf, bd_addr, handle); in gattClientRegisterForNotificationsNative() 1483 RawAddress bd_addr = str2addr(env, address); in gattServerConnectNative() local 1484 sGattIf->server->connect(server_if, bd_addr, is_direct, transport); in gattServerConnectNative()
|
D | com_android_bluetooth_sdp.cpp | 45 static void sdp_search_callback(bt_status_t status, const RawAddress& bd_addr, 132 static void sdp_search_callback(bt_status_t status, const RawAddress& bd_addr, in sdp_search_callback() argument 147 (const jbyte*)&bd_addr); in sdp_search_callback()
|