Home
last modified time | relevance | path

Searched refs:GetSampleContainer (Results 1 – 2 of 2) sorted by relevance

/frameworks/hardware/interfaces/sensorservice/utils/
Ddirect_channel_buffer_reader_test.cc124 auto& samples = reader_.GetSampleContainer(); in ValidateReaderSamples()
168 EXPECT_EQ(reader_.GetSampleContainer().size(), 0); in TEST_F()
174 EXPECT_EQ(reader_.GetSampleContainer().size(), 1); in TEST_F()
182 EXPECT_EQ(reader_.GetSampleContainer().size(), kBufferSize - 1); in TEST_F()
192 EXPECT_EQ(reader_.GetSampleContainer().size(), 3); in TEST_F()
203 EXPECT_EQ(reader_.GetSampleContainer().size(), 2); in TEST_F()
223 EXPECT_EQ(reader_.GetSampleContainer().front().timestamp, 3); in TEST_F()
224 EXPECT_EQ(reader_.GetSampleContainer().back().timestamp, 21); in TEST_F()
234 EXPECT_EQ(reader_.GetSampleContainer().size(), kBufferSize - 1); in TEST_F()
255 EXPECT_EQ(reader_.GetSampleContainer().size(), kBufferSize - 1); in TEST_F()
Ddirect_channel_buffer_reader.h106 std::deque<sensors_event_t>& GetSampleContainer() { return buffer_; } in GetSampleContainer() function