Searched refs:isSmartBatterySupported (Results 1 – 10 of 10) sorted by relevance
50 when(mPowerUsageFeatureProvider.isSmartBatterySupported()).thenReturn(true); in isPageSearchEnabled_smartBatterySupported_returnTrue()59 when(mPowerUsageFeatureProvider.isSmartBatterySupported()).thenReturn(false); in isPageSearchEnabled_smartBatteryUnsupported_returnFalse()
92 doReturn(true).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatterySupported_returnDisabled()100 doReturn(false).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatteryUnSupported_returnAvailable()
101 doReturn(true).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatterySupported_returnAvailable()109 doReturn(false).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatteryUnSupported_returnDisabled()
134 assertThat(mPowerFeatureProvider.isSmartBatterySupported()).isTrue(); in isSmartBatterySupported_smartBatterySupported_returnTrue()143 assertThat(mPowerFeatureProvider.isSmartBatterySupported()).isFalse(); in isSmartBatterySupported_smartBatteryNotSupported_returnFalse()
43 return mPowerUsageFeatureProvider.isSmartBatterySupported() in getAvailabilityStatus()
48 return mPowerUsageFeatureProvider.isSmartBatterySupported() in getAvailabilityStatus()
100 .isSmartBatterySupported();
105 boolean isSmartBatterySupported(); in isSmartBatterySupported() method
152 public boolean isSmartBatterySupported() { in isSmartBatterySupported() method in PowerUsageFeatureProviderImpl
80 when(mPowerUsageFeatureProvider.isSmartBatterySupported()).thenReturn(true); in updateState_smartBatteryWithoutRestriction_showSummary()