Searched refs:DestroyCallback (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 665 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/ |
D | android_media_tv_Tuner.cpp | 353 void DestroyCallback(const C2Buffer * buf, void *arg) { in DestroyCallback() function 492 pC2Buffer->unregisterOnDestroyNotify(&DestroyCallback, this); in ~MediaEvent() 582 pC2Buffer->registerOnDestroyNotify(&DestroyCallback, this); in getLinearBlock()
|