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()
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.java671 GestureResultCallbackInfo callbackInfo = new GestureResultCallbackInfo(gesture, in dispatchGesture() local
673 mGestureStatusCallbackInfos.put(mGestureStatusCallbackSequence, callbackInfo); in dispatchGesture()
688 GestureResultCallbackInfo callbackInfo; in onPerformGestureResult() local
690 callbackInfo = mGestureStatusCallbackInfos.get(sequence); in onPerformGestureResult()
692 final GestureResultCallbackInfo finalCallbackInfo = callbackInfo; in onPerformGestureResult()
693 if ((callbackInfo != null) && (callbackInfo.gestureDescription != null) in onPerformGestureResult()
694 && (callbackInfo.callback != null)) { in onPerformGestureResult()
695 if (callbackInfo.handler != null) { in onPerformGestureResult()
696 callbackInfo.handler.post(new Runnable() { in onPerformGestureResult()
711 callbackInfo.callback.onCompleted(callbackInfo.gestureDescription); in onPerformGestureResult()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp83 audiorecord_callback_cookie *callbackInfo = (audiorecord_callback_cookie *)user; in recorderCallback() local
86 if (sAudioRecordCallBackCookies.indexOf(callbackInfo) < 0) { in recorderCallback()
89 callbackInfo->busy = true; in recorderCallback()
97 callbackInfo->audioRecord_class, in recorderCallback()
99 callbackInfo->audioRecord_ref, event, 0,0, NULL); in recorderCallback()
111 callbackInfo->audioRecord_class, in recorderCallback()
113 callbackInfo->audioRecord_ref, event, 0,0, NULL); in recorderCallback()
124 callbackInfo->busy = false; in recorderCallback()
125 callbackInfo->cond.broadcast(); in recorderCallback()
Dandroid_media_AudioTrack.cpp124 audiotrack_callback_cookie *callbackInfo = (audiotrack_callback_cookie *)user; in audioCallback() local
127 if (sAudioTrackCallBackCookies.indexOf(callbackInfo) < 0) { in audioCallback()
130 callbackInfo->busy = true; in audioCallback()
138 callbackInfo->audioTrack_class, in audioCallback()
140 callbackInfo->audioTrack_ref, event, 0,0, NULL); in audioCallback()
152 callbackInfo->audioTrack_class, in audioCallback()
154 callbackInfo->audioTrack_ref, event, 0,0, NULL); in audioCallback()
165 callbackInfo->busy = false; in audioCallback()
166 callbackInfo->cond.broadcast(); in audioCallback()
/frameworks/native/libs/hwc2on1adapter/
DHWC2On1Adapter.cpp2523 const auto& callbackInfo = mCallbacks[Callback::Refresh]; in hwc1Invalidate() local
2532 auto refresh = reinterpret_cast<HWC2_PFN_REFRESH>(callbackInfo.pointer); in hwc1Invalidate()
2534 refresh(callbackInfo.data, display); in hwc1Invalidate()
2555 const auto& callbackInfo = mCallbacks[Callback::Vsync]; in hwc1Vsync() local
2561 auto vsync = reinterpret_cast<HWC2_PFN_VSYNC>(callbackInfo.pointer); in hwc1Vsync()
2562 vsync(callbackInfo.data, displayId, timestamp); in hwc1Vsync()
2610 const auto& callbackInfo = mCallbacks[Callback::Hotplug]; in hwc1Hotplug() local
2615 auto hotplug = reinterpret_cast<HWC2_PFN_HOTPLUG>(callbackInfo.pointer); in hwc1Hotplug()
2618 hotplug(callbackInfo.data, displayId, static_cast<int32_t>(hwc2Connected)); in hwc1Hotplug()