Home
last modified time | relevance | path

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

/frameworks/av/media/module/extractors/tests/
DExtractorUnitTest.cpp679 int32_t seekIdx = 0; in TEST_P() local
684 seekIdx = rand() % seekablePointsSize + 1; in TEST_P()
685 if (seekIdx >= seekablePointsSize) seekIdx = seekablePointsSize - 1; in TEST_P()
687 int64_t seekToTimeStamp = seekablePoints[seekIdx]; in TEST_P()
688 if (seekIdx > 1) { in TEST_P()
690 int64_t prevTimeStamp = seekablePoints[seekIdx - 1]; in TEST_P()
720 EXPECT_EQ(timeStamp, seekablePoints[seekIdx > 0 ? (seekIdx - 1) : 0]); in TEST_P()
725 EXPECT_EQ(timeStamp, seekablePoints[seekIdx]); in TEST_P()