Home
last modified time | relevance | path

Searched refs:isBatteryManagerSupported (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryManagerPreferenceControllerTest.java93 when(mPowerUsageFeatureProvider.isBatteryManagerSupported()).thenReturn(true); in getAvailabilityStatus_supportBatteryManager_showPrefPage()
102 when(mPowerUsageFeatureProvider.isBatteryManagerSupported()).thenReturn(false); in getAvailabilityStatus_notSupportBatteryManager_notShowPrefPage()
112 when(mPowerUsageFeatureProvider.isBatteryManagerSupported()).thenReturn(true); in getAvailabilityStatus_supportBatteryManagerWithoutAC_notShowPrefPage()
123 when(mPowerUsageFeatureProvider.isBatteryManagerSupported()).thenReturn(true); in getAvailabilityStatus_ignoreBatteryManagerWithoutAC_showPrefPage()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryManagerPreferenceController.java53 if (!mPowerUsageFeatureProvider.isBatteryManagerSupported()) { in getAvailabilityStatus()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageFeatureProvider.java114 boolean isBatteryManagerSupported(); in isBatteryManagerSupported() method
DPowerUsageFeatureProviderImpl.java168 public boolean isBatteryManagerSupported() { in isBatteryManagerSupported() method in PowerUsageFeatureProviderImpl