Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryBroadcastReceiver.java115 final String batteryStatus = Utils.getBatteryStatus(mContext, intent); in updateBatteryStatus() local
127 } else if (!batteryStatus.equals(mBatteryStatus)) { in updateBatteryStatus()
131 mBatteryStatus = batteryStatus; in updateBatteryStatus()
DConvertUtils.java98 int batteryStatus, in convert() argument
132 values.put(BatteryHistEntry.KEY_BATTERY_STATUS, Integer.valueOf(batteryStatus)); in convert()
DBatteryInfo.java49 public int batteryStatus; field in BatteryInfo
242 info.batteryStatus = batteryBroadcast.getIntExtra( in getBatteryInfo()
DBatteryHeaderPreferenceController.java115 || info.batteryStatus == BatteryManager.BATTERY_STATUS_NOT_CHARGING) { in generateLabel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryBroadcastReceiverTest.java136 final String batteryStatus = in testOnReceive_batteryDataNotChanged_listenerNotInvoked() local
139 mBatteryBroadcastReceiver.mBatteryStatus = batteryStatus; in testOnReceive_batteryDataNotChanged_listenerNotInvoked()
144 assertThat(mBatteryBroadcastReceiver.mBatteryStatus).isEqualTo(batteryStatus); in testOnReceive_batteryDataNotChanged_listenerNotInvoked()
DBatteryHeaderPreferenceControllerTest.java174 mBatteryInfo.batteryStatus = BatteryManager.BATTERY_STATUS_NOT_CHARGING; in updatePreference_statusAnomalous_showStatusLabel()
/packages/apps/Dialer/java/com/android/incallui/
DCallCardPresenter.java828 Intent batteryStatus = in isBatteryTooLowForEmergencyLocation() local
830 int status = batteryStatus.getIntExtra(BatteryManager.EXTRA_STATUS, -1); in isBatteryTooLowForEmergencyLocation()
836 int level = batteryStatus.getIntExtra(BatteryManager.EXTRA_LEVEL, -1); in isBatteryTooLowForEmergencyLocation()
837 int scale = batteryStatus.getIntExtra(BatteryManager.EXTRA_SCALE, -1); in isBatteryTooLowForEmergencyLocation()