Searched refs:deltaTimeToken (Results 1 – 2 of 2) sorted by relevance
121 int deltaTimeToken = firstToken & BatteryStatsHistory.DELTA_TIME_MASK; in readHistoryDelta() local126 + " deltaTimeToken=" + deltaTimeToken); in readHistoryDelta()129 if (deltaTimeToken < BatteryStatsHistory.DELTA_TIME_ABS) { in readHistoryDelta()130 cur.time += deltaTimeToken; in readHistoryDelta()131 } else if (deltaTimeToken == BatteryStatsHistory.DELTA_TIME_ABS) { in readHistoryDelta()135 } else if (deltaTimeToken == BatteryStatsHistory.DELTA_TIME_INT) { in readHistoryDelta()
2040 int deltaTimeToken; in writeHistoryDelta() local2042 deltaTimeToken = BatteryStatsHistory.DELTA_TIME_LONG; in writeHistoryDelta()2044 deltaTimeToken = BatteryStatsHistory.DELTA_TIME_INT; in writeHistoryDelta()2046 deltaTimeToken = (int) deltaTime; in writeHistoryDelta()2048 int firstToken = deltaTimeToken | (cur.states & BatteryStatsHistory.DELTA_STATE_MASK); in writeHistoryDelta()2106 if (deltaTimeToken >= BatteryStatsHistory.DELTA_TIME_INT) { in writeHistoryDelta()2107 if (deltaTimeToken == BatteryStatsHistory.DELTA_TIME_INT) { in writeHistoryDelta()