Home
last modified time | relevance | path

Searched refs:min (Results 1 – 25 of 98) sorted by relevance

1234

/tools/apksig/src/main/java/com/android/apksig/internal/util/
DInclusiveIntRange.java27 private final int min; field in InclusiveIntRange
30 private InclusiveIntRange(int min, int max) { in InclusiveIntRange() argument
31 this.min = min; in InclusiveIntRange()
36 return min; in getMin()
43 public static InclusiveIntRange fromTo(int min, int max) { in fromTo() argument
44 return new InclusiveIntRange(min, max); in fromTo()
47 public static InclusiveIntRange from(int min) { in from() argument
48 return new InclusiveIntRange(min, Integer.MAX_VALUE); in from()
57 int testValue = min; in getValuesNotIn()
64 int rangeMin = range.min; in getValuesNotIn()
[all …]
DByteArrayDataSink.java83 byte[] tmp = new byte[Math.min(buf.remaining(), MAX_READ_CHUNK_SIZE)]; in consume()
85 int chunkSize = Math.min(buf.remaining(), tmp.length); in consume()
105 int doubleCurrentSize = (int) Math.min(mArray.length * 2L, Integer.MAX_VALUE); in ensureAvailable()
DOutputStreamDataSink.java69 byte[] tmp = new byte[Math.min(buf.remaining(), MAX_READ_CHUNK_SIZE)]; in consume()
71 int chunkSize = Math.min(buf.remaining(), tmp.length); in consume()
DFileChannelDataSource.java102 ByteBuffer buf = ByteBuffer.allocateDirect((int) Math.min(remaining, MAX_READ_CHUNK_SIZE)); in feed()
105 int chunkSize = (int) Math.min(remaining, buf.capacity()); in feed()
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Daudio_quality_measurement.py315 right_border = min(length, left_border + hilbert_block)
317 temp_right_border = min(length, right_border + half_hilbert_block)
363 while right_border < min(length, index + side_block_size):
381 while right_border < min(length, index + block_size / 2):
420 right_border = min(length - 1, index + block_size / 2)
423 start_index = min(start_index, left_border)
565 amp_threshold = min(amp_threshold, left_threshold)
568 amp_threshold = min(amp_threshold, right_threshold)
/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
43 --min-sdk-version Lowest API Level on which this APK's signatures will be
Dhelp_verify.txt6 --min-sdk-version and/or --max-sdk-version to verify the APK against a custom
16 --min-sdk-version Lowest API Level on which this APK's signatures will be
39 $ apksigner verify --min-sdk-version 15 app.apk
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiClass.java297 int min = Integer.MAX_VALUE; in removeHiddenSuperClasses() local
300 min = Math.min(min, next.getSince()); in removeHiddenSuperClasses()
307 other.update(min); in removeHiddenSuperClasses()
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackImageAnalyzer.java414 final int min = horizontalMinMax.first.intValue(); in projectPixelsToYAxis() local
422 for (int x = min; x <= max; x++) { in projectPixelsToYAxis()
444 int min = -1; in getBounds() local
447 min = i; in getBounds()
460 return new Pair<Integer, Integer>(Integer.valueOf(min), Integer.valueOf(max)); in getBounds()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSimpleStatsTest.java42 assertNull(mStats.min()); in testStats_empty()
60 assertEquals(1, mStats.min(), 0.1); in testStats_evenCount()
80 assertEquals(0, mStats.min(), 0.1); in testStats_oddCount()
99 assertEquals(1, mStats.min(), 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
82 if(interval < min) { in choreoCallbackTimes()
83 min = 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
72 setAttribute(MIN_INTERVAL, min); 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/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DClusterChain.java210 int size = Math.min(len, in readData()
222 int size = Math.min(clusterSize, len); in readData()
259 int size = Math.min(len, in writeData()
271 int size = Math.min(clusterSize, len); in writeData()
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DBtSarBaseTest.py331 edr_otp = min(0, float(self.otp['EDR']['10']))
332 bdr_otp = min(0, float(self.otp['BR']['10']))
333 ble_otp = min(0, float(self.otp['BLE']['10']))
365 ]].min(axis=1)
/tools/test/connectivity/acts_tests/tests/google/experimental/
DBluetoothThroughputTest.py128 min(throughput_list))
162 min(throughput_list))
196 min(throughput_list))
DBluetoothPairAndConnectTest.py162 metrics['pair_min_time_millis'] = int(min(pair_times))
169 min(connect_times))
/tools/apksig/src/main/java/com/android/apksig/
DDefaultApkSignerEngine.java343 int min = Integer.MAX_VALUE; in getMinSdkFromV3SignatureAlgorithms() local
346 if (current < min) { in getMinSdkFromV3SignatureAlgorithms()
351 min = current; in getMinSdkFromV3SignatureAlgorithms()
355 return min; in getMinSdkFromV3SignatureAlgorithms()
DHints.java38 return (int) Math.max(0, Math.min(value, Integer.MAX_VALUE)); in clampToInt()
77 long rangeOutSize = Math.min(rangeIn.end - rangeOutStart, in ClampToAbsoluteByteRange()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDeviceStateMonitor.java198 getRunUtil().sleep(Math.min(getCheckPollTime() * counter, MAX_CHECK_POLL_TIME)); in waitForDeviceShell()
267 getRunUtil().sleep(Math.min(getCheckPollTime() * counter, MAX_CHECK_POLL_TIME)); in waitForBootComplete()
344 getRunUtil().sleep(Math.min(getCheckPollTime() * counter, MAX_CHECK_POLL_TIME)); in waitForStoreMount()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DZFileDataSource.java110 byte[] buf = new byte[(int) Math.min(remaining, MAX_READ_CHUNK_SIZE)]; in feed()
112 int chunkSize = (int) Math.min(remaining, buf.length); in feed()
/tools/repohooks/tools/
Dpylintrc205 min-similarity-lines=20
404 docstring-min-length=10
441 min-public-methods=2
/tools/apksig/src/main/java/com/android/apksig/internal/jar/
DManifestWriter.java93 chunkLength = Math.min(remaining, MAX_LINE_LENGTH); in writeLine()
98 chunkLength = Math.min(remaining, MAX_LINE_LENGTH - 1); in writeLine()
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
Daudio_test_utils.py186 start_read = min(elem[0], data.shape[0] - 1)
187 end_read = min(elem[1], data.shape[0] - 1)
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyYamlResultParser.java101 : Math.min(mRunStartTime, record.getBeginTime()); in reportToListeners()
118 mRunStartTime == 0L ? timestamp : Math.min(mRunStartTime, timestamp); in reportToListeners()
/tools/external_updater/
Dgithub_archive_updater.py42 cur.append(min(prev[j + 1], prev[j], cur[j]) + 1)
62 return min(urls,

1234