Searched refs:mCarWatchdogDaemonHelper (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/android/car/watchdoglib/ |
D | CarWatchdogDaemonHelperTest.java | 84 private CarWatchdogDaemonHelper mCarWatchdogDaemonHelper; field in CarWatchdogDaemonHelperTest 99 mCarWatchdogDaemonHelper = new CarWatchdogDaemonHelper(); in setUp() 100 mCarWatchdogDaemonHelper.connect(); in setUp() 139 mCarWatchdogDaemonHelper.registerCarWatchdogService(service); in testIndirectCall_RegisterUnregisterMediator() 143 mCarWatchdogDaemonHelper.unregisterCarWatchdogService(service); in testIndirectCall_RegisterUnregisterMediator() 152 mCarWatchdogDaemonHelper.registerMonitor(monitor); in testIndirectCall_RegisterUnregisterMonitor() 156 mCarWatchdogDaemonHelper.unregisterMonitor(monitor); in testIndirectCall_RegisterUnregisterMonitor() 169 mCarWatchdogDaemonHelper.tellCarWatchdogServiceAlive(service, processIdentifiers, 123456); in testIndirectCall_TellCarWatchdogServiceAlive() 181 mCarWatchdogDaemonHelper.tellDumpFinished(monitor, processIdentifier); in testIndirectCall_TellDumpFinished() 188 mCarWatchdogDaemonHelper.notifySystemStateChange(StateType.POWER_CYCLE, in testIndirectCall_NotifySystemStateChange() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/os/ |
D | CarPerformanceManagerTest.java | 56 @Mock private CarWatchdogDaemonHelper mCarWatchdogDaemonHelper; field in CarPerformanceManagerTest 84 mCarWatchdogService.setCarWatchdogDaemonHelper(mCarWatchdogDaemonHelper); in configureMockedHal() 102 verify(mCarWatchdogDaemonHelper).setThreadPriority(anyInt(), anyInt(), anyInt(), in testSetThreadPriority() 108 doThrow(new IllegalArgumentException("test")).when(mCarWatchdogDaemonHelper) in testSetThreadPriorityIllegalArgumentException() 122 doThrow(new IllegalStateException("test")).when(mCarWatchdogDaemonHelper).setThreadPriority( in testSetThreadPriorityIllegalStateException() 136 doThrow(new RemoteException("test")).when(mCarWatchdogDaemonHelper).setThreadPriority( in testSetThreadPriorityRemoteException() 147 doThrow(new ServiceSpecificException(0)).when(mCarWatchdogDaemonHelper).setThreadPriority( in testSetThreadPriorityServiceSpecificException() 159 when(mCarWatchdogDaemonHelper.getThreadPriority( in testGetThreadPriority() 171 when(mCarWatchdogDaemonHelper.getThreadPriority( in testGetThreadPriorityDefaultPolicy() 183 when(mCarWatchdogDaemonHelper.getThreadPriority( in testGetThreadPriorityInvalidPolicy() [all …]
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | CarWatchdogService.java | 136 private CarWatchdogDaemonHelper mCarWatchdogDaemonHelper; field in CarWatchdogService 177 mCarWatchdogDaemonHelper.notifySystemStateChange(StateType.POWER_CYCLE, 191 mCarWatchdogDaemonHelper.notifySystemStateChange(StateType.USER_STATE, 309 mCarWatchdogDaemonHelper = new CarWatchdogDaemonHelper(TAG_WATCHDOG); in CarWatchdogService() 312 : new WatchdogProcessHandler(mWatchdogServiceForSystem, mCarWatchdogDaemonHelper, in CarWatchdogService() 317 mCarWatchdogDaemonHelper, mPackageInfoHandler, mWatchdogStorage, in CarWatchdogService() 332 mCarWatchdogDaemonHelper = helper; in setCarWatchdogDaemonHelper() 347 mCarWatchdogDaemonHelper.addOnConnectionChangeListener(mConnectionListener); in init() 348 mCarWatchdogDaemonHelper.connect(); in init() 367 mCarWatchdogDaemonHelper.disconnect(); in release() [all …]
|
D | WatchdogProcessHandler.java | 65 private final CarWatchdogDaemonHelper mCarWatchdogDaemonHelper; field in WatchdogProcessHandler 105 mCarWatchdogDaemonHelper = daemonHelper; in WatchdogProcessHandler() 348 mCarWatchdogDaemonHelper.onAidlVhalPidFetched(pid); in asyncFetchAidlVhalPid() 359 mCarWatchdogDaemonHelper.controlProcessHealthCheck(enable); in controlProcessHealthCheck() 485 mCarWatchdogDaemonHelper.tellCarWatchdogServiceAlive( in reportHealthCheckResult()
|
D | WatchdogPerfHandler.java | 223 private final CarWatchdogDaemonHelper mCarWatchdogDaemonHelper; field in WatchdogPerfHandler 321 mCarWatchdogDaemonHelper = daemonHelper; in WatchdogPerfHandler() 906 internalConfigs = mCarWatchdogDaemonHelper.getResourceOveruseConfigurations(); in getResourceOveruseConfigurations() 1036 mCarWatchdogDaemonHelper.onTodayIoUsageStatsFetched(todayIoUsageStats); in asyncFetchTodayIoUsageStats() 1288 internalConfigs = mCarWatchdogDaemonHelper.getResourceOveruseConfigurations(); in fetchAndSyncResourceOveruseConfigurations() 1753 mCarWatchdogDaemonHelper.updateResourceOveruseConfigurations(configs); in setResourceOveruseConfigurationsInternal()
|