Searched refs:observerFirst (Results 1 – 1 of 1) sorted by relevance
418 TestObserver observerFirst = new TestObserver(OBSERVER_NAME_1, in testPackageFailureNotifyLeastImpactSuccessively() local424 watchdog.startObservingHealth(observerFirst, Arrays.asList(APP_A), LONG_DURATION); in testPackageFailureNotifyLeastImpactSuccessively()436 assertEquals(1, observerFirst.mFailedPackages.size()); in testPackageFailureNotifyLeastImpactSuccessively()437 assertEquals(APP_A, observerFirst.mFailedPackages.get(0)); in testPackageFailureNotifyLeastImpactSuccessively()441 observerFirst.mImpact = PackageHealthObserverImpact.USER_IMPACT_HIGH; in testPackageFailureNotifyLeastImpactSuccessively()442 observerFirst.mFailedPackages.clear(); in testPackageFailureNotifyLeastImpactSuccessively()456 assertEquals(0, observerFirst.mFailedPackages.size()); in testPackageFailureNotifyLeastImpactSuccessively()460 observerFirst.mFailedPackages.clear(); in testPackageFailureNotifyLeastImpactSuccessively()472 assertEquals(1, observerFirst.mFailedPackages.size()); in testPackageFailureNotifyLeastImpactSuccessively()473 assertEquals(APP_A, observerFirst.mFailedPackages.get(0)); in testPackageFailureNotifyLeastImpactSuccessively()[all …]