Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libbroadcastring/
Dbroadcast_ring_test.cc205 const uint32_t newest_sequence = next_sequence_at_start + i; in TYPED_TEST() local
207 const uint32_t oldest_sequence = newest_sequence - records_available + 1; in TYPED_TEST()
208 EXPECT_EQ(newest_sequence, ring.GetNewestSequence()); in TYPED_TEST()
210 EXPECT_EQ(newest_sequence + 1, ring.GetNextSequence()); in TYPED_TEST()
213 const uint32_t sequence_jth_newest = newest_sequence - j; in TYPED_TEST()
228 EXPECT_EQ(newest_sequence, sequence); in TYPED_TEST()
234 FillChar(i + (oldest_sequence - newest_sequence))); in TYPED_TEST()
236 const uint32_t sequence_0th_future = newest_sequence + 1; in TYPED_TEST()
237 const uint32_t sequence_1st_future = newest_sequence + 2; in TYPED_TEST()
251 EXPECT_EQ(newest_sequence, sequence); in TYPED_TEST()
[all …]
/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/
Dbroadcast_ring.h366 uint32_t newest_sequence = GetNewestSequence(); in GetNewest() local
367 if (*sequence == newest_sequence + 1) return false; in GetNewest()
368 *sequence = newest_sequence; in GetNewest()