Home
last modified time | relevance | path

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

/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java1214 TestObserver bootObserver = new TestObserver(OBSERVER_NAME_1); in testBootLoopDetection_meetsThreshold() local
1215 watchdog.registerHealthObserver(bootObserver); in testBootLoopDetection_meetsThreshold()
1219 assertThat(bootObserver.mitigatedBootLoop()).isTrue(); in testBootLoopDetection_meetsThreshold()
1225 TestObserver bootObserver = new TestObserver(OBSERVER_NAME_1); in testBootLoopDetection_meetsThresholdRecoverability() local
1226 watchdog.registerHealthObserver(bootObserver); in testBootLoopDetection_meetsThresholdRecoverability()
1230 assertThat(bootObserver.mitigatedBootLoop()).isTrue(); in testBootLoopDetection_meetsThresholdRecoverability()
1240 TestObserver bootObserver = new TestObserver(OBSERVER_NAME_1); in testBootLoopDetection_doesNotMeetThreshold() local
1241 watchdog.registerHealthObserver(bootObserver); in testBootLoopDetection_doesNotMeetThreshold()
1245 assertThat(bootObserver.mitigatedBootLoop()).isFalse(); in testBootLoopDetection_doesNotMeetThreshold()
1255 TestObserver bootObserver = new TestObserver(OBSERVER_NAME_1, in testBootLoopDetection_doesNotMeetThresholdRecoverabilityLowImpact() local
[all …]