Searched refs:extensionFlags (Results 1 – 2 of 2) sorted by relevance
259 final int extensionFlags = src.readInt(); in readHistoryDelta() local260 if ((extensionFlags & BatteryStatsHistory.EXTENSION_POWER_STATS_DESCRIPTOR_FLAG) != 0) { in readHistoryDelta()266 if ((extensionFlags & BatteryStatsHistory.EXTENSION_POWER_STATS_FLAG) != 0) { in readHistoryDelta()271 if ((extensionFlags & BatteryStatsHistory.EXTENSION_PROCESS_STATE_CHANGE_FLAG) != 0) { in readHistoryDelta()
2035 int extensionFlags = 0; in writeHistoryDelta() local2072 extensionFlags |= BatteryStatsHistory.EXTENSION_POWER_STATS_FLAG; in writeHistoryDelta()2074 extensionFlags |= BatteryStatsHistory.EXTENSION_POWER_STATS_DESCRIPTOR_FLAG; in writeHistoryDelta()2078 extensionFlags |= BatteryStatsHistory.EXTENSION_PROCESS_STATE_CHANGE_FLAG; in writeHistoryDelta()2080 if (extensionFlags != 0) { in writeHistoryDelta()2085 final boolean state2IntChanged = cur.states2 != last.states2 || extensionFlags != 0; in writeHistoryDelta()2201 if (extensionFlags != 0) { in writeHistoryDelta()2202 dest.writeInt(extensionFlags); in writeHistoryDelta()2204 if ((extensionFlags & BatteryStatsHistory.EXTENSION_POWER_STATS_DESCRIPTOR_FLAG) in writeHistoryDelta()