Home
last modified time | relevance | path

Searched refs:read_data (Results 1 – 10 of 10) sorted by relevance

/system/core/libziparchive/
Dzip_archive_test.cc499 bool verified, ZipEntry* entry, std::vector<uint8_t>* read_data) { in ZipArchiveStreamTest() argument
507 read_data->resize(entry->uncompressed_length); in ZipArchiveStreamTest()
509 read_data->resize(entry->compressed_length); in ZipArchiveStreamTest()
513 read_data->resize(entry->uncompressed_length); in ZipArchiveStreamTest()
515 uint8_t* read_data_ptr = read_data->data(); in ZipArchiveStreamTest()
525 ASSERT_EQ(total_size, read_data->size()); in ZipArchiveStreamTest()
535 std::vector<uint8_t> read_data; in ZipArchiveStreamTestUsingContents() local
536 ZipArchiveStreamTest(handle, entry_name, raw, true, &entry, &read_data); in ZipArchiveStreamTestUsingContents()
538 ASSERT_EQ(contents.size(), read_data.size()); in ZipArchiveStreamTestUsingContents()
539 ASSERT_TRUE(memcmp(read_data.data(), contents.data(), read_data.size()) == 0); in ZipArchiveStreamTestUsingContents()
[all …]
/system/tpm/tpm_manager/server/
Dtpm2_nvram_test.cc167 std::string read_data; in TEST_F() local
168 EXPECT_TRUE(tpm_nvram_->ReadNvram(index, &read_data)); in TEST_F()
169 EXPECT_EQ(read_data, tpm_data); in TEST_F()
176 std::string read_data; in TEST_F() local
177 EXPECT_FALSE(tpm_nvram_->ReadNvram(index, &read_data)); in TEST_F()
188 std::string read_data; in TEST_F() local
189 EXPECT_FALSE(tpm_nvram_->ReadNvram(index, &read_data)); in TEST_F()
/system/bt/hci/include/
Dhci_hal.h62 size_t (*read_data)(serial_data_type_t type, uint8_t *buffer, size_t max_size); member
/system/bt/hci/src/
Dhci_hal_h4.c118 static size_t read_data(serial_data_type_t type, uint8_t *buffer, size_t max_size) { in read_data() function
256 read_data,
Dhci_hal_mct.c129 static size_t read_data(serial_data_type_t type, uint8_t *buffer, size_t max_size) { in read_data() function
198 read_data,
Dhci_layer.c555 while (hal->read_data(type, &byte, 1) != 0) { in hal_says_data_ready()
598 …size_t bytes_read = hal->read_data(type, (incoming->buffer->data + incoming->index), incoming->byt… in hal_says_data_ready()
/system/bt/hci/test/
Dhci_hal_mct_test.cpp65 EXPECT_EQ((size_t)1, hal->read_data(type, &byte, 1)); in expect_packet_synchronous()
112 while ((bytes_read = hal->read_data(type, &byte, 1)) != 0) {
Dhci_hal_h4_test.cpp70 EXPECT_EQ((size_t)1, hal->read_data(type, &byte, 1)); in expect_packet_synchronous()
119 while ((bytes_read = hal->read_data(type, &byte, 1)) != 0) {
Dhci_layer_test.cpp554 hal.read_data = hal_read_data;
/system/connectivity/shill/
Dconnectivity_trial_unittest.cc200 void AppendReadData(const string& read_data) { in AppendReadData() argument
201 response_data_.Append(ByteString(read_data, false)); in AppendReadData()