Home
last modified time | relevance | path

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

/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java564 TestObserver observerSecond = new TestObserver(OBSERVER_NAME_2, in testPackageFailureNotifyLeastImpactSuccessively() local
569 watchdog.startObservingHealth(observerSecond, Arrays.asList(APP_A), LONG_DURATION); in testPackageFailureNotifyLeastImpactSuccessively()
578 assertThat(observerSecond.mMitigatedPackages).isEmpty(); in testPackageFailureNotifyLeastImpactSuccessively()
583 observerSecond.mMitigatedPackages.clear(); in testPackageFailureNotifyLeastImpactSuccessively()
591 assertThat(observerSecond.mMitigatedPackages).containsExactly(APP_A); in testPackageFailureNotifyLeastImpactSuccessively()
595 observerSecond.mImpact = PackageHealthObserverImpact.USER_IMPACT_LEVEL_0; in testPackageFailureNotifyLeastImpactSuccessively()
597 observerSecond.mMitigatedPackages.clear(); in testPackageFailureNotifyLeastImpactSuccessively()
606 assertThat(observerSecond.mMitigatedPackages).isEmpty(); in testPackageFailureNotifyLeastImpactSuccessively()
611 observerSecond.mMitigatedPackages.clear(); in testPackageFailureNotifyLeastImpactSuccessively()
620 assertThat(observerSecond.mMitigatedPackages).isEmpty(); in testPackageFailureNotifyLeastImpactSuccessively()
[all …]