Searched refs:callbackInfo (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/media/jni/audioeffect/ |
D | android_media_Visualizer.cpp | 168 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 …]
|
D | android_media_AudioEffect.cpp | 110 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/ |
D | AccessibilityService.java | 668 GestureResultCallbackInfo callbackInfo = new GestureResultCallbackInfo(gesture, in dispatchGesture() local 670 mGestureStatusCallbackInfos.put(mGestureStatusCallbackSequence, callbackInfo); in dispatchGesture() 685 GestureResultCallbackInfo callbackInfo; in onPerformGestureResult() local 687 callbackInfo = mGestureStatusCallbackInfos.get(sequence); in onPerformGestureResult() 689 final GestureResultCallbackInfo finalCallbackInfo = callbackInfo; in onPerformGestureResult() 690 if ((callbackInfo != null) && (callbackInfo.gestureDescription != null) in onPerformGestureResult() 691 && (callbackInfo.callback != null)) { in onPerformGestureResult() 692 if (callbackInfo.handler != null) { in onPerformGestureResult() 693 callbackInfo.handler.post(new Runnable() { in onPerformGestureResult() 708 callbackInfo.callback.onCompleted(callbackInfo.gestureDescription); in onPerformGestureResult() [all …]
|
/frameworks/base/core/jni/ |
D | android_media_AudioRecord.cpp | 83 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()
|
D | android_media_AudioTrack.cpp | 123 audiotrack_callback_cookie *callbackInfo = (audiotrack_callback_cookie *)user; in audioCallback() local 126 if (sAudioTrackCallBackCookies.indexOf(callbackInfo) < 0) { in audioCallback() 129 callbackInfo->busy = true; in audioCallback() 137 callbackInfo->audioTrack_class, in audioCallback() 139 callbackInfo->audioTrack_ref, event, 0,0, NULL); in audioCallback() 151 callbackInfo->audioTrack_class, in audioCallback() 153 callbackInfo->audioTrack_ref, event, 0,0, NULL); in audioCallback() 164 callbackInfo->busy = false; in audioCallback() 165 callbackInfo->cond.broadcast(); in audioCallback()
|
/frameworks/native/libs/hwc2on1adapter/ |
D | HWC2On1Adapter.cpp | 2540 const auto& callbackInfo = mCallbacks[Callback::Refresh]; in hwc1Invalidate() local 2549 auto refresh = reinterpret_cast<HWC2_PFN_REFRESH>(callbackInfo.pointer); in hwc1Invalidate() 2551 refresh(callbackInfo.data, display); in hwc1Invalidate() 2572 const auto& callbackInfo = mCallbacks[Callback::Vsync]; in hwc1Vsync() local 2578 auto vsync = reinterpret_cast<HWC2_PFN_VSYNC>(callbackInfo.pointer); in hwc1Vsync() 2579 vsync(callbackInfo.data, displayId, timestamp); in hwc1Vsync() 2627 const auto& callbackInfo = mCallbacks[Callback::Hotplug]; in hwc1Hotplug() local 2632 auto hotplug = reinterpret_cast<HWC2_PFN_HOTPLUG>(callbackInfo.pointer); in hwc1Hotplug() 2635 hotplug(callbackInfo.data, displayId, static_cast<int32_t>(hwc2Connected)); in hwc1Hotplug()
|