Home
last modified time | relevance | path

Searched refs:IoOveruseStats (Results 1 – 25 of 38) sorted by relevance

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DIoOveruseStatsSubject.java22 import android.car.watchdog.IoOveruseStats;
32 IoOveruseStats> IO_OVERUSE_STATS_SUBJECT_FACTORY =
35 private final IoOveruseStats mActual;
38 public static IoOveruseStatsSubject assertThat(@Nullable IoOveruseStats stats) { in assertThat()
42 public static SimpleSubjectBuilder<IoOveruseStatsSubject, IoOveruseStats> assertWithMessage( in assertWithMessage()
48 public static Subject.Factory<IoOveruseStatsSubject, IoOveruseStats> ioOveruseStats() { in ioOveruseStats()
53 @Nullable IoOveruseStats subject) { in IoOveruseStatsSubject()
59 public void isEqualTo(IoOveruseStats expected) { in isEqualTo()
79 public static boolean isEquals(IoOveruseStats actual, IoOveruseStats expected) { in isEquals()
DWatchdogStorageUnitTest.java46 import android.car.watchdog.IoOveruseStats;
339 IoOveruseStats actual = mService.getHistoricalIoOveruseStats( in testGetHistoricalIoOveruseStats()
350 IoOveruseStats expected = new IoOveruseStats.Builder(startTime, duration) in testGetHistoricalIoOveruseStats()
383 IoOveruseStats actual = mService.getHistoricalIoOveruseStats( in testGetHistoricalIoOveruseStatsWithNoRecentStats()
394 IoOveruseStats expected = new IoOveruseStats.Builder(startTime, duration) in testGetHistoricalIoOveruseStatsWithNoRecentStats()
677 IoOveruseStats actual = mService.getHistoricalIoOveruseStats( in testDeleteUserPackageWithHistoricalIoOveruseStats()
725 IoOveruseStats actualSystemPackage = mService.getHistoricalIoOveruseStats( in testSyncUsersWithHistoricalIoOveruseStats()
727 IoOveruseStats actualVendorPackage = mService.getHistoricalIoOveruseStats( in testSyncUsersWithHistoricalIoOveruseStats()
766 IoOveruseStats actual = mService.getHistoricalIoOveruseStats( in testTruncateStatsOutsideRetentionPeriodOnDateChange()
774 IoOveruseStats expected = new IoOveruseStats.Builder(startTime, duration) in testTruncateStatsOutsideRetentionPeriodOnDateChange()
[all …]
DIoUsageStatsEntrySubject.java22 import android.automotive.watchdog.IoOveruseStats;
89 private static boolean isEqualsIoOveruseStats(android.automotive.watchdog.IoOveruseStats actual, in isEqualsIoOveruseStats()
90 android.automotive.watchdog.IoOveruseStats expected) { in isEqualsIoOveruseStats()
137 IoOveruseStats stats) { in toStringBuilder()
DWatchdogPerfHandlerUnitTest.java100 import android.car.watchdog.IoOveruseStats;
2145 IoOveruseStats thirdPartyPkgOldStats = new IoOveruseStats.Builder( in testGetAllResourceOveruseStatsWithNoMinimumForPast7days()
2152 IoOveruseStats vendorPkgOldStats = new IoOveruseStats.Builder( in testGetAllResourceOveruseStatsWithNoMinimumForPast7days()
2162 IoOveruseStats thirdPartyIoStats = new IoOveruseStats.Builder( in testGetAllResourceOveruseStatsWithNoMinimumForPast7days()
2168 IoOveruseStats vendorIoStats = new IoOveruseStats.Builder( in testGetAllResourceOveruseStatsWithNoMinimumForPast7days()
2329 IoOveruseStats thirdPartyPkgOldStats = new IoOveruseStats.Builder( in testGetAllResourceOveruseStatsWithMinimumForPast7days()
2336 IoOveruseStats vendorPkgOldStats = new IoOveruseStats.Builder( in testGetAllResourceOveruseStatsWithMinimumForPast7days()
2347 IoOveruseStats vendorIoStats = new IoOveruseStats.Builder( in testGetAllResourceOveruseStatsWithMinimumForPast7days()
2396 doReturn(new IoOveruseStats.Builder(startTime, duration).setTotalOveruses(5) in testGetResourceOveruseStatsForPast7days()
2409 IoOveruseStats ioOveruseStats = in testGetResourceOveruseStatsForPast7days()
[all …]
DCarWatchdogManagerUnitTest.java48 import android.car.watchdog.IoOveruseStats;
681 IoOveruseStats ioOveruseStats = in testIoOveruseStatsDescribeContent()
682 new IoOveruseStats.Builder(0, 10).setStartTime(1).setDurationInSeconds(5).build(); in testIoOveruseStatsDescribeContent()
763 IoOveruseStats.Builder ioOveruseStatsBuilder = new IoOveruseStats.Builder(0, 120) in setIoOveruseStats()
/packages/services/Car/car-lib/src/android/car/watchdog/
DIoOveruseStats.java32 public final class IoOveruseStats implements Parcelable { class
93 /* package-private */ IoOveruseStats( in IoOveruseStats() method in IoOveruseStats
220 /* package-private */ IoOveruseStats(@NonNull android.os.Parcel in) { in IoOveruseStats() method in IoOveruseStats
247 public static final @NonNull Parcelable.Creator<IoOveruseStats> CREATOR
248 = new Parcelable.Creator<IoOveruseStats>() {
250 public IoOveruseStats[] newArray(int size) {
251 return new IoOveruseStats[size];
255 public IoOveruseStats createFromParcel(@NonNull android.os.Parcel in) {
256 return new IoOveruseStats(in);
379 public @NonNull IoOveruseStats build() { in build()
[all …]
DResourceOveruseStats.java51 private @Nullable IoOveruseStats mIoOveruseStats = null;
73 @Nullable IoOveruseStats ioOveruseStats) { in ResourceOveruseStats()
111 public @Nullable IoOveruseStats getIoOveruseStats() { in getIoOveruseStats()
156IoOveruseStats ioOveruseStats = (flg & 0x4) == 0 ? null : (IoOveruseStats) in.readTypedObject(IoOv… in ResourceOveruseStats()
193 private @Nullable IoOveruseStats mIoOveruseStats;
251 public @NonNull Builder setIoOveruseStats(@NonNull IoOveruseStats value) { in setIoOveruseStats()
DIoOveruseStats.aidl19 parcelable IoOveruseStats;
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/
DResourceOveruseStats.aidl19 import android.automotive.watchdog.IoOveruseStats;
29 IoOveruseStats ioOveruseStats;
DIoOveruseStats.aidl25 parcelable IoOveruseStats {
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/
DPackageIoOveruseStats.aidl19 import android.automotive.watchdog.IoOveruseStats;
44 IoOveruseStats ioOveruseStats;
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogPerfHandler.java87 import android.car.watchdog.IoOveruseStats;
595 IoOveruseStats ioOveruseStats = in getAllResourceOveruseStats()
1053 android.automotive.watchdog.IoOveruseStats internalIoUsage = in getTodayIoUsageStats()
1577 android.automotive.watchdog.IoOveruseStats internalStats, in cacheAndFetchUsageLocked()
1591 private IoOveruseStats getIoOveruseStatsForPeriod(int userId, String genericPackageName, in getIoOveruseStatsForPeriod()
1604 private IoOveruseStats getIoOveruseStatsLocked(PackageResourceUsage usage, in getIoOveruseStatsLocked()
1613 IoOveruseStats currentStats = usage.getIoOveruseStats(); in getIoOveruseStatsLocked()
1616 IoOveruseStats historyStats = null; in getIoOveruseStatsLocked()
1628 IoOveruseStats.Builder statsBuilder = new IoOveruseStats.Builder( in getIoOveruseStatsLocked()
2464 proto.write(PerformanceDump.IoOveruseStats.KILLABLE_ON_OVERUSE, in dumpUsageByUserPackageLocked()
[all …]
DWatchdogStorage.java27 import android.car.watchdog.IoOveruseStats;
306 public IoOveruseStats getHistoricalIoOveruseStats(@UserIdInt int userId, String packageName, in getHistoricalIoOveruseStats()
480 android.automotive.watchdog.IoOveruseStats ioOveruseStats = in saveIoUsageStats()
936 android.automotive.watchdog.IoOveruseStats ioOveruseStats = in getContentValues()
992 android.automotive.watchdog.IoOveruseStats ioOveruseStats = in queryStats()
993 new android.automotive.watchdog.IoOveruseStats(); in queryStats()
1020 public static @Nullable IoOveruseStats queryIoOveruseStatsForUserPackageId( in queryIoOveruseStatsForUserPackageId()
1056 IoOveruseStats.Builder statsBuilder = new IoOveruseStats.Builder( in queryIoOveruseStatsForUserPackageId()
/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseMonitor.h105 aidl::android::automotive::watchdog::IoOveruseStats* ioOveruseStats) const = 0;
222 aidl::android::automotive::watchdog::IoOveruseStats* ioOveruseStats) const override;
265 const std::unordered_map<uid_t, aidl::android::automotive::watchdog::IoOveruseStats>&
DWatchdogBinderMediator.cpp35 using ::aidl::android::automotive::watchdog::IoOveruseStats;
224 IoOveruseStats ioOveruseStats; in getResourceOveruseStats()
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/3/android/automotive/watchdog/
DResourceOveruseStats.aidl37 android.automotive.watchdog.IoOveruseStats ioOveruseStats;
DIoOveruseStats.aidl36 parcelable IoOveruseStats {
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/current/android/automotive/watchdog/
DResourceOveruseStats.aidl37 android.automotive.watchdog.IoOveruseStats ioOveruseStats;
DIoOveruseStats.aidl36 parcelable IoOveruseStats {
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/2/android/automotive/watchdog/internal/
DPackageIoOveruseStats.aidl39 android.automotive.watchdog.IoOveruseStats ioOveruseStats;
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/3/android/automotive/watchdog/internal/
DPackageIoOveruseStats.aidl39 android.automotive.watchdog.IoOveruseStats ioOveruseStats;
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/1/android/automotive/watchdog/internal/
DPackageIoOveruseStats.aidl39 android.automotive.watchdog.IoOveruseStats ioOveruseStats;
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/current/android/automotive/watchdog/internal/
DPackageIoOveruseStats.aidl39 android.automotive.watchdog.IoOveruseStats ioOveruseStats;
/packages/services/Car/cpp/watchdog/server/tests/
DIoOveruseMonitorTest.cpp38 using ::aidl::android::automotive::watchdog::IoOveruseStats;
98 IoOveruseStats constructIoOveruseStats(const bool isKillable, const PerStateBytes& remaining, in constructIoOveruseStats()
101 IoOveruseStats stats; in constructIoOveruseStats()
112 ResourceOveruseStats constructResourceOveruseStats(IoOveruseStats ioOveruseStats) { in constructResourceOveruseStats()
1100 IoOveruseStats actual; in TEST_F()
1124 IoOveruseStats actual; in TEST_F()
1164 IoOveruseStats actual; in TEST_F()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/watchdog/
DCarWatchdogTestFragment.java22 import android.car.watchdog.IoOveruseStats;
308 IoOveruseStats ioOveruseStats = resourceOveruseStats.getIoOveruseStats(); in fetchInitialDiskIoStats()
488 IoOveruseStats ioOveruseStats = resourceOveruseStats.getIoOveruseStats(); in onOveruse()

12