/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtilsLite.java | 288 int originalLimit = source.limit(); in sliceFromTo() 292 source.limit(end); in sliceFromTo() 299 source.limit(originalLimit); in sliceFromTo() 317 int originalLimit = source.limit(); in getByteBuffer() 319 int limit = position + size; in getByteBuffer() local 320 if ((limit < position) || (limit > originalLimit)) { in getByteBuffer() 323 source.limit(limit); in getByteBuffer() 327 source.position(limit); in getByteBuffer() 330 source.limit(originalLimit); in getByteBuffer()
|
D | AndroidBinXmlParser.java | 536 input.position(input.limit()); in get() 547 input.position(input.limit()); in get() 823 int originalLimit = source.limit(); in sliceFromTo() 827 source.limit(end); in sliceFromTo() 834 source.limit(originalLimit); in sliceFromTo()
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/ |
D | ByteBufferBerDataValueReader.java | 73 int bufOriginalLimit = mBuf.limit(); in readDataValue() 74 mBuf.limit(endPosition); in readDataValue() 76 mBuf.position(mBuf.limit()); in readDataValue() 77 mBuf.limit(bufOriginalLimit); in readDataValue() 81 encoded.limit(contentsOffsetInTag + contentsLength); in readDataValue()
|
/tools/apksig/src/test/java/com/android/apksig/internal/util/ |
D | ByteBufferSinkTestBase.java | 35 buf.limit(buf.capacity() - 300); in createDataSink() 43 int oldLimit = buf.limit(); in getContents() 46 buf.limit(oldPos); in getContents() 49 buf.limit(oldLimit); in getContents()
|
D | FileChannelDataSourceTest.java | 95 byte[] resultBytes = new byte[result.limit()]; in getDataSinkBytes()
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | FileChannelDataSource.java | 107 buf.limit(chunkSize); in feed() 139 int prevLimit = dest.limit(); in copyTo() 143 dest.limit(dest.position() + size); in copyTo() 154 dest.limit(prevLimit); in copyTo()
|
D | OutputStreamDataSink.java | 67 buf.position(buf.limit()); in consume()
|
D | ByteBufferDataSource.java | 71 mBuffer.limit(chunkLimit); in getByteBuffer()
|
D | ByteArrayDataSink.java | 78 buf.position(buf.limit()); in consume()
|
D | VerityTreeBuilder.java | 298 b.limit(end); in slice()
|
/tools/apksig/src/test/java/com/android/apksig/util/ |
D | DataSourceTestBase.java | 206 buf.limit(3); in testCopyTo() 209 buf.limit(3); in testCopyTo() 240 assertEquals(size, buf.limit()); in assertGetByteBufferEquals() 286 int oldLimit = buf.limit(); in assertCopyToEquals() 290 assertEquals(oldLimit, buf.limit()); in assertCopyToEquals() 292 buf.limit(buf.position()); in assertCopyToEquals()
|
D | DataSinkTestBase.java | 80 input.limit(5); in testConsumeFromByteBuffer() 83 assertEquals(5, input.limit()); in testConsumeFromByteBuffer() 86 input.limit(1); in testConsumeFromByteBuffer() 103 assertEquals(2, input.limit()); in testConsumeFromByteBuffer()
|
D | DataSourceFromByteBufferTest.java | 36 buf.limit(4); in testChangesToBufferPosAndLimitNotVisible() 39 buf.limit(buf.capacity()); in testChangesToBufferPosAndLimitNotVisible()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | ClusterChain.java | 212 dest.limit(dest.position() + size); in readData() 223 dest.limit(dest.position() + size); in readData() 261 srcBuf.limit(srcBuf.position() + size); in writeData() 272 srcBuf.limit(srcBuf.position() + size); in writeData()
|
D | Sector.java | 58 buffer.limit(buffer.capacity()); in read() 84 buffer.limit(buffer.capacity()); in write()
|
D | Fat32BootSector.java | 195 buffer.limit(buffer.capacity()); in writeCopy()
|
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | CentralDirectoryRecord.java | 168 int originalLimit = buf.limit(); in getRecord() 172 buf.limit(recordEndInBuf); in getRecord() 175 buf.limit(originalLimit); in getRecord() 252 throw new RuntimeException("pos: " + result.position() + ", limit: " + result.limit()); in createWithDeflateCompressedData()
|
D | LocalFileRecord.java | 361 throw new RuntimeException("pos: " + result.position() + ", limit: " + result.limit()); in outputRecordWithDeflateCompressedData() 503 buf.position(buf.limit()); in consume()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/ |
D | RamDisk.java | 77 this.size = buffer.limit(); in RamDisk() 127 data.limit((int) (devOffset + dest.remaining())); in read() 143 data.limit((int) (devOffset + src.remaining())); in write()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/ |
D | ZFileDataSource.java | 133 int prevLimit = dest.limit(); in copyTo() 137 dest.limit(prevLimit); in copyTo()
|
/tools/apksig/src/test/java/com/android/apksig/internal/asn1/ber/ |
D | BerDataValueTest.java | 81 encoded.position(encoded.limit()); in testGetEncodedReturnsSlice() 97 encoded.position(encoded.limit()); in testGetEncodedContentsReturnsSlice()
|
/tools/treble/build/sandbox/ |
D | nsjail.cfg | 11 # No time limit 78 # limit access to the external environment.
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | ApkSigner.java | 824 int originalLimit = original.limit(); in createExtraFieldToAlignData() 825 original.limit(original.position() + 4 + dataSize); in createExtraFieldToAlignData() 827 original.limit(originalLimit); in createExtraFieldToAlignData()
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/ |
D | tel_data_utils.py | 2732 def set_mobile_data_usage_limit(ad, limit, subscriber_id=None): argument 2735 ad.log.debug("Set subscriber mobile data usage limit to %s", limit) 2736 ad.droid.logV("Setting subscriber mobile data usage limit to %s" % limit) 2738 ad.droid.connectivitySetDataUsageLimit(subscriber_id, str(limit)) 2740 ad.droid.connectivitySetDataUsageLimit(subscriber_id, limit)
|
/tools/trebuchet/trebuchet/startup-common/src/ |
D | StartupCommon.kt | 141 val newProcName = systemServerSlice.name.split(':', limit = 2)[1].trim() in Model()
|