/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/window/ |
D | OverlayViewGlobalStateControllerTest.java | 76 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/ |
D | WifiThreadRunnerTest.java | 50 @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/ |
D | DetailsViewBackgroundHelper.java | 49 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/ |
D | UptimeTrackerTest.java | 30 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/ |
D | ThrottledRunnable.java | 41 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/ |
D | ZoomControl.java | 68 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()
|
D | InLineSettingKnob.java | 42 private final Runnable mRunnable = new Runnable() { field in InLineSettingKnob 68 mHandler.postDelayed(mRunnable, 300); 85 mHandler.postDelayed(mRunnable, 300);
|
D | RotateTextToast.java | 46 private final Runnable mRunnable = new Runnable() { field in RotateTextToast 56 mHandler.postDelayed(mRunnable, TOAST_DURATION); in show()
|
D | IndicatorControlWheel.java | 102 private final Runnable mRunnable = new Runnable() { field in IndicatorControlWheel 342 mHandler.post(mRunnable); in onLayout()
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | AnimatorListeners.java | 89 private final Runnable mRunnable; 92 mRunnable = r; 97 mRunnable.run();
|
/packages/apps/TV/src/com/android/tv/ui/hideable/ |
D | AutoHideScheduler.java | 45 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/ |
D | GarageMode.java | 91 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/ |
D | SettingObserver.java | 35 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/ |
D | RecurringRunner.java | 41 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/ |
D | InternetResetHelperTest.java | 76 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/ |
D | FileSampleExtractor.java | 61 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/ |
D | InternetConnectivityPanelTest.java | 97 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/ |
D | WifiManagerTest.java | 173 @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/ |
D | StatsCompanionService.java | 273 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/ |
D | ConcreteClientModeManager.java | 224 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()
|