Home
last modified time | relevance | path

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

/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaSampleQueueTests.cpp115 std::vector<bool> bufferReleased(kNumSamples, false); in TEST_F() local
117 MediaSample::OnSampleReleasedCallback callback = [&bufferReleased](MediaSample* sample) { in TEST_F()
118 bufferReleased[sample->bufferId] = true; in TEST_F()
129 EXPECT_FALSE(bufferReleased[i]); in TEST_F()
138 EXPECT_FALSE(bufferReleased[i]); in TEST_F()
143 EXPECT_EQ(bufferReleased[j], j <= i); in TEST_F()
152 std::vector<bool> bufferReleased(kNumSamples, false); in TEST_F() local
154 MediaSample::OnSampleReleasedCallback callback = [&bufferReleased](MediaSample* sample) { in TEST_F()
155 bufferReleased[sample->bufferId] = true; in TEST_F()
166 EXPECT_FALSE(bufferReleased[i]); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/
DLayer.cpp4175 const bool bufferReleased = oldBufferInfo.mBuffer != nullptr; in latchBufferImpl() local
4176 recomputeVisibleRegions = bufferReleased; in latchBufferImpl()
4177 return bufferReleased; in latchBufferImpl()