Searched refs:FastBootTest (Results 1 – 4 of 4) sorted by relevance
64 int FastBootTest::MatchFastboot(usb_ifc_info* info, const std::string& local_serial) { in MatchFastboot()79 bool FastBootTest::IsFastbootOverTcp() { in IsFastbootOverTcp()83 bool FastBootTest::UsbStillAvailible() { in UsbStillAvailible()99 bool FastBootTest::UserSpaceFastboot() { in UserSpaceFastboot()105 RetCode FastBootTest::DownloadCommand(uint32_t size, std::string* response, in DownloadCommand()110 RetCode FastBootTest::SendBuffer(const std::vector<char>& buf) { in SendBuffer()114 RetCode FastBootTest::HandleResponse(std::string* response, std::vector<std::string>* info, in HandleResponse()119 void FastBootTest::SetUp() { in SetUp()151 void FastBootTest::TearDown() { in TearDown()168 void FastBootTest::TearDownSerial() { in TearDownSerial()[all …]
43 class FastBootTest : public testing::Test {81 class ModeTest : public FastBootTest {122 : public FastBootTest,
167 return FastBootTest::MatchFastboot(info, fastboot::FastBootTest::device_serial); in TEST()170 for (int i = 0; i < FastBootTest::MAX_USB_TRIES && !transport; i++) { in TEST()175 << 10 * FastBootTest::MAX_USB_TRIES << "ms"; in TEST()1787 fastboot::FastBootTest::device_serial = args.at("serial"); in main()1792 if (!fastboot::FastBootTest::IsFastbootOverTcp()) { in main()1795 … return fastboot::FastBootTest::MatchFastboot(info, fastboot::FastBootTest::device_serial); in main()1806 fastboot::FastBootTest::serial_port = fastboot::ConfigureSerial(args.at("serial_port")); in main()1811 if (fastboot::FastBootTest::serial_port > 0) { in main()1812 close(fastboot::FastBootTest::serial_port); in main()
65 friend class FastBootTest; variable