Home
last modified time | relevance | path

Searched refs:SendBuffer (Results 1 – 5 of 5) sorted by relevance

/aosp14/system/core/fastboot/
H A Dfastboot_driver.cpp211 if ((ret = SendBuffer(fd, size))) { in Download()
241 if ((ret = SendBuffer(buf))) { in Download()
292 if (cb_priv.tpbuf.size() && (ret = SendBuffer(cb_priv.tpbuf))) { in Download()
531 RetCode FastBootDriver::SendBuffer(android::base::borrowed_fd fd, size_t size) { in SendBuffer() function in fastboot::FastBootDriver
546 if ((ret = SendBuffer(mapping->data(), mapping->size()))) { in SendBuffer()
557 RetCode FastBootDriver::SendBuffer(const std::vector<char>& buf) { in SendBuffer() function in fastboot::FastBootDriver
559 return SendBuffer(buf.data(), buf.size()); in SendBuffer()
562 RetCode FastBootDriver::SendBuffer(const void* buf, size_t size) { in SendBuffer() function in fastboot::FastBootDriver
607 if (SendBuffer(tpbuf)) { in SparseWriteCallback()
617 if (nbytes && SendBuffer(data + total, nbytes)) { // Don't send a ZLP in SparseWriteCallback()
H A Dfastboot_driver.h148 RetCode SendBuffer(android::base::borrowed_fd fd, size_t size);
149 RetCode SendBuffer(const std::vector<char>& buf);
150 RetCode SendBuffer(const void* buf, size_t size);
/aosp14/system/core/fastboot/fuzzy_fastboot/
H A Dfixtures.cpp110 RetCode FastBootTest::SendBuffer(const std::vector<char>& buf) { in SendBuffer() function in fastboot::FastBootTest
111 return fb->SendBuffer(buf); in SendBuffer()
H A Dfixtures.h61 RetCode SendBuffer(const std::vector<char>& buf);
H A Dmain.cpp652 ASSERT_EQ(SendBuffer(buf), SUCCESS) << "Downloading payload failed"; in TEST_F()
794 RetCode ret = SendBuffer(buf); in TEST_F()
811 RetCode ret = SendBuffer(buf); in TEST_F()
996 ASSERT_EQ(SendBuffer(buf), SUCCESS) << "Downloading payload failed"; in TEST_F()
1017 ASSERT_EQ(SendBuffer(buf), SUCCESS) << "Downloading payload failed"; in TEST_F()
1032 ASSERT_EQ(SendBuffer(buf), SUCCESS) << "Downloading payload failed"; in TEST_F()
1051 ASSERT_EQ(SendBuffer(buf), SUCCESS) << "Downloading payload failed"; in TEST_F()