/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 363 sp<InputDispatcher> mDispatcher; member in android::inputdispatcher::InputDispatcherTest 367 mDispatcher = new InputDispatcher(mFakePolicy); in SetUp() 368 mDispatcher->setInputDispatchMode(/*enabled*/ true, /*frozen*/ false); in SetUp() 370 ASSERT_EQ(OK, mDispatcher->start()); in SetUp() 374 ASSERT_EQ(OK, mDispatcher->stop()); in TearDown() 376 mDispatcher.clear(); in TearDown() 384 mDispatcher->dump(dump); in dumpDispatcherState() 404 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F() 413 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F() 441 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | TouchExplorer.java | 113 private final EventDispatcher mDispatcher; field in TouchExplorer 151 mDispatcher = new EventDispatcher(context, mAms, super.getNext(), mState); in TouchExplorer() 202 mDispatcher.sendUpForInjectedDownPointers(event, policyFlags); in clear() 205 mDispatcher.sendUpForInjectedDownPointers(event, policyFlags); in clear() 298 mDispatcher.sendAccessibilityEvent( in sendsPendingA11yEventsIfNeed() 306 mDispatcher.sendAccessibilityEvent(AccessibilityEvent.TYPE_TOUCH_INTERACTION_END); in sendsPendingA11yEventsIfNeed() 312 if (mDispatcher.longPressWithTouchEvents(event, policyFlags)) { in onDoubleTapAndHold() 330 mDispatcher.sendAccessibilityEvent(AccessibilityEvent.TYPE_TOUCH_INTERACTION_END); in onDoubleTap() 337 mDispatcher.clickWithTouchEvents(event, rawEvent, policyFlags); in onDoubleTap() 353 mDispatcher.sendAccessibilityEvent(AccessibilityEvent.TYPE_GESTURE_DETECTION_START); in onGestureStarted() [all …]
|
/frameworks/native/services/inputflinger/ |
D | InputManager.cpp | 37 mDispatcher = createInputDispatcher(dispatcherPolicy); in InputManager() 38 mClassifier = new InputClassifier(mDispatcher); in InputManager() 47 status_t result = mDispatcher->start(); in start() 57 mDispatcher->stop(); in start() 73 result = mDispatcher->stop(); in stop() 91 return mDispatcher; in getDispatcher() 114 mDispatcher->setInputWindows(handlesPerDisplay); in setInputWindows() 130 mDispatcher->registerInputChannel(channel); in registerInputChannel() 134 mDispatcher->unregisterInputChannel(channel); in unregisterInputChannel()
|
D | InputManager.h | 110 sp<InputDispatcherInterface> mDispatcher; variable
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgentHelper.java | 58 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/ |
D | PlaybackSynthesisCallback.java | 51 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()
|
D | FileSynthesisCallback.java | 49 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()
|
D | PlaybackQueueItem.java | 8 private final UtteranceProgressDispatcher mDispatcher; field in PlaybackQueueItem 13 mDispatcher = dispatcher; in PlaybackQueueItem() 22 return mDispatcher; in getDispatcher()
|
/frameworks/base/media/java/android/media/midi/ |
D | MidiOutputPort.java | 45 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/ |
D | BroadcastQueue.java | 113 final BroadcastDispatcher mDispatcher; field in BroadcastQueue 209 mDispatcher = new BroadcastDispatcher(this, mConstants, mHandler, mService); in BroadcastQueue() 213 mDispatcher.start(); in start() 232 mDispatcher.enqueueOrderedBroadcastLocked(r); in enqueueOrderedBroadcastLocked() 263 return mDispatcher.replaceBroadcastLocked(r, "ORDERED"); in replaceOrderedBroadcastLocked() 373 final BroadcastRecord curActive = mDispatcher.getActiveBroadcastLocked(); in skipCurrentReceiverLocked() 412 BroadcastRecord br = mDispatcher.getActiveBroadcastLocked(); in getMatchingOrderedReceiver() 484 mDispatcher.startDeferring(r.curApp.uid); in finishReceiverLocked() 525 && r.queue.mDispatcher.getActiveBroadcastLocked() == r) { in finishReceiverLocked() 559 BroadcastRecord br = mDispatcher.getActiveBroadcastLocked(); in backgroundServicesFinishedLocked() [all …]
|
D | ActivityManagerService.java | 17560 if (!q.mParallelBroadcasts.isEmpty() || !q.mDispatcher.isEmpty()) { in canGcNowLocked()
|
/frameworks/native/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 134 : mDispatcher(dispatcher) { in FakeInputReceiver() 141 sp<InputDispatcher> mDispatcher; member in android::inputdispatcher::FakeInputReceiver 155 mDispatcher->registerInputChannel(mServerChannel); in FakeWindowHandle()
|
/frameworks/av/media/libstagefright/omx/ |
D | OMXNodeInstance.cpp | 298 : mDispatcher(dispatcher) { in CallbackDispatcherThread() 302 CallbackDispatcher *mDispatcher; member 419 return mDispatcher->loop(); in threadLoop() 469 mDispatcher = new CallbackDispatcher(this); in setHandle() 587 mDispatcher.clear(); in freeNode() 2146 mDispatcher->post(msg, true /*realTime*/); in dispatchMessage() 2414 instance->mDispatcher->post(msg, realTime); in OnEvent() 2426 instance->mDispatcher->post(msg, true /* realTime */); in OnEvent() 2450 instance->mDispatcher->post(msg); in OnEmptyBufferDone() 2478 instance->mDispatcher->post(msg); in OnFillBufferDone()
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 1444 final WeakReference<LoadedApk.ReceiverDispatcher> mDispatcher; field in LoadedApk.ReceiverDispatcher.InnerReceiver 1448 mDispatcher = new WeakReference<LoadedApk.ReceiverDispatcher>(rd); in InnerReceiver() 1460 rd = mDispatcher.get(); in performReceive() 1784 final WeakReference<LoadedApk.ServiceDispatcher> mDispatcher; field in ServiceDispatcher.InnerConnection 1787 mDispatcher = new WeakReference<LoadedApk.ServiceDispatcher>(sd); in InnerConnection() 1792 LoadedApk.ServiceDispatcher sd = mDispatcher.get(); in connected()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | OMXNodeInstance.h | 129 sp<CallbackDispatcher> mDispatcher; member
|