Home
last modified time | relevance | path

Searched refs:callbackInfo (Results 1 – 5 of 5) 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()
207 ensureArraySize(env, &callbackInfo->fft_data, fftSize); in captureCallback()
[all …]
Dandroid_media_AudioEffect.cpp110 effect_callback_cookie *callbackInfo = (effect_callback_cookie *)user; in effectCallback() local
114 callbackInfo, in effectCallback()
115 callbackInfo->audioEffect_ref, in effectCallback()
116 callbackInfo->audioEffect_class); in effectCallback()
171 callbackInfo->audioEffect_class, in effectCallback()
173 callbackInfo->audioEffect_ref, event, arg1, arg2, obj); in effectCallback()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java682 GestureResultCallbackInfo callbackInfo = new GestureResultCallbackInfo(gesture, in dispatchGesture() local
684 mGestureStatusCallbackInfos.put(mGestureStatusCallbackSequence, callbackInfo); in dispatchGesture()
699 GestureResultCallbackInfo callbackInfo; in onPerformGestureResult() local
701 callbackInfo = mGestureStatusCallbackInfos.get(sequence); in onPerformGestureResult()
703 final GestureResultCallbackInfo finalCallbackInfo = callbackInfo; in onPerformGestureResult()
704 if ((callbackInfo != null) && (callbackInfo.gestureDescription != null) in onPerformGestureResult()
705 && (callbackInfo.callback != null)) { in onPerformGestureResult()
706 if (callbackInfo.handler != null) { in onPerformGestureResult()
707 callbackInfo.handler.post(new Runnable() { in onPerformGestureResult()
722 callbackInfo.callback.onCompleted(callbackInfo.gestureDescription); in onPerformGestureResult()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp92 audiorecord_callback_cookie *callbackInfo = (audiorecord_callback_cookie *)user; in recorderCallback() local
95 if (sAudioRecordCallBackCookies.indexOf(callbackInfo) < 0) { in recorderCallback()
98 callbackInfo->busy = true; in recorderCallback()
106 callbackInfo->audioRecord_class, in recorderCallback()
108 callbackInfo->audioRecord_ref, event, 0,0, NULL); in recorderCallback()
120 callbackInfo->audioRecord_class, in recorderCallback()
122 callbackInfo->audioRecord_ref, event, 0,0, NULL); in recorderCallback()
133 callbackInfo->busy = false; in recorderCallback()
134 callbackInfo->cond.broadcast(); in recorderCallback()
Dandroid_media_AudioTrack.cpp128 audiotrack_callback_cookie *callbackInfo = (audiotrack_callback_cookie *)user; in audioCallback() local
131 if (sAudioTrackCallBackCookies.indexOf(callbackInfo) < 0) { in audioCallback()
134 callbackInfo->busy = true; in audioCallback()
143 if (callbackInfo->isOffload) { in audioCallback()
147 callbackInfo->audioTrack_class, in audioCallback()
149 callbackInfo->audioTrack_ref, event, 0,0, NULL); in audioCallback()
163 callbackInfo->audioTrack_class, in audioCallback()
165 callbackInfo->audioTrack_ref, event, 0,0, NULL); in audioCallback()
176 callbackInfo->busy = false; in audioCallback()
177 callbackInfo->cond.broadcast(); in audioCallback()