Home
last modified time | relevance | path

Searched refs:mRunnable (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/libs/dream/lowlight/tests/src/com.android.dream.lowlight/
DLowLightTransitionCoordinatorTest.java52 private Runnable mRunnable; field in LowLightTransitionCoordinatorTest
65 coordinator.notifyBeforeLowLightTransition(true, mRunnable); in onEnterCalledOnListeners()
68 verify(mRunnable).run(); in onEnterCalledOnListeners()
77 coordinator.notifyBeforeLowLightTransition(false, mRunnable); in onExitCalledOnListeners()
80 verify(mRunnable).run(); in onExitCalledOnListeners()
90 coordinator.notifyBeforeLowLightTransition(true, mRunnable); in listenerNotCalledAfterRemoval()
93 verify(mRunnable).run(); in listenerNotCalledAfterRemoval()
103 coordinator.notifyBeforeLowLightTransition(true, mRunnable); in runnableCalledAfterAnimationEnds()
107 verifyZeroInteractions(mRunnable); in runnableCalledAfterAnimationEnds()
111 verify(mRunnable).run(); in runnableCalledAfterAnimationEnds()
/frameworks/base/telephony/java/com/android/internal/telephony/
DExponentialBackoff.java32 private final Runnable mRunnable; field in ExponentialBackoff
78 mRunnable = runnable; in ExponentialBackoff()
85 mHandlerAdapter.removeCallbacks(mRunnable); in start()
86 mHandlerAdapter.postDelayed(mRunnable, mCurrentDelayMs); in start()
92 mHandlerAdapter.removeCallbacks(mRunnable); in stop()
101 mHandlerAdapter.removeCallbacks(mRunnable); in notifyFailed()
102 mHandlerAdapter.postDelayed(mRunnable, mCurrentDelayMs); in notifyFailed()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/
DHandlerInjectorTest.java42 public Runnable mRunnable; field in HandlerInjectorTest
53 mHandlerInjector.postDelayed(mRunnable, TEST_DELAY_MILLIS); in postDelayed_doByMainThreadHandler()
55 verify(mHandler).postDelayed(mRunnable, TEST_DELAY_MILLIS); in postDelayed_doByMainThreadHandler()
60 mHandlerInjector.removeCallbacks(mRunnable); in removeCallbacks_doByMainThreadHandler()
62 verify(mHandler).removeCallbacks(mRunnable); in removeCallbacks_doByMainThreadHandler()
/frameworks/base/core/java/com/android/internal/view/
DSurfaceCallbackHelper.java24 Runnable mRunnable; field in SurfaceCallbackHelper
37 mRunnable.run();
43 mRunnable = callbacksCollected; in SurfaceCallbackHelper()
48 mRunnable.run(); in dispatchSurfaceRedrawNeededAsync()
DOneShotPreDrawListener.java37 private final Runnable mRunnable; field in OneShotPreDrawListener
44 mRunnable = runnable; in OneShotPreDrawListener()
81 mRunnable.run(); in onPreDraw()
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DUptimeTimer.java71 private AtomicReference<Runnable> mRunnable = new AtomicReference<>(); field in UptimeTimer.TaskImpl
74 mRunnable.set(runnable); in TaskImpl()
79 mRunnable.set(null); in cancel()
84 Runnable runnable = mRunnable.get(); in run()
/frameworks/base/services/core/java/com/android/server/hdmi/
DWorkSourceUidPreservingRunnable.java25 private Runnable mRunnable; field in WorkSourceUidPreservingRunnable
32 this.mRunnable = runnable; in WorkSourceUidPreservingRunnable()
40 mRunnable.run(); in run()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DInjectMethodsAdapter.java28 private final ICreateInfo.InjectMethodRunnable mRunnable; field in InjectMethodsAdapter
32 mRunnable = runnable; in InjectMethodsAdapter()
37 mRunnable.generateMethods(this); in visitEnd()
/frameworks/base/core/java/com/android/internal/util/
DWakeupMessage.java50 private final Runnable mRunnable; field in WakeupMessage
62 mRunnable = null; in WakeupMessage()
86 mRunnable = runnable; in WakeupMessage()
128 if (mRunnable == null) { in onAlarm()
131 msg = Message.obtain(mHandler, mRunnable); in onAlarm()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DExponentialBackoffTest.java50 private Runnable mRunnable; field in ExponentialBackoffTest
56 mRunnable = mock(Runnable.class); in setUp()
59 START_DELAY_MS, MAXIMUM_DELAY_MS, MULTIPLIER, mHandler, mRunnable); in setUp()
85 verify(mRunnable).run(); in testStartBackoff()
94 verify(mHandlerAdapter, times(2)).removeCallbacks(mRunnable); in testStopBackoff()
/frameworks/base/services/core/java/com/android/server/pm/utils/
DRequestThrottle.java75 private final Runnable mRunnable; field in RequestThrottle
105 mRunnable = this::runInternal; in RequestThrottle()
115 mHandler.post(mRunnable); in schedule()
146 mHandler.postDelayed(mRunnable, nextDelay); in runInternal()
/frameworks/base/telecomm/java/android/telecom/Logging/
DRunnable.java31 private final java.lang.Runnable mRunnable = new java.lang.Runnable() { field in Runnable
68 return mRunnable; in getRunnableToCancel()
80 return mRunnable; in prepare()
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
DTestActivity.java29 Runnable mRunnable = new Runnable() { field in TestActivity
40 mView.postDelayed(mRunnable, PAUSE_DELAY);
50 mView.postDelayed(mRunnable, PAUSE_DELAY); in onCreate()
/frameworks/av/services/oboeservice/
DAAudioThread.cpp57 if (mRunnable != nullptr) { in dispatch()
58 mRunnable->run(); in dispatch()
70 mRunnable = runnable; in start()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DManualActivity.java51 Runnable mRunnable = new Runnable() { field in ManualActivity
91 mHandler.removeCallbacks(mRunnable);
104 onCreateCommon(mRunnable); in onCreate()
139 mHandler.post(mRunnable); in onCreate()
147 mHandler.post(mRunnable); in onCreate()
154 mHandler.post(mRunnable); in onCreate()
DAutomaticActivity.java69 Runnable mRunnable = new Runnable() { field in AutomaticActivity
99 mHandler.removeCallbacks(mRunnable);
106 mHandler.removeCallbacks(mRunnable); in onPause()
117 onCreateCommon(mRunnable); in onCreate()
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/
DHandlerThreadingDomainTest.java233 private final Runnable mRunnable; field in HandlerThreadingDomainTest.LatchedRunnable
235 LatchedRunnable(Runnable mRunnable) { in LatchedRunnable() argument
236 this.mRunnable = Objects.requireNonNull(mRunnable); in LatchedRunnable()
242 mRunnable.run(); in run()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/
DFakeExecutor.java61 mQueuedRunnables.poll().mRunnable.run(); in runNextReady()
197 Runnable mRunnable; field in FakeExecutor.QueuedRunnable
202 mRunnable = r; in QueuedRunnable()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerInternalTest.java160 private Runnable mRunnable; field in ActivityManagerInternalTest.CustomThread
170 mRunnable = runnable; in CustomThread()
176 if (mRunnable != null) { in run()
177 mRunnable.run(); in run()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_DisplayListCanvas.cpp54 mRunnable = env->NewGlobalRef(runnable); in InvokeRunnableMessage()
59 jnienv(mVm)->DeleteGlobalRef(mRunnable); in ~InvokeRunnableMessage()
63 jnienv(mVm)->CallVoidMethod(mRunnable, gRunnableMethodId); in handleMessage()
68 jobject mRunnable; member in android::InvokeRunnableMessage
/frameworks/base/core/java/android/widget/
DZoomButton.java41 private final Runnable mRunnable = new Runnable() { field in ZoomButton
92 post(mRunnable); in onLongClick()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSurfaceSyncerValidatorTestCase.java47 private final Runnable mRunnable = new Runnable() { field in SurfaceSyncerValidatorTestCase
112 mHandler.post(mRunnable);
117 mHandler.removeCallbacks(mRunnable);
/frameworks/base/tests/SurfaceViewSyncTest/src/com/android/test/
DSurfaceViewSyncActivity.java156 mRunnable.run(); in renderFrame()
161 private final Runnable mRunnable = new Runnable() { field in SurfaceViewSyncActivity.RenderingThread
194 mHandler.removeCallbacks(mRunnable); in stopRendering()
/frameworks/base/core/java/com/android/internal/widget/
DAutoScrollHelper.java145 private Runnable mRunnable; field in AutoScrollHelper
503 if (mRunnable == null) { in startAnimating()
504 mRunnable = new ScrollAnimationRunnable(); in startAnimating()
511 mTarget.postOnAnimationDelayed(mRunnable, mActivationDelay); in startAnimating()
513 mRunnable.run(); in startAnimating()
/frameworks/base/media/java/android/media/
DSubtitleTrack.java44 private Runnable mRunnable; field in SubtitleTrack
344 if (mRunnable != null) { in addCue()
345 mHandler.removeCallbacks(mRunnable); in addCue()
349 mRunnable = new Runnable() { in addCue()
356 mRunnable = null; in addCue()
363 if (mHandler.postDelayed(mRunnable, 10 /* delay */)) { in addCue()

12