Home
last modified time | relevance | path

Searched refs:LITTLE_ENDIAN (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DByteBufferReaderTest.java45 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerWithBufferUnderflow()
59 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerExceedingMaximumLength()
73 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerLessThanMinimumLength()
86 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerWithMinimumSize()
102 ByteBuffer leBuffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerWithMaximumSize()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DInformationElementUtil.java39 ByteBuffer data = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN); in parseInformationElements()
146 ByteBuffer data = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN); in from()
233 ByteBuffer data = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN); in from()
274 ByteBuffer data = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN); in from()
314 ByteBuffer data = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN); in from()
455 ByteBuffer buf = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN); in parseRsnElement()
567 ByteBuffer buf = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN); in isWpsElement()
578 ByteBuffer buf = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN); in isWpaOneElement()
604 ByteBuffer buf = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN); in parseWpaOneElement()
724 ByteBuffer buf = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN); in isOweElement()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DHSWanMetricsElement.java99 long downlinkSpeed = ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 4) in parse()
101 long uplinkSpeed = ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 4) in parse()
105 int lmd = (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) & 0xFFFF; in parse()
DOsuProviderInfo.java108 int length = (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) in parse()
116 (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) & 0xFFFF; in parse()
134 (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) & 0xFFFF; in parse()
146 (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) & 0xFFFF; in parse()
DIconInfo.java66 int width = (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) in parse()
68 int height = (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) in parse()
DProtocolPortTuple.java66 int port = (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) in parse()
DNAIRealmElement.java58 int count = (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) in parse()
DHSIconFileElement.java90 (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) & 0xFFFF; in parse()
DNAIRealmData.java69 int length = (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) in parse()
/frameworks/base/core/java/android/util/apk/
DZipUtils.java122 buf.order(ByteOrder.LITTLE_ENDIAN); in findZipEndOfCentralDirectoryRecord()
134 eocd.order(ByteOrder.LITTLE_ENDIAN); in findZipEndOfCentralDirectoryRecord()
243 if (buffer.order() != ByteOrder.LITTLE_ENDIAN) { in assertByteOrderLittleEndian()
DVerityBuilder.java121 output.order(ByteOrder.LITTLE_ENDIAN); in generateVerityTreeInternal()
133 footerOutput.order(ByteOrder.LITTLE_ENDIAN); in generateApkVerityFooter()
151 ByteBuffer footer = ByteBuffer.allocate(CHUNK_SIZE_BYTES).order(ByteOrder.LITTLE_ENDIAN); in generateApkVerityRootHash()
327 ZIP_EOCD_CENTRAL_DIR_OFFSET_FIELD_SIZE).order(ByteOrder.LITTLE_ENDIAN); in generateApkVerityDigestAtLeafLevel()
DApkSigningBlockUtils.java152 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in verifyIntegrityFor1MbChunkBasedAlgorithm()
315 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in parseVerityDigestAndVerifySourceLength()
679 footer.order(ByteOrder.LITTLE_ENDIAN); in findApkSigningBlock()
701 apkSigBlock.order(ByteOrder.LITTLE_ENDIAN); in findApkSigningBlock()
756 if (buffer.order() != ByteOrder.LITTLE_ENDIAN) { in checkByteOrderLittleEndian()
/frameworks/base/core/tests/coretests/src/android/util/
DStatsEventTest.java54 ByteBuffer.wrap(statsEvent.getBytes()).order(ByteOrder.LITTLE_ENDIAN); in testNoFields()
109 ByteBuffer.wrap(statsEvent.getBytes()).order(ByteOrder.LITTLE_ENDIAN); in testIntBooleanIntInt()
178 ByteBuffer.wrap(statsEvent.getBytes()).order(ByteOrder.LITTLE_ENDIAN); in testStringFloatByteArray()
242 ByteBuffer.wrap(statsEvent.getBytes()).order(ByteOrder.LITTLE_ENDIAN); in testAttributionChainLong()
312 ByteBuffer.wrap(statsEvent.getBytes()).order(ByteOrder.LITTLE_ENDIAN); in testKeyValuePairs()
406 ByteBuffer.wrap(statsEvent.getBytes()).order(ByteOrder.LITTLE_ENDIAN); in testSingleAnnotations()
/frameworks/base/core/tests/privacytests/src/android/privacy/
DRapporEncoderTest.java189 return ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).putLong(value).array(); in toBytes()
193 ByteBuffer buffer = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).put(bytes); in toLong()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtilsTest.java449 .order(ByteOrder.LITTLE_ENDIAN); in packVaultParams_encodesCounterIdAsSecondParam()
465 .order(ByteOrder.LITTLE_ENDIAN); in packVaultParams_encodesMaxAttemptsAsThirdParam()
479 .order(ByteOrder.LITTLE_ENDIAN); in packVaultParams_encodesVaultHandleAsLastParam()
496 .order(ByteOrder.LITTLE_ENDIAN); in packVaultParams_encodesVaultHandleWithLength8AsLastParam()
DMockScrypt.java36 byteBuffer.order(ByteOrder.LITTLE_ENDIAN); in scrypt()
/frameworks/base/core/java/android/nfc/tech/
DMifareClassic.java477 cmd.order(ByteOrder.LITTLE_ENDIAN); in increment()
505 cmd.order(ByteOrder.LITTLE_ENDIAN); in decrement()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DLoaderDicom.java138 return (o == ByteOrder.LITTLE_ENDIAN) ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_ENDIAN; in reverse()
152 setOrder(ByteOrder.LITTLE_ENDIAN); in read()
162 setOrder((mByteOrder == ByteOrder.LITTLE_ENDIAN) ? in read()
163 ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_ENDIAN); in read()
/frameworks/base/core/java/android/bluetooth/
DBluetoothUuid.java252 ByteBuffer buf = ByteBuffer.wrap(uuidBytes).order(ByteOrder.LITTLE_ENDIAN); in parseUuidFrom()
313 ByteBuffer buf = ByteBuffer.wrap(uuidBytes).order(ByteOrder.LITTLE_ENDIAN); in uuidToBytes()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DByteBufferReader.java57 if (byteOrder == ByteOrder.LITTLE_ENDIAN) { in readInteger()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DProtocolPortTupleTest.java48 .order(ByteOrder.LITTLE_ENDIAN); in getTestBuffer()
DNAIRealmElementTest.java46 ByteBuffer buffer = ByteBuffer.allocate(dataLength + 2).order(ByteOrder.LITTLE_ENDIAN); in getTestBufferWithNAIRealmData()
DHSConnectionCapabilityElementTest.java62 .order(ByteOrder.LITTLE_ENDIAN); in getTestBuffer()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DPortableFloatMap.java63 mData.order(mScale < 0 ? ByteOrder.LITTLE_ENDIAN : ByteOrder.BIG_ENDIAN); in PortableFloatMap()
/frameworks/base/core/java/android/hardware/location/
DNanoAppBinary.java71 private static final ByteOrder HEADER_ORDER = ByteOrder.LITTLE_ENDIAN;

12