Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryManagerPreferenceControllerTest.java74 when(mFeatureFactory.powerUsageFeatureProvider.isSmartBatterySupported()).thenReturn(true); in updateState_smartBatteryOnWithoutRestriction_showSummary()
85 when(mFeatureFactory.powerUsageFeatureProvider.isSmartBatterySupported()).thenReturn(true); in updateState_smartBatteryOff_showSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DSmartBatteryPreferenceControllerTest.java93 doReturn(true).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatterySupported_returnAvailable()
101 doReturn(false).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatteryUnSupported_returnDisabled()
DAutoRestrictionPreferenceControllerTest.java92 doReturn(true).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatterySupported_returnDisabled()
100 doReturn(false).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatteryUnSupported_returnAvailable()
DPowerUsageFeatureProviderImplTest.java148 assertThat(mPowerFeatureProvider.isSmartBatterySupported()).isTrue(); in testIsSmartBatterySupported_smartBatterySupported_returnTrue()
156 assertThat(mPowerFeatureProvider.isSmartBatterySupported()).isFalse(); in testIsSmartBatterySupported_smartBatteryNotSupported_returnFalse()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DPowerUsageFeatureProvider.java120 boolean isSmartBatterySupported(); in isSmartBatterySupported() method
DAutoRestrictionPreferenceController.java45 return mPowerUsageFeatureProvider.isSmartBatterySupported() in getAvailabilityStatus()
DSmartBatteryPreferenceController.java48 return mPowerUsageFeatureProvider.isSmartBatterySupported() in getAvailabilityStatus()
DPowerUsageFeatureProviderImpl.java133 public boolean isSmartBatterySupported() { in isSmartBatterySupported() method in PowerUsageFeatureProviderImpl
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageFeatureProvider.java121 boolean isSmartBatterySupported(); in isSmartBatterySupported() method
DAutoRestrictionPreferenceController.java45 return mPowerUsageFeatureProvider.isSmartBatterySupported() in getAvailabilityStatus()
DSmartBatteryPreferenceController.java48 return mPowerUsageFeatureProvider.isSmartBatterySupported() in getAvailabilityStatus()
DPowerUsageFeatureProviderImpl.java134 public boolean isSmartBatterySupported() { in isSmartBatterySupported() method in PowerUsageFeatureProviderImpl
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryManagerPreferenceController.java59 final String setting = mPowerUsageFeatureProvider.isSmartBatterySupported() in updateState()
DAnomalyDetectionJobService.java146 final boolean autoFeatureOn = powerUsageFeatureProvider.isSmartBatterySupported() in saveAnomalyToDatabase()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryManagerPreferenceController.java59 final String setting = mPowerUsageFeatureProvider.isSmartBatterySupported() in updateState()
DAnomalyDetectionJobService.java146 final boolean autoFeatureOn = powerUsageFeatureProvider.isSmartBatterySupported() in saveAnomalyToDatabase()