Lines Matching refs:error_name
589 const std::string& error_name,
596 << error_name << ": " << error_message;
600 // Determine the error code from error_name.
602 if (error_name == bluetooth_device::kErrorFailed) {
604 } else if (error_name == bluetooth_device::kErrorInProgress) {
606 } else if (error_name == bluetooth_device::kErrorNotSupported) {
627 const std::string& error_name,
634 << error_name << ": " << error_message;
640 // Determine the error code from error_name.
642 if (error_name == bluetooth_device::kErrorConnectionAttemptFailed) {
644 } else if (error_name == bluetooth_device::kErrorFailed) {
646 } else if (error_name == bluetooth_device::kErrorAuthenticationFailed) {
648 } else if (error_name == bluetooth_device::kErrorAuthenticationCanceled) {
650 } else if (error_name == bluetooth_device::kErrorAuthenticationRejected) {
652 } else if (error_name == bluetooth_device::kErrorAuthenticationTimeout) {
661 const std::string& error_name,
664 << error_name << ": " << error_message;
692 const std::string& error_name,
695 << ": Failed to start connection monitor: " << error_name << ": "
707 const std::string& error_name,
710 << error_name << ": " << error_message;
716 const std::string& error_name,
719 << error_name << ": " << error_message;