Home
last modified time | relevance | path

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

/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java84 private static final long SHORT_DURATION = TimeUnit.SECONDS.toMillis(1); field in PackageWatchdogTest
128 watchdog.startObservingHealth(observer1, Arrays.asList(APP_A), SHORT_DURATION); in testRegistration()
130 watchdog.startObservingHealth(observer2, Arrays.asList(APP_A, APP_B), SHORT_DURATION); in testRegistration()
161 Thread.sleep(SHORT_DURATION); in testRegistration()
193 watchdog.startObservingHealth(observer, Arrays.asList(APP_A), SHORT_DURATION); in testObserveAlreadyObservedPackage()
196 Thread.sleep(SHORT_DURATION / 2); in testObserveAlreadyObservedPackage()
200 watchdog.startObservingHealth(observer, Arrays.asList(APP_A), SHORT_DURATION); in testObserveAlreadyObservedPackage()
203 Thread.sleep((SHORT_DURATION / 2) + 1); in testObserveAlreadyObservedPackage()
220 watchdog1.startObservingHealth(observer1, Arrays.asList(APP_A), SHORT_DURATION); in testPersistence()
221 watchdog1.startObservingHealth(observer2, Arrays.asList(APP_A, APP_B), SHORT_DURATION); in testPersistence()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSignalTileView.java34 private static final long SHORT_DURATION = DEFAULT_DURATION / 3; field in SignalTileView
146 .setDuration(visible ? SHORT_DURATION : DEFAULT_DURATION) in setVisibility()