Home
last modified time | relevance | path

Searched refs:idType (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/
DProgramSelectorExt.java112 int idType = primaryId.getType(); in identifierToProgramType() local
113 switch (idType) { in identifierToProgramType()
140 if (idType >= ProgramSelector.IDENTIFIER_TYPE_VENDOR_PRIMARY_START in identifierToProgramType()
141 && idType <= ProgramSelector.IDENTIFIER_TYPE_VENDOR_PRIMARY_END) { in identifierToProgramType()
142 return idType; in identifierToProgramType()
298 BiConsumer<Integer, String> add = (idType, name) -> {
299 ID_TO_URI.put(idType, name);
300 URI_TO_ID.put(name, idType);
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeIdPayloadTest.java111 assertEquals(IkeIdentification.ID_TYPE_IPV4_ADDR, payload.ikeId.idType); in testDecodeIpv4AddrIdPayload()
124 assertEquals(IkeIdentification.ID_TYPE_IPV6_ADDR, payload.ikeId.idType); in testDecodeIpv6AddrIdPayload()
138 assertEquals(IkeIdentification.ID_TYPE_FQDN, payload.ikeId.idType); in testDecodeFqdnIdPayload()
150 assertEquals(IkeIdentification.ID_TYPE_RFC822_ADDR, payload.ikeId.idType); in testDecodeRfc822AddrIdPayload()
162 assertEquals(IkeIdentification.ID_TYPE_KEY_ID, payload.ikeId.idType); in testDecodeKeyIdPayload()
174 assertEquals(IkeIdentification.ID_TYPE_DER_ASN1_DN, payload.ikeId.idType); in testDecodeDerAsn1DnIdPayload()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeIdPayload.java70 int idType = Byte.toUnsignedInt(inputBuffer.get()); in IkeIdPayload() local
78 switch (idType) { in IkeIdPayload()
98 throw new AuthenticationFailedException("Unsupported ID type: " + idType); in IkeIdPayload()
123 .put((byte) ikeId.idType) in getEncodedPayloadBody()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeIdentification.java94 public final int idType; field in IkeIdentification
98 idType = type; in IkeIdentification()
DIkeKeyIdIdentification.java54 return Objects.hash(idType, keyId); in hashCode()
DIkeRfc822AddrIdentification.java67 return Objects.hash(idType, rfc822Name); in hashCode()
DIkeIpv4AddrIdentification.java69 return Objects.hash(idType, ipv4Address); in hashCode()
DIkeIpv6AddrIdentification.java69 return Objects.hash(idType, ipv6Address); in hashCode()
DIkeDerAsn1DnIdentification.java75 return Objects.hash(idType, derAsn1Dn); in hashCode()
DIkeFqdnIdentification.java71 return Objects.hash(idType, fqdn); in hashCode()
DIkeSessionParams.java961 && mLocalIdentification.idType == IkeIdentification.ID_TYPE_KEY_ID) { in build()