Lines Matching refs:sBluetoothHfpInterface

54 static const bthf_interface_t *sBluetoothHfpInterface = NULL;
433 if ( (sBluetoothHfpInterface = (bthf_interface_t *)
441 if ( (status = sBluetoothHfpInterface->init(&sBluetoothHfpCallbacks)) != BT_STATUS_SUCCESS) {
443 sBluetoothHfpInterface = NULL;
460 if (sBluetoothHfpInterface !=NULL) {
462 sBluetoothHfpInterface->cleanup();
463 sBluetoothHfpInterface = NULL;
472 if ( (sBluetoothHfpInterface = (bthf_interface_t *)
478 if ( (status = sBluetoothHfpInterface->init(&sBluetoothHfpCallbacks,
481 sBluetoothHfpInterface = NULL;
497 if (sBluetoothHfpInterface !=NULL) {
499 sBluetoothHfpInterface->cleanup();
500 sBluetoothHfpInterface = NULL;
514 ALOGI("%s: sBluetoothHfpInterface: %p", __FUNCTION__, sBluetoothHfpInterface);
515 if (!sBluetoothHfpInterface) return JNI_FALSE;
523 if ((status = sBluetoothHfpInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) {
534 if (!sBluetoothHfpInterface) return JNI_FALSE;
542 if ( (status = sBluetoothHfpInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) {
553 if (!sBluetoothHfpInterface) return JNI_FALSE;
561 if ( (status = sBluetoothHfpInterface->connect_audio((bt_bdaddr_t *)addr)) !=
573 if (!sBluetoothHfpInterface) return JNI_FALSE;
581 if ( (status = sBluetoothHfpInterface->disconnect_audio((bt_bdaddr_t *) addr)) !=
592 if (!sBluetoothHfpInterface) return JNI_FALSE;
600 if ( (status = sBluetoothHfpInterface->start_voice_recognition((bt_bdaddr_t *) addr))
611 if (!sBluetoothHfpInterface) return JNI_FALSE;
619 if ( (status = sBluetoothHfpInterface->stop_voice_recognition((bt_bdaddr_t *) addr))
631 if (!sBluetoothHfpInterface) return JNI_FALSE;
639 if ( (status = sBluetoothHfpInterface->volume_control((bthf_volume_type_t) volume_type,
651 if (!sBluetoothHfpInterface) return JNI_FALSE;
653 if ( (status = sBluetoothHfpInterface->device_status_notification
666 if (!sBluetoothHfpInterface) return JNI_FALSE;
676 if ( (status = sBluetoothHfpInterface->cops_response(operator_name,(bt_bdaddr_t *) addr))
691 ALOGI("%s: sBluetoothHfpInterface: %p", __FUNCTION__, sBluetoothHfpInterface);
692 if (!sBluetoothHfpInterface) return JNI_FALSE;
700 if ( (status = sBluetoothHfpInterface->cind_response(service, num_active, num_held,
715 if (!sBluetoothHfpInterface) return JNI_FALSE;
725 if ( (status = sBluetoothHfpInterface->formatted_at_response(response,
738 if (!sBluetoothHfpInterface) return JNI_FALSE;
746 if ( (status = sBluetoothHfpInterface->at_response((bthf_at_response_t) response_code,
760 if (!sBluetoothHfpInterface) return JNI_FALSE;
771 if ( (status = sBluetoothHfpInterface->clcc_response(index, (bthf_call_direction_t) dir,
787 if (!sBluetoothHfpInterface) return JNI_FALSE;
791 if ( (status = sBluetoothHfpInterface->phone_state_change(num_active, num_held,
806 if (!sBluetoothHfpInterface) return JNI_FALSE;
814 if ((status = sBluetoothHfpInterface->configure_wbs((bt_bdaddr_t *)addr,