Home
last modified time | relevance | path

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

/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp173 visualizer_callback_cookie *callbackInfo = (visualizer_callback_cookie *)user; in captureCallback() local
182 callbackInfo, in captureCallback()
183 callbackInfo->visualizer_ref, in captureCallback()
184 callbackInfo->visualizer_class); in captureCallback()
186 AutoMutex lock(&callbackInfo->callback_data_lock); in captureCallback()
191 ensureArraySize(env, &callbackInfo->waveform_data, waveformSize); in captureCallback()
192 jArray = callbackInfo->waveform_data; in captureCallback()
199 callbackInfo->visualizer_class, in captureCallback()
201 callbackInfo->visualizer_ref, in captureCallback()
211 ensureArraySize(env, &callbackInfo->fft_data, fftSize); in captureCallback()
[all …]
Dandroid_media_AudioEffect.cpp120 effect_callback_cookie *callbackInfo = (effect_callback_cookie *)user; in effectCallback() local
129 callbackInfo, in effectCallback()
130 callbackInfo->audioEffect_ref, in effectCallback()
131 callbackInfo->audioEffect_class); in effectCallback()
181 callbackInfo->audioEffect_class, in effectCallback()
183 callbackInfo->audioEffect_ref, event, arg1, arg2, obj); in effectCallback()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java1093 GestureResultCallbackInfo callbackInfo = new GestureResultCallbackInfo(gesture, in dispatchGesture() local
1095 mGestureStatusCallbackInfos.put(mGestureStatusCallbackSequence, callbackInfo); in dispatchGesture()
1134 GestureResultCallbackInfo callbackInfo; in onPerformGestureResult() local
1136 callbackInfo = mGestureStatusCallbackInfos.get(sequence); in onPerformGestureResult()
1139 final GestureResultCallbackInfo finalCallbackInfo = callbackInfo; in onPerformGestureResult()
1140 if ((callbackInfo != null) && (callbackInfo.gestureDescription != null) in onPerformGestureResult()
1141 && (callbackInfo.callback != null)) { in onPerformGestureResult()
1142 if (callbackInfo.handler != null) { in onPerformGestureResult()
1143 callbackInfo.handler.post(new Runnable() { in onPerformGestureResult()
1158 callbackInfo.callback.onCompleted(callbackInfo.gestureDescription); in onPerformGestureResult()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp90 audiorecord_callback_cookie *callbackInfo = (audiorecord_callback_cookie *)user; in recorderCallback() local
93 if (sAudioRecordCallBackCookies.indexOf(callbackInfo) < 0) { in recorderCallback()
96 callbackInfo->busy = true; in recorderCallback()
104 callbackInfo->audioRecord_class, in recorderCallback()
106 callbackInfo->audioRecord_ref, event, 0,0, NULL); in recorderCallback()
118 callbackInfo->audioRecord_class, in recorderCallback()
120 callbackInfo->audioRecord_ref, event, 0,0, NULL); in recorderCallback()
131 callbackInfo->busy = false; in recorderCallback()
132 callbackInfo->cond.broadcast(); in recorderCallback()
Dandroid_media_AudioTrack.cpp153 audiotrack_callback_cookie *callbackInfo = (audiotrack_callback_cookie *)user; in audioCallback() local
156 if (sAudioTrackCallBackCookies.indexOf(callbackInfo) < 0) { in audioCallback()
159 callbackInfo->busy = true; in audioCallback()
173 if (callbackInfo->isOffload) { in audioCallback()
182 if (callbackInfo->isOffload) { in audioCallback()
201 callbackInfo->audioTrack_class, in audioCallback()
203 callbackInfo->audioTrack_ref, event, arg, 0, NULL); in audioCallback()
213 callbackInfo->busy = false; in audioCallback()
214 callbackInfo->cond.broadcast(); in audioCallback()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp669 for (auto const& [listener, callbackInfo] : mListenerCallbacks) { in writeToParcel()
671 parcel->writeUint32(static_cast<uint32_t>(callbackInfo.callbackIds.size())); in writeToParcel()
672 for (auto callbackId : callbackInfo.callbackIds) { in writeToParcel()
675 parcel->writeUint32(static_cast<uint32_t>(callbackInfo.surfaceControls.size())); in writeToParcel()
676 for (auto surfaceControl : callbackInfo.surfaceControls) { in writeToParcel()
709 for (const auto& [listener, callbackInfo] : other.mListenerCallbacks) { in merge()
710 auto& [callbackIds, surfaceControls] = callbackInfo; in merge()
830 for (const auto& [listener, callbackInfo] : mListenerCallbacks) { in apply()
831 auto& [callbackIds, surfaceControls] = callbackInfo; in apply()
958 auto& callbackInfo = mListenerCallbacks[TransactionCompletedListener::getIInstance()]; in registerSurfaceControlForCallback() local
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1049 UidStateCallbackInfo callbackInfo = mUidStateCallbackInfos.get(uid);
1050 if (callbackInfo == null) {
1051 callbackInfo = new UidStateCallbackInfo();
1052 mUidStateCallbackInfos.put(uid, callbackInfo);
1054 callbackInfo.update(uid, procState, procStateSeq, capability);
1055 if (!callbackInfo.isPending) {
1056 mUidEventHandler.obtainMessage(UID_MSG_STATE_CHANGED, callbackInfo)