Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogManagerUnitTest.java19 import static android.car.watchdog.CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO;
267 when(mService.getResourceOveruseStats(FLAG_RESOURCE_OVERUSE_IO, STATS_PERIOD_CURRENT_DAY)) in testGetResourceOveruseStats()
271 FLAG_RESOURCE_OVERUSE_IO, STATS_PERIOD_CURRENT_DAY); in testGetResourceOveruseStats()
280 when(mService.getResourceOveruseStats(FLAG_RESOURCE_OVERUSE_IO, STATS_PERIOD_CURRENT_DAY)) in testFailsGetResourceOveruseStats()
284 .getResourceOveruseStats(FLAG_RESOURCE_OVERUSE_IO, STATS_PERIOD_CURRENT_DAY); in testFailsGetResourceOveruseStats()
296 when(mService.getAllResourceOveruseStats(FLAG_RESOURCE_OVERUSE_IO, in testGetAllResourceOveruseStats()
300 FLAG_RESOURCE_OVERUSE_IO, FLAG_MINIMUM_STATS_IO_1_MB, STATS_PERIOD_CURRENT_DAY); in testGetAllResourceOveruseStats()
307 when(mService.getAllResourceOveruseStats(FLAG_RESOURCE_OVERUSE_IO, in testFailsGetAllResourceOveruseStats()
312 .getAllResourceOveruseStats(FLAG_RESOURCE_OVERUSE_IO, FLAG_MINIMUM_STATS_IO_1_MB, in testFailsGetAllResourceOveruseStats()
325 FLAG_RESOURCE_OVERUSE_IO, STATS_PERIOD_CURRENT_DAY)).thenReturn(expectedStats); in testGetResourceOveruseStatsForUserPackage()
[all …]
DWatchdogPerfHandlerUnitTest.java26 import static android.car.watchdog.CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO;
637 FLAG_RESOURCE_OVERUSE_IO, /* minimumStatsFlag= */ 0, in testDeleteUser()
715 mWatchdogPerfHandler.addResourceOveruseListener(FLAG_RESOURCE_OVERUSE_IO, in testResourceOveruseListener()
747 mWatchdogPerfHandler.addResourceOveruseListener(FLAG_RESOURCE_OVERUSE_IO, in testDuplicateAddResourceOveruseListener()
752 FLAG_RESOURCE_OVERUSE_IO, mockListener)); in testDuplicateAddResourceOveruseListener()
773 mWatchdogPerfHandler.addResourceOveruseListener(FLAG_RESOURCE_OVERUSE_IO, in testAddMultipleResourceOveruseListeners()
775 mWatchdogPerfHandler.addResourceOveruseListener(FLAG_RESOURCE_OVERUSE_IO, in testAddMultipleResourceOveruseListeners()
830 mWatchdogPerfHandler.addResourceOveruseListenerForSystem(FLAG_RESOURCE_OVERUSE_IO, in testResourceOveruseListenerForSystem()
864 sampleResourceOveruseConfigurations(), FLAG_RESOURCE_OVERUSE_IO)) in testSetResourceOveruseConfigurations()
886 sampleResourceOveruseConfigurations(), FLAG_RESOURCE_OVERUSE_IO)) in testSetResourceOveruseConfigurationsRetriedWithRepeatedRemoteException()
[all …]
DCarWatchdogServiceUnitTest.java29 import static android.car.watchdog.CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO;
638 mCarWatchdogService.getResourceOveruseStats(FLAG_RESOURCE_OVERUSE_IO, in testGetResourceOveruseStats()
641 verify(mMockWatchdogPerfHandler).getResourceOveruseStats(eq(FLAG_RESOURCE_OVERUSE_IO), in testGetResourceOveruseStats()
647 mCarWatchdogService.getAllResourceOveruseStats(FLAG_RESOURCE_OVERUSE_IO, in testGetAllResourceOveruseStats()
650 verify(mMockWatchdogPerfHandler).getAllResourceOveruseStats(eq(FLAG_RESOURCE_OVERUSE_IO), in testGetAllResourceOveruseStats()
658 "vendor_package.critical", userHandle, FLAG_RESOURCE_OVERUSE_IO, in testGetResourceOveruseStatsForUserPackage()
662 eq("vendor_package.critical"), eq(userHandle), eq(FLAG_RESOURCE_OVERUSE_IO), in testGetResourceOveruseStatsForUserPackage()
694 mCarWatchdogService.addResourceOveruseListener(FLAG_RESOURCE_OVERUSE_IO, mockListener); in testAddResourceOveruseListener()
696 verify(mMockWatchdogPerfHandler).addResourceOveruseListener(eq(FLAG_RESOURCE_OVERUSE_IO), in testAddResourceOveruseListener()
702 mCarWatchdogService.addResourceOveruseListenerForSystem(FLAG_RESOURCE_OVERUSE_IO, in testAddResourceOveruseListenerForSystem()
[all …]
/packages/services/Car/car-lib/src/android/car/watchdog/
DCarWatchdogManager.java300 FLAG_RESOURCE_OVERUSE_IO,
334 public static final int FLAG_RESOURCE_OVERUSE_IO = 1 << 0; field in CarWatchdogManager
927 if ((listenerInfo.resourceOveruseFlag & FLAG_RESOURCE_OVERUSE_IO) == 1) { in onResourceOveruse()
1031 private static final int[] RESOURCE_OVERUSE_FLAGS = new int[]{ FLAG_RESOURCE_OVERUSE_IO };
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/watchdog/
DCarWatchdogTestFragment.java304 CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO, in fetchInitialDiskIoStats()
337 mActivity.getMainExecutor(), CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO, listener); in addResourceOveruseListener()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogPerfHandler.java23 import static android.car.watchdog.CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO;
553 Preconditions.checkArgument((resourceOveruseFlag & FLAG_RESOURCE_OVERUSE_IO) != 0, in getResourceOveruseStats()
587 Preconditions.checkArgument((resourceOveruseFlag & FLAG_RESOURCE_OVERUSE_IO) != 0, in getAllResourceOveruseStats()
624 Preconditions.checkArgument((resourceOveruseFlag & FLAG_RESOURCE_OVERUSE_IO) != 0, in getResourceOveruseStatsForUserPackage()
1538 FLAG_RESOURCE_OVERUSE_IO, uid, genericPackageName, resourceOveruseStats); in notifyResourceOveruseStatsLocked()
1546 FLAG_RESOURCE_OVERUSE_IO, uid, genericPackageName, resourceOveruseStats); in notifyResourceOveruseStatsLocked()
2613 if ((resourceOveruseFlag & FLAG_RESOURCE_OVERUSE_IO) != 0 in toInternalResourceOveruseConfiguration()
2737 && (resourceOveruseFlag & FLAG_RESOURCE_OVERUSE_IO) != 0) { in toResourceOveruseConfiguration()
2808 if ((resourceOveruseFlag & FLAG_RESOURCE_OVERUSE_IO) != 0 in checkResourceOveruseConfig()
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java3543 CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO);
3552 CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO);
3573 CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO);
/packages/services/Car/car-lib/api/
Dcurrent.txt1074 field public static final int FLAG_RESOURCE_OVERUSE_IO = 1; // 0x1
Dlint-baseline.txt1858 UnflaggedApi: android.car.watchdog.CarWatchdogManager#FLAG_RESOURCE_OVERUSE_IO:
1859 …be flagged with @FlaggedApi: field android.car.watchdog.CarWatchdogManager.FLAG_RESOURCE_OVERUSE_IO
/packages/services/Car/car-lib-module/api/
Dcurrent.txt1074 field public static final int FLAG_RESOURCE_OVERUSE_IO = 1; // 0x1
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt2813 field TIRAMISU_0 int FLAG_RESOURCE_OVERUSE_IO = 1 << 0;