Home
last modified time | relevance | path

Searched refs:sum (Results 1 – 22 of 22) sorted by relevance

/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DShortName.java109 int sum = dest[0]; in checkSum() local
111 sum = dest[i] + (((sum & 1) << 7) + ((sum & 0xfe) >> 1)); in checkSum()
114 return (byte) (sum & 0xff); in checkSum()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSimpleStats.java170 Double sum = 0.0; in meanOverOneStandardDeviationRange() local
174 sum += meas; in meanOverOneStandardDeviationRange()
178 return sum / count; in meanOverOneStandardDeviationRange()
DTableBuilder.java264 mRowLength = IntStream.of(mColumnWidth).map(i -> i + 2 * mPadding + 1).sum() + 1; in build()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraStartupTest.java160 int sum = 0; in getAverageMultipleRunMetrics() local
170 sum += value; in getAverageMultipleRunMetrics()
178 valueString = String.format("%d", (sum / size)); in getAverageMultipleRunMetrics()
DCameraPerformanceTest.java82 double sum = 0; in getAverage() local
85 sum += num.doubleValue(); in getAverage()
90 return (sum / size); in getAverage()
/tools/test/connectivity/acts/tests/google/power/tel/lab/temp/
Dliveplot.py16 wave.append(sum(buff)/float(len(buff)))
/tools/test/connectivity/acts/framework/acts/controllers/
Dmonsoon.py362 checksum = (data_len + sum(bytearray(data))) % 256
383 checksum = (sum(struct.unpack("B" * len(body), body)) + data_len) % 256
455 cur = sum(self.data_points) * 1000 / len_data_pt
462 charge = (sum(self.data_points) / self.hz) * 1000 / 3600
605 avg = sum(history_deque) / len(history_deque)
762 this_sample = sum(collected[:need]) / need
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DChainedDataSource.java34 mTotalSize = Arrays.stream(sources).mapToLong(src -> src.size()).sum(); in ChainedDataSource()
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/
DMessageTest.py237 sum(tx_msg_ids.values()),
263 sum(tx_msgs.values()), "Duplicate transmit messages: %s" % tx_msgs)
/tools/tradefederation/core/src/com/android/tradefed/testtype/metricregression/
DDetectRegression.java197 .sum(); in logResult()
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_power_test_utils.py78 avg_current = sum(current_data) / len(current_data)
/tools/test/connectivity/acts/tests/google/tel/live/
DTelLiveRebootStressTest.py193 total_sum = float(sum(input_list))
/tools/dexter/testdata/expected/
Dentry_hooks.rewrite243 .local v3, "sum", int
Dentry_hooks.compact_cfg262 .local v3, "sum", int
Dentry_hooks.mi245 .local v3, "sum", int
Dentry_hooks.entry_hook253 .local v3, "sum", int
Dentry_hooks.scratch_regs297 .local v5, "sum", int
Dentry_hooks.verbose_cfg336 .local v3, "sum", int
Dentry_hooks.code_coverage435 .local v4, "sum", int
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZFile.java1088 .reduce(0, Integer::sum); in update()
/tools/tradefederation/core/res/jacoco/
Djacocoagent.jarMETA-INF/MANIFEST.MF META-INF/MTNMINDS.SF META-INF/MTNMINDS ...
Djacocoant.jarMETA-INF/MANIFEST.MF META-INF/MTNMINDS.SF META-INF/MTNMINDS ...