Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DAnomalyEventWrapperTest.java37 private AnomalyEventWrapper mAnomalyEventWrapper;
49 new AnomalyEventWrapper( in getDismissRecordKey_returnExpectedResult()
54 new AnomalyEventWrapper( in getDismissRecordKey_returnExpectedResult()
59 new AnomalyEventWrapper(mContext, BatteryTestUtils.createAppAnomalyEvent()); in getDismissRecordKey_returnExpectedResult()
DBatteryTipsControllerTest.java81 new AnomalyEventWrapper(mContext, event), false); in handleBatteryTipsCardUpdated_adaptiveBrightnessAnomaly_showAnomaly()
107 new AnomalyEventWrapper(mContext, event), false); in handleBatteryTipsCardUpdated_screenTimeoutAnomaly_showAnomaly()
138 new AnomalyEventWrapper(mContext, event), false); in handleBatteryTipsCardUpdated_screenTimeoutAnomalyHasTitle_showAnomaly()
160 AnomalyEventWrapper eventWrapper = new AnomalyEventWrapper(mContext, event); in handleBatteryTipsCardUpdated_appAnomaly_showAnomaly()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DPowerUsageAdvanced.java91 @VisibleForTesting Optional<AnomalyEventWrapper> mHighlightEventWrapper;
323 final AnomalyEventWrapper tipsCardEventWrapper = in onDisplayAnomalyEventUpdated()
326 : new AnomalyEventWrapper(getContext(), tipsCardEvent); in onDisplayAnomalyEventUpdated()
344 ? new AnomalyEventWrapper(getContext(), highlightEvent) in onDisplayAnomalyEventUpdated()
366 BatteryDiffEntry findRelatedBatteryDiffEntry(AnomalyEventWrapper eventWrapper) { in findRelatedBatteryDiffEntry()
DBatteryTipsController.java57 @VisibleForTesting AnomalyEventWrapper mAnomalyEventWrapper = null;
104 AnomalyEventWrapper anomalyEventWrapper, boolean isAcceptable) { in handleBatteryTipsCardUpdated()
DAnomalyEventWrapper.java34 final class AnomalyEventWrapper { class
47 AnomalyEventWrapper(Context context, PowerAnomalyEvent powerAnomalyEvent) { in AnomalyEventWrapper() method in AnomalyEventWrapper
DBatteryUsageBreakdownController.java265 Optional<AnomalyEventWrapper> optionalAnomalyEventWrapper) { in handleBatteryUsageUpdated()
271 final AnomalyEventWrapper anomalyEventWrapper = in handleBatteryUsageUpdated()