/packages/services/Car/cpp/watchdog/server/tests/ |
D | IoOveruseMonitorTest.cpp | 75 IoOveruseAlertThreshold toIoOveruseAlertThreshold(const int64_t durationInSeconds, in toIoOveruseAlertThreshold() argument 78 threshold.durationInSeconds = durationInSeconds; in toIoOveruseAlertThreshold() 100 const int64_t startTime, const int64_t durationInSeconds) { in constructIoOveruseStats() argument 105 stats.durationInSeconds = durationInSeconds; in constructIoOveruseStats() 121 const int totalOveruses, const int64_t startTime, const int64_t durationInSeconds) { in constructPackageIoOveruseStats() argument 127 startTime, durationInSeconds); in constructPackageIoOveruseStats() 369 const auto [startTime, durationInSeconds] = calculateStartAndDuration(currentTime); in TEST_F() 381 /*totalOveruses=*/0, startTime, durationInSeconds), in TEST_F() 387 /*totalOveruses=*/0, startTime, durationInSeconds), in TEST_F() 395 /*totalOveruses=*/1, startTime, durationInSeconds)}; in TEST_F() [all …]
|
D | OveruseConfigurationTestUtils.cpp | 150 IoOveruseAlertThreshold toIoOveruseAlertThreshold(const int64_t durationInSeconds, in toIoOveruseAlertThreshold() argument 153 threshold.durationInSeconds = durationInSeconds; in toIoOveruseAlertThreshold()
|
D | OveruseConfigurationTestUtils.h | 86 const int64_t durationInSeconds, const int64_t writtenBytesPerSecond);
|
D | WatchdogBinderMediatorTest.cpp | 266 ioOveruseStats.durationInSeconds = 12345; in TEST_F()
|
D | WatchdogServiceHelperTest.cpp | 531 stats.ioOveruseStats.durationInSeconds = 12345; in TEST_F()
|
/packages/services/Car/car-lib/src/android/car/watchdog/ |
D | IoOveruseAlertThreshold.java | 66 @SuppressLint({ "MethodNameUnits" }) long durationInSeconds, in IoOveruseAlertThreshold() 68 this.mDurationInSeconds = durationInSeconds; 111 long durationInSeconds = in.readLong(); in IoOveruseAlertThreshold() local 114 this.mDurationInSeconds = durationInSeconds; in IoOveruseAlertThreshold()
|
D | IoOveruseStats.java | 95 long durationInSeconds, in IoOveruseStats() argument 102 this.mDurationInSeconds = durationInSeconds; in IoOveruseStats() 227 long durationInSeconds = in.readLong(); in IoOveruseStats() local 234 this.mDurationInSeconds = durationInSeconds; in IoOveruseStats() 288 long durationInSeconds) { in Builder() argument 290 mDurationInSeconds = durationInSeconds; in Builder()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | IoUsageStatsEntrySubject.java | 98 && actual.durationInSeconds == expected.durationInSeconds in isEqualsIoOveruseStats() 145 .append(", Duration: ").append(stats.durationInSeconds).append(" seconds") in toStringBuilder()
|
D | InternalIoOveruseConfigurationSubject.java | 115 builder.append("{durationInSeconds: ").append(threshold.durationInSeconds) in toString() 151 return thresholds.stream().map(x -> String.format("%d:%d", x.durationInSeconds, in toAlertThresholdStrings()
|
D | WatchdogStorageUnitTest.java | 1050 stats.durationInSeconds = duration; in constructInternalIoOveruseStats()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | IoOveruseMonitor.cpp | 280 const auto [startTime, durationInSeconds] = calculateStartAndDuration(curGmt); in onPeriodicCollection() 334 stats.ioOveruseStats.durationInSeconds = durationInSeconds; in onPeriodicCollection() 441 if (accountedDurationInSecs >= threshold.durationInSeconds) { in onPeriodicMonitor() 448 threshold.durationInSeconds > accountedDurationInSecs) { in onPeriodicMonitor() 689 const auto [startTime, durationInSeconds] = in getIoOveruseStats() 692 ioOveruseStats->durationInSeconds = durationInSeconds; in getIoOveruseStats()
|
D | IoOveruseConfigs.cpp | 108 if (threshold.durationInSeconds <= 0) { in containsValidThreshold() 347 return std::hash<std::string>{}(std::to_string(threshold.durationInSeconds)); in operator ()() 352 return l.durationInSeconds == r.durationInSeconds; in operator ()() 399 alertThreshold.durationInSeconds, it->writtenBytesPerSecond); in updateAlertThresholds()
|
D | OveruseConfigurationXmlHelper.cpp | 367 alertThreshold.durationInSeconds = value; in readIoOveruseAlertThreshold() 620 writeParamElement(kParamIdDurationSeconds, alertThresholds.durationInSeconds); in writeAlertThresholds()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | WifiDownloadReceiver.java | 95 int durationInSeconds = (int) (durationInMilliSeconds / 1000); in getDownloadRate() local 96 return (mBytesCount / durationInSeconds); in getDownloadRate()
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/current/android/automotive/watchdog/internal/ |
D | IoOveruseAlertThreshold.aidl | 36 long durationInSeconds;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/1/android/automotive/watchdog/internal/ |
D | IoOveruseAlertThreshold.aidl | 36 long durationInSeconds;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/2/android/automotive/watchdog/internal/ |
D | IoOveruseAlertThreshold.aidl | 36 long durationInSeconds;
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/ |
D | IoOveruseAlertThreshold.aidl | 27 long durationInSeconds;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/3/android/automotive/watchdog/internal/ |
D | IoOveruseAlertThreshold.aidl | 36 long durationInSeconds;
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/ |
D | IoOveruseStats.aidl | 44 long durationInSeconds;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/3/android/automotive/watchdog/ |
D | IoOveruseStats.aidl | 40 long durationInSeconds;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/current/android/automotive/watchdog/ |
D | IoOveruseStats.aidl | 40 long durationInSeconds;
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListSwipeHelper.java | 432 final float durationInSeconds = Math.abs(deltaPosition / velocity); in calculateTranslationDuration() local 433 return Math.min((int) (durationInSeconds * UNIT_SECONDS), mMaxTranslationAnimationDuration); in calculateTranslationDuration()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | WatchdogStorage.java | 995 ioOveruseStats.durationInSeconds = in queryStats() 1055 long durationInSeconds = excludingEndEpochSeconds - earliestEpochSecond; in queryIoOveruseStatsForUserPackageId() local 1057 earliestEpochSecond, durationInSeconds); in queryIoOveruseStatsForUserPackageId()
|
D | WatchdogPerfHandler.java | 2471 packageIoUsage.mIoOveruseStats.durationInSeconds); in dumpUsageByUserPackageLocked() 2543 return new IoOveruseStats.Builder(internalStats.startTime, internalStats.durationInSeconds) in toIoOveruseStatsBuilder() 2701 internalThreshold.durationInSeconds = thresholds.get(i).getDurationInSeconds(); in toInternalIoOveruseAlertThresholds() 2780 thresholds.add(new IoOveruseAlertThreshold(internalThresholds.get(i).durationInSeconds, in toIoOveruseAlertThresholds()
|