Searched refs:mEnhancedEstimates (Results 1 – 2 of 2) sorted by relevance
94 private final EnhancedEstimates mEnhancedEstimates; field in PowerUI166 mEnhancedEstimates = enhancedEstimates; in PowerUI()381 final boolean hybridEnabled = mEnhancedEstimates.isHybridNotificationEnabled(); in maybeShowBatteryWarningV2()398 mEnhancedEstimates.getSevereWarningThreshold(), in maybeShowBatteryWarningV2()399 mEnhancedEstimates.getLowWarningThreshold(), estimate.isBasedOnUsage(), in maybeShowBatteryWarningV2()400 mEnhancedEstimates.getLowWarningEnabled()); in maybeShowBatteryWarningV2()420 final Estimate estimate = mEnhancedEstimates.getEstimate(); in refreshEstimateIfNeeded()
87 @Mock private EnhancedEstimates mEnhancedEstimates; field in PowerUITest539 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()540 when(mEnhancedEstimates.getLowWarningThreshold()).thenReturn(PowerUI.THREE_HOURS_IN_MILLIS); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()541 when(mEnhancedEstimates.getSevereWarningThreshold()).thenReturn(ONE_HOUR_MILLIS); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()542 when(mEnhancedEstimates.getEstimate()).thenReturn(estimate); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()556 when(mEnhancedEstimates.getEstimate()).thenReturn(estimate); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()566 when(mEnhancedEstimates.getEstimate()).thenReturn(estimate); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()705 mEnhancedEstimates, in createPowerUi()