Home
last modified time | relevance | path

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

12

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/window/
DOverlayViewGlobalStateControllerTest.java70 private Runnable mRunnable; field in OverlayViewGlobalStateControllerTest
114 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingVisible_windowNotFocusable_shouldShowNavBar_navBarsVisible()
125 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingVisible_windowNotFocusable_shouldHideNavBar_notHidden()
136 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingVisible_windowNotFocusable_shouldShowStatusBar_statusBarsVisible()
147 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingVisible_windowNotFocusable_shouldHideStatusBar_notHidden()
158 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingAlreadyShown_shouldShowNavBarFalse_navigationBarsHidden()
169 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingAlreadyShown_shouldShowNavBarTrue_navigationBarsShown()
180 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingAlreadyShown_shouldShowStatusBarFalse_statusBarsHidden()
191 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingAlreadyShown_shouldShowStatusBarTrue_statusBarsShown()
201 mOverlayViewGlobalStateController.showView(mOverlayViewController1, mRunnable); in showView_nothingAlreadyShown_fitsNavBarInsets_insetsAdjusted()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiThreadRunnerTest.java54 @Mock private Runnable mRunnable; field in WifiThreadRunnerTest
110 boolean result = mWifiThreadRunner.run(mRunnable, "taskName"); in runSuccess()
113 verify(mRunnable).run(); in runSuccess()
120 boolean runSuccess = mWifiThreadRunner.run(mRunnable, "taskName"); in runFailure()
123 verify(mRunnable, never()).run(); in runFailure()
130 boolean postSuccess = mWifiThreadRunner.post(mRunnable, ""); in postSuccess()
134 assertEquals(mRunnable, mCaptor.getValue().getCallback()); in postSuccess()
136 verify(mRunnable, never()).run(); in postSuccess()
143 boolean postSuccess = mWifiThreadRunner.post(mRunnable, ""); in postFailure()
147 assertEquals(mRunnable, mCaptor.getValue().getCallback()); 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/modules/AdServices/shared/testing-libraries/side-less/java/com/android/adservices/shared/meta_testing/
DSimpleStatement.java35 @Nullable private ThrowingRunnable mRunnable; field in SimpleStatement
41 if (mRunnable != null) { in evaluate()
42 mLog.d("Calling Runnable %s", mRunnable); in evaluate()
43 mRunnable.run(); in evaluate()
56 mRunnable = Objects.requireNonNull(runnable, "Runnable cannto be run"); in onEvaluate()
88 + mRunnable in toString()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DUptimeTrackerTest.java32 private Runnable mRunnable = null; field in UptimeTrackerTest.MockTimeInterface
40 if (mRunnable != null) { in tick()
41 mRunnable.run(); in tick()
53 if (mRunnable != null) { in scheduleAction()
56 mRunnable = r; in scheduleAction()
61 mRunnable = null; in cancelAllActions()
DCarServiceHelperWrapperUnitTest.java56 private Runnable mRunnable; field in CarServiceHelperWrapperUnitTest
75 mDefaultWrapper.runOnConnection(mRunnable); in testRunOnConnection_alreadyConnected()
77 verify(mRunnable).run(); in testRunOnConnection_alreadyConnected()
82 mDefaultWrapper.runOnConnection(mRunnable); in testRunOnConnection_connectLater()
84 verify(mRunnable, never()).run(); in testRunOnConnection_connectLater()
88 verify(mRunnable).run(); in testRunOnConnection_connectLater()
/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/Settings/src/com/android/settings/privatespace/
DSetupPreFinishDelayFragment.java74 private Runnable mRunnable = field in SetupPreFinishDelayFragment
130 sHandler.postDelayed(mRunnable, MAX_DELAY_BEFORE_SETUP_FINISH); in onResume()
135 sHandler.removeCallbacks(mRunnable); in onDestroy()
145 sHandler.removeCallbacks(mRunnable); in showSetupSuccessScreen()
DPrivateSpaceCreationFragment.java55 private Runnable mRunnable = field in PrivateSpaceCreationFragment
112 sHandler.removeCallbacks(mRunnable); in onResume()
113 sHandler.postDelayed(mRunnable, PRIVATE_SPACE_CREATE_POST_DELAY_MS); in onResume()
118 sHandler.removeCallbacks(mRunnable); in onDestroy()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DAnimatorListeners.java89 private final Runnable mRunnable;
92 mRunnable = r;
97 mRunnable.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()
/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/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/
DCancelableAlarm.java35 private final Runnable mRunnable; field in CancelableAlarm
52 this.mRunnable = runnable; in CancelableAlarm()
128 mRunnable.run(); in processAlarm()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DRealtimeScheduler.java141 private final Runnable mRunnable; field in RealtimeScheduler.RunnableTask
145 mRunnable = runnable; in RunnableTask()
155 handler.post(mRunnable); in post()
213 && ((RunnableTask) task).mRunnable == runnable); in removeDelayedRunnable()
/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/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/common/
DApplicationContextSingletonRuleTest.java231 private final Runnable mRunnable; field in ApplicationContextSingletonRuleTest.RunnableStatement
235 mRunnable = runnable; in RunnableStatement()
244 mRunnable.run(); in evaluate()
252 return getClass().getSimpleName() + ": " + mRunnable; in toString()
/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/ManagedProvisioning/src/com/android/managedprovisioning/common/
DRetryLaunchViewModel.java43 private final Runnable mRunnable = RetryLaunchViewModel.this::tryStartActivity; field in RetryLaunchViewModel
94 mHandler.removeCallbacks(mRunnable); in stopLaunchRetries()
129 mHandler.postDelayed(mRunnable, mConfig.getLaunchActivityRetryMillis()); in scheduleRetryLaunchActivity()
/packages/services/Car/service/src/com/android/car/garagemode/
DGarageMode.java112 private final Runnable mRunnable = new Runnable() { field in GarageMode
155 mHandler.postDelayed(mRunnable, JOB_SNAPSHOT_UPDATE_FREQUENCY_MS);
492 mHandler.postDelayed(mRunnable, JOB_SNAPSHOT_INITIAL_UPDATE_MS); in startMonitoringThread()
496 mHandler.removeCallbacks(mRunnable); in stopMonitoringThread()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTestScheduledExecutorService.java48 private Runnable mRunnable; field in TestScheduledExecutorService.CompletedFuture
62 mRunnable = task; in CompletedFuture()
69 cancelRunnable(mRunnable); in cancel()
/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/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSProfileActivatorTest.java132 private final Runnable mRunnable; field in ONSProfileActivatorTest.WorkerThread
135 mRunnable = runnable; in WorkerThread()
143 mRunnable.run(); in run()
/packages/modules/StatsD/service/java/com/android/server/stats/
DStatsCompanionService.java319 private final Runnable mRunnable; field in StatsCompanionService.WakelockThread
325 mRunnable = runnable; in WakelockThread()
330 mRunnable.run(); in run()

12