Searched refs:bootObserver (Results 1 – 1 of 1) sorted by relevance
1045 TestObserver bootObserver = new TestObserver(OBSERVER_NAME_1); in testBootLoopDetection_meetsThreshold() local1046 watchdog.registerHealthObserver(bootObserver); in testBootLoopDetection_meetsThreshold()1050 assertThat(bootObserver.mitigatedBootLoop()).isTrue(); in testBootLoopDetection_meetsThreshold()1061 TestObserver bootObserver = new TestObserver(OBSERVER_NAME_1); in testBootLoopDetection_doesNotMeetThreshold() local1062 watchdog.registerHealthObserver(bootObserver); in testBootLoopDetection_doesNotMeetThreshold()1066 assertThat(bootObserver.mitigatedBootLoop()).isFalse(); in testBootLoopDetection_doesNotMeetThreshold()1094 TestObserver bootObserver = new TestObserver(OBSERVER_NAME_1); in testMultipleBootLoopMitigation() local1095 watchdog.registerHealthObserver(bootObserver); in testMultipleBootLoopMitigation()1110 assertThat(bootObserver.mBootMitigationCounts).isEqualTo(List.of(1, 2, 3, 4, 1, 2, 3, 4)); in testMultipleBootLoopMitigation()