/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/batteryinfo/ |
D | BatteryFirstUseDatePreferenceControllerTest.java | 65 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()
|
D | BatteryManufactureDatePreferenceControllerTest.java | 66 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()
|
D | BatteryInfoFragmentTest.java | 50 when(mFactory.batterySettingsFeatureProvider.isBatteryInfoEnabled(mContext)) in isPageSearchEnabled_batteryInfoEnabled_returnTrue() 66 when(mFactory.batterySettingsFeatureProvider.isBatteryInfoEnabled(mContext)) in isPageSearchEnabled_batteryInfoDisabled_returnFalse()
|
D | BatteryInfoPreferenceControllerTest.java | 48 FakeFeatureFactory.setupForTest().batterySettingsFeatureProvider; in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryInfoTest.java | 655 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()
|
D | BatteryHeaderPreferenceControllerTest.java | 290 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/ |
D | FakeFeatureFactory.java | 71 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/ |
D | FakeFeatureFactory.java | 70 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/ |
D | FeatureFactory.kt | 88 abstract val batterySettingsFeatureProvider: BatterySettingsFeatureProvider constant in com.android.settings.overlay.FeatureFactory
|
D | FeatureFactoryImpl.kt | 90 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/ |
D | FakeFeatureFactory.kt | 82 override val batterySettingsFeatureProvider: BatterySettingsFeatureProvider constant in com.android.settings.testutils.FakeFeatureFactory
|