Searched refs:dispatcher (Results 1 - 20 of 20) sorted by relevance

/frameworks/native/services/vr/bufferhubd/
H A Dbufferhubd.cpp14 std::unique_ptr<android::pdx::ServiceDispatcher> dispatcher; local
19 dispatcher = android::pdx::default_transport::ServiceDispatcher::Create();
20 CHECK_ERROR(!dispatcher, error, "Failed to create service dispatcher\n");
24 dispatcher->AddService(service);
31 ret = dispatcher->EnterDispatchLoop();
/frameworks/base/core/java/android/speech/tts/
H A DPlaybackQueueItem.java11 PlaybackQueueItem(TextToSpeechService.UtteranceProgressDispatcher dispatcher, argument
13 mDispatcher = dispatcher;
H A DSilencePlaybackQueueItem.java25 SilencePlaybackQueueItem(UtteranceProgressDispatcher dispatcher, argument
27 super(dispatcher, callerIdentity);
H A DAudioPlaybackQueueItem.java38 AudioPlaybackQueueItem(UtteranceProgressDispatcher dispatcher, argument
41 super(dispatcher, callerIdentity);
53 final UtteranceProgressDispatcher dispatcher = getDispatcher();
55 dispatcher.dispatchOnStart();
62 dispatcher.dispatchOnError(TextToSpeech.ERROR_OUTPUT);
93 dispatcher.dispatchOnSuccess();
95 dispatcher.dispatchOnStop();
H A DSynthesisPlaybackQueueItem.java74 int audioFormat, int channelCount, UtteranceProgressDispatcher dispatcher,
76 super(dispatcher, callerIdentity);
91 final UtteranceProgressDispatcher dispatcher = getDispatcher();
92 dispatcher.dispatchOnStart();
95 dispatcher.dispatchOnError(TextToSpeech.ERROR_OUTPUT);
124 dispatcher.dispatchOnSuccess();
126 dispatcher.dispatchOnStop();
128 dispatcher.dispatchOnError(mStatusCode);
73 SynthesisPlaybackQueueItem(AudioOutputParams audioParams, int sampleRate, int audioFormat, int channelCount, UtteranceProgressDispatcher dispatcher, Object callerIdentity, AbstractEventLogger logger) argument
H A DFileSynthesisCallback.java58 @NonNull UtteranceProgressDispatcher dispatcher, boolean clientIsUsingV2) {
61 mDispatcher = dispatcher;
57 FileSynthesisCallback(@onNull FileChannel fileChannel, @NonNull UtteranceProgressDispatcher dispatcher, boolean clientIsUsingV2) argument
H A DPlaybackSynthesisCallback.java57 @NonNull UtteranceProgressDispatcher dispatcher, @NonNull Object callerIdentity,
62 mDispatcher = dispatcher;
55 PlaybackSynthesisCallback(@onNull AudioOutputParams audioParams, @NonNull AudioPlaybackHandler audioTrackHandler, @NonNull UtteranceProgressDispatcher dispatcher, @NonNull Object callerIdentity, @NonNull AbstractEventLogger logger, boolean clientIsUsingV2) argument
/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneFallbackEventHandler.java81 final KeyEvent.DispatcherState dispatcher = mView.getKeyDispatcherState();
115 if (getKeyguardManager().inKeyguardRestrictedInputMode() || dispatcher == null) {
119 dispatcher.startTracking(event, this);
120 } else if (event.isLongPress() && dispatcher.isTracking(event)) {
121 dispatcher.performedLongPress(event);
142 if (getKeyguardManager().inKeyguardRestrictedInputMode() || dispatcher == null) {
146 dispatcher.startTracking(event, this);
147 } else if (event.isLongPress() && dispatcher.isTracking(event)) {
148 dispatcher.performedLongPress(event);
167 if (getKeyguardManager().inKeyguardRestrictedInputMode() || dispatcher
[all...]
H A DPhoneWindow.java1863 final KeyEvent.DispatcherState dispatcher =
1924 if (dispatcher != null) {
1925 dispatcher.startTracking(event, this);
1957 final KeyEvent.DispatcherState dispatcher =
1959 if (dispatcher != null) {
1960 dispatcher.handleUpEvent(event);
/frameworks/native/services/vr/performanced/
H A Dmain.cpp31 std::unique_ptr<android::pdx::ServiceDispatcher> dispatcher; local
61 dispatcher = android::pdx::default_transport::ServiceDispatcher::Create();
62 CHECK_ERROR(!dispatcher, error, "Failed to create service dispatcher.");
66 dispatcher->AddService(service);
70 ret = dispatcher->EnterDispatchLoop();
/frameworks/base/media/java/android/media/midi/
H A DMidiDeviceServer.java154 MidiDispatcher dispatcher = mOutputPortDispatchers[portNumber];
155 synchronized (dispatcher) {
156 dispatcher.getSender().disconnect(mInputPort);
157 int openCount = dispatcher.getReceiverCount();
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/services/inputflinger/
H A DInputManager.cpp38 const sp<InputDispatcherInterface>& dispatcher) :
40 mDispatcher(dispatcher) {
36 InputManager( const sp<InputReaderInterface>& reader, const sp<InputDispatcherInterface>& dispatcher) argument
H A DInputManager.h72 /* Gets the input dispatcher. */
89 const sp<InputDispatcherInterface>& dispatcher);
H A DInputDispatcher.h71 /* Waits for previous events to be dispatched so that the input dispatcher can determine
171 * Input dispatcher configuration.
173 * Specifies various options that modify the behavior of the input dispatcher.
175 * and are passed into the dispatcher during initialization.
191 * Input dispatcher policy interface.
217 /* Gets the input dispatcher configuration. */
274 * The dispatcher is expected to be mostly asynchronous. */
281 /* Dumps the state of the input dispatcher.
286 /* Called by the heatbeat to ensures that the dispatcher has not deadlocked. */
292 * This method should only be called on the input dispatcher threa
[all...]
H A DInputDispatcher.cpp22 // Log detailed debug messages about each inbound event notification to the dispatcher.
25 // Log detailed debug messages about each outbound event processed by the dispatcher.
941 "is no longer registered with the input dispatcher.",
1675 "registered with the input dispatcher. The window may be in the process "
2994 resetAndDropEverythingLocked("dispatcher is being disabled");
3841 // Acquire and release the lock to ensure that the dispatcher has not deadlocked.
4555 InputDispatcherThread::InputDispatcherThread(const sp<InputDispatcherInterface>& dispatcher) : argument
4556 Thread(/*canCallJava*/ true), mDispatcher(dispatcher) {
/frameworks/native/libs/vr/libpdx_uds/
H A Dservice_dispatcher.cpp18 std::unique_ptr<ServiceDispatcher> dispatcher{new ServiceDispatcher()};
19 if (!dispatcher->epoll_fd_ || !dispatcher->event_fd_) {
20 dispatcher.reset();
23 return std::move(dispatcher);
85 ALOGE("Failed to add service to dispatcher because: %s\n", strerror(errno));
108 ALOGE("Failed to remove service from dispatcher because: %s\n",
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DImsSMSDispatcher.java337 SMSDispatcher dispatcher = (isCdmaFormat(newFormat)) ?
340 tracker.mFormat = dispatcher.getFormat();
341 dispatcher.sendSms(tracker);
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dpicasso-2.5.2.jar ... .Picasso picasso final com.squareup.picasso.Dispatcher dispatcher final com.squareup.picasso.Cache cache ...
/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dpicasso-2.5.2.jar ... .Picasso picasso final com.squareup.picasso.Dispatcher dispatcher final com.squareup.picasso.Cache cache ...
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp219 explicit CallbackDispatcherThread(CallbackDispatcher *dispatcher) argument
220 : mDispatcher(dispatcher) {

Completed in 341 milliseconds