Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DSmartBatterySettingsTest.java50 when(mPowerUsageFeatureProvider.isSmartBatterySupported()).thenReturn(true); in isPageSearchEnabled_smartBatterySupported_returnTrue()
59 when(mPowerUsageFeatureProvider.isSmartBatterySupported()).thenReturn(false); in isPageSearchEnabled_smartBatteryUnsupported_returnFalse()
DAutoRestrictionPreferenceControllerTest.java92 doReturn(true).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatterySupported_returnDisabled()
100 doReturn(false).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatteryUnSupported_returnAvailable()
DSmartBatteryPreferenceControllerTest.java101 doReturn(true).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatterySupported_returnAvailable()
109 doReturn(false).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatteryUnSupported_returnDisabled()
DPowerUsageFeatureProviderImplTest.java134 assertThat(mPowerFeatureProvider.isSmartBatterySupported()).isTrue(); in isSmartBatterySupported_smartBatterySupported_returnTrue()
143 assertThat(mPowerFeatureProvider.isSmartBatterySupported()).isFalse(); in isSmartBatterySupported_smartBatteryNotSupported_returnFalse()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DAutoRestrictionPreferenceController.java43 return mPowerUsageFeatureProvider.isSmartBatterySupported() in getAvailabilityStatus()
DSmartBatteryPreferenceController.java48 return mPowerUsageFeatureProvider.isSmartBatterySupported() in getAvailabilityStatus()
DSmartBatterySettings.java100 .isSmartBatterySupported();
DPowerUsageFeatureProvider.java105 boolean isSmartBatterySupported(); in isSmartBatterySupported() method
DPowerUsageFeatureProviderImpl.java152 public boolean isSmartBatterySupported() { in isSmartBatterySupported() method in PowerUsageFeatureProviderImpl
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryManagerPreferenceControllerTest.java80 when(mPowerUsageFeatureProvider.isSmartBatterySupported()).thenReturn(true); in updateState_smartBatteryWithoutRestriction_showSummary()