Searched refs:isSmartBatterySupported (Results 1 – 9 of 9) sorted by relevance
92 doReturn(true).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatterySupported_returnDisabled()100 doReturn(false).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatteryUnSupported_returnAvailable()
94 doReturn(true).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatterySupported_returnAvailable()102 doReturn(false).when(mFeatureFactory.powerUsageFeatureProvider).isSmartBatterySupported(); in testGetAvailabilityStatus_smartBatteryUnSupported_returnDisabled()
148 assertThat(mPowerFeatureProvider.isSmartBatterySupported()).isTrue(); in testIsSmartBatterySupported_smartBatterySupported_returnTrue()156 assertThat(mPowerFeatureProvider.isSmartBatterySupported()).isFalse(); in testIsSmartBatterySupported_smartBatteryNotSupported_returnFalse()
45 return mPowerUsageFeatureProvider.isSmartBatterySupported() in getAvailabilityStatus()
128 boolean isSmartBatterySupported(); in isSmartBatterySupported() method
49 return mPowerUsageFeatureProvider.isSmartBatterySupported() in getAvailabilityStatus()
151 public boolean isSmartBatterySupported() { in isSmartBatterySupported() method in PowerUsageFeatureProviderImpl
74 when(mFeatureFactory.powerUsageFeatureProvider.isSmartBatterySupported()).thenReturn(true); in updateState_smartBatteryWithoutRestriction_showSummary()
146 final boolean autoFeatureOn = powerUsageFeatureProvider.isSmartBatterySupported() in saveAnomalyToDatabase()