Home
last modified time | relevance | path

Searched refs:min (Results 1 – 25 of 82) 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()
DVerityTreeBuilder.java53 private final static int DIGEST_PARALLELISM = Math.min(32,
239 final long readLimit = Math.min(readOffset + maxReadSize, size); in digestDataByChunks()
/tools/test/connectivity/acts_tests/acts_contrib/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/test/graphicsbenchmark/functional_tests/java/src/com/android/game/qualification/tests/
DChoreoTest.java66 double min = Double.MAX_VALUE, max = 0; in choreoCallbackTimes() local
81 if(interval < min) { in choreoCallbackTimes()
82 min = interval; in choreoCallbackTimes()
89 double range = (max - min) / 1E6; in choreoCallbackTimes()
/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/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/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
46 enabled based on min and max SDK version (see
47 --min-sdk-version and --max-sdk-version).
56 --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/test/connectivity/acts_tests/tests/google/experimental/
DBluetoothThroughputTest.py130 min(throughput_list))
165 min(throughput_list))
200 min(throughput_list))
DBluetoothPairAndConnectTest.py167 metrics['pair_min_time_millis'] = int(min(pair_times))
174 min(connect_times))
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
DBtSarBaseTest.py402 edr_otp = min(0, float(self.otp['EDR']['10']))
403 bdr_otp = min(0, float(self.otp['BR']['10']))
404 ble_otp = min(0, float(self.otp['BLE']['10']))
434 ]].min(axis=1)
/tools/apksig/src/main/java/com/android/apksig/
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()
DDefaultApkSignerEngine.java417 int min = Integer.MAX_VALUE; in getMinSdkFromV3SignatureAlgorithms() local
420 if (current < min) { in getMinSdkFromV3SignatureAlgorithms()
425 min = current; in getMinSdkFromV3SignatureAlgorithms()
429 return min; in getMinSdkFromV3SignatureAlgorithms()
/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/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_tests/acts_contrib/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/external_updater/
Dgithub_archive_updater.py43 cur.append(min(prev[j + 1], prev[j], cur[j]) + 1)
63 return min(urls,
/tools/metalava/src/main/java/com/android/tools/metalava/
DDiff.kt26 import kotlin.math.min
133 for (context in i until min(n, i + windowSize)) { in getDiff()
/tools/trebuchet/trebuchet/startup-common/src/
DStartupCommon.kt118 min() ?: throw MissingProcessInfoException(process.id) in findProcess()
145 …me = newProc.threads.map { it.slices.firstOrNull()?.startTime ?: Double.POSITIVE_INFINITY }.min()!! in Model()
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DZipUtils.java183 maxCommentSize = (int) Math.min(maxCommentSize, fileSize - ZIP_EOCD_REC_MIN_SIZE); in findZipEndOfCentralDirectoryRecord()
224 int maxCommentLength = Math.min(archiveSize - ZIP_EOCD_REC_MIN_SIZE, UINT16_MAX_VALUE); in findZipEndOfCentralDirectoryRecord()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItem.kt31 import kotlin.math.min
357 min(space, generics) in markRecent()
/tools/dexter/testdata/expected/
Dmin.rewrite4 .src "min.java"

1234