Home
last modified time | relevance | path

Searched refs:mitigationCalls (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java1478 LongArrayQueue mitigationCalls = new LongArrayQueue(); in testNormalizingMitigationCalls() local
1479 mitigationCalls.addLast(1000); in testNormalizingMitigationCalls()
1480 mitigationCalls.addLast(2000); in testNormalizingMitigationCalls()
1481 mitigationCalls.addLast(3000); in testNormalizingMitigationCalls()
1484 "test", 123, 456, true, mitigationCalls); in testNormalizingMitigationCalls()
1491 assertThat(expectedCalls.size()).isEqualTo(mitigationCalls.size()); in testNormalizingMitigationCalls()
1493 for (int i = 0; i < mitigationCalls.size(); i++) { in testNormalizingMitigationCalls()
1494 assertThat(expectedCalls.get(i)).isEqualTo(mitigationCalls.get(i) - 10000); in testNormalizingMitigationCalls()
1506 LongArrayQueue mitigationCalls = new LongArrayQueue(); in testWritingAndReadingMonitoredPackage() local
1507 mitigationCalls.addLast(1000); in testWritingAndReadingMonitoredPackage()
[all …]
/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java1500 boolean hasPassedHealthCheck, LongArrayQueue mitigationCalls) { in newMonitoredPackage() argument
1502 hasPassedHealthCheck, mitigationCalls); in newMonitoredPackage()
1512 LongArrayQueue mitigationCalls = parseLongArrayQueue( in parseMonitoredPackage() local
1515 duration, healthCheckDuration, hasPassedHealthCheck, mitigationCalls); in parseMonitoredPackage()
1556 LongArrayQueue mitigationCalls) { in MonitoredPackage() argument
1561 mMitigationCalls = mitigationCalls; in MonitoredPackage()