Home
last modified time | relevance | path

Searched refs:dispatcher (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java87 final KeyEvent.DispatcherState dispatcher = mView.getKeyDispatcherState(); in onKeyDown() local
120 if (isNotInstantAppAndKeyguardRestricted(dispatcher)) { in onKeyDown()
124 dispatcher.startTracking(event, this); in onKeyDown()
125 } else if (event.isLongPress() && dispatcher.isTracking(event)) { in onKeyDown()
126 dispatcher.performedLongPress(event); in onKeyDown()
147 if (isNotInstantAppAndKeyguardRestricted(dispatcher)) { in onKeyDown()
151 dispatcher.startTracking(event, this); in onKeyDown()
152 } else if (event.isLongPress() && dispatcher.isTracking(event)) { in onKeyDown()
153 dispatcher.performedLongPress(event); in onKeyDown()
172 if (isNotInstantAppAndKeyguardRestricted(dispatcher)) { in onKeyDown()
[all …]
DPhoneWindow.java1884 final KeyEvent.DispatcherState dispatcher = in onKeyDown() local
1935 if (dispatcher != null) { in onKeyDown()
1936 dispatcher.startTracking(event, this); in onKeyDown()
1976 final KeyEvent.DispatcherState dispatcher = in onKeyUp() local
1978 if (dispatcher != null) { in onKeyUp()
1979 dispatcher.handleUpEvent(event); in onKeyUp()
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackQueueItem.java38 AudioPlaybackQueueItem(UtteranceProgressDispatcher dispatcher, in AudioPlaybackQueueItem() argument
41 super(dispatcher, callerIdentity); in AudioPlaybackQueueItem()
53 final UtteranceProgressDispatcher dispatcher = getDispatcher(); in run() local
55 dispatcher.dispatchOnStart(); in run()
62 dispatcher.dispatchOnError(TextToSpeech.ERROR_OUTPUT); in run()
93 dispatcher.dispatchOnSuccess(); in run()
95 dispatcher.dispatchOnStop(); in run()
DSynthesisPlaybackQueueItem.java80 int audioFormat, int channelCount, UtteranceProgressDispatcher dispatcher, in SynthesisPlaybackQueueItem() argument
82 super(dispatcher, callerIdentity); in SynthesisPlaybackQueueItem()
102 final UtteranceProgressDispatcher dispatcher = getDispatcher(); in run() local
103 dispatcher.dispatchOnStart(); in run()
106 dispatcher.dispatchOnError(TextToSpeech.ERROR_OUTPUT); in run()
138 final UtteranceProgressDispatcher dispatcher = getDispatcher(); in dispatchEndStatus() local
141 dispatcher.dispatchOnSuccess(); in dispatchEndStatus()
143 dispatcher.dispatchOnStop(); in dispatchEndStatus()
145 dispatcher.dispatchOnError(mStatusCode); in dispatchEndStatus()
DPlaybackQueueItem.java11 PlaybackQueueItem(TextToSpeechService.UtteranceProgressDispatcher dispatcher, in PlaybackQueueItem() argument
13 mDispatcher = dispatcher; in PlaybackQueueItem()
DSilencePlaybackQueueItem.java25 SilencePlaybackQueueItem(UtteranceProgressDispatcher dispatcher, in SilencePlaybackQueueItem() argument
27 super(dispatcher, callerIdentity); in SilencePlaybackQueueItem()
DPlaybackSynthesisCallback.java57 @NonNull UtteranceProgressDispatcher dispatcher, @NonNull Object callerIdentity, in PlaybackSynthesisCallback() argument
62 mDispatcher = dispatcher; in PlaybackSynthesisCallback()
DFileSynthesisCallback.java58 @NonNull UtteranceProgressDispatcher dispatcher, boolean clientIsUsingV2) { in FileSynthesisCallback() argument
61 mDispatcher = dispatcher; in FileSynthesisCallback()
/frameworks/native/services/vr/bufferhubd/
Dbufferhubd.cpp13 std::unique_ptr<android::pdx::ServiceDispatcher> dispatcher; in main() local
35 dispatcher = android::pdx::ServiceDispatcher::Create(); in main()
36 CHECK_ERROR(!dispatcher, error, "Failed to create service dispatcher\n"); in main()
40 dispatcher->AddService(pdx_service); in main()
47 ret = dispatcher->EnterDispatchLoop(); in main()
/frameworks/native/services/vr/performanced/
Dmain.cpp31 std::unique_ptr<android::pdx::ServiceDispatcher> dispatcher; in main() local
61 dispatcher = android::pdx::ServiceDispatcher::Create(); in main()
62 CHECK_ERROR(!dispatcher, error, "Failed to create service dispatcher."); in main()
66 dispatcher->AddService(service); in main()
70 ret = dispatcher->EnterDispatchLoop(); in main()
/frameworks/base/media/java/android/media/midi/
DMidiDeviceServer.java154 MidiDispatcher dispatcher = mOutputPortDispatchers[portNumber]; in close() local
155 synchronized (dispatcher) { in close()
156 dispatcher.getSender().disconnect(mInputPort); in close()
157 int openCount = dispatcher.getReceiverCount(); in close()
246 MidiDispatcher dispatcher = mOutputPortDispatchers[portNumber];
247 synchronized (dispatcher) {
248 dispatcher.getSender().connect(inputPort);
249 int openCount = dispatcher.getReceiverCount();
298 MidiDispatcher dispatcher = mOutputPortDispatchers[outputPortNumber];
299 synchronized (dispatcher) {
[all …]
/frameworks/native/libs/vr/libpdx/
Dservice_dispatcher.cpp17 std::unique_ptr<ServiceDispatcher> dispatcher{new ServiceDispatcher()}; in Create() local
18 if (!dispatcher->epoll_fd_ || !dispatcher->event_fd_) { in Create()
19 dispatcher.reset(); in Create()
22 return dispatcher; in Create()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp415 explicit FakeInputReceiver(const sp<InputDispatcher>& dispatcher, in FakeInputReceiver() argument
417 mDispatcher(dispatcher), mName(name), mDisplayId(displayId) { in FakeInputReceiver()
445 const sp<InputDispatcher>& dispatcher, const std::string name, int32_t displayId) : in FakeWindowHandle() argument
446 FakeInputReceiver(dispatcher, name, displayId), in FakeWindowHandle()
507 static int32_t injectKeyDown(const sp<InputDispatcher>& dispatcher, in injectKeyDown() argument
518 return dispatcher->injectInputEvent( in injectKeyDown()
524 static int32_t injectMotionDown(const sp<InputDispatcher>& dispatcher, int32_t source, in injectMotionDown() argument
548 return dispatcher->injectInputEvent( in injectMotionDown()
800 FakeMonitorReceiver(const sp<InputDispatcher>& dispatcher, const std::string name, in FakeMonitorReceiver() argument
802 : FakeInputReceiver(dispatcher, name, displayId) { in FakeMonitorReceiver()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsDispatchersController.java504 SMSDispatcher dispatcher = (isCdmaFormat(newFormat)) ? mCdmaDispatcher : mGsmDispatcher; in sendRetrySms() local
506 tracker.mFormat = dispatcher.getFormat(); in sendRetrySms()
507 dispatcher.sendSms(tracker); in sendRetrySms()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarInflaterView.java188 final ButtonDispatcher dispatcher = mButtonDispatchers.valueAt(i); in updateButtonDispatchersCurrentView() local
189 dispatcher.setCurrentView(view); in updateButtonDispatchersCurrentView()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java774 FingerprintGestureDispatcher dispatcher = in isFingerprintGestureDetectionAvailable() local
776 return (dispatcher != null) && dispatcher.isFingerprintGestureDetectionAvailable(); in isFingerprintGestureDetectionAvailable()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp221 explicit CallbackDispatcherThread(CallbackDispatcher *dispatcher) in CallbackDispatcherThread()
222 : mDispatcher(dispatcher) { in CallbackDispatcherThread()
/frameworks/native/services/inputflinger/
DInputDispatcher.h1294 explicit InputDispatcherThread(const sp<InputDispatcherInterface>& dispatcher);
DInputDispatcher.cpp5279 InputDispatcherThread::InputDispatcherThread(const sp<InputDispatcherInterface>& dispatcher) : in InputDispatcherThread() argument
5280 Thread(/*canCallJava*/ true), mDispatcher(dispatcher) { in InputDispatcherThread()