Lines Matching refs:printf
87 printf("++++++++++ RK_BT_STATE_TURNING_ON ++++++++++\n"); in bt_test_state_cb()
90 printf("++++++++++ RK_BT_STATE_ON ++++++++++\n"); in bt_test_state_cb()
94 printf("++++++++++ RK_BT_STATE_TURNING_OFF ++++++++++\n"); in bt_test_state_cb()
97 printf("++++++++++ RK_BT_STATE_OFF ++++++++++\n"); in bt_test_state_cb()
107 printf("++++++++++ BT BOND NONE: %s, %s ++++++++++\n", name, bd_addr); in bt_test_bond_state_cb()
110 printf("++++++++++ BT BOND BONDING: %s, %s ++++++++++\n", name, bd_addr); in bt_test_bond_state_cb()
113 printf("++++++++++ BT BONDED: %s, %s ++++++++++\n", name, bd_addr); in bt_test_bond_state_cb()
122 printf("++++++++++ RK_BT_DISC_STARTED ++++++++++\n"); in bt_test_discovery_status_cb()
125 printf("++++++++++ RK_BT_DISC_STOPPED_AUTO ++++++++++\n"); in bt_test_discovery_status_cb()
128 printf("++++++++++ RK_BT_DISC_START_FAILED ++++++++++\n"); in bt_test_discovery_status_cb()
131 printf("++++++++++ RK_BT_DISC_STOPPED_BY_USER ++++++++++\n"); in bt_test_discovery_status_cb()
136 printf("+++++++++ deregister scan callback +++++++++\n"); in bt_test_discovery_status_cb()
144 printf("++++++++++++ Device is found ++++++++++++\n"); in bt_test_dev_found_cb()
145 printf(" address: %s\n", address); in bt_test_dev_found_cb()
146 printf(" name: %s\n", name); in bt_test_dev_found_cb()
147 printf(" class: 0x%x\n", bt_class); in bt_test_dev_found_cb()
148 printf(" rssi: %d\n", rssi); in bt_test_dev_found_cb()
149 printf("+++++++++++++++++++++++++++++++++++++++++\n"); in bt_test_dev_found_cb()
155 printf("+++++ Device Name Change(%s, %s) +++++\n", bd_addr, name); in bt_test_name_change_cb()
166 printf("%s: BT BLUETOOTH INIT\n", __func__);
185 printf("ble_addr: %02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx\n",
215 printf("%s: BT BLUETOOTH INIT\n", __func__); in bt_test_bluetooth_init_thread()
246 …printf("ble_name_len: %s(%d)\n", bt_content.ble_content.ble_name, strlen(bt_content.ble_content.bl… in bt_test_bluetooth_init_thread()
317 printf("%s: BT BLUETOOTH TURNING ON ...\n", __func__); in bt_test_onff_thread()
320 printf("%s: BT BLUETOOTH DEINIT\n", __func__); in bt_test_onff_thread()
325 printf("%s: BT BLUETOOTH TURNING OFF ...\n", __func__); in bt_test_onff_thread()
327 printf("%s: BT BLUETOOTH TURN ONOFF CNT: [%d] \n", __func__, bt_onff_cnt++); in bt_test_onff_thread()
334 printf("%s: ", __func__); in bt_test_bluetooth_onff_init()
337 printf("bt init thread already exist\n"); in bt_test_bluetooth_onff_init()
342 printf("Create bt init pthread failed\n"); in bt_test_bluetooth_onff_init()
350 printf("%s: ", __func__); in bt_test_bluetooth_init()
355 printf("bt init thread already exist\n"); in bt_test_bluetooth_init()
360 printf("Create bt init pthread failed\n"); in bt_test_bluetooth_init()
369 printf("%s: BT BLUETOOTH DEINIT\n", __func__); in bt_test_bluetooth_deinit()
375 printf("%s: bt init thread exit failed!\n", __func__); in bt_test_bluetooth_deinit()
377 printf("%s: bt init thread exit ok\n", __func__); in bt_test_bluetooth_deinit()
404 printf("bt device name: %s\n", name); in bt_test_get_device_name()
412 printf("bt device addr: %s\n", addr); in bt_test_get_device_addr()
417 printf("%s: device name: %s\n", __func__, data); in bt_test_set_device_name()
441 printf("%s: current paired devices count: %d\n", __func__, count); in bt_test_get_paired_devices()
444 printf("device %d\n", i); in bt_test_get_paired_devices()
445 printf(" remote_address: %s\n", dev_tmp->remote_address); in bt_test_get_paired_devices()
446 printf(" remote_name: %s\n", dev_tmp->remote_name); in bt_test_get_paired_devices()
447 printf(" is_connected: %d\n", dev_tmp->is_connected); in bt_test_get_paired_devices()
463 printf("Please enter the scan time\n"); in bt_test_start_discovery()
469 printf("Scan time is too short(%d), reset to 10000ms\n", time); in bt_test_start_discovery()
483 printf("Please enter the scan time\n"); in bt_test_start_discovery_bredr()
489 printf("Scan time is too short(%d), reset to 10000ms\n", time); in bt_test_start_discovery_bredr()
503 printf("Please enter the scan time\n"); in bt_test_start_discovery_le()
509 printf("Scan time is too short(%d), reset to 10000ms\n", time); in bt_test_start_discovery_le()
523 printf("Please enter the scan time\n"); in bt_test_start_discovery_pan()
529 printf("Scan time is too short(%d), reset to 10000ms\n", time); in bt_test_start_discovery_pan()
543 printf("Please enter the scan time\n"); in bt_test_start_discovery_spp()
549 printf("Scan time is too short(%d), reset to 10000ms\n", time); in bt_test_start_discovery_spp()
566 printf("the device discovery procedure is active? %s\n", (ret == true) ? "yes" : "no"); in bt_test_is_discovering()
577 printf("%s: current scaned devices count: %d\n", __func__, count); in bt_test_get_scaned_devices()
580 printf("device %d\n", i); in bt_test_get_scaned_devices()
581 printf(" remote_address: %s\n", dev_tmp->remote_address); in bt_test_get_scaned_devices()
582 printf(" remote_name: %s\n", dev_tmp->remote_name); in bt_test_get_scaned_devices()
583 printf(" is_connected: %d\n", dev_tmp->is_connected); in bt_test_get_scaned_devices()
584 printf(" class_of_device: 0x%x\n", dev_tmp->cod); in bt_test_get_scaned_devices()
605 printf("the device connected properties is %s\n", (is_connected == true) ? "yes" : "no"); in bt_test_get_connected_properties()
620 printf("++++++++++++ BT SINK EVENT: idle ++++++++++\n"); in bt_sink_callback()
623 printf("++++++++++++ BT SINK EVENT: connect sucess ++++++++++\n"); in bt_sink_callback()
626 printf("++++++++++++ BT SINK EVENT: disconnected ++++++++++\n"); in bt_sink_callback()
631 printf("++++++++++++ BT SINK EVENT: playing ++++++++++\n"); in bt_sink_callback()
634 printf("++++++++++++ BT SINK EVENT: paused ++++++++++\n"); in bt_sink_callback()
637 printf("++++++++++++ BT SINK EVENT: stoped ++++++++++\n"); in bt_sink_callback()
641 printf("++++++++++++ BT A2DP SINK STATE: started ++++++++++\n"); in bt_sink_callback()
644 printf("++++++++++++ BT A2DP SINK STATE: suspended ++++++++++\n"); in bt_sink_callback()
647 printf("++++++++++++ BT A2DP SINK STATE: stoped ++++++++++\n"); in bt_sink_callback()
656 printf("++++++++ bt sink volume change, volume: %d ++++++++\n", volume); in bt_sink_volume_callback()
663 printf("set volume error: %d, volume: %d\n", errno, volume); in bt_sink_volume_callback()
670 printf("++++++++ bt sink track change ++++++++\n"); in bt_sink_track_change_callback()
671 printf(" remote device address: %s\n", bd_addr); in bt_sink_track_change_callback()
672 printf(" title: %s\n", track_info.title); in bt_sink_track_change_callback()
673 printf(" artist: %s\n", track_info.artist); in bt_sink_track_change_callback()
674 printf(" album: %s\n", track_info.album); in bt_sink_track_change_callback()
675 printf(" genre: %s\n", track_info.genre); in bt_sink_track_change_callback()
676 printf(" num_tracks: %s\n", track_info.num_tracks); in bt_sink_track_change_callback()
677 printf(" track_num: %s\n", track_info.track_num); in bt_sink_track_change_callback()
678 printf(" playing_time: %s\n", track_info.playing_time); in bt_sink_track_change_callback()
685 printf("++++++++ bt sink position change ++++++++\n"); in bt_sink_position_change_callback()
686 printf(" remote device address: %s\n", bd_addr); in bt_sink_position_change_callback()
687 printf(" song_len: %d, song_pos: %d\n", song_len, song_pos); in bt_sink_position_change_callback()
738 printf("++++++++++++ BT SINK STATUS: idle ++++++++++\n"); in bt_test_sink_status()
741 printf("++++++++++++ BT SINK STATUS: connect sucess ++++++++++\n"); in bt_test_sink_status()
745 printf("++++++++++++ BT SINK STATUS: playing ++++++++++\n"); in bt_test_sink_status()
749 printf("++++++++++++ BT SINK STATUS: paused ++++++++++\n"); in bt_test_sink_status()
753 printf("++++++++++++ BT SINK STATUS: stoped ++++++++++\n"); in bt_test_sink_status()
756 printf("++++++++++++ BT SINK STATUS: disconnected ++++++++++\n"); in bt_test_sink_status()
800 printf("===== A2DP SINK Set Volume:100 =====\n"); in bt_test_sink_set_volume()
803 printf("===== A2DP SINK Set Volume:64 =====\n"); in bt_test_sink_set_volume()
806 printf("===== A2DP SINK Set Volume:0 =====\n"); in bt_test_sink_set_volume()
811 printf("===== A2DP SINK Set Volume UP =====\n"); in bt_test_sink_set_volume()
817 printf("===== A2DP SINK Set Volume DOWN =====\n"); in bt_test_sink_set_volume()
841 printf("support position change: %s\n", pos_change ? "yes" : "no"); in bt_test_sink_get_poschange()
853 printf("+++++ BT_SOURCE_EVENT_CONNECT_FAILED: %s, %s +++++\n", name, bd_addr); in bt_test_source_status_callback()
856 printf("+++++ BT_SOURCE_EVENT_CONNECTED: %s, %s +++++\n", name, bd_addr); in bt_test_source_status_callback()
857 printf("+++++ device playrole: %d\n", rk_bt_get_playrole_by_addr(bd_addr)); in bt_test_source_status_callback()
860 printf("+++++ BT_SOURCE_EVENT_AUTO_RECONNECTING: %s, %s +++++\n", name, bd_addr); in bt_test_source_status_callback()
863 printf("+++++ BT_SOURCE_EVENT_DISCONNECT_FAILED: %s, %s +++++\n", name, bd_addr); in bt_test_source_status_callback()
866 printf("+++++ BT_SOURCE_EVENT_DISCONNECTED: %s, %s +++++\n", name, bd_addr); in bt_test_source_status_callback()
870 printf("+++++ BT_SOURCE_EVENT_REMOVE_FAILED +++++\n"); in bt_test_source_status_callback()
873 printf("+++++ BT_SOURCE_EVENT_REMOVED +++++\n"); in bt_test_source_status_callback()
877 printf("+++++ BT_SOURCE_EVENT_RC_PLAY: %s, %s +++++\n", name, bd_addr); in bt_test_source_status_callback()
880 printf("+++++ BT_SOURCE_EVENT_RC_STOP: %s, %s +++++\n", name, bd_addr); in bt_test_source_status_callback()
883 printf("+++++ BT_SOURCE_EVENT_RC_PAUSE: %s, %s +++++\n", name, bd_addr); in bt_test_source_status_callback()
886 printf("+++++ BT_SOURCE_EVENT_RC_FORWARD: %s, %s +++++\n", name, bd_addr); in bt_test_source_status_callback()
889 printf("+++++ BT_SOURCE_EVENT_RC_BACKWARD: %s, %s +++++\n", name, bd_addr); in bt_test_source_status_callback()
892 printf("+++++ BT_SOURCE_EVENT_RC_VOL_UP: %s, %s +++++\n", name, bd_addr); in bt_test_source_status_callback()
895 printf("+++++ BT_SOURCE_EVENT_RC_VOL_DOWN: %s, %s +++++\n", name, bd_addr); in bt_test_source_status_callback()
917 printf("++++++++++++ BT SOURCE STATUS: connected ++++++++++++\n"); in bt_test_source_connect_status()
918 printf("\t name:%s, address:%s\n", name, address); in bt_test_source_connect_status()
920 printf("++++++++++++ BT SOURCE STATUS: disconnected ++++++++++++\n"); in bt_test_source_connect_status()
959 printf("+++++ bt_test_source_set_vol: %s, %d +++++\n", data, vol); in bt_test_source_set_vol()
968 printf("%s: status: %d.\n", __func__, state); in ble_status_callback_test()
972 printf("+++++ RK_BLE_STATE_IDLE +++++\n"); in ble_status_callback_test()
975 printf("+++++ RK_BLE_STATE_CONNECT: %s, %s +++++\n", name, bd_addr); in ble_status_callback_test()
978 printf("+++++ RK_BLE_STATE_DISCONNECT: %s, %s +++++\n", name, bd_addr); in ble_status_callback_test()
989 printf("=== %s uuid: %s===\n", __func__, uuid); in bt_test_ble_recv_data_callback()
992 printf("%02x ", data_t[i]); in bt_test_ble_recv_data_callback()
994 printf("\n"); in bt_test_ble_recv_data_callback()
999 printf("=== %s Reply:%s ===\n", __func__, reply_buf); in bt_test_ble_recv_data_callback()
1021 printf("Create _send_data pthread failed\n"); in send_data()
1028 printf("=== %s uuid: %s===\n", __func__, uuid); in bt_test_ble_request_data_callback()
1034 printf("=== %s uuid: %s data: %s[%d]===\n", __func__, uuid, data, *len); in bt_test_ble_request_data_callback()
1041 printf("=== %s: bd_addr: %s, mtu: %d ===\n", __func__, bd_addr, mtu); in bt_test_mtu_callback()
1060 printf("ble address: %s\n", data); in bt_test_ble_set_address()
1072 printf("ble_addr: %02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx\n", in bt_test_ble_set_address()
1111 printf("RK_ble_status_test: "); in bt_test_ble_get_status()
1115 printf("RK_BLE_STATE_IDLE.\n"); in bt_test_ble_get_status()
1118 printf("RK_BLE_STATE_CONNECT.\n"); in bt_test_ble_get_status()
1121 printf("RK_BLE_STATE_DISCONNECT.\n"); in bt_test_ble_get_status()
1144 printf("+++++ RK_BLE_CLIENT_STATE_IDLE +++++\n"); in ble_client_test_state_callback()
1147 printf("+++++ RK_BLE_CLIENT_STATE_CONNECT(%s, %s) +++++\n", bd_addr, name); in ble_client_test_state_callback()
1150 printf("+++++ RK_BLE_CLIENT_STATE_DISCONNECT(%s, %s) +++++\n", bd_addr, name); in ble_client_test_state_callback()
1154 printf("+++++ RK_BLE_CLIENT_WRITE_SUCCESS(%s, %s) +++++\n", bd_addr, name); in ble_client_test_state_callback()
1157 printf("+++++ RK_BLE_CLIENT_WRITE_ERROR(%s, %s) +++++\n", bd_addr, name); in ble_client_test_state_callback()
1164 printf("+++++ recv data +++++\n"); in bt_test_ble_client_recv_data_callback()
1165 printf(" uuid: %s\n", uuid); in bt_test_ble_client_recv_data_callback()
1166 printf(" data len: %d\n ", len); in bt_test_ble_client_recv_data_callback()
1168 printf("%02x ", data[i]); in bt_test_ble_client_recv_data_callback()
1170 printf("\n"); in bt_test_ble_client_recv_data_callback()
1195 printf("RK_BLE_CLIENT_STATE_IDLE\n"); in bt_test_ble_client_get_status()
1198 printf("RK_BLE_CLIENT_STATE_CONNECT\n"); in bt_test_ble_client_get_status()
1201 printf("RK_BLE_CLIENT_STATE_DISCONNECT\n"); in bt_test_ble_client_get_status()
1222 printf("+++++ get device(%s) service info +++++\n", data); in bt_test_ble_client_get_service_info()
1224 printf("service[%d]:\n", i); in bt_test_ble_client_get_service_info()
1225 printf(" describe: %s\n", info.service[i].describe); in bt_test_ble_client_get_service_info()
1226 printf(" path: %s\n", info.service[i].path); in bt_test_ble_client_get_service_info()
1227 printf(" uuid: %s\n", info.service[i].uuid); in bt_test_ble_client_get_service_info()
1230 printf(" characteristic[%d]:\n", j); in bt_test_ble_client_get_service_info()
1231 printf(" describe: %s\n", info.service[i].chrc[j].describe); in bt_test_ble_client_get_service_info()
1232 printf(" path: %s\n", info.service[i].chrc[j].path); in bt_test_ble_client_get_service_info()
1233 printf(" uuid: %s\n", info.service[i].chrc[j].uuid); in bt_test_ble_client_get_service_info()
1234 printf(" props: 0x%x\n", info.service[i].chrc[j].props); in bt_test_ble_client_get_service_info()
1235 printf(" ext_props: 0x%x\n", info.service[i].chrc[j].ext_props); in bt_test_ble_client_get_service_info()
1236 printf(" perm: 0x%x\n", info.service[i].chrc[j].perm); in bt_test_ble_client_get_service_info()
1237 printf(" notifying: %d\n", info.service[i].chrc[j].notifying); in bt_test_ble_client_get_service_info()
1240 printf(" descriptor[%d]:\n", k); in bt_test_ble_client_get_service_info()
1242 printf(" describe: %s\n", info.service[i].chrc[j].desc[k].describe); in bt_test_ble_client_get_service_info()
1243 printf(" path: %s\n", info.service[i].chrc[j].desc[k].path); in bt_test_ble_client_get_service_info()
1244 printf(" uuid: %s\n", info.service[i].chrc[j].desc[k].uuid); in bt_test_ble_client_get_service_info()
1287 printf("%s notifying %s\n", data, notifying ? "yes" : "no"); in bt_test_ble_client_is_notify()
1318 printf("%02x ", eir_data[i]); in bt_test_ble_client_get_eir_data()
1320 printf("\n"); in bt_test_ble_client_get_eir_data()
1322 printf("\n"); in bt_test_ble_client_get_eir_data()
1334 printf("\n"); in bt_test_get_eir_data()
1337 printf("\n"); in bt_test_get_eir_data()
1338 printf("%02x ", eir_data[i]); in bt_test_get_eir_data()
1340 printf("\n"); in bt_test_get_eir_data()
1351 printf("+++++++ RK_BT_SPP_STATE_IDLE +++++\n"); in _btspp_status_callback()
1354 printf("+++++++ RK_BT_SPP_EVENT_CONNECT +++++\n"); in _btspp_status_callback()
1357 printf("+++++++ RK_BT_SPP_EVENT_DISCONNECT +++++\n"); in _btspp_status_callback()
1360 printf("+++++++ BT SPP NOT SUPPORT TYPE! +++++\n"); in _btspp_status_callback()
1368 printf("+++++++ RK BT SPP RECV DATA: +++++\n"); in _btspp_recv_callback()
1369 printf("\tRECVED(%d):%s\n", len, data); in _btspp_recv_callback()
1387 printf("%s failed\n", __func__); in bt_test_spp_write()
1418 printf("+++++++ RK_BT_SPP_STATE_IDLE +++++\n"); in bt_test_spp_status()
1421 printf("+++++++ RK_BT_SPP_STATE_CONNECT +++++\n"); in bt_test_spp_status()
1424 printf("+++++++ RK_BT_SPP_STATE_DISCONNECT +++++\n"); in bt_test_spp_status()
1427 printf("+++++++ BTSPP NO STATUS SUPPORT! +++++\n"); in bt_test_spp_status()
1443 printf("Get current params: %s\n", snd_strerror(err)); in hfp_set_sw_params()
1450 printf("Set start threshold: %s: %lu\n", snd_strerror(err), threshold); in hfp_set_sw_params()
1456 printf("Set avail min: %s: %lu\n", snd_strerror(err), period_size); in hfp_set_sw_params()
1461 printf("snd_pcm_sw_params: %s\n", snd_strerror(err)); in hfp_set_sw_params()
1482 printf( "Unable to open playback PCM device: %s\n", device_name); in hfp_playback_device_open()
1485 printf("Open playback PCM device: %s\n", device_name); in hfp_playback_device_open()
1489 printf("cannot malloc hardware parameter structure (%s)\n", snd_strerror(err)); in hfp_playback_device_open()
1495 printf("cannot initialize hardware parameter structure (%s)\n", snd_strerror(err)); in hfp_playback_device_open()
1501 printf("Error setting interleaved mode: %s\n", snd_strerror(err)); in hfp_playback_device_open()
1507 printf("Error setting format: %s\n", snd_strerror(err)); in hfp_playback_device_open()
1513 printf( "Error setting channels: %s\n", snd_strerror(err)); in hfp_playback_device_open()
1516 printf("setting channels (%d)\n", alsa_config.channels); in hfp_playback_device_open()
1518 printf("WANT-RATE = %d\n", rate); in hfp_playback_device_open()
1521 printf("Error setting sampling rate (%d): %s\n", rate, snd_strerror(err)); in hfp_playback_device_open()
1524 printf("set sampling rate (%d)\n", rate); in hfp_playback_device_open()
1528 printf("Error setting period size (%ld): %s\n", period_size, snd_strerror(err)); in hfp_playback_device_open()
1531 printf("period_size = %d\n", (int)period_size); in hfp_playback_device_open()
1535 printf("Error setting buffer size (%ld): %s\n", buffer_size, snd_strerror(err)); in hfp_playback_device_open()
1538 printf("buffer_size = %d\n", (int)buffer_size); in hfp_playback_device_open()
1543 printf( "Unable to set HW parameters: %s\n", snd_strerror(err)); in hfp_playback_device_open()
1547 printf("Open playback device is successful: %s\n", device_name); in hfp_playback_device_open()
1567 printf( "Unable to open capture PCM device: %s\n", device_name); in hfp_capture_device_open()
1570 printf("Open capture PCM device: %s\n", device_name); in hfp_capture_device_open()
1574 printf("cannot allocate hardware parameter structure (%s)\n", snd_strerror(err)); in hfp_capture_device_open()
1580 printf("cannot initialize hardware parameter structure (%s)\n", snd_strerror(err)); in hfp_capture_device_open()
1586 printf("Error setting interleaved mode: %s\n", snd_strerror(err)); in hfp_capture_device_open()
1592 printf("Error setting format: %s\n", snd_strerror(err)); in hfp_capture_device_open()
1598 printf( "Error setting channels: %s, channels = %d\n", snd_strerror(err), alsa_config.channels); in hfp_capture_device_open()
1601 printf("setting channels (%d)\n", alsa_config.channels); in hfp_capture_device_open()
1603 printf("WANT-RATE = %d\n", rate); in hfp_capture_device_open()
1606 printf("Error setting sampling rate (%d): %s\n", rate, snd_strerror(err)); in hfp_capture_device_open()
1609 printf("set sampling rate (%d)\n", rate); in hfp_capture_device_open()
1613 printf("Error setting period size (%d): %s\n", (int)period_size, snd_strerror(err)); in hfp_capture_device_open()
1616 printf("period_size = %d\n", (int)period_size); in hfp_capture_device_open()
1620 printf("Error setting buffer size (%d): %s\n", (int)buffer_size, snd_strerror(err)); in hfp_capture_device_open()
1623 printf("buffer_size = %d\n", (int)buffer_size); in hfp_capture_device_open()
1628 printf( "Unable to set HW parameters: %s\n", snd_strerror(err)); in hfp_capture_device_open()
1632 printf("Open capture device is successful: %s\n", device_name); in hfp_capture_device_open()
1651 printf("tinymix set ADC MIC Group %d Left Volume failed\n", group); in hfp_tinymix_set()
1656 printf("tinymix set ADC MIC Group %d Right Volume failed\n", group); in hfp_tinymix_set()
1682 printf("%s: invalid sco codec type: %d\n", __func__, sco_codec); in hfp_alsa_playback()
1691 printf("==========bt capture, alsa playback============\n"); in hfp_alsa_playback()
1694 printf("capture device open failed: %s\n", bt_capture_device); in hfp_alsa_playback()
1700 printf("playback device open failed: %s\n", alsa_playback_device); in hfp_alsa_playback()
1712 printf("=====read frame error = %d=====\n", err); in hfp_alsa_playback()
1715 printf("Overrun occurred: %d\n", err); in hfp_alsa_playback()
1721 printf( "Error occured while recording: %s\n", snd_strerror(err)); in hfp_alsa_playback()
1734 printf("=====write frame error = %d=====\n", err); in hfp_alsa_playback()
1737 printf("Underrun occurred from write: %d\n", err); in hfp_alsa_playback()
1743 printf( "Error occured while writing: %s\n", snd_strerror(err)); in hfp_alsa_playback()
1757 printf("Exit app hs alsa playback thread\n"); in hfp_alsa_playback()
1780 printf("%s: invalid sco codec type: %d\n", __func__, sco_codec); in hfp_bt_playback()
1785 printf("==========mic capture, bt playback============\n"); in hfp_bt_playback()
1788 printf("capture device open failed: %s\n", alsa_capture_device); in hfp_bt_playback()
1796 printf("playback device open failed: %s\n", bt_playback_device); in hfp_bt_playback()
1808 printf("=====read frame error = %d=====\n", err); in hfp_bt_playback()
1811 printf("Overrun occurred: %d\n", err); in hfp_bt_playback()
1817 printf( "Error occured while recording: %s\n", snd_strerror(err)); in hfp_bt_playback()
1830 printf("====write frame error = %d===\n",err); in hfp_bt_playback()
1833 printf("Underrun occurred from write: %d\n", err); in hfp_bt_playback()
1839 printf( "Error occured while writing: %s\n", snd_strerror(err)); in hfp_bt_playback()
1852 printf("Exit app hs bt pcm playback thread\n"); in hfp_bt_playback()
1860 printf("Create alsa duplex thread failed\n"); in hfp_open_alsa_duplex()
1864 printf("hfp_open_alsa_duplex: alsa duplex already open\n"); in hfp_open_alsa_duplex()
1872 printf("app_hs_close_alsa_duplex start\n"); in hfp_close_alsa_duplex()
1879 printf("app_hs_close_alsa_duplex end\n"); in hfp_close_alsa_duplex()
1886 printf("Create bt pcm duplex thread failed\n"); in hfp_open_bt_duplex()
1890 printf("hfp_open_bt_duplex: bt duplex already open\n"); in hfp_open_bt_duplex()
1898 printf("app_hs_close_bt_duplex start\n"); in hfp_close_bt_duplex()
1905 printf("app_hs_close_bt_duplex end\n"); in hfp_close_bt_duplex()
1911 printf("%s: invalid sco codec type: %d\n", __func__, sco_codec); in hfp_open_audio_duplex()
1959 printf("Call info: %s\n", str); in get_call_info()
1961 printf("Call number: %s\n", number); in get_call_info()
1963 printf("Call name: %s\n", name); in get_call_info()
1970 printf("+++++ BT HFP HP CONNECT(%s) +++++\n", bd_addr); in bt_test_hfp_hp_cb()
1971 …printf("device platform is %s\n", rk_bt_get_dev_platform((char *)bd_addr) == RK_BT_DEV_PLATFORM_UN… in bt_test_hfp_hp_cb()
1975 printf("+++++ BT HFP HP DISCONNECT(%s) +++++\n", bd_addr); in bt_test_hfp_hp_cb()
1978 printf("+++++ BT HFP HP RING(%s) +++++\n", bd_addr); in bt_test_hfp_hp_cb()
1981 printf("+++++ BT HFP AUDIO OPEN(%s) +++++\n", bd_addr); in bt_test_hfp_hp_cb()
1985 printf("+++++ BT HFP AUDIO CLOSE(%s) +++++\n", bd_addr); in bt_test_hfp_hp_cb()
1989 printf("+++++ BT HFP PICKUP(%s) +++++\n", bd_addr); in bt_test_hfp_hp_cb()
1992 printf("+++++ BT HFP HANGUP(%s) +++++\n", bd_addr); in bt_test_hfp_hp_cb()
1997 printf("+++++ BT HFP VOLUME CHANGE, volume: %d +++++\n", volume); in bt_test_hfp_hp_cb()
2003 printf("+++++ BT HFP BCS EVENT: %d(%s) +++++\n", codec_type, in bt_test_hfp_hp_cb()
2010 printf("+++++ BT HFP CLIP EVENT(%s) +++++\n", bd_addr); in bt_test_hfp_hp_cb()
2016 printf("+++++ BT HFP OUTGOING CALL DIAL EVT(%s) +++++\n", bd_addr); in bt_test_hfp_hp_cb()
2020 printf("+++++ BT HFP OUTGOING CALL RING EVT(%s) +++++\n", bd_addr); in bt_test_hfp_hp_cb()
2025 printf("+++++ BT HFP CLCC EVENT(%s) +++++\n", bd_addr); in bt_test_hfp_hp_cb()
2046 printf("%s hfp open failed!\n", __func__); in bt_test_hfp_hp_open()
2055 printf("%s hfp accept failed!\n", __func__); in bt_test_hfp_hp_accept()
2064 printf("%s hfp hungup failed!\n", __func__); in bt_test_hfp_hp_hungup()
2073 printf("%s hfp redial failed!\n", __func__); in bt_test_hfp_hp_redial()
2090 printf("%s hfp report battery(%d) failed!\n", __func__, i); in bt_test_hfp_hp_report_battery()
2104 printf("%s hfp set volume(%d) failed!\n", __func__, i); in bt_test_hfp_hp_set_volume()
2139 printf("----- RK_BT_OBEX_CONNECT_FAILED(%s) -----\n", bd_addr); in obex_pbap_event_cb()
2143 printf("----- RK_BT_OBEX_CONNECTED(%s) -----\n", bd_addr); in obex_pbap_event_cb()
2147 printf("----- RK_BT_OBEX_DISCONNECT_FAILED(%s) -----\n", bd_addr); in obex_pbap_event_cb()
2151 printf("----- RK_BT_OBEX_DISCONNECTED(%s) -----\n", bd_addr); in obex_pbap_event_cb()
2155 printf("----- RK_BT_OBEX_TRANSFER_ACTIVE(%s) -----\n", bd_addr); in obex_pbap_event_cb()
2159 printf("----- RK_BT_OBEX_TRANSFER_COMPLETE(%s) -----\n", bd_addr); in obex_pbap_event_cb()
2232 printf("----- RK_BT_PAN_CONNECT_FAILED(%s) -----\n", bd_addr); in pan_event_cb()
2236 printf("----- RK_BT_PAN_CONNECT(%s) -----\n", bd_addr); in pan_event_cb()
2240 printf("----- RK_BT_PAN_DISCONNECT(%s) -----\n", bd_addr); in pan_event_cb()