Home
last modified time | relevance | path

Searched refs:setBits (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/location/src/android/location/cts/asn1/base/
DBitStream.java47 private int setBits = 0; field in BitStream
50 return Arrays.copyOf(buffer, position + (setBits == 0 ? 0 : 1)); in getPaddedBytes()
54 buffer[position] = (byte) (buffer[position] | (data & 0xFF) >> setBits); in appendByte()
56 buffer[position] = (byte) (buffer[position] | (data << (BITS_IN_BYTE - setBits)) & 0xFF); in appendByte()
68 buffer[position] = (byte) (buffer[position] | 1 << (BITS_IN_BYTE - 1 - setBits)); in appendBit()
70 setBits++; in appendBit()
71 if (setBits == BITS_IN_BYTE) { in appendBit()
73 setBits = 0; in appendBit()
78 return BITS_IN_BYTE * position + setBits; in getBitCount()
108 if (setBits != 0) {
[all …]
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DOatParser.java82 mOatInfoBuilder.setBits(elf.getBits()); in parse()