Home
last modified time | relevance | path

Searched refs:batterySettingsFeatureProvider (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/batteryinfo/
DBatteryFirstUseDatePreferenceControllerTest.java65 when(mFactory.batterySettingsFeatureProvider.isFirstUseDateAvailable(eq(mContext), in getAvailabilityStatus_dateAvailable_returnAvailable()
73 when(mFactory.batterySettingsFeatureProvider.isFirstUseDateAvailable(eq(mContext), in getAvailabilityStatus_dateUnavailable_returnNotAvailable()
82 when(mFactory.batterySettingsFeatureProvider.isFirstUseDateAvailable(eq(mContext), in getSummary_available_returnExpectedDate()
94 when(mFactory.batterySettingsFeatureProvider.isFirstUseDateAvailable(eq(mContext), in getSummary_unavailable_returnNull()
DBatteryManufactureDatePreferenceControllerTest.java66 when(mFactory.batterySettingsFeatureProvider.isManufactureDateAvailable(eq(mContext), in getAvailabilityStatus_dateAvailable_returnAvailable()
74 when(mFactory.batterySettingsFeatureProvider.isManufactureDateAvailable(eq(mContext), in getAvailabilityStatus_dateUnavailable_returnNotAvailable()
83 when(mFactory.batterySettingsFeatureProvider.isManufactureDateAvailable(eq(mContext), in getSummary_available_returnExpectedDate()
95 when(mFactory.batterySettingsFeatureProvider.isManufactureDateAvailable(eq(mContext), in getSummary_unavailable_returnNull()
DBatteryInfoFragmentTest.java50 when(mFactory.batterySettingsFeatureProvider.isBatteryInfoEnabled(mContext)) in isPageSearchEnabled_batteryInfoEnabled_returnTrue()
66 when(mFactory.batterySettingsFeatureProvider.isBatteryInfoEnabled(mContext)) in isPageSearchEnabled_batteryInfoDisabled_returnFalse()
DBatteryInfoPreferenceControllerTest.java48 FakeFeatureFactory.setupForTest().batterySettingsFeatureProvider; in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryInfoTest.java655 when(mFeatureFactory.batterySettingsFeatureProvider.getWirelessChargingRemainingLabel( in getBatteryInfo_customizedWLCLabel_updateRemainingLabelAndStatusLabel()
680 when(mFeatureFactory.batterySettingsFeatureProvider.getWirelessChargingRemainingLabel( in getBatteryInfo_noCustomizedWLCLabel_updateRemainingLabelAndStatusLabel()
704 when(mFeatureFactory.batterySettingsFeatureProvider.getWirelessChargingRemainingLabel( in getBatteryInfo_noCustomWirelessChargingLabelWithV1_updateRemainingAndStatusLabel()
729 when(mFeatureFactory.batterySettingsFeatureProvider.isChargingOptimizationMode(mContext)) in getBatteryInfo_chargeOptimizationMode_updateRemainingAndStatusLabel()
731 when(mFeatureFactory.batterySettingsFeatureProvider.getChargingOptimizationRemainingLabel( in getBatteryInfo_chargeOptimizationMode_updateRemainingAndStatusLabel()
734 when(mFeatureFactory.batterySettingsFeatureProvider.getChargingOptimizationChargeLabel( in getBatteryInfo_chargeOptimizationMode_updateRemainingAndStatusLabel()
755 when(mFeatureFactory.batterySettingsFeatureProvider.isChargingOptimizationMode(mContext)) in getBatteryInfo_notChargeOptimizationModeWithV1_updateRemainingAndStatusLabel()
777 when(mFeatureFactory.batterySettingsFeatureProvider.isChargingOptimizationMode(mContext)) in getBatteryInfo_notChargeOptimizationModeWithV2_updateRemainingAndStatusLabel()
DBatteryHeaderPreferenceControllerTest.java290 when(mFactory.batterySettingsFeatureProvider.getWirelessChargingLabel( in updateBatteryStatus_customizedWirelessChargingLabel_customizedLabel()
293 when(mFactory.batterySettingsFeatureProvider.getWirelessChargingContentDescription( in updateBatteryStatus_customizedWirelessChargingLabel_customizedLabel()
350 when(mFactory.batterySettingsFeatureProvider.isChargingOptimizationMode(mContext)) in updateBatteryStatus_chargingOptimizationMode_remainingLabel()
367 when(mFactory.batterySettingsFeatureProvider.isChargingOptimizationMode(mContext)) in updateBatteryStatus_chargingOptimizationModeNoRemainingLabel_statusLabel()
384 when(mFactory.batterySettingsFeatureProvider.isChargingOptimizationMode(mContext)) in updateBatteryStatus_notChargingOptimizationMode_statusWithRemainingLabel()
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/
DFakeFeatureFactory.java71 public final BatterySettingsFeatureProvider batterySettingsFeatureProvider; field in FakeFeatureFactory
123 batterySettingsFeatureProvider = mock(BatterySettingsFeatureProvider.class); in FakeFeatureFactory()
181 return batterySettingsFeatureProvider; in getBatterySettingsFeatureProvider()
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/
DFakeFeatureFactory.java70 public final BatterySettingsFeatureProvider batterySettingsFeatureProvider; field in FakeFeatureFactory
124 batterySettingsFeatureProvider = mock(BatterySettingsFeatureProvider.class); in FakeFeatureFactory()
182 return batterySettingsFeatureProvider; in getBatterySettingsFeatureProvider()
/packages/apps/Settings/src/com/android/settings/overlay/
DFeatureFactory.kt88 abstract val batterySettingsFeatureProvider: BatterySettingsFeatureProvider constant in com.android.settings.overlay.FeatureFactory
DFeatureFactoryImpl.kt90 override val batterySettingsFeatureProvider by lazy { BatterySettingsFeatureProviderImpl() } in <lambda>() constant in com.android.settings.overlay.FeatureFactoryImpl
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/testutils/
DFakeFeatureFactory.kt82 override val batterySettingsFeatureProvider: BatterySettingsFeatureProvider constant in com.android.settings.testutils.FakeFeatureFactory