Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DBatteryTestUtils.java219 .addPowerAnomalyEvents(0, createAdaptiveBrightnessAnomalyEvent()) in createNonEmptyPowerAnomalyEventList()
225 public static PowerAnomalyEvent createAdaptiveBrightnessAnomalyEvent() { in createAdaptiveBrightnessAnomalyEvent() method in BatteryTestUtils
226 return createAdaptiveBrightnessAnomalyEvent(false); in createAdaptiveBrightnessAnomalyEvent()
230 public static PowerAnomalyEvent createAdaptiveBrightnessAnomalyEvent(boolean changeSettings) { in createAdaptiveBrightnessAnomalyEvent() method in BatteryTestUtils
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DPowerUsageAdvancedTest.java113 assertThat(cardEvent).isEqualTo(BatteryTestUtils.createAdaptiveBrightnessAnomalyEvent()); in getFilterAnomalyEvent_withoutDismissed_getHighestScoreEvent()
155 final PowerAnomalyEvent event = BatteryTestUtils.createAdaptiveBrightnessAnomalyEvent(); in onDisplayAnomalyEventUpdated_withSettingsAnomalyEvent_skipHighlightSlotEffect()
194 BatteryTestUtils.createAdaptiveBrightnessAnomalyEvent(); in onDisplayAnomalyEventUpdated_withSettingsCardAndAppsSlotEvent_showExpected()
DAnomalyEventWrapperTest.java50 mContext, BatteryTestUtils.createAdaptiveBrightnessAnomalyEvent()); in getDismissRecordKey_returnExpectedResult()
DBatteryTipsCardPreferenceTest.java109 BatteryTestUtils.createAdaptiveBrightnessAnomalyEvent(/* changeSettings= */ false); in onClick_mainBtnOfSettingsAnomalyLaunchPage_getAdaptiveBrightnessLauncher()
150 BatteryTestUtils.createAdaptiveBrightnessAnomalyEvent(/* changeSettings= */ true); in onClick_mainBtnOfSettingsAnomalyChangeSettings_settingsChanged()
DBatteryTipsControllerTest.java77 PowerAnomalyEvent event = BatteryTestUtils.createAdaptiveBrightnessAnomalyEvent(); in handleBatteryTipsCardUpdated_adaptiveBrightnessAnomaly_showAnomaly()