• Home
  • Raw
  • Download

Lines Matching refs:status

458   bt_status_t status =  in initializeNative()  local
460 if (status != BT_STATUS_SUCCESS) { in initializeNative()
461 ALOGE("Failed to initialize Bluetooth HFP Client, status: %d", status); in initializeNative()
498 bt_status_t status = sBluetoothHfpClientInterface->connect((RawAddress*)addr); in connectNative() local
499 if (status != BT_STATUS_SUCCESS) { in connectNative()
500 ALOGE("Failed AG connection, status: %d", status); in connectNative()
503 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectNative()
516 bt_status_t status = in disconnectNative() local
518 if (status != BT_STATUS_SUCCESS) { in disconnectNative()
519 ALOGE("Failed AG disconnection, status: %d", status); in disconnectNative()
522 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectNative()
535 bt_status_t status = in connectAudioNative() local
537 if (status != BT_STATUS_SUCCESS) { in connectAudioNative()
538 ALOGE("Failed AG audio connection, status: %d", status); in connectAudioNative()
541 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectAudioNative()
554 bt_status_t status = in disconnectAudioNative() local
556 if (status != BT_STATUS_SUCCESS) { in disconnectAudioNative()
557 ALOGE("Failed AG audio disconnection, status: %d", status); in disconnectAudioNative()
560 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectAudioNative()
573 bt_status_t status = sBluetoothHfpClientInterface->start_voice_recognition( in startVoiceRecognitionNative() local
575 if (status != BT_STATUS_SUCCESS) { in startVoiceRecognitionNative()
576 ALOGE("Failed to start voice recognition, status: %d", status); in startVoiceRecognitionNative()
579 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in startVoiceRecognitionNative()
592 bt_status_t status = sBluetoothHfpClientInterface->stop_voice_recognition( in stopVoiceRecognitionNative() local
594 if (status != BT_STATUS_SUCCESS) { in stopVoiceRecognitionNative()
595 ALOGE("Failed to stop voice recognition, status: %d", status); in stopVoiceRecognitionNative()
598 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in stopVoiceRecognitionNative()
611 bt_status_t status = sBluetoothHfpClientInterface->volume_control( in setVolumeNative() local
613 if (status != BT_STATUS_SUCCESS) { in setVolumeNative()
614 ALOGE("FAILED to control volume, status: %d", status); in setVolumeNative()
617 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setVolumeNative()
634 bt_status_t status = in dialNative() local
638 if (status != BT_STATUS_SUCCESS) { in dialNative()
639 ALOGE("Failed to dial, status: %d", status); in dialNative()
645 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in dialNative()
658 bt_status_t status = sBluetoothHfpClientInterface->dial_memory( in dialMemoryNative() local
660 if (status != BT_STATUS_SUCCESS) { in dialMemoryNative()
661 ALOGE("Failed to dial from memory, status: %d", status); in dialMemoryNative()
665 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in dialMemoryNative()
679 bt_status_t status = sBluetoothHfpClientInterface->handle_call_action( in handleCallActionNative() local
682 if (status != BT_STATUS_SUCCESS) { in handleCallActionNative()
683 ALOGE("Failed to enter private mode, status: %d", status); in handleCallActionNative()
686 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in handleCallActionNative()
699 bt_status_t status = sBluetoothHfpClientInterface->query_current_calls( in queryCurrentCallsNative() local
702 if (status != BT_STATUS_SUCCESS) { in queryCurrentCallsNative()
703 ALOGE("Failed to query current calls, status: %d", status); in queryCurrentCallsNative()
706 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in queryCurrentCallsNative()
719 bt_status_t status = in queryCurrentOperatorNameNative() local
722 if (status != BT_STATUS_SUCCESS) { in queryCurrentOperatorNameNative()
723 ALOGE("Failed to query current operator name, status: %d", status); in queryCurrentOperatorNameNative()
727 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in queryCurrentOperatorNameNative()
740 bt_status_t status = sBluetoothHfpClientInterface->retrieve_subscriber_info( in retrieveSubscriberInfoNative() local
742 if (status != BT_STATUS_SUCCESS) { in retrieveSubscriberInfoNative()
743 ALOGE("Failed to retrieve subscriber info, status: %d", status); in retrieveSubscriberInfoNative()
747 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in retrieveSubscriberInfoNative()
760 bt_status_t status = sBluetoothHfpClientInterface->send_dtmf( in sendDtmfNative() local
762 if (status != BT_STATUS_SUCCESS) { in sendDtmfNative()
763 ALOGE("Failed to send DTMF, status: %d", status); in sendDtmfNative()
767 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in sendDtmfNative()
780 bt_status_t status = in requestLastVoiceTagNumberNative() local
784 if (status != BT_STATUS_SUCCESS) { in requestLastVoiceTagNumberNative()
785 ALOGE("Failed to request last Voice Tag number, status: %d", status); in requestLastVoiceTagNumberNative()
789 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in requestLastVoiceTagNumberNative()
807 bt_status_t status = sBluetoothHfpClientInterface->send_at_cmd( in sendATCmdNative() local
810 if (status != BT_STATUS_SUCCESS) { in sendATCmdNative()
811 ALOGE("Failed to send cmd, status: %d", status); in sendATCmdNative()
819 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in sendATCmdNative()