Searched refs:stateInt (Results 1 – 2 of 2) sorted by relevance
965 private @TelephonyManager.RadioPowerState int getRadioStateFromInt(int stateInt) { in getRadioStateFromInt() argument968 switch(stateInt) { in getRadioStateFromInt()979 throw new RuntimeException("Unrecognized RadioState: " + stateInt); in getRadioStateFromInt()
3236 final int stateInt = buildStateInt(cur); in writeHistoryDelta() local3237 final boolean stateIntChanged = stateInt != lastStateInt; in writeHistoryDelta()3278 dest.writeInt(stateInt); in writeHistoryDelta()3280 + Integer.toHexString(stateInt) in writeHistoryDelta()3515 int stateInt = src.readInt(); in readHistoryDelta() local3516 cur.states = (firstToken&DELTA_STATE_MASK) | (stateInt&(~STATE_BATTERY_MASK)); in readHistoryDelta()3517 cur.batteryStatus = (byte)((stateInt>>STATE_BATTERY_STATUS_SHIFT) in readHistoryDelta()3519 cur.batteryHealth = (byte)((stateInt>>STATE_BATTERY_HEALTH_SHIFT) in readHistoryDelta()3521 cur.batteryPlugType = (byte)((stateInt>>STATE_BATTERY_PLUG_SHIFT) in readHistoryDelta()3536 + Integer.toHexString(stateInt) in readHistoryDelta()