Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 102) sorted by relevance

12345

/tools/apksig/src/main/java/com/android/apksig/internal/util/
DInclusiveIntRange.java28 private final int max; field in InclusiveIntRange
30 private InclusiveIntRange(int min, int max) { in InclusiveIntRange() argument
32 this.max = max; in InclusiveIntRange()
40 return max; in getMax()
43 public static InclusiveIntRange fromTo(int min, int max) { in fromTo() argument
44 return new InclusiveIntRange(min, max); in fromTo()
60 int rangeMax = range.max; in getValuesNotIn()
71 if (rangeMax >= max) { in getValuesNotIn()
76 if (testValue <= max) { in getValuesNotIn()
80 result.add(fromTo(testValue, max)); in getValuesNotIn()
[all …]
/tools/repohooks/tools/
Dpylintrc131 sys-max-int,
285 max-line-length=80
301 max-module-lines=1000
410 max-nested-blocks=5
416 max-args=5
423 max-locals=15
426 max-returns=6
429 max-branches=12
432 max-statements=50
435 max-parents=10
[all …]
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackImageAnalyzer.java374 int max = -1; in getAmplitudeCenter() local
377 if (vertical[i] > max) { in getAmplitudeCenter()
378 max = vertical[i]; in getAmplitudeCenter()
415 final int max = horizontalMinMax.second.intValue(); in projectPixelsToYAxis() local
422 for (int x = min; x <= max; x++) { in projectPixelsToYAxis()
452 int max = -1; in getBounds() local
455 max = i; in getBounds()
460 return new Pair<Integer, Integer>(Integer.valueOf(min), Integer.valueOf(max)); in getBounds()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZipFieldInvariantMaxValue.java27 private long max; field in ZipFieldInvariantMaxValue
34 ZipFieldInvariantMaxValue(int max) { in ZipFieldInvariantMaxValue() argument
35 this.max = max; in ZipFieldInvariantMaxValue()
40 return value <= max; in isValid()
45 return "Maximum value " + max; in getName()
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
DCoexPerformanceBaseTest.py167 self.wifi_max_atten_metric.metric_value = max(self.rvr[bt_atten]
179 self.wifi_range_metric.metric_value = max(
182 self.wifi_range_metric.metric_value = max(
281 '{} dB'.format(max(self.rvr['bt_attenuation'])))
497 max(closest_throughputs[0] -
498 max(self.test_params["abs_tolerance"],
501 upper_limit.append(closest_throughputs[-1] + max(
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_sign.txt24 signing using this scheme is enabled based on min and max
25 SDK version (see --min-sdk-version and --max-sdk-version).
30 enabled based on min and max SDK version (see
31 --min-sdk-version and --max-sdk-version).
36 enabled based on min and max SDK version (see
37 --min-sdk-version and --max-sdk-version). Multiple
48 --max-sdk-version Highest API Level on which this APK's signatures will be
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Daudio_quality_measurement.py226 ith_teager_value *= max(1, abs(wave[i]))
316 temp_left_border = max(0, left_border - half_hilbert_block)
419 left_border = max(0, index - block_size / 2)
424 end_index = max(end_index, right_border + 1)
651 amp_threshold = max(amp_threshold, left_threshold)
654 amp_threshold = max(amp_threshold, right_threshold)
Daudio_analysis.py136 threshold = max(abs_y_f) * min_peak_ratio
253 left = max(0, mid - half_window_size)
442 max_corr = max(correlation_indices)
/tools/test/connectivity/acts/tests/google/wifi/
DWifiRvrTest.py221 max(
222 closest_throughputs[0] - max(
226 upper_limit.append(closest_throughputs[-1] + max(
300 rvr_result['metrics']['peak_tput'] = max(
319 'total_attenuation'][max(idx, 1) - 1]
333 'total_attenuation'][max(idx, 1) - 1]
DWifiSensitivityTest.py296 rvr_result['peak_throughput'] = max(rvr_result['throughput_receive'])
450 ref_index = max(
476 start_atten = max(start_atten, 0)
815 start_atten = max(start_atten, 0)
DWifiRoamingPerformanceTest.py120 max_disruption = max(result['traffic_disruption'])
154 common_roam = max(roam_stats.keys(), key=(lambda k: roam_stats[k]))
347 any(tput_thresholding[max(0, idx - window_size):idx])
DWifiRssiTest.py109 max(postprocessed_results['signal_poll_rssi']['stdev']))
112 max(postprocessed_results['chain_0_rssi']['stdev']))
115 max(postprocessed_results['chain_1_rssi']['stdev']))
/tools/tradefederation/core/atest/
Dresult_reporter.py180 max_len = {'name': len(max(all_name, key=len)),
181 'real_time': len(max(all_real_time, key=len)),
182 'time_unit': len(max(all_time_unit, key=len)),
183 'cpu_time': len(max(all_cpu_time, key=len)),
184 'iterations': len(max(all_iterations, key=len))}
/tools/asuite/atest/
Dresult_reporter.py185 max_len = {'name': len(max(all_name, key=len)),
186 'real_time': len(max(all_real_time, key=len)),
187 'time_unit': len(max(all_time_unit, key=len)),
188 'cpu_time': len(max(all_cpu_time, key=len)),
189 'iterations': len(max(all_iterations, key=len))}
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto357 extensions 1000 to max;
369 // extensions 4 to max;
419 extensions 1000 to max;
489 extensions 1000 to max;
508 extensions 1000 to max;
522 extensions 1000 to max;
542 extensions 1000 to max;
562 extensions 1000 to max;
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSimpleStatsTest.java43 assertNull(mStats.max()); in testStats_empty()
61 assertEquals(10, mStats.max(), 0.1); in testStats_evenCount()
81 assertEquals(10, mStats.max(), 0.1); in testStats_oddCount()
100 assertEquals(5, mStats.max(), 0.1); in testStats_skewedMedian()
/tools/test/graphicsbenchmark/functional_tests/java/src/com/android/game/qualification/tests/
DChoreoTest.java66 double min = Double.MAX_VALUE, max = 0; in choreoCallbackTimes() local
78 if(interval > max) { in choreoCallbackTimes()
79 max = interval; in choreoCallbackTimes()
90 double range = (max - min) / 1E6; in choreoCallbackTimes()
/tools/asuite/
Dpylintrc32 max-args=6
35 max-returns=10
38 max-public-methods=40
50 max-line-length=80
/tools/loganalysis/src/com/android/loganalysis/item/
DLocationDumpsItem.java67 public LocationInfoItem(String packageName, int effective, int min, int max, in LocationInfoItem() argument
73 setAttribute(MAX_INTERVAL, max); in LocationInfoItem()
132 public void addLocationClient(String packageName, int effective, int min, int max, in addLocationClient() argument
134 mLocationClients.add(new LocationInfoItem(packageName, effective, min, max, priority, in addLocationClient()
/tools/metalava/src/main/java/com/android/tools/metalava/
DAnnotationStatistics.kt336 private fun dashes(printer: PrintWriter, max: Int) { in <lambda>()
337 for (count in 0 until max) { in <lambda>()
342 private fun edge(printer: PrintWriter, max: Int) { in <lambda>()
343 dashes(printer, max) in <lambda>()
DDiff.kt25 import kotlin.math.max
86 lcs[i][j] = max(lcs[i + 1][j], lcs[i][j + 1]) in getDiff()
105 for (context in max(0, i - windowSize) until i) { in getDiff()
/tools/tradefederation/core/
Dpylintrc28 max-args=6
31 max-returns=10
34 max-public-methods=40
/tools/test/connectivity/acts_tests/tests/google/experimental/
DBluetoothThroughputTest.py130 max(throughput_list))
164 max(throughput_list))
198 max(throughput_list))
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DAndroidJarReader.java68 int max = mApiLevels.length - 1; in getApi() local
70 max = mCodebase.getApiLevel(); in getApi()
73 api = new Api(max); in getApi()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItem.kt350 var max = if (!inner) in markRecent() variable
374 if (index == -1 || index >= max) { in markRecent()
384 max -= removed in markRecent()

12345