Home
last modified time | relevance | path

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

123456

/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/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/graphicsbenchmark/functional_tests/java/src/com/android/game/qualification/tests/
DChoreoTest.java66 double min = Double.MAX_VALUE, max = 0; in choreoCallbackTimes() local
77 if(interval > max) { in choreoCallbackTimes()
78 max = interval; in choreoCallbackTimes()
89 double range = (max - min) / 1E6; in choreoCallbackTimes()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DSimpleStatsTest.java44 assertNull(mStats.max()); in testStats_empty()
63 assertEquals(10, mStats.max(), 0.1); in testStats_evenCount()
84 assertEquals(10, mStats.max(), 0.1); in testStats_oddCount()
102 assertEquals(5, mStats.max(), 0.1); in testStats_skewedMedian()
/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/tradefederation/core/
Dpylintrc15 max-args=6
18 max-returns=10
21 max-public-methods=40
/tools/asuite/
Dpylintrc35 max-args=6
38 max-returns=10
41 max-public-methods=40
53 max-line-length=80
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DProgressTracker.kt22 import kotlin.math.max
82 val sysDeltaMillis = max(0, cpuMillis - lastCpuMillis - userDeltaMillis) in getCpuStats()
104 mu.max / 1024 / 1024 in getMemoryStats()
/tools/ndkports/buildSrc/src/main/kotlin/com/android/ndkports/
DAbi.kt19 import java.util.Collections.max
33 max(listOf(minSdkVersion, minSupportedVersion)) in adjustMinSdkVersion()
/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/test/connectivity/acts_tests/acts_contrib/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/test/connectivity/acts_tests/tests/google/experimental/
DBluetoothThroughputTest.py132 max(throughput_list))
167 max(throughput_list))
202 max(throughput_list))
DBluetoothPairAndConnectTest.py166 metrics['pair_max_time_millis'] = int(max(pair_times))
172 max(connect_times))
/tools/repohooks/tools/
Dpylintrc224 max-line-length=80
240 max-module-lines=1000
349 max-nested-blocks=5
355 max-args=5
362 max-locals=15
365 max-returns=6
368 max-branches=12
371 max-statements=50
374 max-parents=10
377 max-attributes=7
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/
Daudio_quality_measurement.py225 ith_teager_value *= max(1, abs(wave[i]))
315 temp_left_border = max(0, left_border - half_hilbert_block)
418 left_border = max(0, index - block_size / 2)
423 end_index = max(end_index, right_border + 1)
648 amp_threshold = max(amp_threshold, left_threshold)
651 amp_threshold = max(amp_threshold, right_threshold)
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_verify.txt6 --min-sdk-version and/or --max-sdk-version to verify the APK against a custom
23 --max-sdk-version Highest API Level on which this APK's signatures will be
/tools/tradefederation/core/javatests/res/testCmdFiles/
Dbasic.txt13 recharge --max-battery f() --noisy-dry-run
Dmissing-macro-def.txt13 recharge --max-battery f() --noisy-dry-run
Dmissing-end-macro.txt13 recharge --max-battery f() --noisy-dry-run
Dmissing-begin-macro.txt15 recharge --max-battery f() --noisy-dry-run
/tools/netsim/rust/cli/src/
Dresponse.rs15 use std::cmp::max;
233 let name_width = max( in print_list_capture_response()
240 let records_width = max( in print_list_capture_response()
248 let size_width = max( in print_list_capture_response()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/
Dplot_utils.py162 bins=math.ceil(max(milli_amps)),
163 range=(0, max(milli_amps)))
/tools/security/fuzzing/example_java_jni_fuzzer_no_crash/
Dexample_jni.cpp25 constexpr int bar = std::numeric_limits<int>::max() - 5; in parseInternal()
/tools/security/fuzzing/example_java_jni_fuzzer/
Dexample_jni.cpp25 constexpr int bar = std::numeric_limits<int>::max() - 5; in parseInternal()
/tools/security/sanitizer-status/
Dsanitizer-status.cpp88 size_t max = (size_t)-1; in test_integer_overflow() local
89 max++; in test_integer_overflow()

123456