Searched refs:stateInt (Results 1 – 2 of 2) sorted by relevance
907 private CommandsInterface.RadioState getRadioStateFromInt(int stateInt) { in getRadioStateFromInt() argument910 switch(stateInt) { in getRadioStateFromInt()921 throw new RuntimeException("Unrecognized RadioState: " + stateInt); in getRadioStateFromInt()
3307 final int stateInt = buildStateInt(cur); in writeHistoryDelta() local3308 final boolean stateIntChanged = stateInt != lastStateInt; in writeHistoryDelta()3349 dest.writeInt(stateInt); in writeHistoryDelta()3351 + Integer.toHexString(stateInt) in writeHistoryDelta()3584 int stateInt = src.readInt(); in readHistoryDelta() local3585 cur.states = (firstToken&DELTA_STATE_MASK) | (stateInt&(~STATE_BATTERY_MASK)); in readHistoryDelta()3586 cur.batteryStatus = (byte)((stateInt>>STATE_BATTERY_STATUS_SHIFT) in readHistoryDelta()3588 cur.batteryHealth = (byte)((stateInt>>STATE_BATTERY_HEALTH_SHIFT) in readHistoryDelta()3590 cur.batteryPlugType = (byte)((stateInt>>STATE_BATTERY_PLUG_SHIFT) in readHistoryDelta()3605 + Integer.toHexString(stateInt) in readHistoryDelta()