Home
last modified time | relevance | path

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

12345

/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DNetlinkTestUtils.kt36 nudState: Short,
50 nudState: Short
59 type: Short,
60 nudState: Short,
108 private fun Short.toLEHex() = String.format("%04x", java.lang.Short.reverseBytes(this)) method
/packages/modules/Connectivity/staticlibs/testutils/hostdevice/com/android/testutils/
DPacketFilter.kt53 private val src: Short?,
54 private val dst: Short?
74 srcPort: Short? = null,
75 dstPort: Short? = null
87 srcPort: Short? = null, in test()
88 dstPort: Short? = null in test()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeAuthDigitalSignPayload.java130 private static final Map<Short, String> SIGNATURE_ALGO_TYPE_TO_NAME = new HashMap<>();
190 Set<Short> genericSignAuthAlgos, in IkeAuthDigitalSignPayload()
232 private static int getAuthMethod(Set<Short> genericSignAuthAlgos) { in getAuthMethod()
240 static String selectGenericSignAuthAlgo(Set<Short> genericSignAuthAlgos) { in selectGenericSignAuthAlgo()
241 List<Short> algoList = new ArrayList<>(genericSignAuthAlgos); in selectGenericSignAuthAlgo()
366 public static Set<Short> getSignatureHashAlgorithmsFromIkeNotifyPayload( in getSignatureHashAlgorithmsFromIkeNotifyPayload()
380 Set<Short> hashAlgos = new ArraySet<>(); in getSignatureHashAlgorithmsFromIkeNotifyPayload()
DIkeSkfPayload.java80 fragmentNum = Short.toUnsignedInt(inputBuffer.getShort()); in IkeSkfPayload()
81 totalFragments = Short.toUnsignedInt(inputBuffer.getShort()); in IkeSkfPayload()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DDnsSvcbRecord.java117 mSvcPriority = Short.toUnsignedInt(buf.getShort()); in DnsSvcbRecord()
213 final int key = Short.toUnsignedInt(buf.getShort()); in parseSvcParam()
254 final int len = Short.toUnsignedInt(buf.getShort()); in SvcParamMandatory()
284 final int len = Short.toUnsignedInt(buf.getShort()); in SvcParamAlpn()
332 if (len != Short.BYTES) { in SvcParamPort()
335 mValue = Short.toUnsignedInt(buf.getShort()); in SvcParamPort()
356 final int len = Short.toUnsignedInt(buf.getShort()); in SvcParamIpHint()
403 final int len = Short.toUnsignedInt(buf.getShort()); in SvcParamDohPath()
428 final int len = Short.toUnsignedInt(buf.getShort()); in SvcParamGeneric()
508 if (buf.remaining() % Short.BYTES != 0) { in toShortArray()
DDnsPacket.java120 mId = Short.toUnsignedInt(buf.getShort()); in DnsHeader()
121 mFlags = Short.toUnsignedInt(buf.getShort()); in DnsHeader()
124 mRecordCount[i] = Short.toUnsignedInt(buf.getShort()); in DnsHeader()
296 nsType = Short.toUnsignedInt(buf.getShort()); in DnsRecord()
297 nsClass = Short.toUnsignedInt(buf.getShort()); in DnsRecord()
301 final int length = Short.toUnsignedInt(buf.getShort()); in DnsRecord()
325 final int nsType = Short.toUnsignedInt(buf.getShort()); in parse()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java306 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in setUp()
401 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testRequestMacAddresses()
527 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testAwareDataPathInterfaceUpDown()
576 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDisableUsageDisablesApis()
617 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDisableUsageFlow()
711 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testHalFailureEnableAndConfigure()
763 ArgumentCaptor<Short> transactionIdCapture = ArgumentCaptor.forClass(Short.class); in testAwareEventsDelivery()
853 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testHalNoResponseTimeout()
920 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testPublishFail()
995 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testPublishSuccessTerminated()
[all …]
DWifiAwareDataPathStateManagerTest.java261 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testCreateDeleteAllInterfaces()
462 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDestroyNdiDuringNdpSetupResponder()
536 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMultipleNdpsOnSingleNdi()
660 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMultipleIdenticalRequests()
811 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMultipleNdiToSamePeer()
903 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMultipleNdiToSamePeerWithSecurityUpgrade()
992 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMultipleNdiToDifferentPeer()
1090 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testMultipleNdpToDifferentPeerOnSingleNdi()
1713 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDataPathInitiatorUtilityMore()
1906 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDataPathResponderUtility()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/integration/
DDefaultDataTypeDescriptorSet.kt74 FieldType.Short, in <lambda>()
97 FieldType.Short -> Short::class.javaObjectType in <lambda>()
/packages/modules/Wifi/framework/java/android/net/wifi/
DQosCharacteristics.java236 && !checkIntRange(mMaxMsduSizeOctets, 1, Short.MAX_VALUE)) { in validate()
255 && !checkIntRange(mMsduLifetimeMillis, 1, Short.MAX_VALUE)) { in validate()
328 @IntRange(from = 1, to = Short.MAX_VALUE)
402 @IntRange(from = 1, to = Short.MAX_VALUE)
615 @IntRange(from = 1, to = Short.MAX_VALUE) int maxMsduSizeOctets) { in setMaxMsduSizeOctets()
684 @IntRange(from = 1, to = Short.MAX_VALUE) int msduLifetimeMillis) { in setMsduLifetimeMillis()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaAttribute.java270 int bytesInList = Short.toUnsignedInt(byteBuffer.getShort()); in AtVersionList()
278 versions.add(Short.toUnsignedInt(byteBuffer.getShort())); in AtVersionList()
471 int identityLength = Short.toUnsignedInt(byteBuffer.getShort()); in AtIdentity()
724 this.counter = Short.toUnsignedInt(byteBuffer.getShort()); in AtCounter()
841 notificationCode = Short.toUnsignedInt(byteBuffer.getShort()); in AtNotification()
1000 int resLength = Short.toUnsignedInt(byteBuffer.getShort()); in AtRes()
1117 int networkNameLength = Short.toUnsignedInt(byteBuffer.getShort()); in AtKdfInput()
1160 kdf = Short.toUnsignedInt(buffer.getShort()); in AtKdf()
1195 int serverFlag = Short.toUnsignedInt(buffer.getShort()); in AtBidding()
1336 int identityLength = Short.toUnsignedInt(byteBuffer.getShort()); in AtNextReauthId()
/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/apps/Messaging/src/com/android/messaging/util/exif/
DIfdData.java31 private final Map<Short, ExifTag> mExifTags = new HashMap<Short, ExifTag>();
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()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DStructNfGenMsg.java34 public static final int STRUCT_SIZE = 2 + Short.BYTES;
102 + "res_id{" + Short.toUnsignedInt(res_id) + "} " in toString()
/packages/apps/Camera2/src/com/android/camera/exif/
DIfdData.java31 private final Map<Short, ExifTag> mExifTags = new HashMap<Short, ExifTag>();
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()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DIfdData.java31 private final Map<Short, ExifTag> mExifTags = new HashMap<Short, ExifTag>();
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()
/packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/
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/Uwb/service/java/com/android/server/uwb/params/
DTlvUtil.java29 ByteBuffer buffer = ByteBuffer.allocate(Short.BYTES).order( in getBytes()
35 ByteBuffer buffer = ByteBuffer.allocate(Short.BYTES).order( in getLeBytes()
DTlvBuffer.java78 addHeader(tagType, Short.BYTES); in putShort()
90 addHeader(tagType, length * Short.BYTES); in putShortArray()
/packages/modules/NetworkStack/src/android/net/apf/
DDnsUtils.java45 private static final int POINTER_SIZE = Short.BYTES;
46 private static final int QUESTION_HEADER_SIZE = Short.BYTES + Short.BYTES;
/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()

12345