Home
last modified time | relevance | path

Searched refs:maxPendingTimeUs (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPerPackageReadTimeouts.java51 public final long maxPendingTimeUs; field in PerPackageReadTimeouts.Timeouts
56 private Timeouts(long minTimeUs, long minPendingTimeUs, long maxPendingTimeUs) { in Timeouts() argument
59 this.maxPendingTimeUs = maxPendingTimeUs; in Timeouts()
69 final long maxPendingTimeUs = tryParseLong(splits[2], DEFAULT.maxPendingTimeUs); in parse() local
71 && minPendingTimeUs <= maxPendingTimeUs) { in parse()
73 return new Timeouts(minTimeUs, minPendingTimeUs, maxPendingTimeUs); in parse()
DDumpHelper.java585 pw.print("maxPendingTimeUs=" + item.maxPendingTimeUs); in doDump()
DPackageManagerService.java7700 perUid.maxPendingTimeUs = perPackage.timeouts.maxPendingTimeUs; in parsePerUidReadTimeouts()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerServiceTest.java209 Assert.assertEquals(3600000003L, defaults.maxPendingTimeUs); in testTimeouts()
214 Assert.assertEquals(3600000000L, empty.maxPendingTimeUs); in testTimeouts()
219 Assert.assertEquals(3600000000L, partial0.maxPendingTimeUs); in testTimeouts()
224 Assert.assertEquals(3600000000L, partial1.maxPendingTimeUs); in testTimeouts()
229 Assert.assertEquals(3600000000L, fullDefault.maxPendingTimeUs); in testTimeouts()
234 Assert.assertEquals(10002L, full.maxPendingTimeUs); in testTimeouts()
239 Assert.assertEquals(3600000000L, invalid0.maxPendingTimeUs); in testTimeouts()
244 Assert.assertEquals(3600000000L, invalid1.maxPendingTimeUs); in testTimeouts()
249 Assert.assertEquals(3600000000L, invalid2.maxPendingTimeUs); in testTimeouts()
254 Assert.assertEquals(3600000000L, invalid3.maxPendingTimeUs); in testTimeouts()
[all …]
/frameworks/base/core/java/android/os/incremental/
DPerUidReadTimeouts.aidl44 long maxPendingTimeUs;
/frameworks/base/services/incremental/
DServiceWrappers.cpp254 timeout.maxPendingTimeUs = perUidTimeout.maxPendingTimeUs; in setUidReadTimeouts()
DIncrementalService.cpp1387 auto maxPendingTimeUs = microseconds(0); in setUidReadTimeouts() local
1389 maxPendingTimeUs = std::max(maxPendingTimeUs, microseconds(timeouts.maxPendingTimeUs)); in setUidReadTimeouts()
1391 if (maxPendingTimeUs < Constants::minPerUidTimeout) { in setUidReadTimeouts()
1393 << duration_cast<milliseconds>(maxPendingTimeUs).count() << "ms < " in setUidReadTimeouts()
1409 const auto timeout = Clock::now() + maxPendingTimeUs - Constants::perUidTimeoutOffset; in setUidReadTimeouts()
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp2052 timeouts.maxPendingTimeUs = std::get<3>(tuple); in createPerUidTimeouts()