Home
last modified time | relevance | path

Searched refs:getExtension (Results 1 – 25 of 74) sorted by relevance

123

/external/protobuf/java/src/test/java/com/google/protobuf/
DTestUtil.java1377 Assert.assertTrue(message.getExtension(optionalGroupExtension ).hasA()); in assertAllExtensionsSet()
1378 Assert.assertTrue(message.getExtension(optionalNestedMessageExtension ).hasBb()); in assertAllExtensionsSet()
1379 Assert.assertTrue(message.getExtension(optionalForeignMessageExtension).hasC()); in assertAllExtensionsSet()
1380 Assert.assertTrue(message.getExtension(optionalImportMessageExtension ).hasD()); in assertAllExtensionsSet()
1389 assertEqualsExactType(101 , message.getExtension(optionalInt32Extension )); in assertAllExtensionsSet()
1390 assertEqualsExactType(102L , message.getExtension(optionalInt64Extension )); in assertAllExtensionsSet()
1391 assertEqualsExactType(103 , message.getExtension(optionalUint32Extension )); in assertAllExtensionsSet()
1392 assertEqualsExactType(104L , message.getExtension(optionalUint64Extension )); in assertAllExtensionsSet()
1393 assertEqualsExactType(105 , message.getExtension(optionalSint32Extension )); in assertAllExtensionsSet()
1394 assertEqualsExactType(106L , message.getExtension(optionalSint64Extension )); in assertAllExtensionsSet()
[all …]
DLiteTest.java103 assertEquals(123, (int) message2.getExtension( in testLiteExtensions()
107 assertEquals(1, message2.getExtension( in testLiteExtensions()
109 assertEquals("hello", message2.getExtension( in testLiteExtensions()
111 assertEquals(TestAllTypesLite.NestedEnum.BAZ, message2.getExtension( in testLiteExtensions()
113 assertEquals(7, message2.getExtension( in testLiteExtensions()
DNanoTest.java2808 assertEquals(int32s[1], (int) message.getExtension(SingularExtensions.someInt32)); in testExtensions()
2809 assertEquals(uint32s[1], (int) message.getExtension(SingularExtensions.someUint32)); in testExtensions()
2810 assertEquals(sint32s[1], (int) message.getExtension(SingularExtensions.someSint32)); in testExtensions()
2811 assertEquals(int64s[1], (long) message.getExtension(SingularExtensions.someInt64)); in testExtensions()
2812 assertEquals(uint64s[1], (long) message.getExtension(SingularExtensions.someUint64)); in testExtensions()
2813 assertEquals(sint64s[1], (long) message.getExtension(SingularExtensions.someSint64)); in testExtensions()
2814 assertEquals(fixed32s[1], (int) message.getExtension(SingularExtensions.someFixed32)); in testExtensions()
2815 assertEquals(sfixed32s[1], (int) message.getExtension(SingularExtensions.someSfixed32)); in testExtensions()
2816 assertEquals(fixed64s[1], (long) message.getExtension(SingularExtensions.someFixed64)); in testExtensions()
2817 assertEquals(sfixed64s[1], (long) message.getExtension(SingularExtensions.someSfixed64)); in testExtensions()
[all …]
DDescriptorsTest.java356 descriptor.getOptions().getExtension(UnittestCustomOptions.messageOpt1)); in testCustomOptions()
364 field.getOptions().getExtension(UnittestCustomOptions.fieldOpt1)); in testCustomOptions()
372 enumType.getOptions().getExtension(UnittestCustomOptions.enumOpt1)); in testCustomOptions()
380 service.getOptions().getExtension(UnittestCustomOptions.serviceOpt1)); in testCustomOptions()
388 method.getOptions().getExtension(UnittestCustomOptions.methodOpt1)); in testCustomOptions()
/external/smack/src/org/jivesoftware/smackx/pubsub/
DNode.java145 …SubscriptionsExtension subElem = (SubscriptionsExtension)reply.getExtension(PubSubElementType.SUBS… in getSubscriptions()
168 return (Subscription)reply.getExtension(PubSubElementType.SUBSCRIPTION); in subscribe()
193 return (Subscription)reply.getExtension(PubSubElementType.SUBSCRIPTION); in subscribe()
254 FormNode ext = (FormNode)packet.getExtension(PubSubElementType.OPTIONS); in getSubscriptionOptions()
371 …HeadersExtension headers = (HeadersExtension)packet.getExtension("headers", "http://jabber.org/pro… in getSubscriptionIds()
403 … EventElement event = (EventElement)packet.getExtension("event", PubSubNamespace.EVENT.getXmlns()); in processPacket()
405 DelayInformation delay = (DelayInformation)packet.getExtension("delay", "urn:xmpp:delay"); in processPacket()
410 delay = (DelayInformation)packet.getExtension("x", "jabber:x:delay"); in processPacket()
434 … EventElement event = (EventElement)packet.getExtension("event", PubSubNamespace.EVENT.getXmlns()); in processPacket()
478 … EventElement event = (EventElement)packet.getExtension("event", PubSubNamespace.EVENT.getXmlns()); in processPacket()
[all …]
DLeafNode.java72 ItemsExtension itemsElem = (ItemsExtension)result.getExtension(PubSubElementType.ITEMS); in getItems()
93 ItemsExtension itemsElem = (ItemsExtension)result.getExtension(PubSubElementType.ITEMS); in getItems()
122 ItemsExtension itemsElem = (ItemsExtension)result.getExtension(PubSubElementType.ITEMS); in getItems()
141 ItemsExtension itemsElem = (ItemsExtension)result.getExtension(PubSubElementType.ITEMS); in getItems()
163 ItemsExtension itemsElem = (ItemsExtension)result.getExtension(PubSubElementType.ITEMS); in getItems()
DPubSubManager.java85 …NodeExtension elem = (NodeExtension)reply.getExtension("create", PubSubNamespace.BASIC.getXmlns()); in createNode()
212 …SubscriptionsExtension subElem = (SubscriptionsExtension)reply.getExtension(PubSubElementType.SUBS… in getSubscriptions()
227 …AffiliationsExtension listElem = (AffiliationsExtension)reply.getExtension(PubSubElementType.AFFIL… in getAffiliations()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CRLEntryObject.java92 Extension ext = getExtension(Extension.certificateIssuer); in loadCertificateIssuer()
144 Extension ext = extensions.getExtension(oid); in getExtensionOIDs()
168 private Extension getExtension(ASN1ObjectIdentifier oid) in getExtension() method in X509CRLEntryObject
174 return exts.getExtension(oid); in getExtension()
182 Extension ext = getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue()
280 Extension ext = extensions.getExtension(oid); in toString()
DX509CRLObject.java143 Extension ext = extensions.getExtension(oid); in getExtensionOIDs()
174 Extension ext = exts.getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue()
291 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in loadCRLEntries()
319 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in getRevokedCertificate()
438 Extension ext = extensions.getExtension(oid); in toString()
541 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in isRevoked()
DX509CertificateObject.java431 Extension ext = extensions.getExtension(oid); in getCriticalExtensionOIDs()
452 Extension ext = exts.getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionBytes()
468 Extension ext = exts.getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue()
500 Extension ext = extensions.getExtension(oid); in getNonCriticalExtensionOIDs()
545 Extension ext = extensions.getExtension(oid); in hasUnsupportedCriticalExtension()
709 Extension ext = extensions.getExtension(oid); in toString()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CRLEntryObject.java92 Extension ext = getExtension(Extension.certificateIssuer); in loadCertificateIssuer()
144 Extension ext = extensions.getExtension(oid); in getExtensionOIDs()
168 private Extension getExtension(ASN1ObjectIdentifier oid) in getExtension() method in X509CRLEntryObject
174 return exts.getExtension(oid); in getExtension()
182 Extension ext = getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue()
280 Extension ext = extensions.getExtension(oid); in toString()
DX509CRLObject.java141 Extension ext = extensions.getExtension(oid); in getExtensionOIDs()
172 Extension ext = exts.getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue()
289 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in loadCRLEntries()
317 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in getRevokedCertificate()
436 Extension ext = extensions.getExtension(oid); in toString()
539 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in isRevoked()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DX509CRLEntryHolder.java29 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in X509CRLEntryHolder()
90 public Extension getExtension(ASN1ObjectIdentifier oid) in getExtension() method in X509CRLEntryHolder
96 return extensions.getExtension(oid); in getExtension()
DX509CRLHolder.java62 Extension ext = extensions.getExtension(Extension.issuingDistributionPoint); in isIndirectCRL()
140 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in getRevokedCertificate()
194 public Extension getExtension(ASN1ObjectIdentifier oid) in getExtension() method in X509CRLHolder
198 return extensions.getExtension(oid); in getExtension()
DX509CertificateHolder.java101 public Extension getExtension(ASN1ObjectIdentifier oid) in getExtension() method in X509CertificateHolder
105 return extensions.getExtension(oid); in getExtension()
/external/smack/src/org/jivesoftware/smackx/
DXHTMLManager.java61 XHTMLExtension xhtmlExtension = (XHTMLExtension) message.getExtension("html", namespace); in getBodies()
75 XHTMLExtension xhtmlExtension = (XHTMLExtension) message.getExtension("html", namespace); in addBody()
92 return message.getExtension("html", namespace) != null; in isXHTMLMessage()
/external/smack/src/org/jivesoftware/smackx/pubsub/packet/
DPubSub.java67 public PacketExtension getExtension(PubSubElementType elem) in getExtension() method in PubSub
69 return getExtension(elem.getElementName(), elem.getNamespace().getXmlns()); in getExtension()
/external/smack/src/org/jivesoftware/smackx/receipts/
DDeliveryReceiptManager.java107 DeliveryReceipt dr = (DeliveryReceipt)packet.getExtension( in processPacket()
119 DeliveryReceiptRequest drr = (DeliveryReceiptRequest)packet.getExtension( in processPacket()
187 return (p.getExtension(DeliveryReceiptRequest.ELEMENT, in hasDeliveryReceiptRequest()
/external/protobuf/java/src/main/java/com/google/protobuf/
DGeneratedMessageLite.java126 public final <Type> Type getExtension( in getExtension() method in GeneratedMessageLite.ExtendableMessage
139 public final <Type> Type getExtension( in getExtension() method in GeneratedMessageLite.ExtendableMessage
245 public final <Type> Type getExtension( in getExtension() method in GeneratedMessageLite.ExtendableBuilder
247 return internalGetResult().getExtension(extension); in getExtension()
251 public final <Type> Type getExtension( in getExtension() method in GeneratedMessageLite.ExtendableBuilder
254 return internalGetResult().getExtension(extension, index); in getExtension()
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DPhonenumber.java78 public String getExtension() { return extension_; } in getExtension() method in Phonenumber.PhoneNumber
202 setExtension(other.getExtension()); in mergeFrom()
251 hash = (53 * hash) + getExtension().hashCode(); in hashCode()
/external/smack/src/org/jivesoftware/smackx/carbons/
DCarbonManager.java199 Carbon cc = (Carbon)msg.getExtension("received", Carbon.NAMESPACE); in getCarbon()
201 cc = (Carbon)msg.getExtension("sent", Carbon.NAMESPACE); in getCarbon()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DExtensions.java106 public Extension getExtension( in getExtension() method in Extensions
120 Extension ext = this.getExtension(oid); in getExtensionParsedValue()
/external/smack/src/org/jivesoftware/smackx/workgroup/user/
DWorkgroup.java539 … PacketExtension pe = msg.getExtension("depart-queue", "http://jabber.org/protocol/workgroup"); in handlePacket()
540 …PacketExtension queueStatus = msg.getExtension("queue-status", "http://jabber.org/protocol/workgro… in handlePacket()
557 … MUCUser mucUser = (MUCUser)msg.getExtension("x", "http://jabber.org/protocol/muc#user"); in handlePacket()
563 pe = msg.getExtension(SessionID.ELEMENT_NAME, in handlePacket()
569 pe = msg.getExtension(MetaData.ELEMENT_NAME, in handlePacket()
/external/smack/src/org/jivesoftware/smack/filter/
DPacketExtensionFilter.java59 return packet.getExtension(elementName, namespace) != null; in accept()
/external/smack/src/org/jivesoftware/smack/packet/
DPacket.java255 public PacketExtension getExtension(String namespace) { in getExtension() method in Packet
256 return getExtension(null, namespace); in getExtension()
274 public PacketExtension getExtension(String elementName, String namespace) { in getExtension() method in Packet

123