/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | ShortName.java | 109 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/ |
D | SimpleStats.java | 170 double sum = 0.0; in meanOverOneStandardDeviationRange() local 174 sum += meas; in meanOverOneStandardDeviationRange() 178 return sum / count; in meanOverOneStandardDeviationRange()
|
D | MetricUtility.java | 265 double sum = values.stream().mapToDouble(Double::doubleValue).sum(); 290 stats.put(STATS_KEY_TOTAL, sum);
|
D | TableBuilder.java | 264 mRowLength = IntStream.of(mColumnWidth).map(i -> i + 2 * mPadding + 1).sum() + 1; in build()
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/cellular/ |
D | cellular_idle_power_test.py | 78 slot_average = sum(milli_amps[slot_start:slot_end]) / slot_length 85 result = sum(filtered_slot_averages) / len(filtered_slot_averages)
|
/tools/test/connectivity/acts_tests/tests/google/power/wifi/ |
D | PowerWiFiroamingTest.py | 107 average_current = sum([sample[1] * 1000 111 sum([sample[1] for sample in result]) / len(result) 159 average_current = sum([sample[1] * 1000 163 sum([sample[1] for sample in result]) / len(result)
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraStartupTest.java | 161 int sum = 0; in getAverageMultipleRunMetrics() local 171 sum += value; in getAverageMultipleRunMetrics() 179 valueString = String.format("%d", (sum / size)); in getAverageMultipleRunMetrics()
|
D | CameraPerformanceTest.java | 87 double sum = 0; in getAverage() local 90 sum += num.doubleValue(); in getAverage() 95 return (sum / size); in getAverage()
|
/tools/external_updater/ |
D | external_updater_reviewers_test.py | 77 sum_projects = sum(reviewers.RUST_REVIEWERS.values()) 92 self.assertEqual(sum(counters.values()), num_tries)
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_performance_test_utils/ |
D | brcm_utils.py | 326 bdf_signature = sum( 619 if sum(tx_mpdu): 623 llstats_summary['common_tx_mcs_count'] / sum(tx_mpdu)) 627 if sum(rx_mpdu): 631 llstats_summary['common_rx_mcs_count'] / sum(rx_mpdu))
|
D | qcom_utils.py | 196 bdf_signature = sum( 463 if sum(tx_mpdu) and sum(rx_mpdu):
|
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/engine/ |
D | calibration.py | 105 return sum(window) / self._calibration_window_size
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | EmulatorMemoryCpuCapturer.java | 76 return allPss.stream().mapToInt(Integer::intValue).sum(); in parsePssMemory()
|
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/lvpm_stock/ |
D | monsoon_proxy.py | 362 checksum = (data_len + sum(bytearray(data))) % 256 382 checksum = (sum(struct.unpack('B' * len(body), body)) + data_len) % 256
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | ChainedDataSource.java | 34 mTotalSize = Arrays.stream(sources).mapToLong(src -> src.size()).sum(); in ChainedDataSource()
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/ |
D | plot_utils.py | 55 avg_current = sum(current_data) / len(current_data)
|
D | PowerGnssBaseTest.py | 76 avg_current = sum(current_data) / len(current_data)
|
D | PowerGTWGnssBaseTest.py | 130 avg_current = sum(calibrate_results) / len(calibrate_results)
|
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/functional/ |
D | MessageTest.py | 247 len(tx_msg_ids), sum(tx_msg_ids.values()), 273 len(tx_msgs), sum(tx_msgs.values()),
|
/tools/netsim/rust/daemon/src/transport/ |
D | fd.rs | 185 let chip_count = startup_info.devices.iter().map(|d| d.chips.len()).sum(); in run_fd_transport() 410 let chip_count = startup_info.devices.iter().map(|d| d.chips.len()).sum(); in run_fd_connector()
|
/tools/test/connectivity/acts_tests/tests/google/cellular/performance/ |
D | CellularLteRvrTest.py | 105 cell_power_interp = sorted(set(sum(test_data['cell_power'], [])))
|
D | CellularFr1SensitivityTest.py | 107 cell_power_interp = sorted(set(sum(test_data['cell_power'], [])))
|
D | CellularLteSensitivityTest.py | 105 cell_power_interp = sorted(set(sum(test_data['cell_power'], [])))
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/ |
D | latency.py | 234 event_summary['average_lat'] = sum(latencies) / len(latencies)
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/ |
D | BtSarBaseTest.py | 495 if sar_df['delta'].sum() > self.agg_error_threshold[type]: 498 format(sar_df['delta'].sum(), self.agg_error_threshold))
|