Home
last modified time | relevance | path

Searched refs:callbackInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp168 visualizer_callback_cookie *callbackInfo = (visualizer_callback_cookie *)user; in captureCallback() local
177 callbackInfo, in captureCallback()
178 callbackInfo->visualizer_ref, in captureCallback()
179 callbackInfo->visualizer_class); in captureCallback()
181 AutoMutex lock(&callbackInfo->callback_data_lock); in captureCallback()
186 ensureArraySize(env, &callbackInfo->waveform_data, waveformSize); in captureCallback()
187 jArray = callbackInfo->waveform_data; in captureCallback()
194 callbackInfo->visualizer_class, in captureCallback()
196 callbackInfo->visualizer_ref, in captureCallback()
206 ensureArraySize(env, &callbackInfo->fft_data, fftSize); in captureCallback()
[all …]
Dandroid_media_AudioEffect.cpp117 effect_callback_cookie *callbackInfo = (effect_callback_cookie *)user; in effectCallback() local
126 callbackInfo, in effectCallback()
127 callbackInfo->audioEffect_ref, in effectCallback()
128 callbackInfo->audioEffect_class); in effectCallback()
178 callbackInfo->audioEffect_class, in effectCallback()
180 callbackInfo->audioEffect_ref, event, arg1, arg2, obj); in effectCallback()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java750 GestureResultCallbackInfo callbackInfo = new GestureResultCallbackInfo(gesture, in dispatchGesture() local
752 mGestureStatusCallbackInfos.put(mGestureStatusCallbackSequence, callbackInfo); in dispatchGesture()
767 GestureResultCallbackInfo callbackInfo; in onPerformGestureResult() local
769 callbackInfo = mGestureStatusCallbackInfos.get(sequence); in onPerformGestureResult()
771 final GestureResultCallbackInfo finalCallbackInfo = callbackInfo; in onPerformGestureResult()
772 if ((callbackInfo != null) && (callbackInfo.gestureDescription != null) in onPerformGestureResult()
773 && (callbackInfo.callback != null)) { in onPerformGestureResult()
774 if (callbackInfo.handler != null) { in onPerformGestureResult()
775 callbackInfo.handler.post(new Runnable() { in onPerformGestureResult()
790 callbackInfo.callback.onCompleted(callbackInfo.gestureDescription); in onPerformGestureResult()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp86 audiorecord_callback_cookie *callbackInfo = (audiorecord_callback_cookie *)user; in recorderCallback() local
89 if (sAudioRecordCallBackCookies.indexOf(callbackInfo) < 0) { in recorderCallback()
92 callbackInfo->busy = true; in recorderCallback()
100 callbackInfo->audioRecord_class, in recorderCallback()
102 callbackInfo->audioRecord_ref, event, 0,0, NULL); in recorderCallback()
114 callbackInfo->audioRecord_class, in recorderCallback()
116 callbackInfo->audioRecord_ref, event, 0,0, NULL); in recorderCallback()
127 callbackInfo->busy = false; in recorderCallback()
128 callbackInfo->cond.broadcast(); in recorderCallback()
Dandroid_media_AudioTrack.cpp120 audiotrack_callback_cookie *callbackInfo = (audiotrack_callback_cookie *)user; in audioCallback() local
123 if (sAudioTrackCallBackCookies.indexOf(callbackInfo) < 0) { in audioCallback()
126 callbackInfo->busy = true; in audioCallback()
140 if (callbackInfo->isOffload) { in audioCallback()
149 if (callbackInfo->isOffload) { in audioCallback()
168 callbackInfo->audioTrack_class, in audioCallback()
170 callbackInfo->audioTrack_ref, event, arg, 0, NULL); in audioCallback()
180 callbackInfo->busy = false; in audioCallback()
181 callbackInfo->cond.broadcast(); in audioCallback()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp351 for (const auto& [listener, callbackInfo] : other.mListenerCallbacks) { in merge()
352 auto& [callbackIds, surfaceControls] = callbackInfo; in merge()
451 for (const auto& [listener, callbackInfo] : mListenerCallbacks) { in apply()
452 auto& [callbackIds, surfaceControls] = callbackInfo; in apply()
562 auto& callbackInfo = mListenerCallbacks[TransactionCompletedListener::getIInstance()]; in registerSurfaceControlForCallback() local
563 callbackInfo.surfaceControls.insert(sc); in registerSurfaceControlForCallback()
566 ->addSurfaceControlToCallbacks(sc, callbackInfo.callbackIds); in registerSurfaceControlForCallback()