Searched refs:mEnhancedEstimates (Results 1 – 3 of 3) sorted by relevance
79 private EnhancedEstimates mEnhancedEstimates; field in PowerUI105 mEnhancedEstimates = Dependency.get(EnhancedEstimates.class); in start()296 final boolean hybridEnabled = mEnhancedEstimates.isHybridNotificationEnabled(); in maybeShowBatteryWarningV2()313 mEnhancedEstimates.getSevereWarningThreshold(), in maybeShowBatteryWarningV2()314 mEnhancedEstimates.getLowWarningThreshold(), estimate.isBasedOnUsage(), in maybeShowBatteryWarningV2()315 mEnhancedEstimates.getLowWarningEnabled()); in maybeShowBatteryWarningV2()339 final Estimate estimate = mEnhancedEstimates.getEstimate(); in refreshEstimateIfNeeded()
78 private EnhancedEstimates mEnhancedEstimates; field in PowerUITest88 mEnhancedEstimates = mDependency.injectMockDependency(EnhancedEstimates.class); in setup()510 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()511 when(mEnhancedEstimates.getLowWarningThreshold()).thenReturn(PowerUI.THREE_HOURS_IN_MILLIS); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()512 when(mEnhancedEstimates.getSevereWarningThreshold()).thenReturn(ONE_HOUR_MILLIS); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()513 when(mEnhancedEstimates.getEstimate()).thenReturn(estimate); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()527 when(mEnhancedEstimates.getEstimate()).thenReturn(estimate); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()537 when(mEnhancedEstimates.getEstimate()).thenReturn(estimate); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()
246 @Inject Lazy<EnhancedEstimates> mEnhancedEstimates; field in Dependency425 mProviders.put(EnhancedEstimates.class, mEnhancedEstimates::get); in start()