Home
last modified time | relevance | path

Searched refs:padding (Results 1 – 6 of 6) sorted by relevance

/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DExtraField.java349 private int padding; field in ExtraField.AlignmentSegment
366 padding = totalSize - MINIMUM_SIZE; in AlignmentSegment()
385 padding = data.length - 2; in AlignmentSegment()
391 LittleEndianUtils.writeUnsigned2Le(out, padding + 2); in write()
393 out.put(new byte[padding]); in write()
398 return padding + 6; in size()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTableBuilder.java158 public TableBuilder setPadding(int padding) { in setPadding() argument
159 mPadding = padding; in setPadding()
271 private void addPadding(int padding) { in addPadding() argument
272 for (int i = 0; i < padding; i++) { in addPadding()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java724 int padding = ANDROID_COMMON_PAGE_ALIGNMENT_BYTES - in generateApkSigningBlock() local
726 if (padding < 12) { // minimum size of an ID-value pair in generateApkSigningBlock()
727 padding += ANDROID_COMMON_PAGE_ALIGNMENT_BYTES; in generateApkSigningBlock()
729 paddingPair = ByteBuffer.allocate(padding).order(ByteOrder.LITTLE_ENDIAN); in generateApkSigningBlock()
730 paddingPair.putLong(padding - 8); in generateApkSigningBlock()
733 resultSize += padding; in generateApkSigningBlock()
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java494 int padding = outputApkSigningBlockRequest.getPaddingSizeBeforeApkSigningBlock(); in sign() local
495 outputApkOut.consume(ByteBuffer.allocate(padding)); in sign()
499 outputCentralDirStartOffset + padding + outputApkSigningBlock.length); in sign()
/tools/test/connectivity/acts/tests/google/bt/pts/instructions/
DSM_PTS_INSTRUCTIONS210 D bt_smp : p2 = ra || ia || padding(LSB ~ MSB):
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt540 There are two padding options which are used when necessary to align
542 of 8 octets in length. These padding options must be recognized by
554 The Pad1 option is used to insert one octet of padding into the
555 Options area of a header. If more than one octet of padding is
573 The PadN option is used to insert two or more octets of padding
574 into the Options area of a header. For N octets of padding, the
1767 no interior padding, then derive the alignment requirement for the