Home
last modified time | relevance | path

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

12

/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/media/tests/mediatestutils/tests/src/java/com/android/media/mediatestutils/
DGetFutureForIntentTest.java118 service.mRunnable.run(); in unregisterListener_whenComplete()
119 assertThat(service.mRunnable).isNull(); in unregisterListener_whenComplete()
135 assertThat(service.mRunnable).isNull(); in unregisterListener_whenCancel()
139 Runnable mRunnable; field in GetFutureForIntentTest.FakeService
142 mRunnable = r; in registerListener()
146 assertThat(r).isEqualTo(mRunnable); in unregisterListener()
147 mRunnable = null; in unregisterListener()
/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/services/voiceinteraction/java/com/android/server/soundtrigger/
DDeviceStateHandler.java201 private final Runnable mRunnable; field in NotificationTask
207 mRunnable = r; in NotificationTask()
217 return mRunnable == runnable; in runnableEquals()
223 mRunnable.run(); in run()
/frameworks/base/services/tests/timetests/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/mockingservicestests/src/com/android/server/am/
DActivityManagerInternalTest.java154 private Runnable mRunnable; field in ActivityManagerInternalTest.CustomThread
164 mRunnable = runnable; in CustomThread()
170 if (mRunnable != null) { in run()
171 mRunnable.run(); in run()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_DisplayListCanvas.cpp51 mRunnable = env->NewGlobalRef(runnable); in InvokeRunnableMessage()
56 jnienv(mVm)->DeleteGlobalRef(mRunnable); in ~InvokeRunnableMessage()
60 jnienv(mVm)->CallVoidMethod(mRunnable, gRunnableMethodId); in handleMessage()
65 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/
DSurfaceViewSyncValidatorTestCase.java47 private final Runnable mRunnable = new Runnable() { field in SurfaceViewSyncValidatorTestCase
111 mHandler.post(mRunnable);
116 mHandler.removeCallbacks(mRunnable);
/frameworks/base/tests/SurfaceViewSyncTest/src/com/android/test/
DSurfaceViewSyncActivity.java154 mRunnable.run(); in renderFrame()
159 private final Runnable mRunnable = new Runnable() { field in SurfaceViewSyncActivity.RenderingThread
192 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/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSIconViewImpl.java266 private Runnable mRunnable; field in QSIconViewImpl.EndRunnableAnimatorListener
270 mRunnable = endRunnable; in EndRunnableAnimatorListener()
276 mRunnable.run(); in onAnimationCancel()
282 mRunnable.run(); in onAnimationEnd()
/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()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DMockScheduledExecutorService.java190 private final Runnable mRunnable; field in MockScheduledExecutorService.MockScheduledFuture
205 mRunnable = runnable; in MockScheduledFuture()
214 return mRunnable; in getRunnable()

12