/frameworks/base/libs/dream/lowlight/tests/src/com.android.dream.lowlight/ |
D | LowLightTransitionCoordinatorTest.java | 52 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/ |
D | ExponentialBackoff.java | 32 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/ |
D | HandlerInjectorTest.java | 42 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/ |
D | SurfaceCallbackHelper.java | 24 Runnable mRunnable; field in SurfaceCallbackHelper 37 mRunnable.run(); 43 mRunnable = callbacksCollected; in SurfaceCallbackHelper() 48 mRunnable.run(); in dispatchSurfaceRedrawNeededAsync()
|
D | OneShotPreDrawListener.java | 37 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/ |
D | UptimeTimer.java | 71 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/ |
D | WorkSourceUidPreservingRunnable.java | 25 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/ |
D | InjectMethodsAdapter.java | 28 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/ |
D | WakeupMessage.java | 50 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/ |
D | ExponentialBackoffTest.java | 50 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/ |
D | RequestThrottle.java | 75 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/ |
D | Runnable.java | 31 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/ |
D | TestActivity.java | 29 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/ |
D | AAudioThread.cpp | 57 if (mRunnable != nullptr) { in dispatch() 58 mRunnable->run(); in dispatch() 70 mRunnable = runnable; in start()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | ManualActivity.java | 51 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()
|
D | AutomaticActivity.java | 69 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/ |
D | HandlerThreadingDomainTest.java | 233 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/ |
D | FakeExecutor.java | 61 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/ |
D | ActivityManagerInternalTest.java | 160 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/ |
D | android_graphics_DisplayListCanvas.cpp | 54 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/ |
D | ZoomButton.java | 41 private final Runnable mRunnable = new Runnable() { field in ZoomButton 92 post(mRunnable); in onLongClick()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SurfaceSyncerValidatorTestCase.java | 47 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/ |
D | SurfaceViewSyncActivity.java | 156 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/ |
D | AutoScrollHelper.java | 145 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/ |
D | SubtitleTrack.java | 44 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()
|