Home
last modified time | relevance | path

Searched refs:sum (Results 1 – 25 of 34) 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_tests/acts_contrib/test_utils/power/cellular/
Dcellular_idle_power_test.py75 slot_average = sum(milli_amps[slot_start:slot_end]) / slot_length
82 result = sum(filtered_slot_averages) / len(filtered_slot_averages)
/tools/test/connectivity/acts_tests/tests/google/power/wifi/
DPowerWiFiroamingTest.py107 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/external_updater/
Dexternal_updater_reviewers_test.py84 sum_projects = sum(reviewers.RUST_REVIEWERS.values())
100 self.assertEqual(sum(counters.values()), num_tries)
/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/framework/acts/controllers/monsoon_lib/sampling/engine/
Dcalibration.py105 return sum(window) / self._calibration_window_size
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/
DPowerGTWGnssBaseTest.py123 avg_current = sum(calibrate_results) / len(calibrate_results)
Dplot_utils.py54 avg_current = sum(current_data) / len(current_data)
DPowerGnssBaseTest.py76 avg_current = sum(current_data) / len(current_data)
DPowerBaseTest.py360 average_current = sum(current) * 1000 / len(current)
/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/acts_contrib/test_utils/bt/
DBtSarBaseTest.py495 if sar_df['delta'].sum() > self.agg_error_threshold[type]:
498 format(sar_df['delta'].sum(), self.agg_error_threshold))
DBluetoothBaseTest.py193 sum(self.timer_list) / float(len(self.timer_list))))
/tools/acloud/internal/lib/
Dssh.py296 sleep_multiplier = ssh_timeout / sum(range(max_retry + 1))
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dlatency.py234 event_summary['average_lat'] = sum(latencies) / len(latencies)
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)], ()))
/tools/test/connectivity/acts/framework/acts/controllers/cellular_lib/
DLteCaSimulation.py404 return sum(
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/lvpm_stock/
Dstock_transformers.py132 checksum = sum(body, data_len) & 0xFF
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/
Daudio_quality_measurement.py884 sum_of_amplitude = float(sum(amplitude[int(start_index):int(end_index)]))
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
Dwifi_performance_test_utils.py1352 bdf_signature = sum(
1371 bdf_signature = sum(
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiRoamingPerformanceTest.py153 total_roams = sum(list(roam_stats.values()))
DWifiPingTest.py648 average_range = sum(channel_data['range']) / len(
DWifiRssiTest.py397 total_count = sum(rssi_counts)
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveNoQXDMLogTest.py101 total_sum = float(sum(input_list))
DTelLiveCBRSTest.py334 total_sum = float(sum(input_list))

12