Home
last modified time | relevance | path

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

/system/connectivity/wifilogd/tests/
Dmemory_reader_unittest.cpp51 EXPECT_EQ(buffer[0], *reader1.GetBytesOrDie(sizeof(uint8_t))); in TEST()
55 EXPECT_EQ(buffer[1], *reader2.GetBytesOrDie(sizeof(uint8_t))); in TEST()
65 EXPECT_EQ(buffer[0], *reader1.GetBytesOrDie(sizeof(uint8_t))); in TEST()
69 EXPECT_EQ(buffer[1], *reader2.GetBytesOrDie(sizeof(uint8_t))); in TEST()
112 EXPECT_EQ(buffer.data(), memory_reader.GetBytesOrDie(1)); in TEST()
118 EXPECT_EQ(buffer.data(), memory_reader.GetBytesOrDie(buffer.size())); in TEST()
125 EXPECT_EQ(buffer.data(), memory_reader.GetBytesOrDie(buffer.size() / 2)); in TEST()
127 memory_reader.GetBytesOrDie(buffer.size() / 2)); in TEST()
145 memory_reader.GetBytesOrDie(1); in TEST()
152 memory_reader.GetBytesOrDie(buffer.size()); in TEST()
[all …]
/system/connectivity/wifilogd/
Dmemory_reader.cpp22 const uint8_t* MemoryReader::GetBytesOrDie(size_t n_bytes) { in GetBytesOrDie() function in android::wifilogd::MemoryReader
Dmemory_reader.h56 RETURNS_NONNULL const uint8_t* GetBytesOrDie(size_t n_bytes);
Dcommand_processor.cpp103 auto out = MakeSanitizedString(buffer_reader->GetBytesOrDie(effective_len), in GetStringFromMemoryReader()