Home
last modified time | relevance | path

Searched refs:restarter (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DConditionalRestarterTest.kt39 private lateinit var restarter: ConditionalRestarter variable in com.android.systemui.flags.ConditionalRestarterTest
53 restarter = in setup()
68 restarter.restartSystemUI("Restart for test") in restart_ImmediatelySatisfied()
79 restarter.restartSystemUI("Restart for test") in restart_WaitsForConditionA()
95 restarter.restartSystemUI("Restart for test") in restart_WaitsForConditionB()
111 restarter.restartSystemUI("Restart for test") in restart_WaitsForAllConditions()
DFeatureFlagsClassicReleaseTest.kt42 @Mock private lateinit var restarter: Restarter variable in com.android.systemui.flags.FeatureFlagsClassicReleaseTest
58 restarter in setup()
127 Mockito.verify(restarter, never()).restartSystemUI(Mockito.anyString()) in serverSide_OverrideUncached_NoRestart()
135 Mockito.verify(restarter).restartSystemUI(Mockito.anyString()) in serverSide_Override_Restarts()
143 Mockito.verify(restarter, never()).restartSystemUI(Mockito.anyString()) in serverSide_RedundantOverride_NoRestart()
DFeatureFlagsClassicDebugTest.kt66 @Mock private lateinit var restarter: Restarter variable in com.android.systemui.flags.FeatureFlagsClassicDebugTest
90 restarter in setup()
412 verify(restarter, never()).restartSystemUI(anyString()) in serverSide_OverrideUncached_NoRestart()
425 verify(restarter).restartSystemUI(anyString()) in serverSide_Override_Restarts()
438 verify(restarter, never()).restartSystemUI(anyString()) in serverSide_RedundantOverride_NoRestart()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/flags/
DFeatureFlagsClassicKosmos.kt61 /* restarter = */ restarter, in <lambda>()
69 var Kosmos.restarter: Restarter by Kosmos.Fixture { mock() } in <lambda>() variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DFeatureFlagsClassicRelease.java97 Restarter restarter) { in FeatureFlagsClassicRelease() argument
102 mRestarter = restarter; in FeatureFlagsClassicRelease()
DFeatureFlagsClassicDebug.java128 Restarter restarter) { in FeatureFlagsClassicDebug() argument
136 mRestarter = restarter; in FeatureFlagsClassicDebug()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java137 final Runnable restarter; // used to schedule retries of starting the service field in ServiceRecord
1122 restarter = null; in ServiceRecord()
1137 Runnable restarter) { in ServiceRecord() argument
1139 restarter, sInfo.processName, INVALID_UID, null, false); in ServiceRecord()
1145 Runnable restarter, String processName, int sdkSandboxClientAppUid, in ServiceRecord() argument
1164 this.restarter = restarter; in ServiceRecord()
DActiveServices.java5440 mAm.mHandler.removeCallbacks(r.restarter); in performScheduleRestartLocked()
5441 mAm.mHandler.postAtTime(r.restarter, r.nextRestartTime); in performScheduleRestartLocked()
5643 mAm.mHandler.removeCallbacks(r.restarter); in unscheduleServiceRestartLocked()
6504 if (r.restarter instanceof ServiceRestarter) { in bringDownServiceLocked()
6505 ((ServiceRestarter)r.restarter).setService(null); in bringDownServiceLocked()
6919 mAm.mHandler.removeCallbacks(sr.restarter); in attachApplicationLocked()
6920 mAm.mHandler.post(sr.restarter); in attachApplicationLocked()