Home
last modified time | relevance | path

Searched refs:FastbootError (Results 1 – 4 of 4) sorted by relevance

/system/core/fastboot/
Dfastboot_test.cpp210 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()
Dresult.h30 class FastbootError {
34 FastbootError(Type&& type) : type_(std::forward<Type>(type)) {} in FastbootError() function
Dfastboot.h185 Result<NetworkSerial, FastbootError> ParseNetworkSerial(const std::string& serial);
Dfastboot.cpp308 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()