Home
last modified time | relevance | path

Searched refs:isSmartBatterySupported (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAutoRestrictionPreferenceControllerTest.java92 doReturn(true).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatterySupported_returnDisabled()
100 doReturn(false).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatteryUnSupported_returnAvailable()
DSmartBatteryPreferenceControllerTest.java94 doReturn(true).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatterySupported_returnAvailable()
102 doReturn(false).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatteryUnSupported_returnDisabled()
DPowerUsageFeatureProviderImplTest.java148 assertThat(mPowerFeatureProvider.isSmartBatterySupported()).isTrue(); in testIsSmartBatterySupported_smartBatterySupported_returnTrue()
156 assertThat(mPowerFeatureProvider.isSmartBatterySupported()).isFalse(); in testIsSmartBatterySupported_smartBatteryNotSupported_returnFalse()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DAutoRestrictionPreferenceController.java45 return mPowerUsageFeatureProvider.isSmartBatterySupported() in getAvailabilityStatus()
DPowerUsageFeatureProvider.java128 boolean isSmartBatterySupported(); in isSmartBatterySupported() method
DSmartBatteryPreferenceController.java49 return mPowerUsageFeatureProvider.isSmartBatterySupported() in getAvailabilityStatus()
DPowerUsageFeatureProviderImpl.java151 public boolean isSmartBatterySupported() { in isSmartBatterySupported() method in PowerUsageFeatureProviderImpl
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryManagerPreferenceControllerTest.java74 when(mFeatureFactory.powerUsageFeatureProvider.isSmartBatterySupported()).thenReturn(true); in updateState_smartBatteryWithoutRestriction_showSummary()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobService.java146 final boolean autoFeatureOn = powerUsageFeatureProvider.isSmartBatterySupported() in saveAnomalyToDatabase()