Searched refs:FastbootError (Results 1 – 4 of 4) sorted by relevance
210 const Result<NetworkSerial, FastbootError> parsed = ParseNetworkSerial(serial); in ParseNetworkSerialTest()222 const FastbootError::Type expected_error) { in ParseNetworkSerialNegativeTest()223 const Result<NetworkSerial, FastbootError> parsed = ParseNetworkSerial(serial); in ParseNetworkSerialNegativeTest()245 FastbootError::Type::NETWORK_SERIAL_WRONG_PREFIX); in TEST()248 FastbootError::Type::NETWORK_SERIAL_WRONG_PREFIX); in TEST()251 FastbootError::Type::NETWORK_SERIAL_WRONG_ADDRESS); in TEST()
30 class FastbootError {34 FastbootError(Type&& type) : type_(std::forward<Type>(type)) {} in FastbootError() function
185 Result<NetworkSerial, FastbootError> ParseNetworkSerial(const std::string& serial);
308 Result<NetworkSerial, FastbootError> ParseNetworkSerial(const std::string& serial) { in ParseNetworkSerial()322 return Error<FastbootError>(FastbootError::Type::NETWORK_SERIAL_WRONG_PREFIX) in ParseNetworkSerial()331 return Error<FastbootError>(FastbootError::Type::NETWORK_SERIAL_WRONG_ADDRESS) in ParseNetworkSerial()350 const Result<NetworkSerial, FastbootError> network_serial = ParseNetworkSerial(local_serial); in open_device()366 FastbootError::Type::NETWORK_SERIAL_WRONG_PREFIX) { in open_device()