Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/gestures/
DTimerProvider.cpp46 void* callbackData) { in setDeadline() argument
48 callbackData); in setDeadline()
104 void* callbackData) { in setDeadline() argument
105 setDeadlineWithoutRequestingTimeout(timer, delay, callback, callbackData); in setDeadline()
111 void* callbackData) { in setDeadlineWithoutRequestingTimeout() argument
115 stime_t nextDelay = callback(nsecsToStime(triggerTime), callbackData); in setDeadlineWithoutRequestingTimeout()
123 callbackData); in setDeadlineWithoutRequestingTimeout()
DTimerProvider.h52 void* callbackData);
62 GesturesTimerCallback callback, void* callbackData);
/frameworks/native/libs/gui/tests/
DChoreographer_test.cpp36 void onVsyncCallback(const AChoreographerFrameCallbackData* callbackData) { in onVsyncCallback()
38 AChoreographerFrameCallbackData_getFrameTimeNanos(callbackData)}; in onVsyncCallback()
46 static void vsyncCallback(const AChoreographerFrameCallbackData* callbackData, void* data) { in vsyncCallback() argument
48 cb->onVsyncCallback(callbackData); in vsyncCallback()
DBLASTBufferQueue_test.cpp827 CallbackData callbackData; in TEST_F() local
828 transactionCallback.getCallbackData(&callbackData); in TEST_F()
872 CallbackData callbackData; in TEST_F() local
873 transactionCallback.getCallbackData(&callbackData); in TEST_F()
920 CallbackData callbackData; in TEST_F() local
921 transactionCallback.getCallbackData(&callbackData); in TEST_F()
970 CallbackData callbackData; in TEST_F() local
971 transactionCallback.getCallbackData(&callbackData); in TEST_F()
1028 CallbackData callbackData; in TEST_F() local
1029 transactionCallback.getCallbackData(&callbackData); in TEST_F()
[all …]
/frameworks/base/native/android/
Dsurface_control_input_receiver.cpp118 static void vsyncCallback(const AChoreographerFrameCallbackData* callbackData, void* data) { in vsyncCallback() argument
120 receiver->onVsyncCallback(callbackData); in vsyncCallback()
123 void onVsyncCallback(const AChoreographerFrameCallbackData* callbackData) { in onVsyncCallback() argument
124 int64_t frameTimeNanos = AChoreographerFrameCallbackData_getFrameTimeNanos(callbackData); in onVsyncCallback()
/frameworks/base/tests/ChoreographerTests/jni/
Dandroid_view_tests_ChoreographerNativeTest.cpp77 static void vsyncCallback(const AChoreographerFrameCallbackData* callbackData, void* data) { in vsyncCallback() argument
79 long frameTimeNanos = AChoreographerFrameCallbackData_getFrameTimeNanos(callbackData); in vsyncCallback()
/frameworks/native/services/surfaceflinger/tests/
DReleaseBufferCallback_test.cpp54 auto callbackData = mCallbackDataQueue.front(); in getCallbackData() local
56 *callbackId = callbackData.first; in getCallbackData()
95 CallbackData callbackData; in waitForCallback() local
96 helper.getCallbackData(&callbackData); in waitForCallback()
97 expectedResult.verifyCallbackData(callbackData); in waitForCallback()
DIPC_test.cpp259 CallbackData callbackData; in waitForCallback() local
260 ASSERT_NO_FATAL_FAILURE(helper.getCallbackData(&callbackData)); in waitForCallback()
261 EXPECT_NO_FATAL_FAILURE(expectedResult.verifyCallbackData(callbackData)); in waitForCallback()
DLayerCallback_test.cpp96 CallbackData callbackData; in waitForCallback() local
97 ASSERT_NO_FATAL_FAILURE(helper.getCallbackData(&callbackData)); in waitForCallback()
98 EXPECT_NO_FATAL_FAILURE(expectedResult.verifyCallbackData(callbackData)); in waitForCallback()
119 CallbackData callbackData; in waitForCommitCallback() local
120 ASSERT_NO_FATAL_FAILURE(helper.getCallbackData(&callbackData)); in waitForCommitCallback()
122 const auto& surfaceControlStats = callbackData.surfaceControlStats; in waitForCommitCallback()
/frameworks/native/libs/gui/include/gui/test/
DCallbackUtils.h93 void verifyCallbackData(const CallbackData& callbackData) const { in verifyCallbackData() argument
94 const auto& [latchTime, presentFence, surfaceControlStats] = callbackData; in verifyCallbackData()
/frameworks/native/include/android/
Dchoreographer.h131 const AChoreographerFrameCallbackData* callbackData, void* data);
/frameworks/native/services/inputflinger/tests/
DTimerProvider_test.cpp115 auto callback = [](stime_t triggerTime, void* callbackData) { in TEST_F() argument
116 std::vector<stime_t>* times = static_cast<std::vector<stime_t>*>(callbackData); in TEST_F()
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp171 sp<AudioRecordJNIStorage> callbackData; in android_media_AudioRecord_setup() local
240 callbackData = sp<AudioRecordJNIStorage>::make(clazz, weak_this); in android_media_AudioRecord_setup()
246 callbackData, // callback in android_media_AudioRecord_setup()
303 setFieldSp(env, thiz, callbackData, javaAudioRecordFields.jniData); in android_media_AudioRecord_setup()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp2412 sp<CallbackData> callbackData = mCallbackData; in switchToNextOutput() local
2415 callbackData->lock(); in switchToNextOutput()
2418 if (callbackData != mCallbackData || mNextOutput == NULL || mNextOutput == this) { in switchToNextOutput()
2422 callbackData->unlock(); in switchToNextOutput()
2425 callbackData->mSwitching = true; // begin track switch in switchToNextOutput()
2426 callbackData->setOutput(NULL); in switchToNextOutput()