Home
last modified time | relevance | path

Searched refs:maxPendingTimeUs (Results 1 – 7 of 7) 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()
DPackageManagerService.java25150 pw.print("maxPendingTimeUs=" + item.maxPendingTimeUs);
28850 perUid.maxPendingTimeUs = perPackage.timeouts.maxPendingTimeUs;
/frameworks/base/services/tests/servicestests/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.cpp1367 auto maxPendingTimeUs = microseconds(0); in setUidReadTimeouts() local
1369 maxPendingTimeUs = std::max(maxPendingTimeUs, microseconds(timeouts.maxPendingTimeUs)); in setUidReadTimeouts()
1371 if (maxPendingTimeUs < Constants::minPerUidTimeout) { in setUidReadTimeouts()
1373 << duration_cast<milliseconds>(maxPendingTimeUs).count() << "ms < " in setUidReadTimeouts()
1389 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()