DeviceBatteryMetrics.SystemMetrics.diff(SystemMetrics, SystemMetrics) which always
allocates a new output object.Runtime.availableProcessors() which will exclude currently offline processors.AbstractMap.hashCode(): returns the sum of the hashcodes of the entries.AbstractMap.equals(java.lang.Object) -- with simplifications because we're guaranteed
sparse int arrays with no nullable values or casts.WakeLockMetrics.SystemMetrics.sum(SystemMetrics, SystemMetrics) which always
allocates a new output object.