Home
last modified time | relevance | path

Searched refs:callbackData (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DDispSyncSourceTest.cpp235 const auto callbackData = mVSyncEventCallRecorder.waitForCall(); in TEST_F() local
236 ASSERT_TRUE(callbackData.has_value()); in TEST_F()
237 const auto [when, expectedVSyncTimestamp, deadlineTimestamp] = callbackData.value(); in TEST_F()
267 const auto callbackData = mVSyncEventCallRecorder.waitForCall(); in TEST_F() local
268 ASSERT_TRUE(callbackData.has_value()); in TEST_F()
269 const auto [when, expectedVSyncTimestamp, deadlineTimestamp] = callbackData.value(); in TEST_F()
288 const auto callbackData = mVSyncEventCallRecorder.waitForCall(); in TEST_F() local
289 ASSERT_TRUE(callbackData.has_value()); in TEST_F()
290 const auto [when, expectedVSyncTimestamp, deadlineTimestamp] = callbackData.value(); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/
DReleaseBufferCallback_test.cpp54 auto callbackData = mCallbackDataQueue.front(); in getCallbackData() local
56 *callbackId = callbackData.first; in getCallbackData()
96 CallbackData callbackData; in waitForCallback() local
97 helper.getCallbackData(&callbackData); in waitForCallback()
98 expectedResult.verifyCallbackData(callbackData); in waitForCallback()
DIPC_test.cpp258 CallbackData callbackData; in waitForCallback() local
259 ASSERT_NO_FATAL_FAILURE(helper.getCallbackData(&callbackData)); in waitForCallback()
260 EXPECT_NO_FATAL_FAILURE(expectedResult.verifyCallbackData(callbackData)); in waitForCallback()
DLayerCallback_test.cpp86 CallbackData callbackData; in waitForCallback() local
87 ASSERT_NO_FATAL_FAILURE(helper.getCallbackData(&callbackData)); in waitForCallback()
88 EXPECT_NO_FATAL_FAILURE(expectedResult.verifyCallbackData(callbackData)); in waitForCallback()
/frameworks/native/services/surfaceflinger/tests/utils/
DCallbackUtils.h88 void verifyCallbackData(const CallbackData& callbackData) const { in verifyCallbackData() argument
89 const auto& [latchTime, presentFence, surfaceControlStats] = callbackData; in verifyCallbackData()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp131 void *callbackData = nullptr; in open() local
136 callbackData = this; in open()
183 callbackData, in open()
DAudioStreamTrack.cpp112 void *callbackData = nullptr; in open() local
118 callbackData = this; in open()
163 callbackData, in open()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp2380 CallbackData *callbackData = mCallbackData; in switchToNextOutput() local
2383 callbackData->lock(); in switchToNextOutput()
2386 if (callbackData != mCallbackData || mNextOutput == NULL || mNextOutput == this) { in switchToNextOutput()
2390 callbackData->unlock(); in switchToNextOutput()
2393 callbackData->mSwitching = true; // begin track switch in switchToNextOutput()
2394 callbackData->setOutput(NULL); in switchToNextOutput()