Searched refs:BatteryBroadcastReceiver (Results 1 – 7 of 7) sorted by relevance
18 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()
41 private final BatteryBroadcastReceiver mBatteryBroadcastReceiver;53 mBatteryBroadcastReceiver = new BatteryBroadcastReceiver(mContext); in TopLevelBatteryPreferenceController()55 if (type == BatteryBroadcastReceiver.BatteryUpdateType.BATTERY_NOT_PRESENT) { in TopLevelBatteryPreferenceController()
45 public class BatteryBroadcastReceiver extends BroadcastReceiver { class85 public BatteryBroadcastReceiver(Context context) { in BatteryBroadcastReceiver() method in BatteryBroadcastReceiver
16 import static com.android.settings.fuelgauge.BatteryBroadcastReceiver.BatteryUpdateType;
19 import static com.android.settings.fuelgauge.BatteryBroadcastReceiver.BatteryUpdateType;
18 import static com.android.settings.fuelgauge.BatteryBroadcastReceiver.BatteryUpdateType;56 private BatteryBroadcastReceiver.OnBatteryChangedListener mBatteryListener;57 private BatteryBroadcastReceiver mBatteryBroadcastReceiver;66 mBatteryBroadcastReceiver = new BatteryBroadcastReceiver(mContext); in setUp()
84 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()