Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp665 void DestroyCallback(const C2Buffer * /* buf */, void *arg) { in DestroyCallback() function
692 ASSERT_EQ(C2_OK, buffer->registerOnDestroyNotify(&DestroyCallback, &arg)); in TEST_F()
694 ASSERT_EQ(C2_DUPLICATE, buffer->registerOnDestroyNotify(&DestroyCallback, &arg)); in TEST_F()
700 ASSERT_EQ(C2_OK, buffer->registerOnDestroyNotify(&DestroyCallback, &arg)); in TEST_F()
702 ASSERT_EQ(C2_NOT_FOUND, buffer->unregisterOnDestroyNotify(&DestroyCallback, nullptr)); in TEST_F()
703 ASSERT_EQ(C2_OK, buffer->unregisterOnDestroyNotify(&DestroyCallback, &arg)); in TEST_F()
705 ASSERT_EQ(C2_NOT_FOUND, buffer->unregisterOnDestroyNotify(&DestroyCallback, &arg)); in TEST_F()
/frameworks/base/media/jni/
Dandroid_media_tv_Tuner.cpp353 void DestroyCallback(const C2Buffer * buf, void *arg) { in DestroyCallback() function
492 pC2Buffer->unregisterOnDestroyNotify(&DestroyCallback, this); in ~MediaEvent()
582 pC2Buffer->registerOnDestroyNotify(&DestroyCallback, this); in getLinearBlock()