/packages/services/Car/service/src/com/android/car/os/ |
D | CarPerformanceService.java | 48 private CarWatchdogService mCarWatchdogService; field in CarPerformanceService 57 mCarWatchdogService = CarLocalServices.getService(CarWatchdogService.class); in init() 98 mCarWatchdogService.setThreadPriority(pid, tid, uid, threadPolicyWithPriority.getPolicy(), in setThreadPriority() 120 int[] result = mCarWatchdogService.getThreadPriority(pid, tid, uid); in getThreadPriority()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceUnitTest.java | 206 private CarWatchdogService mCarWatchdogService; field in CarWatchdogServiceUnitTest 319 mCarWatchdogService = new CarWatchdogService(mMockContext, mMockBuiltinPackageContext, in setUp() 322 mCarWatchdogService.setCarWatchdogDaemonHelper(mMockCarWatchdogDaemonHelper); in setUp() 348 mCarWatchdogService.tellClientAlive(client, TIMEOUT_CRITICAL); in testTellClientAlive() 357 mCarWatchdogService.registerClient(client, TIMEOUT_CRITICAL); in testRegisterClient() 366 mCarWatchdogService.registerClient(client, TIMEOUT_CRITICAL); in testUnregisterClient() 367 mCarWatchdogService.unregisterClient(client); in testUnregisterClient() 631 mCarWatchdogService.setOveruseHandlingDelay(OVERUSE_HANDLING_DELAY_MILLS); in testSetOveruseHandlingDelay() 638 mCarWatchdogService.getResourceOveruseStats(FLAG_RESOURCE_OVERUSE_IO, in testGetResourceOveruseStats() 647 mCarWatchdogService.getAllResourceOveruseStats(FLAG_RESOURCE_OVERUSE_IO, in testGetAllResourceOveruseStats() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceTest.java | 120 private CarWatchdogService mCarWatchdogService; field in CarWatchdogServiceTest 156 mCarWatchdogService = new CarWatchdogService(mMockContext, mMockBuiltinPackageContext, in setUp() 159 when(mMockServiceBinder.queryLocalInterface(anyString())).thenReturn(mCarWatchdogService); in setUp() 161 mCarWatchdogService.init(); in setUp() 178 assertThat(mCarWatchdogService.getClientCount(TIMEOUT_CRITICAL)).isEqualTo(1); in testRegisterUnregisterClient() 180 assertThat(mCarWatchdogService.getClientCount(TIMEOUT_CRITICAL)).isEqualTo(0); in testRegisterUnregisterClient()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/os/ |
D | CarPerformanceManagerTest.java | 55 private CarWatchdogService mCarWatchdogService; field in CarPerformanceManagerTest 82 mCarWatchdogService = new CarWatchdogService( in configureMockedHal() 84 mCarWatchdogService.setCarWatchdogDaemonHelper(mCarWatchdogDaemonHelper); in configureMockedHal() 85 setCarWatchDogService(mCarWatchdogService); in configureMockedHal()
|
/packages/services/Car/service/src/com/android/car/ |
D | ICarImpl.java | 170 private final CarWatchdogService mCarWatchdogService; field in ICarImpl 392 mCarWatchdogService = getFromBuilderOrConstruct(t, CarWatchdogService.class, in ICarImpl() 393 builder.mCarWatchdogService, in ICarImpl() 677 return mCarWatchdogService; in getCarService() 1144 CarWatchdogService mCarWatchdogService; field in ICarImpl.Builder 1229 mCarWatchdogService = carWatchdogService; in setCarWatchdogService()
|
D | CarShellCommand.java | 552 private final CarWatchdogService mCarWatchdogService; field in CarShellCommand 584 mCarWatchdogService = (CarWatchdogService) allServicesByClazz.get(CarWatchdogService.class); in CarShellCommand() 3525 mCarWatchdogService.setKillablePackageAsUser( 3550 int result = mCarWatchdogService.setResourceOveruseConfigurations( 3590 mCarWatchdogService.getResourceOveruseConfigurations(resourceOveruseFlag)) { 3635 mCarWatchdogService.controlProcessHealthCheck(Objects.equals(args[1], "enable")); 3656 boolean isKilled = mCarWatchdogService.performResourceOveruseKill(packageName, userId);
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | MockedCarTestBase.java | 120 private CarWatchdogService mCarWatchdogService = mock(CarWatchdogService.class); field in MockedCarTestBase 208 mCarWatchdogService = service; in setCarWatchDogService() 383 .setCarWatchdogService(mCarWatchdogService) in setUp()
|