Home
last modified time | relevance | path

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

1234

/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/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/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/asuite/
Dpylintrc32 max-args=6
35 max-returns=10
38 max-public-methods=40
50 max-line-length=80
/tools/tradefederation/core/
Dpylintrc28 max-args=6
31 max-returns=10
34 max-public-methods=40
/tools/metalava/src/main/java/com/android/tools/metalava/
DManagementWrapper.java157 public final long max; field in ManagementWrapper.MemoryUsage
159 public MemoryUsage(long init, long used, long committed, long max) { in MemoryUsage() argument
163 this.max = max; in MemoryUsage()
DProgress.kt75 val sysDeltaMillis = Math.max(0, cpuMillis - lastCpuMillis - userDeltaMillis) in getCpuStats()
96 mu.max / 1024 / 1024) in getMemoryStats()
/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/tradefederation/core/tests/res/testCmdFiles/
Dmissing-macro-def.txt13 recharge --max-battery f() --noisy-dry-run
Dmissing-end-macro.txt13 recharge --max-battery f() --noisy-dry-run
Dbasic.txt13 recharge --max-battery f() --noisy-dry-run
Dmissing-begin-macro.txt15 recharge --max-battery f() --noisy-dry-run
/tools/test/connectivity/acts/tests/google/experimental/
DBluetoothThroughputTest.py132 max(throughput_list))
167 max(throughput_list))
202 max(throughput_list))
/tools/asuite/atest/
Dresult_reporter.py184 max_len = {'name': len(max(all_name, key=len)),
185 'real_time': len(max(all_real_time, key=len)),
186 'time_unit': len(max(all_time_unit, key=len)),
187 'cpu_time': len(max(all_cpu_time, key=len)),
188 'iterations': len(max(all_iterations, key=len))}
/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/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_verify.txt6 --min-sdk-version and/or --max-sdk-version to verify the APK against a custom
20 --max-sdk-version Highest API Level on which this APK's signatures will be
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
46 enabled based on min and max SDK version (see
47 --min-sdk-version and --max-sdk-version).
61 --max-sdk-version Highest API Level on which this APK's signatures will be
/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/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/security/sanitizer-status/
Dsanitizer-status.c76 size_t max = (size_t)-1; in test_integer_overflow() local
77 max++; in test_integer_overflow()
/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)
/tools/metalava/stub-annotations/src/main/java/androidx/annotation/
DSize.java37 long max() default Long.MAX_VALUE; in max() method

1234