Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/
DGarageModeServiceTest.java74 when(mMockController.isGarageModeActive()).thenReturn(true); in testDump_shouldSucceed()
84 when(mMockController.isGarageModeActive()).thenReturn(true); in testIsGarageModeActive_true()
86 assertThat(mService.isGarageModeActive()).isTrue(); in testIsGarageModeActive_true()
91 when(mMockController.isGarageModeActive()).thenReturn(false); in testIsGarageModeActive_false()
93 assertThat(mService.isGarageModeActive()).isFalse(); in testIsGarageModeActive_false()
DGarageModeTest.java231 assertThat(garageMode.isGarageModeActive()).isFalse(); in test_garageModeTestExitImmediately()
239 assertThat(garageMode.isGarageModeActive()).isFalse(); in test_garageModeTestExitImmediately()
DGarageModeControllerTest.java149 assertThat(mController.isGarageModeActive()).isTrue(); in testOnShutdownPrepare_shouldInitiateGarageMode()
/packages/services/Car/service/src/com/android/car/garagemode/
DGarageModeService.java76 boolean isActive = mController.isGarageModeActive(); in dump()
88 public boolean isGarageModeActive() { in isGarageModeActive() method in GarageModeService
89 return mController.isGarageModeActive(); in isGarageModeActive()
DGarageModeController.java116 boolean isGarageModeActive() { in isGarageModeActive() method in GarageModeController
117 return mGarageMode.isGarageModeActive(); in isGarageModeActive()
DGarageMode.java290 boolean isGarageModeActive() { in isGarageModeActive() method in GarageMode
/packages/services/Car/cpp/watchdog/server/src/
DPerformanceProfiler.cpp183 bool isGarageModeActive, const UserPackageStats::ProcCpuStatsView& procCpuStatsView, in constructUidResourceUsageStats() argument
198 if (isGarageModeActive) { in constructUidResourceUsageStats()
225 bool isGarageModeActive, const SystemSummaryStats& systemStats, in constructSystemSummaryUsageStats() argument
235 if (isGarageModeActive) { in constructSystemSummaryUsageStats()
1133 bool isGarageModeActive = systemState == SystemState::GARAGE_MODE; in processLocked() local
1142 processUidStatsLocked(isGarageModeActive, totalCpuTimeMillis, filterPackages, uidStatsCollector, in processLocked()
1162 constructSystemSummaryUsageStats(isGarageModeActive, record.systemSummaryStats, in processLocked()
1172 bool isGarageModeActive, int64_t totalCpuTimeMillis, in processUidStatsLocked() argument
1264 totalCpuTimeMillis, isGarageModeActive, in processUidStatsLocked()
DIoOveruseMonitor.cpp287 bool isGarageModeActive = systemState == SystemState::GARAGE_MODE; in onPeriodicCollection() local
299 isGarageModeActive); in onPeriodicCollection()
778 const bool isGarageModeActive) { in UserPackageIoUsage() argument
780 if (isGarageModeActive) { in UserPackageIoUsage()
DIoOveruseMonitor.h243 const UidIoStats& uidIoStats, const bool isGarageModeActive);
DPerformanceProfiler.h360 bool isGarageModeActive, int64_t totalCpuTimeMillis,
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java3053 writer.println("Garage mode: " + mGarageModeService.isGarageModeActive());
3058 writer.println("Garage mode: " + mGarageModeService.isGarageModeActive());