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() 206 ensureArraySize(env, &callbackInfo->fft_data, fftSize); in captureCallback() [all …]
|
D | android_media_AudioEffect.cpp | 117 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/ |
D | AccessibilityService.java | 1057 GestureResultCallbackInfo callbackInfo = new GestureResultCallbackInfo(gesture, in dispatchGesture() local 1059 mGestureStatusCallbackInfos.put(mGestureStatusCallbackSequence, callbackInfo); in dispatchGesture() 1074 GestureResultCallbackInfo callbackInfo; in onPerformGestureResult() local 1076 callbackInfo = mGestureStatusCallbackInfos.get(sequence); in onPerformGestureResult() 1079 final GestureResultCallbackInfo finalCallbackInfo = callbackInfo; in onPerformGestureResult() 1080 if ((callbackInfo != null) && (callbackInfo.gestureDescription != null) in onPerformGestureResult() 1081 && (callbackInfo.callback != null)) { in onPerformGestureResult() 1082 if (callbackInfo.handler != null) { in onPerformGestureResult() 1083 callbackInfo.handler.post(new Runnable() { in onPerformGestureResult() 1098 callbackInfo.callback.onCompleted(callbackInfo.gestureDescription); in onPerformGestureResult() [all …]
|
/frameworks/base/core/jni/ |
D | android_media_AudioRecord.cpp | 86 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()
|
D | android_media_AudioTrack.cpp | 152 audiotrack_callback_cookie *callbackInfo = (audiotrack_callback_cookie *)user; in audioCallback() local 155 if (sAudioTrackCallBackCookies.indexOf(callbackInfo) < 0) { in audioCallback() 158 callbackInfo->busy = true; in audioCallback() 172 if (callbackInfo->isOffload) { in audioCallback() 181 if (callbackInfo->isOffload) { in audioCallback() 200 callbackInfo->audioTrack_class, in audioCallback() 202 callbackInfo->audioTrack_ref, event, arg, 0, NULL); in audioCallback() 212 callbackInfo->busy = false; in audioCallback() 213 callbackInfo->cond.broadcast(); in audioCallback()
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 489 for (auto const& [listener, callbackInfo] : mListenerCallbacks) { in writeToParcel() 491 parcel->writeUint32(static_cast<uint32_t>(callbackInfo.callbackIds.size())); in writeToParcel() 492 for (auto callbackId : callbackInfo.callbackIds) { in writeToParcel() 495 parcel->writeUint32(static_cast<uint32_t>(callbackInfo.surfaceControls.size())); in writeToParcel() 496 for (auto surfaceControl : callbackInfo.surfaceControls) { in writeToParcel() 529 for (const auto& [listener, callbackInfo] : other.mListenerCallbacks) { in merge() 530 auto& [callbackIds, surfaceControls] = callbackInfo; in merge() 644 for (const auto& [listener, callbackInfo] : mListenerCallbacks) { in apply() 645 auto& [callbackIds, surfaceControls] = callbackInfo; in apply() 778 auto& callbackInfo = mListenerCallbacks[TransactionCompletedListener::getIInstance()]; in registerSurfaceControlForCallback() local [all …]
|