Searched refs:stateInt (Results 1 – 2 of 2) sorted by relevance
1070 private @RadioPowerState int getRadioStateFromInt(int stateInt) { in getRadioStateFromInt() argument1073 switch(stateInt) { in getRadioStateFromInt()1084 throw new RuntimeException("Unrecognized RadioState: " + stateInt); in getRadioStateFromInt()
3239 final int stateInt = buildStateInt(cur); in writeHistoryDelta() local3240 final boolean stateIntChanged = stateInt != lastStateInt; in writeHistoryDelta()3281 dest.writeInt(stateInt); in writeHistoryDelta()3283 + Integer.toHexString(stateInt) in writeHistoryDelta()3518 int stateInt = src.readInt(); in readHistoryDelta() local3519 cur.states = (firstToken&DELTA_STATE_MASK) | (stateInt&(~STATE_BATTERY_MASK)); in readHistoryDelta()3520 cur.batteryStatus = (byte)((stateInt>>STATE_BATTERY_STATUS_SHIFT) in readHistoryDelta()3522 cur.batteryHealth = (byte)((stateInt>>STATE_BATTERY_HEALTH_SHIFT) in readHistoryDelta()3524 cur.batteryPlugType = (byte)((stateInt>>STATE_BATTERY_PLUG_SHIFT) in readHistoryDelta()3539 + Integer.toHexString(stateInt) in readHistoryDelta()