Home
last modified time | relevance | path

Searched refs:toSubtract (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLongSamplingCounterArrayTest.java153 private long[] subtract(long[] val, long[] toSubtract) { in subtract() argument
155 if (toSubtract != null) { in subtract()
157 result[i] -= toSubtract[i]; in subtract()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1546 private static void subtract(@NonNull long[] val, long[] toSubtract) { in subtract() argument
1547 if (toSubtract == null) { in subtract()
1551 val[i] -= toSubtract[i]; in subtract()