Home
last modified time | relevance | path

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

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/window/
DOverlayViewGlobalStateControllerTest.java76 private Runnable mRunnable; field in OverlayViewGlobalStateControllerTest
117 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingVisible_windowNotFocusable_shouldShowNavBar_navBarsVisible()
128 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingVisible_windowNotFocusable_shouldHideNavBar_notHidden()
139 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingVisible_windowNotFocusable_shouldShowStatusBar_statusBarsVisible()
150 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingVisible_windowNotFocusable_shouldHideStatusBar_notHidden()
161 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingAlreadyShown_shouldShowNavBarFalse_navigationBarsHidden()
172 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingAlreadyShown_shouldShowNavBarTrue_navigationBarsShown()
183 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingAlreadyShown_shouldShowStatusBarFalse_statusBarsHidden()
194 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingAlreadyShown_shouldShowStatusBarTrue_statusBarsShown()
204 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingAlreadyShown_fitsNavBarInsets_insetsAdjusted()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiThreadRunnerTest.java50 @Mock private Runnable mRunnable; field in WifiThreadRunnerTest
105 boolean result = mWifiThreadRunner.run(mRunnable); in runSuccess()
108 verify(mRunnable).run(); in runSuccess()
115 boolean runSuccess = mWifiThreadRunner.run(mRunnable); in runFailure()
118 verify(mRunnable, never()).run(); in runFailure()
125 boolean postSuccess = mWifiThreadRunner.post(mRunnable); in postSuccess()
128 verify(mHandler).post(mRunnable); in postSuccess()
130 verify(mRunnable, never()).run(); in postSuccess()
137 boolean postSuccess = mWifiThreadRunner.post(mRunnable); in postFailure()
140 verify(mHandler).post(mRunnable); in postFailure()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDetailsViewBackgroundHelper.java49 mRunnable = null; in run()
53 private LoadBackgroundRunnable mRunnable; field in DetailsViewBackgroundHelper
65 if (mRunnable != null) { in setBackground()
66 mHandler.removeCallbacks(mRunnable); in setBackground()
68 mRunnable = new LoadBackgroundRunnable(background); in setBackground()
69 mHandler.postDelayed(mRunnable, SET_BACKGROUND_DELAY_MS); in setBackground()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DUptimeTrackerTest.java30 private Runnable mRunnable = null; field in UptimeTrackerTest.MockTimeInterface
38 if (mRunnable != null) { in tick()
39 mRunnable.run(); in tick()
51 if (mRunnable != null) { in scheduleAction()
54 mRunnable = r; in scheduleAction()
59 mRunnable = null; in cancelAllActions()
/packages/modules/Permission/service/java/com/android/permission/util/
DThrottledRunnable.java41 private final Runnable mRunnable; field in ThrottledRunnable
53 mRunnable = runnable; in ThrottledRunnable()
59 if (mHandler.hasCallbacks(mRunnable)) { in run()
72 mHandler.postAtTime(mRunnable, mScheduledUptimeMillis); in run()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DZoomControl.java68 protected final Runnable mRunnable = new Runnable() { field in ZoomControl
104 if (!mSmoothZoomSupported) mHandler.removeCallbacks(mRunnable); in closeZoomControl()
165 if (fromUser) mHandler.removeCallbacks(mRunnable); in performZoom()
181 mHandler.postDelayed(mRunnable, ZOOMING_INTERVAL / mZoomMax); in performZoom()
DInLineSettingKnob.java42 private final Runnable mRunnable = new Runnable() { field in InLineSettingKnob
68 mHandler.postDelayed(mRunnable, 300);
85 mHandler.postDelayed(mRunnable, 300);
DRotateTextToast.java46 private final Runnable mRunnable = new Runnable() { field in RotateTextToast
56 mHandler.postDelayed(mRunnable, TOAST_DURATION); in show()
DIndicatorControlWheel.java102 private final Runnable mRunnable = new Runnable() { field in IndicatorControlWheel
342 mHandler.post(mRunnable); in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DAnimatorListeners.java89 private final Runnable mRunnable;
92 mRunnable = r;
97 mRunnable.run();
/packages/apps/TV/src/com/android/tv/ui/hideable/
DAutoHideScheduler.java45 private final Runnable mRunnable; field in AutoHideScheduler
57 mRunnable = runnable; in AutoHideScheduler()
58 mHandler = new HideHandler(looper, mRunnable); in AutoHideScheduler()
/packages/services/Car/service/src/com/android/car/garagemode/
DGarageMode.java91 private final Runnable mRunnable = new Runnable() { field in GarageMode
130 mHandler.postDelayed(mRunnable, JOB_SNAPSHOT_UPDATE_FREQUENCY_MS);
338 mHandler.post(mRunnable); in cleanupGarageMode()
385 mHandler.postDelayed(mRunnable, JOB_SNAPSHOT_INITIAL_UPDATE_MS); in startMonitoringThread()
389 mHandler.removeCallbacks(mRunnable); in stopMonitoringThread()
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingObserver.java35 private final Runnable mRunnable; field in SettingObserver.Listener
39 mRunnable = runnable; in Listener()
45 mExecutor.execute(mRunnable); in onSettingChanged()
/packages/apps/TV/src/com/android/tv/util/
DRecurringRunner.java41 private final Runnable mRunnable; field in RecurringRunner
50 mRunnable = runnable; in RecurringRunner()
105 mRunnable.run(); in postAt()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DInternetResetHelperTest.java76 private Runnable mRunnable; field in InternetResetHelperTest.FakeHandlerInjector
84 mRunnable = runnable; in postDelayed()
88 return mRunnable; in getRunnable()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DFileSampleExtractor.java61 private final Runnable mRunnable; field in FileSampleExtractor
87 mRunnable = () -> { in FileSampleExtractor()
106 mRunnable.run(); in prepare()
/packages/apps/Settings/tests/unit/src/com/android/settings/panel/
DInternetConnectivityPanelTest.java97 private Runnable mRunnable; field in InternetConnectivityPanelTest.FakeHandlerInjector
105 mRunnable = runnable; in postDelay()
109 return mRunnable; in getRunnable()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java173 @Mock Runnable mRunnable; field in WifiManagerTest
278 mRunnable.run(); in setUp()
286 mRunnable.run(); in setUp()
294 mRunnable.run(); in setUp()
300 mRunnable.run(); in setUp()
366 verify(mRunnable).run(); in testAddCoexCallbackAndReceiveEvent()
397 verify(mRunnable, never()).run(); in testRegisterUnregisterThenRegisterAgainWithCoexCallback()
400 verify(mRunnable).run(); in testRegisterUnregisterThenRegisterAgainWithCoexCallback()
448 verify(mRunnable, never()).run(); in testRegisterSubsystemRestartTrackingCallback()
454 verify(mRunnable, times(2)).run(); in testRegisterSubsystemRestartTrackingCallback()
[all …]
/packages/modules/StatsD/service/java/com/android/server/stats/
DStatsCompanionService.java273 private final Runnable mRunnable; field in StatsCompanionService.WakelockThread
279 mRunnable = runnable; in WakelockThread()
284 mRunnable.run(); in run()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DConcreteClientModeManager.java224 private final Runnable mRunnable = () -> continueToStopWifi(); field in ConcreteClientModeManager.DeferStopHandler
297 if (mImsMmTelManager == null || !postDelayed(mRunnable, delayMs)) { in start()
334 if (delay == 0 || !postDelayed(mRunnable, delay)) { in checkAndContinueToStopWifi()
369 removeCallbacks(mRunnable); in continueToStopWifi()