/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | CarWatchdogManagerUnitTest.java | 18 import static android.car.watchdog.CarWatchdogManager.FLAG_MINIMUM_STATS_IO_1_MB; 19 import static android.car.watchdog.CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO; 20 import static android.car.watchdog.CarWatchdogManager.STATS_PERIOD_CURRENT_DAY; 21 import static android.car.watchdog.CarWatchdogManager.TIMEOUT_CRITICAL; 42 import android.car.watchdog.CarWatchdogManager; 88 private static final String TAG = CarWatchdogManager.class.getSimpleName(); 103 private CarWatchdogManager mCarWatchdogManager; 114 mCarWatchdogManager = new CarWatchdogManager(mCar, mBinder); in setUp() 351 CarWatchdogManager.ResourceOveruseListener listener = in testAddResourceOveruseListener() 352 mock(CarWatchdogManager.ResourceOveruseListener.class); in testAddResourceOveruseListener() [all …]
|
D | WatchdogPerfHandlerUnitTest.java | 26 import static android.car.watchdog.CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO; 27 import static android.car.watchdog.CarWatchdogManager.RETURN_CODE_SUCCESS; 96 import android.car.watchdog.CarWatchdogManager; 638 CarWatchdogManager.STATS_PERIOD_CURRENT_DAY); in testDeleteUser() 887 .isEqualTo(CarWatchdogManager.RETURN_CODE_SUCCESS); in testSetResourceOveruseConfigurationsRetriedWithRepeatedRemoteException() 1100 .isEqualTo(CarWatchdogManager.RETURN_CODE_SUCCESS); in testConcurrentSetGetResourceOveruseConfigurationsWithReconnectedDaemon() 1291 CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO, in testResetResourceOveruseStatsResetsStats() 1292 CarWatchdogManager.STATS_PERIOD_CURRENT_DAY); in testResetResourceOveruseStatsResetsStats() 2111 CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO, /* minimumStatsFlag= */ 0, in testGetAllResourceOveruseStatsWithNoMinimum() 2112 CarWatchdogManager.STATS_PERIOD_CURRENT_DAY); in testGetAllResourceOveruseStatsWithNoMinimum() [all …]
|
D | CarWatchdogServiceUnitTest.java | 28 import static android.car.watchdog.CarWatchdogManager.FLAG_MINIMUM_STATS_IO_1_MB; 29 import static android.car.watchdog.CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO; 30 import static android.car.watchdog.CarWatchdogManager.STATS_PERIOD_CURRENT_DAY; 31 import static android.car.watchdog.CarWatchdogManager.TIMEOUT_CRITICAL; 99 import android.car.watchdog.CarWatchdogManager; 639 CarWatchdogManager.STATS_PERIOD_CURRENT_DAY); in testGetResourceOveruseStats() 642 eq(CarWatchdogManager.STATS_PERIOD_CURRENT_DAY)); in testGetResourceOveruseStats() 659 CarWatchdogManager.STATS_PERIOD_CURRENT_DAY); in testGetResourceOveruseStatsForUserPackage() 663 eq(CarWatchdogManager.STATS_PERIOD_CURRENT_DAY)); in testGetResourceOveruseStatsForUserPackage()
|
D | WatchdogProcessHandlerUnitTest.java | 19 import static android.car.watchdog.CarWatchdogManager.TIMEOUT_CRITICAL; 20 import static android.car.watchdog.CarWatchdogManager.TIMEOUT_NORMAL;
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | CarWatchdogClient.java | 21 import android.car.watchdog.CarWatchdogManager; 22 import android.car.watchdog.CarWatchdogManager.CarWatchdogClientCallback; 43 private final CarWatchdogManager mCarWatchdogManager; 93 timeout = CarWatchdogManager.TIMEOUT_CRITICAL; in parseCommand() 96 timeout = CarWatchdogManager.TIMEOUT_MODERATE; in parseCommand() 99 timeout = CarWatchdogManager.TIMEOUT_NORMAL; in parseCommand() 136 mCarWatchdogManager = (CarWatchdogManager) car.getCarManager(Car.CAR_WATCHDOG_SERVICE); in CarWatchdogClient() 144 getTimeForInactiveMain(CarWatchdogManager.TIMEOUT_NORMAL)); in CarWatchdogClient() 175 case CarWatchdogManager.TIMEOUT_CRITICAL: in getTimeForInactiveMain() 177 case CarWatchdogManager.TIMEOUT_MODERATE: in getTimeForInactiveMain() [all …]
|
D | KitchenSinkHelperImpl.java | 28 import android.car.watchdog.CarWatchdogManager; 60 private CarWatchdogManager mCarWatchdogManager; 170 public CarWatchdogManager getCarWatchdogManager() { in getCarWatchdogManager() 174 (CarWatchdogManager) mCarApi.getCarManager(Car.CAR_WATCHDOG_SERVICE); in getCarWatchdogManager()
|
D | KitchenSinkHelper.java | 28 import android.car.watchdog.CarWatchdogManager; 84 CarWatchdogManager getCarWatchdogManager(); in getCarWatchdogManager()
|
D | KitchenSink2Activity.java | 31 import android.car.watchdog.CarWatchdogManager; 148 public CarWatchdogManager getCarWatchdogManager() { in getCarWatchdogManager()
|
D | KitchenSinkActivity.java | 30 import android.car.watchdog.CarWatchdogManager; 196 public CarWatchdogManager getCarWatchdogManager() { in getCarWatchdogManager()
|
/packages/services/Car/car-lib/src/android/car/watchdog/ |
D | CarWatchdogManager.java | 53 public final class CarWatchdogManager extends CarManagerBase { class 55 private static final String TAG = CarWatchdogManager.class.getSimpleName(); 156 public CarWatchdogManager(Car car, IBinder service) { in CarWatchdogManager() method in CarWatchdogManager 187 synchronized (CarWatchdogManager.this.mLock) { in registerClient() 227 synchronized (CarWatchdogManager.this.mLock) { in unregisterClient() 265 synchronized (CarWatchdogManager.this.mLock) { in tellClientAlive() 769 synchronized (CarWatchdogManager.this.mLock) { in checkClientStatus() 839 synchronized (CarWatchdogManager.this.mLock) { in notifyProcessTermination() 996 private final WeakReference<CarWatchdogManager> mManager; 998 ICarWatchdogClientImpl(CarWatchdogManager manager) { in ICarWatchdogClientImpl() [all …]
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | CarWatchdogService.java | 59 import android.car.watchdog.CarWatchdogManager; 427 @CarWatchdogManager.ResourceOveruseFlag int resourceOveruseFlag, in getResourceOveruseStats() 428 @CarWatchdogManager.StatsPeriod int maxStatsPeriod) { in getResourceOveruseStats() 440 @CarWatchdogManager.ResourceOveruseFlag int resourceOveruseFlag, in getAllResourceOveruseStats() 441 @CarWatchdogManager.MinimumStatsFlag int minimumStatsFlag, in getAllResourceOveruseStats() 442 @CarWatchdogManager.StatsPeriod int maxStatsPeriod) { in getAllResourceOveruseStats() 453 @CarWatchdogManager.ResourceOveruseFlag int resourceOveruseFlag, in getResourceOveruseStatsForUserPackage() 454 @CarWatchdogManager.StatsPeriod int maxStatsPeriod) { in getResourceOveruseStatsForUserPackage() 466 @CarWatchdogManager.ResourceOveruseFlag int resourceOveruseFlag, in addResourceOveruseListener() 486 @CarWatchdogManager.ResourceOveruseFlag int resourceOveruseFlag, in addResourceOveruseListenerForSystem() [all …]
|
D | WatchdogPerfHandler.java | 23 import static android.car.watchdog.CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO; 24 import static android.car.watchdog.CarWatchdogManager.STATS_PERIOD_CURRENT_DAY; 25 import static android.car.watchdog.CarWatchdogManager.STATS_PERIOD_PAST_15_DAYS; 26 import static android.car.watchdog.CarWatchdogManager.STATS_PERIOD_PAST_30_DAYS; 27 import static android.car.watchdog.CarWatchdogManager.STATS_PERIOD_PAST_3_DAYS; 28 import static android.car.watchdog.CarWatchdogManager.STATS_PERIOD_PAST_7_DAYS; 83 import android.car.watchdog.CarWatchdogManager; 546 @CarWatchdogManager.ResourceOveruseFlag int resourceOveruseFlag, in getResourceOveruseStats() 547 @CarWatchdogManager.StatsPeriod int maxStatsPeriod) { in getResourceOveruseStats() 579 @CarWatchdogManager.ResourceOveruseFlag int resourceOveruseFlag, in getAllResourceOveruseStats() [all …]
|
D | WatchdogProcessHandler.java | 19 import static android.car.watchdog.CarWatchdogManager.TIMEOUT_CRITICAL; 20 import static android.car.watchdog.CarWatchdogManager.TIMEOUT_MODERATE; 21 import static android.car.watchdog.CarWatchdogManager.TIMEOUT_NORMAL;
|
/packages/services/Car/tests/carservice_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceTest.java | 22 import static android.car.watchdog.CarWatchdogManager.TIMEOUT_CRITICAL; 41 import android.car.watchdog.CarWatchdogManager; 304 final CarWatchdogManager mCarWatchdogManager; 308 mCarWatchdogManager = new CarWatchdogManager(mMockCar, mMockServiceBinder); in TestClient() 323 extends CarWatchdogManager.CarWatchdogClientCallback { 326 protected CarWatchdogManager mManager; 360 public void setManager(CarWatchdogManager manager) { in setManager()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | PrioritizeAppPerformancePreferenceController.java | 21 import android.car.watchdog.CarWatchdogManager; 50 private CarWatchdogManager mCarWatchdogManager; 150 ? (CarWatchdogManager) car.getCarManager(Car.CAR_WATCHDOG_SERVICE) in connectToCar()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/watchdog/ |
D | CarWatchdogTestFragment.java | 21 import android.car.watchdog.CarWatchdogManager; 116 private CarWatchdogManager mCarWatchdogManager; 304 CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO, in fetchInitialDiskIoStats() 305 CarWatchdogManager.STATS_PERIOD_CURRENT_DAY); in fetchInitialDiskIoStats() 337 mActivity.getMainExecutor(), CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO, listener); in addResourceOveruseListener() 465 implements CarWatchdogManager.ResourceOveruseListener {
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/performance/ |
D | PerfImpactingAppsPreferenceController.java | 23 import android.car.watchdog.CarWatchdogManager; 68 private CarWatchdogManager mCarWatchdogManager; 165 ? (CarWatchdogManager) car.getCarManager(Car.CAR_WATCHDOG_SERVICE) in connectToCar()
|
D | PerfImpactingAppsUtils.java | 21 import android.car.watchdog.CarWatchdogManager; 59 CarWatchdogManager manager) { in getKillableState()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/ |
D | PrioritizeAppPerformancePreferenceControllerTest.java | 36 import android.car.watchdog.CarWatchdogManager; 91 private CarWatchdogManager mMockManager;
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarGetCarManagerTest.java | 57 import android.car.watchdog.CarWatchdogManager; 109 {CarWatchdogManager.class, Car.CAR_WATCHDOG_SERVICE}, in inputParameters()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/performance/ |
D | PerfImpactingAppsPreferenceControllerTest.java | 41 import android.car.watchdog.CarWatchdogManager; 111 private CarWatchdogManager mMockCarWatchdogManager;
|
/packages/services/Car/car-lib/api/ |
D | lint-baseline.txt | 1856 UnflaggedApi: android.car.watchdog.CarWatchdogManager: 1857 New API must be flagged with @FlaggedApi: class android.car.watchdog.CarWatchdogManager 1858 UnflaggedApi: android.car.watchdog.CarWatchdogManager#FLAG_RESOURCE_OVERUSE_IO: 1859 …New API must be flagged with @FlaggedApi: field android.car.watchdog.CarWatchdogManager.FLAG_RESOU… 1860 UnflaggedApi: android.car.watchdog.CarWatchdogManager#STATS_PERIOD_CURRENT_DAY: 1861 …New API must be flagged with @FlaggedApi: field android.car.watchdog.CarWatchdogManager.STATS_PERI… 1862 UnflaggedApi: android.car.watchdog.CarWatchdogManager#STATS_PERIOD_PAST_15_DAYS: 1863 …New API must be flagged with @FlaggedApi: field android.car.watchdog.CarWatchdogManager.STATS_PERI… 1864 UnflaggedApi: android.car.watchdog.CarWatchdogManager#STATS_PERIOD_PAST_30_DAYS: 1865 …New API must be flagged with @FlaggedApi: field android.car.watchdog.CarWatchdogManager.STATS_PERI… [all …]
|
D | system-lint-baseline.txt | 114 …utorRegistration: android.car.watchdog.CarWatchdogManager#tellClientAlive(android.car.watchdog.Car… 192 …t: android.car.watchdog.CarWatchdogManager#registerClient(java.util.concurrent.Executor, android.c… 194 ListenerLast: android.car.watchdog.CarWatchdogManager#tellClientAlive(android.car.watchdog.CarWatch… 742 NullableCollection: android.car.watchdog.CarWatchdogManager#getResourceOveruseConfigurations(int): 743 …Return type of method android.car.watchdog.CarWatchdogManager.getResourceOveruseConfigurations(int… 4872 UnflaggedApi: android.car.watchdog.CarWatchdogManager#FLAG_MINIMUM_STATS_IO_100_MB: 4873 …New API must be flagged with @FlaggedApi: field android.car.watchdog.CarWatchdogManager.FLAG_MINIM… 4874 UnflaggedApi: android.car.watchdog.CarWatchdogManager#FLAG_MINIMUM_STATS_IO_1_GB: 4875 …New API must be flagged with @FlaggedApi: field android.car.watchdog.CarWatchdogManager.FLAG_MINIM… 4876 UnflaggedApi: android.car.watchdog.CarWatchdogManager#FLAG_MINIMUM_STATS_IO_1_MB: [all …]
|
/packages/services/Car/car-lib/src/android/car/ |
D | Car.java | 74 import android.car.watchdog.CarWatchdogManager; 1738 CAR_SERVICE_NAMES.put(CarWatchdogManager.class, CAR_WATCHDOG_SERVICE); in CAR_SERVICE_NAMES.put() 2704 manager = new CarWatchdogManager(this, binder); in createCarManagerLocked()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarShellCommand.java | 80 import android.car.watchdog.CarWatchdogManager; 3543 CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO); 3552 CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO); 3553 if (result == CarWatchdogManager.RETURN_CODE_SUCCESS) { 3573 CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO);
|