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/ |
D | ProgramSelectorExt.java | 112 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/ |
D | IkeIdPayloadTest.java | 111 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/ |
D | IkeIdPayload.java | 70 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/ |
D | IkeIdentification.java | 94 public final int idType; field in IkeIdentification 98 idType = type; in IkeIdentification()
|
D | IkeKeyIdIdentification.java | 54 return Objects.hash(idType, keyId); in hashCode()
|
D | IkeRfc822AddrIdentification.java | 67 return Objects.hash(idType, rfc822Name); in hashCode()
|
D | IkeIpv4AddrIdentification.java | 69 return Objects.hash(idType, ipv4Address); in hashCode()
|
D | IkeFqdnIdentification.java | 71 return Objects.hash(idType, fqdn); in hashCode()
|
D | IkeDerAsn1DnIdentification.java | 75 return Objects.hash(idType, derAsn1Dn); in hashCode()
|
D | IkeIpv6AddrIdentification.java | 69 return Objects.hash(idType, ipv6Address); in hashCode()
|
D | IkeSessionParams.java | 961 && mLocalIdentification.idType == IkeIdentification.ID_TYPE_KEY_ID) { in build()
|