• Home
  • Raw
  • Download

Lines Matching refs:releaseCallback

86                              ReleaseBufferCallbackHelper& releaseCallback) {  in submitBuffer()  argument
89 t.setBuffer(layer, buffer, id, releaseCallback.getCallback()); in submitBuffer()
101 static void waitForReleaseBufferCallback(ReleaseBufferCallbackHelper& releaseCallback, in waitForReleaseBufferCallback() argument
104 releaseCallback.getCallbackData(&actualReleaseBufferId); in waitForReleaseBufferCallback()
106 releaseCallback.verifyNoCallbacks(); in waitForReleaseBufferCallback()
129 ReleaseBufferCallbackHelper* releaseCallback = getReleaseBufferCallbackHelper(); in TEST_F() local
135 *releaseCallback); in TEST_F()
140 EXPECT_NO_FATAL_FAILURE(releaseCallback->verifyNoCallbacks()); in TEST_F()
148 EXPECT_NO_FATAL_FAILURE(releaseCallback->verifyNoCallbacks()); in TEST_F()
155 *releaseCallback); in TEST_F()
161 ASSERT_NO_FATAL_FAILURE(waitForReleaseBufferCallback(*releaseCallback, firstBufferCallbackId)); in TEST_F()
168 ReleaseBufferCallbackHelper* releaseCallback = getReleaseBufferCallbackHelper(); in TEST_F() local
174 *releaseCallback); in TEST_F()
179 releaseCallback->verifyNoCallbacks(); in TEST_F()
193 ASSERT_NO_FATAL_FAILURE(releaseCallback->verifyNoCallbacks()); in TEST_F()
200 *releaseCallback); in TEST_F()
206 ASSERT_NO_FATAL_FAILURE(waitForReleaseBufferCallback(*releaseCallback, firstBufferCallbackId)); in TEST_F()
212 *releaseCallback); in TEST_F()
218 ASSERT_NO_FATAL_FAILURE(waitForReleaseBufferCallback(*releaseCallback, secondBufferCallbackId)); in TEST_F()
224 ReleaseBufferCallbackHelper* releaseCallback = getReleaseBufferCallbackHelper(); in TEST_F() local
230 *releaseCallback); in TEST_F()
236 ASSERT_NO_FATAL_FAILURE(releaseCallback->verifyNoCallbacks()); in TEST_F()
245 ASSERT_NO_FATAL_FAILURE(waitForReleaseBufferCallback(*releaseCallback, firstBufferCallbackId)); in TEST_F()
258 ReleaseBufferCallbackHelper* releaseCallback = getReleaseBufferCallbackHelper(); in TEST_F() local
264 *releaseCallback); in TEST_F()
270 ASSERT_NO_FATAL_FAILURE(releaseCallback->verifyNoCallbacks()); in TEST_F()
277 *releaseCallback); in TEST_F()
284 waitForReleaseBufferCallback(*releaseCallback, firstBufferCallbackId)); in TEST_F()
289 ASSERT_NO_FATAL_FAILURE(waitForReleaseBufferCallback(*releaseCallback, secondBufferCallbackId)); in TEST_F()
295 ReleaseBufferCallbackHelper* releaseCallback = getReleaseBufferCallbackHelper(); in TEST_F() local
305 t.setBuffer(layer, firstBuffer, firstBufferCallbackId, releaseCallback->getCallback()); in TEST_F()
316 EXPECT_NO_FATAL_FAILURE(releaseCallback->verifyNoCallbacks()); in TEST_F()
321 t.setBuffer(layer, secondBuffer, secondBufferCallbackId, releaseCallback->getCallback()); in TEST_F()
333 ASSERT_NO_FATAL_FAILURE(waitForReleaseBufferCallback(*releaseCallback, firstBufferCallbackId)); in TEST_F()