Home
last modified time | relevance | path

Searched refs:BatteryBroadcastReceiver (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageBase.java18 import static com.android.settings.fuelgauge.BatteryBroadcastReceiver.BatteryUpdateType;
50 private BatteryBroadcastReceiver mBatteryBroadcastReceiver;
66 mBatteryBroadcastReceiver = new BatteryBroadcastReceiver(getContext()); in onCreate()
68 if (type == BatteryBroadcastReceiver.BatteryUpdateType.BATTERY_NOT_PRESENT) { in onCreate()
DTopLevelBatteryPreferenceController.java41 private final BatteryBroadcastReceiver mBatteryBroadcastReceiver;
53 mBatteryBroadcastReceiver = new BatteryBroadcastReceiver(mContext); in TopLevelBatteryPreferenceController()
55 if (type == BatteryBroadcastReceiver.BatteryUpdateType.BATTERY_NOT_PRESENT) { in TopLevelBatteryPreferenceController()
DBatteryBroadcastReceiver.java45 public class BatteryBroadcastReceiver extends BroadcastReceiver { class
85 public BatteryBroadcastReceiver(Context context) { in BatteryBroadcastReceiver() method in BatteryBroadcastReceiver
DPowerUsageAdvanced.java16 import static com.android.settings.fuelgauge.BatteryBroadcastReceiver.BatteryUpdateType;
DPowerUsageSummary.java19 import static com.android.settings.fuelgauge.BatteryBroadcastReceiver.BatteryUpdateType;
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryBroadcastReceiverTest.java18 import static com.android.settings.fuelgauge.BatteryBroadcastReceiver.BatteryUpdateType;
56 private BatteryBroadcastReceiver.OnBatteryChangedListener mBatteryListener;
57 private BatteryBroadcastReceiver mBatteryBroadcastReceiver;
66 mBatteryBroadcastReceiver = new BatteryBroadcastReceiver(mContext); in setUp()
DPowerUsageSummaryTest.java84 private BatteryBroadcastReceiver mBatteryBroadcastReceiver;
178 mFragment.refreshUi(BatteryBroadcastReceiver.BatteryUpdateType.MANUAL); in refreshUi_deviceRotate_doNotUpdateBatteryTip()
189 mFragment.refreshUi(BatteryBroadcastReceiver.BatteryUpdateType.BATTERY_LEVEL); in refreshUi_batteryLevelChanged_doNotUpdateBatteryTip()
200 mFragment.refreshUi(BatteryBroadcastReceiver.BatteryUpdateType.MANUAL); in refreshUi_tipNeedUpdate_updateBatteryTip()