Searched refs:BatteryBroadcastReceiver (Results 1 – 8 of 8) sorted by relevance
37 import com.android.settings.fuelgauge.BatteryBroadcastReceiver;76 bundle.putInt(KEY_REFRESH_TYPE, BatteryBroadcastReceiver.BatteryUpdateType.BATTERY_STATUS); in restartBatteryInfoLoader()84 BatteryBroadcastReceiver.BatteryUpdateType.BATTERY_STATUS); in restartBatteryInfoLoader()96 bundle.putInt(KEY_REFRESH_TYPE, BatteryBroadcastReceiver.BatteryUpdateType.BATTERY_STATUS); in restartBatteryInfoLoader_loaderReset_initLoader()104 BatteryBroadcastReceiver.BatteryUpdateType.BATTERY_STATUS); in restartBatteryInfoLoader_loaderReset_initLoader()116 bundle.putInt(KEY_REFRESH_TYPE, BatteryBroadcastReceiver.BatteryUpdateType.BATTERY_STATUS); in restartBatteryInfoLoader_nullLoader_initLoader()123 BatteryBroadcastReceiver.BatteryUpdateType.BATTERY_STATUS); in restartBatteryInfoLoader_nullLoader_initLoader()
47 import com.android.settings.fuelgauge.BatteryBroadcastReceiver;90 @Mock private BatteryBroadcastReceiver mBatteryBroadcastReceiver;195 mFragment.refreshUi(BatteryBroadcastReceiver.BatteryUpdateType.MANUAL); in refreshUi_contextNull_doNothing()204 mFragment.refreshUi(BatteryBroadcastReceiver.BatteryUpdateType.MANUAL); in refreshUi_batteryNotPresent_doNothing()217 mFragment.refreshUi(BatteryBroadcastReceiver.BatteryUpdateType.MANUAL); in refreshUi_deviceRotate_doNotUpdateBatteryTip()230 mFragment.refreshUi(BatteryBroadcastReceiver.BatteryUpdateType.BATTERY_LEVEL); in refreshUi_batteryLevelChanged_doNotUpdateBatteryTip()244 mFragment.refreshUi(BatteryBroadcastReceiver.BatteryUpdateType.MANUAL); in refreshUi_tipNeedUpdate_updateBatteryTip()
18 import static com.android.settings.fuelgauge.BatteryBroadcastReceiver.BatteryUpdateType;34 import com.android.settings.fuelgauge.BatteryBroadcastReceiver;49 private BatteryBroadcastReceiver mBatteryBroadcastReceiver;79 mBatteryBroadcastReceiver = new BatteryBroadcastReceiver(getContext()); in onCreate()82 if (type == BatteryBroadcastReceiver.BatteryUpdateType.BATTERY_NOT_PRESENT) { in onCreate()
18 import static com.android.settings.fuelgauge.BatteryBroadcastReceiver.BatteryUpdateType;38 import com.android.settings.fuelgauge.BatteryBroadcastReceiver;82 restartBatteryStatsLoader(BatteryBroadcastReceiver.BatteryUpdateType.MANUAL);
19 import static com.android.settings.fuelgauge.BatteryBroadcastReceiver.BatteryUpdateType;
18 import static com.android.settings.fuelgauge.BatteryBroadcastReceiver.BatteryUpdateType;57 @Mock private BatteryBroadcastReceiver.OnBatteryChangedListener mBatteryListener;58 private BatteryBroadcastReceiver mBatteryBroadcastReceiver;67 mBatteryBroadcastReceiver = new BatteryBroadcastReceiver(mContext); in setUp()
45 private final BatteryBroadcastReceiver mBatteryBroadcastReceiver;53 mBatteryBroadcastReceiver = new BatteryBroadcastReceiver(mContext); in TopLevelBatteryPreferenceController()57 if (type == BatteryBroadcastReceiver.BatteryUpdateType.BATTERY_NOT_PRESENT) { in TopLevelBatteryPreferenceController()
40 public class BatteryBroadcastReceiver extends BroadcastReceiver { class83 public BatteryBroadcastReceiver(Context context) { in BatteryBroadcastReceiver() method in BatteryBroadcastReceiver