Searched refs:observerFirst (Results 1 – 1 of 1) sorted by relevance
562 TestObserver observerFirst = new TestObserver(OBSERVER_NAME_1, in testPackageFailureNotifyLeastImpactSuccessively() local568 watchdog.startObservingHealth(observerFirst, Arrays.asList(APP_A), LONG_DURATION); in testPackageFailureNotifyLeastImpactSuccessively()577 assertThat(observerFirst.mMitigatedPackages).containsExactly(APP_A); in testPackageFailureNotifyLeastImpactSuccessively()581 observerFirst.mImpact = PackageHealthObserverImpact.USER_IMPACT_LEVEL_100; in testPackageFailureNotifyLeastImpactSuccessively()582 observerFirst.mMitigatedPackages.clear(); in testPackageFailureNotifyLeastImpactSuccessively()592 assertThat(observerFirst.mMitigatedPackages).isEmpty(); in testPackageFailureNotifyLeastImpactSuccessively()596 observerFirst.mMitigatedPackages.clear(); in testPackageFailureNotifyLeastImpactSuccessively()605 assertThat(observerFirst.mMitigatedPackages).containsExactly(APP_A); in testPackageFailureNotifyLeastImpactSuccessively()609 observerFirst.mImpact = PackageHealthObserverImpact.USER_IMPACT_LEVEL_0; in testPackageFailureNotifyLeastImpactSuccessively()610 observerFirst.mMitigatedPackages.clear(); in testPackageFailureNotifyLeastImpactSuccessively()[all …]