Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/
DGarageModeServiceTest.java73 when(mMockController.isGarageModeActive()).thenReturn(true); in testDump_shouldSucceed()
83 when(mMockController.isGarageModeActive()).thenReturn(true); in testIsGarageModeActive_true()
85 assertThat(mService.isGarageModeActive()).isTrue(); in testIsGarageModeActive_true()
90 when(mMockController.isGarageModeActive()).thenReturn(false); in testIsGarageModeActive_false()
92 assertThat(mService.isGarageModeActive()).isFalse(); in testIsGarageModeActive_false()
DControllerTest.java144 assertThat(mController.isGarageModeActive()).isFalse(); in testOnShutdownCancelled_shouldCancelGarageMode()
167 assertThat(mController.isGarageModeActive()).isFalse(); in testWakeupTimeProgression()
174 assertThat(mController.isGarageModeActive()).isTrue(); in testWakeupTimeProgression()
178 assertThat(mController.isGarageModeActive()).isFalse(); in testWakeupTimeProgression()
184 assertThat(mController.isGarageModeActive()).isFalse(); in testWakeupTimeProgression()
216 assertThat(mController.isGarageModeActive()).isTrue(); in startAndAssertGarageModeWithSignal()
/packages/services/Car/service/src/com/android/car/garagemode/
DGarageModeService.java68 boolean isActive = mController.isGarageModeActive(); in dump()
76 public boolean isGarageModeActive() { in isGarageModeActive() method in GarageModeService
77 return mController.isGarageModeActive(); in isGarageModeActive()
DController.java112 boolean isGarageModeActive() { in isGarageModeActive() method in Controller
113 return mGarageMode.isGarageModeActive(); in isGarageModeActive()
DGarageMode.java232 boolean isGarageModeActive() { in isGarageModeActive() method in GarageMode
/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseMonitor.cpp217 bool isGarageModeActive = systemState == SystemState::GARAGE_MODE; in onPeriodicCollection() local
223 UserPackageIoUsage curUsage(packageInfo->second, uidIoStats.ios, isGarageModeActive); in onPeriodicCollection()
584 const bool isGarageModeActive) { in UserPackageIoUsage() argument
586 if (isGarageModeActive) { in UserPackageIoUsage()
DIoOveruseMonitor.h186 const IoUsage& IoUsage, const bool isGarageModeActive);
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java1849 writer.println("Garage mode: " + mGarageModeService.isGarageModeActive());
1854 writer.println("Garage mode: " + mGarageModeService.isGarageModeActive());