Searched refs:batteryStatus (Results 1 – 7 of 7) sorted by relevance
115 final String batteryStatus = Utils.getBatteryStatus(mContext, intent); in updateBatteryStatus() local127 } else if (!batteryStatus.equals(mBatteryStatus)) { in updateBatteryStatus()131 mBatteryStatus = batteryStatus; in updateBatteryStatus()
98 int batteryStatus, in convert() argument132 values.put(BatteryHistEntry.KEY_BATTERY_STATUS, Integer.valueOf(batteryStatus)); in convert()
49 public int batteryStatus; field in BatteryInfo242 info.batteryStatus = batteryBroadcast.getIntExtra( in getBatteryInfo()
115 || info.batteryStatus == BatteryManager.BATTERY_STATUS_NOT_CHARGING) { in generateLabel()
136 final String batteryStatus = in testOnReceive_batteryDataNotChanged_listenerNotInvoked() local139 mBatteryBroadcastReceiver.mBatteryStatus = batteryStatus; in testOnReceive_batteryDataNotChanged_listenerNotInvoked()144 assertThat(mBatteryBroadcastReceiver.mBatteryStatus).isEqualTo(batteryStatus); in testOnReceive_batteryDataNotChanged_listenerNotInvoked()
174 mBatteryInfo.batteryStatus = BatteryManager.BATTERY_STATUS_NOT_CHARGING; in updatePreference_statusAnomalous_showStatusLabel()
828 Intent batteryStatus = in isBatteryTooLowForEmergencyLocation() local830 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()