Searched refs:isHybridNotificationEnabled (Results 1 – 4 of 4) sorted by relevance
159 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_showHybridOnly_overrideThresholdHigh_returnsNoShow()176 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_showHybridOnly_overrideThresholdHigh_returnsShow()193 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_showHybridOnly_returnsShow()209 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_showHybrid_showStandard_returnsShow()225 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_showStandardOnly_returnsShow()241 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_deviceHighBattery_returnsNoShow()256 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_devicePlugged_returnsNoShow()271 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_deviceBatteryStatusUnknown_returnsNoShow()287 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_batterySaverEnabled_returnsNoShow()303 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_onlyShowsOncePerChargeCycle()[all …]
8 boolean isHybridNotificationEnabled(); in isHybridNotificationEnabled() method
8 public boolean isHybridNotificationEnabled() { in isHybridNotificationEnabled() method in EnhancedEstimatesImpl
270 final boolean hybridEnabled = mEnhancedEstimates.isHybridNotificationEnabled(); in maybeShowBatteryWarning()316 if (mEnhancedEstimates.isHybridNotificationEnabled()) { in shouldShowLowBatteryWarning()330 final boolean hybridWouldDismiss = mEnhancedEstimates.isHybridNotificationEnabled() in shouldDismissLowBatteryWarning()335 || (standardWouldDismiss && (!mEnhancedEstimates.isHybridNotificationEnabled() in shouldDismissLowBatteryWarning()