Home
last modified time | relevance | path

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

12

/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/test/connectivity/acts/framework/acts/test_utils/gnss/
Dgnss_test_utils.py802 ad.log.info(prop_basename+"AvgDis %.1f" % (sum(pe_list)/len(pe_list)))
958 avgttff = sum(sec_list)/(len(sec_list) - timeoutcount)
963 avgdis = sum(pe_list)/len(pe_list)
965 ant_avgcn = sum(ant_cn_list)/len(ant_cn_list)
966 base_avgcn = sum(base_cn_list)/len(base_cn_list)
/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/tradefederation/core/src/com/android/tradefed/postprocessor/
DAggregatePostProcessor.java175 double sum = values.stream().mapToDouble(Double::doubleValue).sum();
196 stats.put(STATS_KEY_TOTAL, sum);
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dapollo_lib.py753 sum([int(apollo_sink_events.LOG_FEATURES[x], 16) for x in levels]))
766 sum([int(apollo_sink_events.LOG_FEATURES[x], 16) for x in levels]))
1516 sum([(c, d, a, b) for a, b, c, d in zip(*[iter(orig)] * 4)], ()))
Dlatency.py234 event_summary['average_lat'] = sum(latencies) / len(latencies)
/tools/test/connectivity/acts/framework/acts/test_utils/power/cellular/
Dcellular_idle_power_test.py76 slot_average = sum(samples[slot_start:slot_end]) / slot_length
83 result = sum(filtered_slot_averages) / len(filtered_slot_averages)
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/lvpm_stock/
Dmonsoon_proxy.py362 checksum = (data_len + sum(bytearray(data))) % 256
382 checksum = (sum(struct.unpack('B' * len(body), body)) + data_len) % 256
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/
DMessageTest.py246 len(tx_msg_ids), sum(tx_msg_ids.values()),
272 len(tx_msgs), sum(tx_msgs.values()),
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DBtSarBaseTest.py419 if sar_df['delta'].sum() > self.agg_error_threshold[type]:
422 format(sar_df['delta'].sum(), self.agg_error_threshold))
Dbt_test_utils.py777 sum(metrics_dict["rssi"][ad.serial]) /
781 sum(metrics_dict["pwlv"][ad.serial]) /
DBluetoothBaseTest.py216 sum(self.timer_list) / float(len(self.timer_list))))
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/engine/
Dcalibration.py105 return sum(window) / self._calibration_window_size
/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/framework/acts/test_utils/power/
DPowerGnssBaseTest.py90 total_data_points = sum(
Dplot_utils.py74 total_data_points = sum(result.num_samples for result in monsoon_results)
/tools/acloud/internal/lib/
Dssh.py294 sleep_multiplier = ssh_timeout / sum(range(max_retry + 1))
/tools/test/connectivity/acts/framework/acts/test_utils/power/tel_simulations/
DLteCaSimulation.py404 return sum(
/tools/trebuchet/trebuchet/startup-summarizer/src/
DStartupSummarizer.kt116 val total = values.sum() in averageAndStandardDeviation()
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/lvpm_stock/
Dstock_transformers.py132 checksum = sum(body, data_len) & 0xFF
/tools/tradefederation/contrib/src/com/android/regression/tests/
DDetectRegression.java196 .sum(); in logResult()
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Daudio_quality_measurement.py884 sum_of_amplitude = float(sum(amplitude[int(start_index):int(end_index)]))

12