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
155 Result<NetworkSerial, FastbootError> ParseNetworkSerial(const std::string& serial);
307 Result<NetworkSerial, FastbootError> ParseNetworkSerial(const std::string& serial) { in ParseNetworkSerial()321 return Error<FastbootError>(FastbootError::Type::NETWORK_SERIAL_WRONG_PREFIX) in ParseNetworkSerial()330 return Error<FastbootError>(FastbootError::Type::NETWORK_SERIAL_WRONG_ADDRESS) in ParseNetworkSerial()349 const Result<NetworkSerial, FastbootError> network_serial = ParseNetworkSerial(local_serial); in open_device()367 FastbootError::Type::NETWORK_SERIAL_WRONG_PREFIX) { in open_device()