Searched refs:SHORT_DURATION (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tests/PackageWatchdog/src/com/android/server/ |
D | PackageWatchdogTest.java | 104 private static final long SHORT_DURATION = TimeUnit.SECONDS.toMillis(10); field in PackageWatchdogTest 217 watchdog.startObservingHealth(observer, Arrays.asList(APP_A), SHORT_DURATION); in testRegistration_singleObserver() 233 watchdog.startObservingHealth(observer1, Arrays.asList(APP_A), SHORT_DURATION); in testRegistration_multiObservers() 234 watchdog.startObservingHealth(observer2, Arrays.asList(APP_A, APP_B), SHORT_DURATION); in testRegistration_multiObservers() 251 watchdog.startObservingHealth(observer, Arrays.asList(APP_A), SHORT_DURATION); in testUnregistration_singleObserver() 267 watchdog.startObservingHealth(observer1, Arrays.asList(APP_A), SHORT_DURATION); in testUnregistration_multiObservers() 268 watchdog.startObservingHealth(observer2, Arrays.asList(APP_A), SHORT_DURATION); in testUnregistration_multiObservers() 285 watchdog.startObservingHealth(observer, Arrays.asList(APP_A), SHORT_DURATION); in testExpiration_singleObserver() 286 moveTimeForwardAndDispatch(SHORT_DURATION); in testExpiration_singleObserver() 301 watchdog.startObservingHealth(observer1, Arrays.asList(APP_A), SHORT_DURATION); in testExpiration_multiObservers() [all …]
|
D | CrashRecoveryTest.java | 97 private static final long SHORT_DURATION = TimeUnit.SECONDS.toMillis(1); field in CrashRecoveryTest 607 packageConfigs.add(new PackageConfig(packageName, SHORT_DURATION)); in syncRequests()
|