Home
last modified time | relevance | path

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

/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp172 visualizer_callback_cookie *callbackInfo = (visualizer_callback_cookie *)user; in captureCallback() local
182 if (sVisualizerCallBackCookies.count(callbackInfo) == 0) { in captureCallback()
185 callbackInfo->busy_count++; in captureCallback()
188 callbackInfo, in captureCallback()
189 callbackInfo->visualizer_ref, in captureCallback()
190 callbackInfo->visualizer_class); in captureCallback()
193 AutoMutex lock(&callbackInfo->callback_data_lock); in captureCallback()
198 ensureArraySize(env, &callbackInfo->waveform_data, waveformSize); in captureCallback()
199 jArray = callbackInfo->waveform_data; in captureCallback()
206 callbackInfo->visualizer_class, in captureCallback()
[all …]
Dandroid_media_AudioEffect.cpp114 effect_callback_cookie *callbackInfo = (effect_callback_cookie *)user; in effectCallback() local
123 if (sAudioEffectCallBackCookies.count(callbackInfo) == 0) { in effectCallback()
126 callbackInfo->busy = true; in effectCallback()
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()
196 callbackInfo->busy = false; in effectCallback()
197 callbackInfo->cond.broadcast(); in effectCallback()
/frameworks/base/services/core/java/com/android/server/wm/
DBackNavigationController.java174 OnBackInvokedCallbackInfo callbackInfo = null; in startBackNavigation() local
178 callbackInfo = window.getOnBackInvokedCallbackInfo(); in startBackNavigation()
179 if (callbackInfo == null) { in startBackNavigation()
183 if (!callbackInfo.isSystemCallback()) { in startBackNavigation()
186 infoBuilder.setOnBackInvokedCallback(callbackInfo.getCallback()); in startBackNavigation()
194 currentTask, currentActivity, callbackInfo, window); in startBackNavigation()
DSession.java941 OnBackInvokedCallbackInfo callbackInfo) { in setOnBackInvokedCallbackInfo() argument
948 windowState.setOnBackInvokedCallbackInfo(callbackInfo); in setOnBackInvokedCallbackInfo()
DWindowState.java1078 @Nullable OnBackInvokedCallbackInfo callbackInfo) { in setOnBackInvokedCallbackInfo()
1080 this, callbackInfo); in setOnBackInvokedCallbackInfo()
1081 mOnBackInvokedCallbackInfo = callbackInfo; in setOnBackInvokedCallbackInfo()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java1178 GestureResultCallbackInfo callbackInfo = new GestureResultCallbackInfo(gesture, in dispatchGesture() local
1180 mGestureStatusCallbackInfos.put(mGestureStatusCallbackSequence, callbackInfo); in dispatchGesture()
1219 GestureResultCallbackInfo callbackInfo; in onPerformGestureResult() local
1221 callbackInfo = mGestureStatusCallbackInfos.get(sequence); in onPerformGestureResult()
1224 final GestureResultCallbackInfo finalCallbackInfo = callbackInfo; in onPerformGestureResult()
1225 if ((callbackInfo != null) && (callbackInfo.gestureDescription != null) in onPerformGestureResult()
1226 && (callbackInfo.callback != null)) { in onPerformGestureResult()
1227 if (callbackInfo.handler != null) { in onPerformGestureResult()
1228 callbackInfo.handler.post(new Runnable() { in onPerformGestureResult()
1243 callbackInfo.callback.onCompleted(callbackInfo.gestureDescription); in onPerformGestureResult()
[all …]
/frameworks/base/core/java/android/window/
DWindowOnBackInvokedDispatcher.java185 OnBackInvokedCallbackInfo callbackInfo = null; in setTopOnBackInvokedCallback() local
194 callbackInfo = new OnBackInvokedCallbackInfo(iCallback, priority); in setTopOnBackInvokedCallback()
196 mWindowSession.setOnBackInvokedCallbackInfo(mWindow, callbackInfo); in setTopOnBackInvokedCallback()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp786 for (auto const& [listener, callbackInfo] : mListenerCallbacks) { in writeToParcel()
788 parcel->writeUint32(static_cast<uint32_t>(callbackInfo.callbackIds.size())); in writeToParcel()
789 for (auto callbackId : callbackInfo.callbackIds) { in writeToParcel()
792 parcel->writeUint32(static_cast<uint32_t>(callbackInfo.surfaceControls.size())); in writeToParcel()
793 for (auto surfaceControl : callbackInfo.surfaceControls) { in writeToParcel()
849 for (const auto& [listener, callbackInfo] : other.mListenerCallbacks) { in merge()
850 auto& [callbackIds, surfaceControls] = callbackInfo; in merge()
974 for (const auto& [listener, callbackInfo] : mListenerCallbacks) { in apply()
975 auto& [callbackIds, surfaceControls] = callbackInfo; in apply()
1141 auto& callbackInfo = mListenerCallbacks[TransactionCompletedListener::getIInstance()]; in registerSurfaceControlForCallback() local
[all …]
/frameworks/base/core/java/android/view/
DIWindowSession.aidl350 IWindow window, in OnBackInvokedCallbackInfo callbackInfo); in setOnBackInvokedCallbackInfo() argument
DWindowlessWindowManager.java543 OnBackInvokedCallbackInfo callbackInfo) throws RemoteException { } in setOnBackInvokedCallbackInfo() argument
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1124 UidStateCallbackInfo callbackInfo = mUidStateCallbackInfos.get(uid);
1125 if (callbackInfo == null) {
1126 callbackInfo = new UidStateCallbackInfo();
1127 mUidStateCallbackInfos.put(uid, callbackInfo);
1129 if (callbackInfo.procStateSeq == -1 || procStateSeq > callbackInfo.procStateSeq) {
1130 callbackInfo.update(uid, procState, procStateSeq, capability);
1132 if (!callbackInfo.isPending) {
1133 mUidEventHandler.obtainMessage(UID_MSG_STATE_CHANGED, callbackInfo)