Searched refs:DestroyCallback (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 659 void DestroyCallback(const C2Buffer * /* buf */, void *arg) { in DestroyCallback() function 686 ASSERT_EQ(C2_OK, buffer->registerOnDestroyNotify(&DestroyCallback, &arg)); in TEST_F() 688 ASSERT_EQ(C2_DUPLICATE, buffer->registerOnDestroyNotify(&DestroyCallback, &arg)); in TEST_F() 694 ASSERT_EQ(C2_OK, buffer->registerOnDestroyNotify(&DestroyCallback, &arg)); in TEST_F() 696 ASSERT_EQ(C2_NOT_FOUND, buffer->unregisterOnDestroyNotify(&DestroyCallback, nullptr)); in TEST_F() 697 ASSERT_EQ(C2_OK, buffer->unregisterOnDestroyNotify(&DestroyCallback, &arg)); in TEST_F() 699 ASSERT_EQ(C2_NOT_FOUND, buffer->unregisterOnDestroyNotify(&DestroyCallback, &arg)); in TEST_F()
|
/frameworks/base/media/jni/ |
D | android_media_tv_Tuner.cpp | 172 void DestroyCallback(const C2Buffer * /* buf */, void *arg) { in DestroyCallback() function 319 pC2Buffer->unregisterOnDestroyNotify(&DestroyCallback, this); in ~MediaEvent() 354 pC2Buffer->registerOnDestroyNotify(&DestroyCallback, this); in getLinearBlock()
|