Home
last modified time | relevance | path

Searched refs:releaseCallback (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/
DReleaseBufferCallback_test.cpp86 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()
[all …]
/frameworks/av/media/libmediatranscoding/transcoder/include/media/
DMediaSample.h81 OnSampleReleasedCallback releaseCallback) { in createWithReleaseCallback()
82 MediaSample* sample = new MediaSample(buffer, dataOffset, bufferId, releaseCallback); in createWithReleaseCallback()
111 OnSampleReleasedCallback releaseCallback) in MediaSample()
115 mReleaseCallback(releaseCallback){}; in MediaSample()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1184 private void releasePduSessionId(Runnable releaseCallback) { in releasePduSessionId() argument
1189 msg.obj = releaseCallback; in releasePduSessionId()
1194 releaseCallback.run(); in releasePduSessionId()