Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp105 sp<InputDispatcher> mDispatcher; member in android::InputDispatcherTest
109 mDispatcher = new InputDispatcher(mFakePolicy); in SetUp()
114 mDispatcher.clear(); in TearDown()
126 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent( in TEST_F()
135 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent( in TEST_F()
156 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent( in TEST_F()
167 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent( in TEST_F()
177 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent( in TEST_F()
188 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent( in TEST_F()
198 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent( in TEST_F()
[all …]
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/
DDelayMetCommandHandler.java54 private final SystemAlarmDispatcher mDispatcher; field in DelayMetCommandHandler
70 mDispatcher = dispatcher; in DelayMetCommandHandler()
87 boolean isEnqueued = mDispatcher.getProcessor().startWork(mWorkSpecId); in onAllConstraintsMet()
92 mDispatcher.getWorkTimer() in onAllConstraintsMet()
117 mDispatcher.postOnMainThread( in onExecuted()
118 new SystemAlarmDispatcher.AddRunnable(mDispatcher, intent, mStartId)); in onExecuted()
141 WorkSpec workSpec = mDispatcher.getWorkManager() in handleProcessWork()
170 mDispatcher.postOnMainThread( in stopWork()
171 new SystemAlarmDispatcher.AddRunnable(mDispatcher, stopWork, mStartId)); in stopWork()
176 if (mDispatcher.getProcessor().isEnqueued(mWorkSpecId)) { in stopWork()
[all …]
DSystemAlarmService.java37 private SystemAlarmDispatcher mDispatcher; field in SystemAlarmService
42 mDispatcher = new SystemAlarmDispatcher(this); in onCreate()
43 mDispatcher.setCompletedListener(this); in onCreate()
49 mDispatcher.onDestroy(); in onDestroy()
56 mDispatcher.add(intent, startId); in onStartCommand()
DConstraintsCommandHandler.java45 private final SystemAlarmDispatcher mDispatcher; field in ConstraintsCommandHandler
56 mDispatcher = dispatcher; in ConstraintsCommandHandler()
63 int schedulerLimit = mDispatcher in handleConstraintsChanged()
68 List<WorkSpec> candidates = mDispatcher.getWorkManager().getWorkDatabase() in handleConstraintsChanged()
100 mDispatcher.postOnMainThread( in handleConstraintsChanged()
101 new SystemAlarmDispatcher.AddRunnable(mDispatcher, intent, mStartId)); in handleConstraintsChanged()
DSystemAlarmDispatcher.java286 private final SystemAlarmDispatcher mDispatcher; field in SystemAlarmDispatcher.CheckForCompletionRunnable
289 mDispatcher = dispatcher; in CheckForCompletionRunnable()
294 mDispatcher.checkForCommandsCompleted(); in run()
302 private final SystemAlarmDispatcher mDispatcher; field in SystemAlarmDispatcher.AddRunnable
309 mDispatcher = dispatcher; in AddRunnable()
316 mDispatcher.add(mIntent, mStartId); in run()
/frameworks/support/lifecycle/service/src/main/java/androidx/lifecycle/
DLifecycleService.java31 private final ServiceLifecycleDispatcher mDispatcher = new ServiceLifecycleDispatcher(this); field in LifecycleService
36 mDispatcher.onServicePreSuperOnCreate(); in onCreate()
44 mDispatcher.onServicePreSuperOnBind(); in onBind()
52 mDispatcher.onServicePreSuperOnStart(); in onStart()
69 mDispatcher.onServicePreSuperOnDestroy(); in onDestroy()
75 return mDispatcher.getLifecycle(); in getLifecycle()
/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/native/services/inputflinger/
DInputManager.cpp31 mDispatcher = new InputDispatcher(dispatcherPolicy); in InputManager()
32 mReader = new InputReader(eventHub, readerPolicy, mDispatcher); in InputManager()
40 mDispatcher(dispatcher) { in InputManager()
50 mDispatcherThread = new InputDispatcherThread(mDispatcher); in initialize()
90 return mDispatcher; in getDispatcher()
DInputManager.h101 sp<InputDispatcherInterface> mDispatcher; variable
DInputDispatcher.h1149 sp<InputDispatcherInterface> mDispatcher; variable
DInputDispatcher.cpp4617 Thread(/*canCallJava*/ true), mDispatcher(dispatcher) { in InputDispatcherThread()
4624 mDispatcher->dispatchOnce(); in threadLoop()
/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
74 mDispatcher.send(buffer, offset, size, timestamp);
78 mDispatcher.flush();
119 mDispatcher.getSender().connect(receiver); in onConnect()
124 mDispatcher.getSender().disconnect(receiver); in onDisconnect()
/frameworks/support/work/workmanager-firebase/src/main/java/androidx/work/impl/background/firebase/
DFirebaseJobScheduler.java49 private final FirebaseJobDispatcher mDispatcher; field in FirebaseJobScheduler
62 mDispatcher = new FirebaseJobDispatcher(new GooglePlayDriver(mAppContext)); in FirebaseJobScheduler()
63 mJobConverter = new FirebaseJobConverter(mDispatcher); in FirebaseJobScheduler()
79 mDispatcher.cancel(workSpecId); in cancel()
85 int result = mDispatcher.schedule(job); in scheduleNow()
DFirebaseJobConverter.java48 private FirebaseJobDispatcher mDispatcher; field in FirebaseJobConverter
51 mDispatcher = dispatcher; in FirebaseJobConverter()
55 Job.Builder builder = mDispatcher.newJobBuilder() in convert()
111 return mDispatcher.newRetryStrategy(policy, initialBackoff, maxBackoff); in createRetryStrategy()
/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/
DAnimationHandler.java203 mDispatcher.dispatchAnimationFrame(); in FrameCallbackProvider16()
230 mDispatcher.dispatchAnimationFrame(); in FrameCallbackProvider14()
251 final AnimationCallbackDispatcher mDispatcher; field in AnimationHandler.AnimationFrameCallbackProvider
253 mDispatcher = dispatcher; in AnimationFrameCallbackProvider()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemalarm/
DSystemAlarmDispatcherTest.java89 private CommandInterceptingSystemDispatcher mDispatcher; field in SystemAlarmDispatcherTest
126 mDispatcher = in setUp()
128 mDispatcher.setCompletedListener(mCompletedListener); in setUp()
129 mSpyDispatcher = spy(mDispatcher); in setUp()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp220 : mDispatcher(dispatcher) { in CallbackDispatcherThread()
224 CallbackDispatcher *mDispatcher; member
341 return mDispatcher->loop(); in threadLoop()
391 mDispatcher = new CallbackDispatcher(this); in setHandle()
505 mDispatcher.clear(); in freeNode()
1997 mDispatcher->post(msg, true /*realTime*/); in dispatchMessage()
2265 instance->mDispatcher->post(msg, realTime); in OnEvent()
2277 instance->mDispatcher->post(msg, true /* realTime */); in OnEvent()
2301 instance->mDispatcher->post(msg); in OnEmptyBufferDone()
2329 instance->mDispatcher->post(msg); in OnFillBufferDone()
/frameworks/base/core/java/android/app/
DLoadedApk.java1280 final WeakReference<LoadedApk.ReceiverDispatcher> mDispatcher; field in LoadedApk.ReceiverDispatcher.InnerReceiver
1284 mDispatcher = new WeakReference<LoadedApk.ReceiverDispatcher>(rd); in InnerReceiver()
1296 rd = mDispatcher.get(); in performReceive()
1585 final WeakReference<LoadedApk.ServiceDispatcher> mDispatcher; field in ServiceDispatcher.InnerConnection
1588 mDispatcher = new WeakReference<LoadedApk.ServiceDispatcher>(sd); in InnerConnection()
1593 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-light-greylist.txt795 Landroid/app/LoadedApk$ServiceDispatcher$InnerConnection;->mDispatcher:Ljava/lang/ref/WeakReference;