Home
last modified time | relevance | path

Searched refs:mDispatcher (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp191 sp<InputDispatcher> mDispatcher; member in android::InputDispatcherTest
196 mDispatcher = new InputDispatcher(mFakePolicy); in SetUp()
197 mDispatcher->setInputDispatchMode(/*enabled*/ true, /*frozen*/ false); in SetUp()
199 mDispatcherThread = new InputDispatcherThread(mDispatcher); in SetUp()
207 mDispatcher.clear(); in TearDown()
219 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent( in TEST_F()
228 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent( in TEST_F()
254 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent( in TEST_F()
264 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent( in TEST_F()
273 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent( in TEST_F()
[all …]
/frameworks/native/services/inputflinger/
DInputManager.cpp36 mDispatcher = new InputDispatcher(dispatcherPolicy); in InputManager()
37 mClassifier = new InputClassifier(mDispatcher); in InputManager()
48 mDispatcherThread = new InputDispatcherThread(mDispatcher); in initialize()
92 return mDispatcher; in getDispatcher()
116 mDispatcher->setInputWindows(i.second, i.first, setInputWindowsListener); in setInputWindows()
121 mDispatcher->transferTouchFocus(fromToken, toToken); in transferTouchFocus()
133 mDispatcher->registerInputChannel(channel, false); in registerInputChannel()
137 mDispatcher->unregisterInputChannel(channel); in unregisterInputChannel()
DInputManager.h110 sp<InputDispatcherInterface> mDispatcher; variable
DInputDispatcher.h1300 sp<InputDispatcherInterface> mDispatcher; variable
DInputDispatcher.cpp5232 Thread(/*canCallJava*/ true), mDispatcher(dispatcher) { in InputDispatcherThread()
5239 mDispatcher->dispatchOnce(); in threadLoop()
/frameworks/base/core/java/android/app/backup/
DBackupAgentHelper.java58 BackupHelperDispatcher mDispatcher = new BackupHelperDispatcher(); field in BackupAgentHelper
66 mDispatcher.performBackup(oldState, data, newState); in onBackup()
75 mDispatcher.performRestore(data, appVersionCode, newState); in onRestore()
80 return mDispatcher; in getDispatcher()
93 mDispatcher.addHelper(keyPrefix, helper); in addHelper()
/frameworks/base/core/java/android/speech/tts/
DPlaybackSynthesisCallback.java51 private final UtteranceProgressDispatcher mDispatcher; field in PlaybackSynthesisCallback
62 mDispatcher = dispatcher; in PlaybackSynthesisCallback()
99 mDispatcher.dispatchOnStop(); in stop()
135 mDispatcher.dispatchOnBeginSynthesis(sampleRateInHz, audioFormat, channelCount); in start()
159 mDispatcher, mCallerIdentity, mLogger); in start()
196 mDispatcher.dispatchOnAudioAvailable(bufferCopy); in audioAvailable()
237 mDispatcher.dispatchOnSuccess(); in done()
239 mDispatcher.dispatchOnError(mStatusCode); in done()
DFileSynthesisCallback.java49 private final UtteranceProgressDispatcher mDispatcher; field in FileSynthesisCallback
61 mDispatcher = dispatcher; in FileSynthesisCallback()
77 mDispatcher.dispatchOnStop(); in stop()
114 mDispatcher.dispatchOnBeginSynthesis(sampleRateInHz, audioFormat, channelCount); in start()
135 mDispatcher.dispatchOnStart(); in start()
182 mDispatcher.dispatchOnAudioAvailable(bufferCopy); in audioAvailable()
218 mDispatcher.dispatchOnError(mStatusCode); in done()
241 mDispatcher.dispatchOnSuccess(); in done()
315 mDispatcher.dispatchOnRangeStart(markerInFrames, start, end); in rangeStart()
DPlaybackQueueItem.java8 private final UtteranceProgressDispatcher mDispatcher; field in PlaybackQueueItem
13 mDispatcher = dispatcher; in PlaybackQueueItem()
22 return mDispatcher; in getDispatcher()
/frameworks/base/media/java/android/media/midi/
DMidiOutputPort.java45 private final MidiDispatcher mDispatcher = new MidiDispatcher(); field in MidiOutputPort
76 mDispatcher.send(buffer, offset, size, timestamp);
80 mDispatcher.flush();
126 mDispatcher.getSender().connect(receiver); in onConnect()
131 mDispatcher.getSender().disconnect(receiver); in onDisconnect()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.java109 final BroadcastDispatcher mDispatcher; field in BroadcastQueue
220 mDispatcher = new BroadcastDispatcher(this, mConstants, mHandler, mService); in BroadcastQueue()
224 mDispatcher.start(); in start()
243 mDispatcher.enqueueOrderedBroadcastLocked(r); in enqueueOrderedBroadcastLocked()
274 return mDispatcher.replaceBroadcastLocked(r, "ORDERED"); in replaceOrderedBroadcastLocked()
384 final BroadcastRecord curActive = mDispatcher.getActiveBroadcastLocked(); in skipCurrentReceiverLocked()
423 BroadcastRecord br = mDispatcher.getActiveBroadcastLocked(); in getMatchingOrderedReceiver()
490 mDispatcher.startDeferring(r.curApp.uid); in finishReceiverLocked()
533 && r.queue.mDispatcher.getActiveBroadcastLocked() == r) { in finishReceiverLocked()
567 BroadcastRecord br = mDispatcher.getActiveBroadcastLocked(); in backgroundServicesFinishedLocked()
[all …]
DActivityManagerService.java16365 if (!q.mParallelBroadcasts.isEmpty() || !q.mDispatcher.isEmpty()) { in canGcNowLocked()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp222 : mDispatcher(dispatcher) { in CallbackDispatcherThread()
226 CallbackDispatcher *mDispatcher; member
343 return mDispatcher->loop(); in threadLoop()
393 mDispatcher = new CallbackDispatcher(this); in setHandle()
507 mDispatcher.clear(); in freeNode()
2057 mDispatcher->post(msg, true /*realTime*/); in dispatchMessage()
2325 instance->mDispatcher->post(msg, realTime); in OnEvent()
2337 instance->mDispatcher->post(msg, true /* realTime */); in OnEvent()
2361 instance->mDispatcher->post(msg); in OnEmptyBufferDone()
2389 instance->mDispatcher->post(msg); in OnFillBufferDone()
/frameworks/base/core/java/android/app/
DLoadedApk.java1438 final WeakReference<LoadedApk.ReceiverDispatcher> mDispatcher; field in LoadedApk.ReceiverDispatcher.InnerReceiver
1442 mDispatcher = new WeakReference<LoadedApk.ReceiverDispatcher>(rd); in InnerReceiver()
1454 rd = mDispatcher.get(); in performReceive()
1778 final WeakReference<LoadedApk.ServiceDispatcher> mDispatcher; field in ServiceDispatcher.InnerConnection
1781 mDispatcher = new WeakReference<LoadedApk.ServiceDispatcher>(sd); in InnerConnection()
1786 LoadedApk.ServiceDispatcher sd = mDispatcher.get(); in connected()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DOMXNodeInstance.h129 sp<CallbackDispatcher> mDispatcher; member
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt4465 Landroid/app/backup/BackupAgentHelper;->mDispatcher:Landroid/app/backup/BackupHelperDispatcher;
7803 Landroid/app/LoadedApk$ReceiverDispatcher$InnerReceiver;->mDispatcher:Ljava/lang/ref/WeakReference;
42154 Landroid/media/midi/MidiOutputPort;->mDispatcher:Lcom/android/internal/midi/MidiDispatcher;
69861 Landroid/speech/tts/PlaybackQueueItem;->mDispatcher:Landroid/speech/tts/TextToSpeechService$Utteran…