Lines Matching refs:status
472 bt_status_t status = in initializeNative() local
475 if (status != BT_STATUS_SUCCESS) { in initializeNative()
477 __func__, status); in initializeNative()
522 bt_status_t status = sBluetoothHfpInterface->Connect((RawAddress*)addr); in connectHfpNative() local
523 if (status != BT_STATUS_SUCCESS) { in connectHfpNative()
524 ALOGE("Failed HF connection, status: %d", status); in connectHfpNative()
527 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectHfpNative()
544 bt_status_t status = sBluetoothHfpInterface->Disconnect((RawAddress*)addr); in disconnectHfpNative() local
545 if (status != BT_STATUS_SUCCESS) { in disconnectHfpNative()
546 ALOGE("Failed HF disconnection, status: %d", status); in disconnectHfpNative()
549 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectHfpNative()
566 bt_status_t status = sBluetoothHfpInterface->ConnectAudio((RawAddress*)addr); in connectAudioNative() local
567 if (status != BT_STATUS_SUCCESS) { in connectAudioNative()
568 ALOGE("Failed HF audio connection, status: %d", status); in connectAudioNative()
571 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectAudioNative()
588 bt_status_t status = in disconnectAudioNative() local
590 if (status != BT_STATUS_SUCCESS) { in disconnectAudioNative()
591 ALOGE("Failed HF audio disconnection, status: %d", status); in disconnectAudioNative()
594 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectAudioNative()
610 bt_status_t status = in startVoiceRecognitionNative() local
612 if (status != BT_STATUS_SUCCESS) { in startVoiceRecognitionNative()
613 ALOGE("Failed to start voice recognition, status: %d", status); in startVoiceRecognitionNative()
616 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in startVoiceRecognitionNative()
632 bt_status_t status = in stopVoiceRecognitionNative() local
634 if (status != BT_STATUS_SUCCESS) { in stopVoiceRecognitionNative()
635 ALOGE("Failed to stop voice recognition, status: %d", status); in stopVoiceRecognitionNative()
638 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in stopVoiceRecognitionNative()
654 bt_status_t status = sBluetoothHfpInterface->VolumeControl( in setVolumeNative() local
657 if (status != BT_STATUS_SUCCESS) { in setVolumeNative()
658 ALOGE("FAILED to control volume, status: %d", status); in setVolumeNative()
661 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setVolumeNative()
679 bt_status_t status = sBluetoothHfpInterface->DeviceStatusNotification( in notifyDeviceStatusNative() local
684 if (status != BT_STATUS_SUCCESS) { in notifyDeviceStatusNative()
685 ALOGE("FAILED to notify device status, status: %d", status); in notifyDeviceStatusNative()
687 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in notifyDeviceStatusNative()
704 bt_status_t status = in copsResponseNative() local
706 if (status != BT_STATUS_SUCCESS) { in copsResponseNative()
707 ALOGE("Failed sending cops response, status: %d", status); in copsResponseNative()
711 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in copsResponseNative()
729 bt_status_t status = sBluetoothHfpInterface->CindResponse( in cindResponseNative() local
733 if (status != BT_STATUS_SUCCESS) { in cindResponseNative()
734 ALOGE("%s: failed, status: %d", __func__, status); in cindResponseNative()
737 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in cindResponseNative()
755 bt_status_t status = in atResponseStringNative() local
757 if (status != BT_STATUS_SUCCESS) { in atResponseStringNative()
758 ALOGE("Failed formatted AT response, status: %d", status); in atResponseStringNative()
762 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in atResponseStringNative()
779 bt_status_t status = sBluetoothHfpInterface->AtResponse( in atResponseCodeNative() local
782 if (status != BT_STATUS_SUCCESS) { in atResponseCodeNative()
783 ALOGE("Failed AT response, status: %d", status); in atResponseCodeNative()
786 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in atResponseCodeNative()
808 bt_status_t status = sBluetoothHfpInterface->ClccResponse( in clccResponseNative() local
816 if (status != BT_STATUS_SUCCESS) { in clccResponseNative()
817 ALOGE("Failed sending CLCC response, status: %d", status); in clccResponseNative()
823 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in clccResponseNative()
847 bt_status_t status = sBluetoothHfpInterface->PhoneStateChange( in phoneStateChangeNative() local
851 if (status != BT_STATUS_SUCCESS) { in phoneStateChangeNative()
852 ALOGE("Failed report phone state change, status: %d", status); in phoneStateChangeNative()
859 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in phoneStateChangeNative()
869 bt_status_t status = sBluetoothHfpInterface->SetScoAllowed(value == JNI_TRUE); in setScoAllowedNative() local
870 if (status != BT_STATUS_SUCCESS) { in setScoAllowedNative()
871 ALOGE("Failed HF set sco allowed, status: %d", status); in setScoAllowedNative()
873 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setScoAllowedNative()
889 bt_status_t status = in sendBsirNative() local
891 if (status != BT_STATUS_SUCCESS) { in sendBsirNative()
892 ALOGE("Failed sending BSIR, value=%d, status=%d", value, status); in sendBsirNative()
895 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in sendBsirNative()
911 bt_status_t status = in setActiveDeviceNative() local
913 if (status != BT_STATUS_SUCCESS) { in setActiveDeviceNative()
914 ALOGE("Failed to set active device, status: %d", status); in setActiveDeviceNative()
917 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setActiveDeviceNative()