Home
last modified time | relevance | path

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

123

/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 …]
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()
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()
DChainedDataSource.java88 long sizeToCopy = Math.min(mSources[i].size() - offset, buffer.remaining()); in getByteBuffer()
/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/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/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
16 --min-sdk-version Lowest API Level on which this APK's signatures will be
39 $ apksigner verify --min-sdk-version 15 app.apk
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).
33 --min-sdk-version Lowest API Level on which this APK's signatures will be
/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/dexter/testdata/expected/
Dmin.rewrite4 .src "min.java"
Dmin.compact_cfg5 .src "min.java"
Dmin.verbose_cfg5 .src "min.java"
Dmin.entry_hook4 .src "min.java"
Dmin.scratch_regs4 .src "min.java"
Dmin.code_coverage6 .src "min.java"
/tools/test/connectivity/tools/lab/
DREADME.md46 load_avg_1_min: system load average for past 1 min (float)
47 load_avg_5_min: system load average for past 5 min (float)
48 load_avg_15_min: system load average for past 15 min (float)
/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/metalava/stub-annotations/src/main/java/androidx/annotation/
DSize.java35 long min() default Long.MIN_VALUE; in min() method
/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/apksig/src/main/java/com/android/apksig/internal/zip/
DZipUtils.java177 maxCommentSize = (int) Math.min(maxCommentSize, fileSize - ZIP_EOCD_REC_MIN_SIZE); in findZipEndOfCentralDirectoryRecord()
218 int maxCommentLength = Math.min(archiveSize - ZIP_EOCD_REC_MIN_SIZE, UINT16_MAX_VALUE); in findZipEndOfCentralDirectoryRecord()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceStateMonitor.java68 getRunUtil().sleep(Math.min(getCheckPollTime() * counter, MAX_CHECK_POLL_TIME)); in waitForPmResponsive()
DNativeDeviceStateMonitor.java183 getRunUtil().sleep(Math.min(getCheckPollTime() * counter, MAX_CHECK_POLL_TIME)); in waitForDeviceShell()
252 getRunUtil().sleep(Math.min(getCheckPollTime() * counter, MAX_CHECK_POLL_TIME)); in waitForBootComplete()
325 getRunUtil().sleep(Math.min(getCheckPollTime() * counter, MAX_CHECK_POLL_TIME)); in waitForStoreMount()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSimpleStats.java111 public Double min() { in min() method in SimpleStats
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DShardHelper.java97 expectedShard = Math.min(shardCount, shardableTests.size()); in shardConfig()
111 int maxShard = Math.min(shardCount, shardableTests.size()); in shardConfig()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/
DInputStreamBerDataValueReader.java283 int len = mIn.read(buf, 0, (int) Math.min(buf.length, n)); in skip()

123