/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | NetlinkTestUtils.kt | 33 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/ |
D | WifiAwareStateManagerTest.java | 187 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 …]
|
D | WifiAwareDataPathStateManagerTest.java | 213 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/ |
D | EapSimAkaAttribute.java | 257 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/ |
D | ExifTag.java | 460 } 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()
|
D | IfdData.java | 31 private final Map<Short, ExifTag> mExifTags = new HashMap<Short, ExifTag>();
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifTag.java | 460 } 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()
|
D | IfdData.java | 31 private final Map<Short, ExifTag> mExifTags = new HashMap<Short, ExifTag>();
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | ExifTag.java | 460 } 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()
|
D | IfdData.java | 31 private final Map<Short, ExifTag> mExifTags = new HashMap<Short, ExifTag>();
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
D | HdHomeRunControlSocket.java | 160 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/ |
D | IkeAuthDigitalSignPayload.java | 124 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()
|
D | IkeSkfPayload.java | 80 fragmentNum = Short.toUnsignedInt(inputBuffer.getShort()); in IkeSkfPayload() 81 totalFragments = Short.toUnsignedInt(inputBuffer.getShort()); in IkeSkfPayload()
|
D | IkePayloadFactory.java | 143 int payloadLength = Short.toUnsignedInt(input.getShort()); in getIkePayload() 193 int payloadLength = Short.toUnsignedInt(input.getShort()); in getIkeSkPayload()
|
D | IkeSaPayload.java | 587 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/ |
D | StructNfGenMsg.java | 35 public static final int STRUCT_SIZE = 2 + Short.BYTES; 100 + "res_id{" + Short.toUnsignedInt(res_id) + "} " in toString()
|
D | StructNlAttr.java | 135 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/ |
D | Tether4Key.java | 76 Short.toUnsignedInt((short) srcPort), Short.toUnsignedInt((short) dstPort)); in toString()
|
D | Tether4Value.java | 91 Short.toUnsignedInt((short) srcPort), Short.toUnsignedInt((short) dstPort), in toString()
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | IkeTrafficSelector.java | 327 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/ |
D | DhcpPacket.java | 204 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/ |
D | EapMsChapV2TypeData.java | 115 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/ |
D | BitUtilsTest.java | 72 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/ |
D | IkeTunUtils.java | 303 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/ |
D | DhcpPacketTest.java | 725 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()
|