/tools/test/connectivity/acts/framework/tests/ |
D | acts_relay_controller_test.py | 72 self.board.set(self.relay.position, RelayState.NO) 79 self.board.set(self.relay.position, RelayState.NO) 82 self.board.get_relay_status(self.relay.position), RelayState.NC) 85 self.board.set(self.relay.position, RelayState.NC) 88 self.board.get_relay_status(self.relay.position), RelayState.NC) 91 self.board.set(self.relay.position, RelayState.NC) 94 self.board.get_relay_status(self.relay.position), RelayState.NO) 97 self.board.set(self.relay.position, RelayState.NO) 100 self.board.get_relay_status(self.relay.position), RelayState.NO) 103 self.board.set(self.relay.position, RelayState.NO) [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | AndroidBinXmlParser.java | 310 contents.position(0); in next() 388 attr.position(attr.position() + 7); // skip ignored fields in parseCurrentElementAttributesIfNotParsed() 536 input.position(input.limit()); in get() 540 int originalPosition = input.position(); in get() 547 input.position(input.limit()); in get() 565 input.position((int) chunkEndPosition); in get() 590 header.position(Chunk.HEADER_MIN_SIZE_BYTES); in StringPool() 663 mStringsSection.position((int) offsetInStringsSection); in getString() 690 arrOffset = encoded.arrayOffset() + encoded.position(); in getLengthPrefixedUtf16EncodedString() 691 encoded.position(encoded.position() + lengthBytes); in getLengthPrefixedUtf16EncodedString() [all …]
|
D | ApkSigningBlockUtils.java | 176 int eocdSavedPos = eocd.position(); in verifyIntegrity() 182 eocd.position(eocdSavedPos); in verifyIntegrity() 286 int nextEntryPos = pairs.position() + len; in findApkSignatureSchemeBlock() 296 pairs.position(nextEntryPos); in findApkSignatureSchemeBlock() 327 int originalPosition = source.position(); in sliceFromTo() 329 source.position(0); in sliceFromTo() 331 source.position(start); in sliceFromTo() 336 source.position(0); in sliceFromTo() 338 source.position(originalPosition); in sliceFromTo() 356 int position = source.position(); in getByteBuffer() local [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/ |
D | ByteBufferBerDataValueReader.java | 37 int startPosition = mBuf.position(); in readDataValue() 54 contentsOffsetInTag = mBuf.position() - startPosition; in readDataValue() 59 contentsOffsetInTag = mBuf.position() - startPosition; in readDataValue() 63 contentsOffsetInTag = mBuf.position() - startPosition; in readDataValue() 71 int endPosition = mBuf.position(); in readDataValue() 72 mBuf.position(startPosition); in readDataValue() 76 mBuf.position(mBuf.limit()); in readDataValue() 80 encoded.position(contentsOffsetInTag); in readDataValue() 157 mBuf.position(mBuf.position() + contentsLength); in skipDefiniteLengthContents() 192 int startPos = mBuf.position(); in skipConstructedIndefiniteLengthContents() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | CentralDirectoryRecord.java | 138 int originalPosition = buf.position(); in getRecord() 145 buf.position(originalPosition + GP_FLAGS_OFFSET); in getRecord() 156 buf.position(originalPosition + LOCAL_FILE_HEADER_OFFSET_OFFSET); in getRecord() 158 buf.position(originalPosition); in getRecord() 167 buf.position(originalPosition); in getRecord() 178 buf.position(recordEndInBuf); in getRecord() 252 throw new RuntimeException("pos: " + result.position() + ", limit: " + result.limit()); in createWithDeflateCompressedData() 269 static String getName(ByteBuffer record, int position, int nameLengthBytes) { in getName() argument 274 nameBytesOffset = record.arrayOffset() + position; in getName() 278 int originalPosition = record.position(); in getName() [all …]
|
D | ZipUtils.java | 62 zipEndOfCentralDirectory.position() + ZIP_EOCD_CENTRAL_DIR_OFFSET_FIELD_OFFSET, in setZipEocdCentralDirectoryOffset() 75 zipEndOfCentralDirectory.position() + ZIP_EOCD_CENTRAL_DIR_OFFSET_FIELD_OFFSET); in getZipEocdCentralDirectoryOffset() 87 zipEndOfCentralDirectory.position() + ZIP_EOCD_CENTRAL_DIR_SIZE_FIELD_OFFSET); in getZipEocdCentralDirectorySizeBytes() 100 zipEndOfCentralDirectory.position() in getZipEocdCentralDirectoryTotalRecordCount() 189 buf.position(eocdOffsetInBuf); in findZipEndOfCentralDirectoryRecord() 292 inputOffset = input.arrayOffset() + input.position(); in deflate() 293 input.position(input.limit()); in deflate()
|
/tools/apksig/src/test/java/com/android/apksig/util/ |
D | DataSourceTestBase.java | 205 buf.position(2); in testCopyTo() 208 buf.position(2); in testCopyTo() 214 buf.position(2); in testCopyTo() 217 buf.position(2); in testCopyTo() 239 assertEquals(0, buf.position()); in assertGetByteBufferEquals() 276 buf.position(2); in assertCopyToEquals() 285 int oldPosition = buf.position(); in assertCopyToEquals() 289 assertEquals(oldPosition + size, buf.position()); in assertCopyToEquals() 292 buf.limit(buf.position()); in assertCopyToEquals() 293 buf.position(oldPosition); in assertCopyToEquals() [all …]
|
D | DataSinkTestBase.java | 79 input.position(2); in testConsumeFromByteBuffer() 82 assertEquals(5, input.position()); in testConsumeFromByteBuffer() 85 input.position(0); in testConsumeFromByteBuffer() 102 assertEquals(2, input.position()); in testConsumeFromByteBuffer()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | ApkSigner.java | 661 extra.position(extra.position() + dataSize); in getInputJarEntryDataAlignmentMultiple() 709 original.position(original.position() + dataSize); in createExtraFieldToAlignData() 713 original.position(original.position() - 4); in createExtraFieldToAlignData() 715 original.limit(original.position() + 4 + dataSize); in createExtraFieldToAlignData() 729 extraStartOffset + result.position() in createExtraFieldToAlignData() 737 result.position(result.position() + paddingSizeBytes); in createExtraFieldToAlignData() 765 int offsetInsideCd = cd.position(); in parseZipCentralDirectory() 784 + " bytes starting at file offset " + (cdOffset + cd.position())); in parseZipCentralDirectory()
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | X509CertificateUtils.java | 125 int startingPos = encodedCertBuffer.position(); in generateCertificate() 132 byte[] originalEncoding = new byte[encodedCertBuffer.position() - startingPos]; in generateCertificate() 133 encodedCertBuffer.position(startingPos); in generateCertificate() 189 int startingPos = certBuffer.position(); in generateCertificates() 194 byte[] originalEncoding = new byte[certBuffer.position() - startingPos]; in generateCertificates() 195 certBuffer.position(startingPos); in generateCertificates() 266 int nextEncodedChar = certificateBuffer.position(); in getNextDEREncodedCertificateBlock() 275 certificateBuffer.position(nextEncodedChar); in getNextDEREncodedCertificateBlock()
|
D | FileChannelDataSource.java | 109 mChannel.position(chunkOffsetInFile); in feed() 143 dest.limit(dest.position() + size); in copyTo() 147 mChannel.position(offsetInFile); in copyTo()
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | ota_chamber.py | 66 def set_stirrer_pos(self, stirrer_id, position): argument 98 def set_stirrer_pos(self, stirrer_id, position): argument 100 self.log.info('Setting stirrer {} to {}.'.format(stirrer_id, position)) 200 def set_stirrer_pos(self, stirrer_id, position): argument 203 self.log.info('Setting stirrer {} to {}.'.format(stirrer_id, position)) 205 self.chamber.chamber_stirring_manual_set_pos, stirrer_id, position) 210 self.set_stirrer_pos(stirrer_id, position) 214 self.log.warning('Stirrer {} at {}.'.format(stirrer_id, position))
|
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/ |
D | relay.py | 76 def __init__(self, relay_board, position): argument 78 self.position = position 80 self.relay_id = "%s/%s" % (self.relay_board.name, self.position) 120 self.position) 127 self.relay_board.set(self.position, state) 154 return self.relay_board.get_relay_status(self.position)
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | ApkSignerTool.java | 219 providerParams.position = in sign() 582 providerParams.position = in rotate() 966 Integer position; field in ApkSignerTool.ProviderInstallSpec 969 return (className == null) && (constructorParam == null) && (position == null); in isEmpty() 995 if (position == null) { in installProvider() 998 Security.insertProviderAt(provider, position); in installProvider()
|
/tools/apksig/src/test/java/com/android/apksig/internal/util/ |
D | ByteBufferSinkTestBase.java | 34 buf.position(START_POS); in createDataSink() 42 int oldPos = buf.position(); in getContents() 45 buf.position(START_POS); in getContents() 50 buf.position(oldPos); in getContents()
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiThroughputStabilityTest.py | 480 test_id, collections.OrderedDict(position=[], throughput=[])) 562 … for channel, mode, position, traffic_type, signal_level, traffic_direction in itertools.product( 575 position=position) 579 channel, mode, position))
|
D | WifiPingTest.py | 722 for channel, mode, position in itertools.product( 727 channel, mode, position) 736 position=position)
|
/tools/platform-compat/java/android/processor/compat/unsupportedappusage/ |
D | UnsupportedAppUsageProcessor.java | 143 String position = getSourcePositionOverride(element, annotationMirror); in getAnnotationIndex() local 144 if (position == null) { in getAnnotationIndex() 149 position = Joiner.on(",").join( in getAnnotationIndex() 158 position, in getAnnotationIndex()
|
/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 | FsInfoSector.java | 145 buffer.position(0x00); in init() 153 buffer.position(0x1e4); in init() 162 buffer.position(SIGNATURE_OFFSET); in init()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextClassItem.kt | 36 position: SourcePositionInfo = SourcePositionInfo.UNKNOWN, 47 position = position, 252 assert(emit == (position != SourcePositionInfo.UNKNOWN)) in simpleName()
|
D | TextMemberItem.kt | 26 position: SourcePositionInfo, 28 ) : TextItem(codebase, position = position, modifiers = modifiers), MemberItem {
|
D | TextFieldItem.kt | 30 position: SourcePositionInfo 31 ) : TextMemberItem(codebase, name, containingClass, position, modifiers), FieldItem { 59 modifiers.duplicate(), type, constantValue, position in hashCode()
|
D | TextMethodItem.kt | 36 position: SourcePositionInfo 38 codebase, name, containingClass, position, 138 modifiers.duplicate(), returnType, position in duplicate()
|
/tools/repohooks/tools/ |
D | cpplint.py | 4640 position = start_position 4641 while punctuation_stack and position < len(text): 4642 if text[position] == punctuation_stack[-1]: 4644 elif text[position] in closing_punctuation: 4647 elif text[position] in matching_punctuation: 4648 punctuation_stack.append(matching_punctuation[text[position]]) 4649 position += 1 4654 return text[start_position:position - 1]
|