Home
last modified time | relevance | path

Searched refs:Short (Results 1 – 25 of 71) sorted by relevance

123

/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DNetlinkTestUtils.kt33 nudState: Short
45 nudState: Short
54 type: Short,
55 nudState: Short
102 private fun Short.toLEHex() = String.format("%04x", java.lang.Short.reverseBytes(this)) method
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java187 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in setUp()
267 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testRequestMacAddresses()
375 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testAwareDataPathInterfaceUpDown()
422 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDisableUsageDisablesApis()
463 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDisableUsageFlow()
551 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testHalFailureEnableAndConfigure()
599 ArgumentCaptor<Short> transactionIdCapture = ArgumentCaptor.forClass(Short.class); in testAwareEventsDelivery()
683 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testHalNoResponseTimeout()
747 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testPublishFail()
817 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testPublishSuccessTerminated()
[all …]
DWifiAwareDataPathStateManagerTest.java213 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testCreateDeleteAllInterfaces()
407 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDestroyNdiDuringNdpSetupResponder()
477 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMultipleNdpsOnSingleNdi()
590 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMultipleIdenticalRequests()
730 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMultipleNdiToSamePeer()
812 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMultipleNdiToDifferentPeer()
902 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMultipleNdpToDifferentPeerOnSingleNdi()
1517 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDataPathInitiatorUtilityMore()
1689 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDataPathResponderUtility()
1938 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in initDataPathEndPoint()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaAttribute.java257 int bytesInList = Short.toUnsignedInt(byteBuffer.getShort()); in AtVersionList()
265 versions.add(Short.toUnsignedInt(byteBuffer.getShort())); in AtVersionList()
458 int identityLength = Short.toUnsignedInt(byteBuffer.getShort()); in AtIdentity()
711 this.counter = Short.toUnsignedInt(byteBuffer.getShort()); in AtCounter()
828 notificationCode = Short.toUnsignedInt(byteBuffer.getShort()); in AtNotification()
987 int resLength = Short.toUnsignedInt(byteBuffer.getShort()); in AtRes()
1104 int networkNameLength = Short.toUnsignedInt(byteBuffer.getShort()); in AtKdfInput()
1147 kdf = Short.toUnsignedInt(buffer.getShort()); in AtKdf()
1182 int serverFlag = Short.toUnsignedInt(buffer.getShort()); in AtBidding()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifTag.java460 } else if (obj instanceof Short) { in setValue()
461 return setValue(((Short) obj).shortValue() & 0x0ffff); in setValue()
480 } else if (obj instanceof Short[]) { in setValue()
482 Short[] arr = (Short[]) obj; in setValue()
DIfdData.java31 private final Map<Short, ExifTag> mExifTags = new HashMap<Short, ExifTag>();
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifTag.java460 } else if (obj instanceof Short) { in setValue()
461 return setValue(((Short) obj).shortValue() & 0x0ffff); in setValue()
480 } else if (obj instanceof Short[]) { in setValue()
482 Short[] arr = (Short[]) obj; in setValue()
DIfdData.java31 private final Map<Short, ExifTag> mExifTags = new HashMap<Short, ExifTag>();
/packages/apps/Camera2/src/com/android/camera/exif/
DExifTag.java460 } else if (obj instanceof Short) { in setValue()
461 return setValue(((Short) obj).shortValue() & 0x0ffff); in setValue()
480 } else if (obj instanceof Short[]) { in setValue()
482 Short[] arr = (Short[]) obj; in setValue()
DIfdData.java31 private final Map<Short, ExifTag> mExifTags = new HashMap<Short, ExifTag>();
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunControlSocket.java160 Pair<Short, byte[]> receivedData = receive(timeout); in sendAndReceive()
187 private Pair<Short, byte[]> receive(int timeout) { in receive()
197 Pair<Short, byte[]> result = HdHomeRunUtils.openFrame(receivedData, index); in receive()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeAuthDigitalSignPayload.java124 private static final Set<Short> ALL_SIGNATURE_ALGO_TYPES_SET = new ArraySet<>();
321 public static Set<Short> getSignatureHashAlgorithmsFromIkeNotifyPayload( in getSignatureHashAlgorithmsFromIkeNotifyPayload()
335 Set<Short> hashAlgos = new ArraySet<>(); in getSignatureHashAlgorithmsFromIkeNotifyPayload()
DIkeSkfPayload.java80 fragmentNum = Short.toUnsignedInt(inputBuffer.getShort()); in IkeSkfPayload()
81 totalFragments = Short.toUnsignedInt(inputBuffer.getShort()); in IkeSkfPayload()
DIkePayloadFactory.java143 int payloadLength = Short.toUnsignedInt(input.getShort()); in getIkePayload()
193 int payloadLength = Short.toUnsignedInt(input.getShort()); in getIkeSkPayload()
DIkeSaPayload.java587 int length = Short.toUnsignedInt(inputBuffer.getShort()); in readFrom()
1015 int length = Short.toUnsignedInt(inputBuffer.getShort()); in readFrom()
1021 int id = Short.toUnsignedInt(inputBuffer.getShort()); in readFrom()
1766 length = Short.toUnsignedInt(inputBuffer.getShort()); in readFrom()
1794 this(Short.toUnsignedInt(ByteBuffer.wrap(value).getShort())); in KeyLengthAttribute()
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNfGenMsg.java35 public static final int STRUCT_SIZE = 2 + Short.BYTES;
100 + "res_id{" + Short.toUnsignedInt(res_id) + "} " in toString()
DStructNlAttr.java135 setValue(new byte[Short.BYTES]); in StructNlAttr()
191 if (byteBuffer == null || byteBuffer.remaining() != Short.BYTES) { in getValueAsBe16()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTether4Key.java76 Short.toUnsignedInt((short) srcPort), Short.toUnsignedInt((short) dstPort)); in toString()
DTether4Value.java91 Short.toUnsignedInt((short) srcPort), Short.toUnsignedInt((short) dstPort), in toString()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeTrafficSelector.java327 int tsLength = Short.toUnsignedInt(inputBuffer.getShort()); in decodeTrafficSelector()
333 int startPort = Short.toUnsignedInt(inputBuffer.getShort()); in decodeTrafficSelector()
334 int endPort = Short.toUnsignedInt(inputBuffer.getShort()); in decodeTrafficSelector()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java204 public Short mMtu;
285 protected Short mMaxMessageSize;
732 protected static void addTlv(ByteBuffer buf, byte type, @Nullable Short value) { in addTlv()
851 if (mMtu != null && Short.toUnsignedInt(mMtu) >= IPV4_MIN_MTU) { in addCommonServerTlvs()
1012 Short mtu = null; in decodeFullPacket()
1013 Short maxMessageSize = null; in decodeFullPacket()
1242 maxMessageSize = Short.valueOf(packet.getShort()); in decodeFullPacket()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2TypeData.java115 Short.toUnsignedInt(buffer.getShort())); in EapMsChapV2ChallengeRequest()
218 Short.toUnsignedInt(buffer.getShort())); in EapMsChapV2SuccessRequest()
326 Short.toUnsignedInt(buffer.getShort())); in EapMsChapV2FailureRequest()
/packages/modules/Connectivity/tests/unit/java/com/android/internal/util/
DBitUtilsTest.java72 assertEquals(32767, uint16(Short.MAX_VALUE)); in testUnsignedShortWideningConversions()
73 assertEquals(32768, uint16(Short.MIN_VALUE)); in testUnsignedShortWideningConversions()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeTunUtils.java303 int fragNum = Short.toUnsignedInt(buffer.getShort()); in isExpectedFragNum()
341 return Short.toUnsignedInt(buffer.getShort()); in getPort()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java725 if (mtu > Short.MAX_VALUE - Short.MIN_VALUE) { in mtuBytes()
780 checkMtu(packet, 0, mtuBytes(Short.MIN_VALUE)); in testMtu()
781 checkMtu(packet, 0, mtuBytes(Short.MAX_VALUE + 3)); in testMtu()

123