Lines Matching refs:sBluetoothHfpInterface
54 static bluetooth::headset::Interface* sBluetoothHfpInterface = nullptr; variable
451 if (sBluetoothHfpInterface) { in initializeNative()
454 sBluetoothHfpInterface->Cleanup(); in initializeNative()
455 sBluetoothHfpInterface = nullptr; in initializeNative()
464 sBluetoothHfpInterface = in initializeNative()
467 if (!sBluetoothHfpInterface) { in initializeNative()
473 sBluetoothHfpInterface->Init(JniHeadsetCallbacks::GetInstance(), in initializeNative()
478 sBluetoothHfpInterface = nullptr; in initializeNative()
495 if (sBluetoothHfpInterface) { in cleanupNative()
497 sBluetoothHfpInterface->Cleanup(); in cleanupNative()
498 sBluetoothHfpInterface = nullptr; in cleanupNative()
511 if (!sBluetoothHfpInterface) { in connectHfpNative()
522 bt_status_t status = sBluetoothHfpInterface->Connect((RawAddress*)addr); in connectHfpNative()
533 if (!sBluetoothHfpInterface) { in disconnectHfpNative()
544 bt_status_t status = sBluetoothHfpInterface->Disconnect((RawAddress*)addr); in disconnectHfpNative()
555 if (!sBluetoothHfpInterface) { in connectAudioNative()
566 bt_status_t status = sBluetoothHfpInterface->ConnectAudio((RawAddress*)addr); in connectAudioNative()
577 if (!sBluetoothHfpInterface) { in disconnectAudioNative()
589 sBluetoothHfpInterface->DisconnectAudio((RawAddress*)addr); in disconnectAudioNative()
600 if (!sBluetoothHfpInterface) { in startVoiceRecognitionNative()
611 sBluetoothHfpInterface->StartVoiceRecognition((RawAddress*)addr); in startVoiceRecognitionNative()
622 if (!sBluetoothHfpInterface) { in stopVoiceRecognitionNative()
633 sBluetoothHfpInterface->StopVoiceRecognition((RawAddress*)addr); in stopVoiceRecognitionNative()
644 if (!sBluetoothHfpInterface) { in setVolumeNative()
654 bt_status_t status = sBluetoothHfpInterface->VolumeControl( in setVolumeNative()
669 if (!sBluetoothHfpInterface) { in notifyDeviceStatusNative()
679 bt_status_t status = sBluetoothHfpInterface->DeviceStatusNotification( in notifyDeviceStatusNative()
693 if (!sBluetoothHfpInterface) { in copsResponseNative()
705 sBluetoothHfpInterface->CopsResponse(operator_name, (RawAddress*)addr); in copsResponseNative()
719 if (!sBluetoothHfpInterface) { in cindResponseNative()
729 bt_status_t status = sBluetoothHfpInterface->CindResponse( in cindResponseNative()
744 if (!sBluetoothHfpInterface) { in atResponseStringNative()
756 sBluetoothHfpInterface->FormattedAtResponse(response, (RawAddress*)addr); in atResponseStringNative()
769 if (!sBluetoothHfpInterface) { in atResponseCodeNative()
779 bt_status_t status = sBluetoothHfpInterface->AtResponse( in atResponseCodeNative()
794 if (!sBluetoothHfpInterface) { in clccResponseNative()
808 bt_status_t status = sBluetoothHfpInterface->ClccResponse( in clccResponseNative()
832 if (!sBluetoothHfpInterface) { in phoneStateChangeNative()
847 bt_status_t status = sBluetoothHfpInterface->PhoneStateChange( in phoneStateChangeNative()
865 if (!sBluetoothHfpInterface) { in setScoAllowedNative()
869 bt_status_t status = sBluetoothHfpInterface->SetScoAllowed(value == JNI_TRUE); in setScoAllowedNative()
879 if (!sBluetoothHfpInterface) { in sendBsirNative()
890 sBluetoothHfpInterface->SendBsir(value == JNI_TRUE, (RawAddress*)addr); in sendBsirNative()
901 if (!sBluetoothHfpInterface) { in setActiveDeviceNative()
912 sBluetoothHfpInterface->SetActiveDevice((RawAddress*)addr); in setActiveDeviceNative()