Home
last modified time | relevance | path

Searched refs:PayloadType (Results 1 – 25 of 79) sorted by relevance

1234

/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
DTransportCryptoOps.java44 public enum PayloadType { enum in TransportCryptoOps
64 PayloadType(SecureGcmProto.Type type) { in PayloadType() method in TransportCryptoOps.PayloadType
72 public static PayloadType valueOf(SecureGcmProto.Type type) { in valueOf()
73 return PayloadType.valueOf(type.getNumber()); in valueOf()
76 public static PayloadType valueOf(int type) { in valueOf()
77 for (PayloadType payloadType : PayloadType.values()) { in valueOf()
90 private final PayloadType payloadType;
93 public Payload(PayloadType payloadType, byte[] message) { in Payload()
101 public PayloadType getPayloadType() { in getPayloadType()
176 return new Payload(PayloadType.valueOf(metadata.getType()), parsed.getBody().toByteArray()); in verifydecryptServerMessage()
[all …]
DD2DConnectionContext.java22 import com.google.security.cryptauth.lib.securegcm.TransportCryptoOps.PayloadType;
65 new Payload(PayloadType.DEVICE_TO_DEVICE_MESSAGE, in encodeMessageToPeer()
104 if (!PayloadType.DEVICE_TO_DEVICE_MESSAGE.equals(payload.getPayloadType())) { in decodeMessageFromPeer()
DEnrollmentCryptoOps.java21 import com.google.security.cryptauth.lib.securegcm.TransportCryptoOps.PayloadType;
159 .setType(PayloadType.ENROLLMENT.getType()) in encryptEnrollmentMessage()
210 (outerMetadata.getType() == PayloadType.ENROLLMENT.getType()) in decryptEnrollmentMessage()
DD2DCryptoOps.java23 import com.google.security.cryptauth.lib.securegcm.TransportCryptoOps.PayloadType;
177 return new Payload(PayloadType.valueOf(metadata.getType()), parsed.getBody().toByteArray()); in verifydecryptPayload()
226 if (!PayloadType.DEVICE_TO_DEVICE_RESPONDER_HELLO_PAYLOAD.equals( in decryptResponderHelloMessage()
/external/libchrome/base/containers/
Dmru_cache.h53 class PayloadType,
61 typedef std::pair<KeyType, PayloadType> value_type;
223 class PayloadType,
225 class MRUCache : public MRUCacheBase<KeyType, PayloadType, CompareType> {
227 using ParentType = MRUCacheBase<KeyType, PayloadType, CompareType>;
249 template <class KeyType, class PayloadType, class HashType = std::hash<KeyType>>
251 : public MRUCacheBase<KeyType, PayloadType, HashType, MRUCacheHashMap> {
254 MRUCacheBase<KeyType, PayloadType, HashType, MRUCacheHashMap>;
/external/angle/src/common/third_party/base/anglebase/containers/
Dmru_cache.h50 class PayloadType,
58 typedef std::pair<KeyType, PayloadType> value_type;
230 template <class KeyType, class PayloadType, class CompareType = std::less<KeyType>>
231 class MRUCache : public MRUCacheBase<KeyType, PayloadType, CompareType>
234 using ParentType = MRUCacheBase<KeyType, PayloadType, CompareType>;
256 template <class KeyType, class PayloadType, class HashType = std::hash<KeyType>>
257 class HashingMRUCache : public MRUCacheBase<KeyType, PayloadType, HashType, MRUCacheHashMap>
260 using ParentType = MRUCacheBase<KeyType, PayloadType, HashType, MRUCacheHashMap>;
/external/ukey2/src/main/javatest/com/google/security/cryptauth/lib/securegcm/
DTransportCryptoOpsTest.java19 import com.google.security.cryptauth.lib.securegcm.TransportCryptoOps.PayloadType;
57 new Payload(PayloadType.TICKLE, tickle.toByteArray()), in testServerMessage()
64 assertEquals(PayloadType.TICKLE, received.getPayloadType()); in testServerMessage()
93 new Payload(PayloadType.TICKLE, tickle.toByteArray()), in doTestClientMessageWith()
106 assertEquals(PayloadType.TICKLE, received.getPayloadType()); in doTestClientMessageWith()
/external/webrtc/video/end_to_end_tests/
Dfec_tests.cc67 EXPECT_TRUE(rtp_packet.PayloadType() == kVideoSendPayloadType || in TEST_F()
68 rtp_packet.PayloadType() == kRedPayloadType) in TEST_F()
75 if (rtp_packet.PayloadType() == kRedPayloadType) { in TEST_F()
178 rtp_packet.PayloadType() == test::CallTest::kFakeVideoSendPayloadType || in OnSendRtp()
179 rtp_packet.PayloadType() == test::CallTest::kFlexfecPayloadType || in OnSendRtp()
181 rtp_packet.PayloadType() == test::CallTest::kSendRtxPayloadType)) in OnSendRtp()
190 if (rtp_packet.PayloadType() == test::CallTest::kFlexfecPayloadType) { in OnSendRtp()
197 if (rtp_packet.PayloadType() == test::CallTest::kSendRtxPayloadType) { in OnSendRtp()
227 rtp_packet.PayloadType()); in OnSendRtp()
369 if (rtp_packet.PayloadType() == kRedPayloadType) { in TEST_F()
[all …]
/external/grpc-grpc/src/php/tests/interop/
Dinterop_client.php91 $request->setResponseType(Grpc\Testing\PayloadType::COMPRESSABLE);
94 $payload->setType(Grpc\Testing\PayloadType::COMPRESSABLE);
109 hardAssert($payload->getType() === Grpc\Testing\PayloadType::COMPRESSABLE,
269 $request->setResponseType(Grpc\Testing\PayloadType::COMPRESSABLE);
282 $payload->getType() === Grpc\Testing\PayloadType::COMPRESSABLE,
304 $request->setResponseType(Grpc\Testing\PayloadType::COMPRESSABLE);
318 $payload->getType() === Grpc\Testing\PayloadType::COMPRESSABLE,
364 $request->setResponseType(Grpc\Testing\PayloadType::COMPRESSABLE);
384 $request->setResponseType(Grpc\Testing\PayloadType::COMPRESSABLE);
409 $request->setResponseType(Grpc\Testing\PayloadType::COMPRESSABLE);
[all …]
/external/webrtc/examples/androidvoip/jni/
Dandroid_voip_client.cc74 enum class PayloadType : int { enum
91 return static_cast<int>(PayloadType::kPcmu); in GetPayloadType()
93 return static_cast<int>(PayloadType::kPcma); in GetPayloadType()
95 return static_cast<int>(PayloadType::kG722); in GetPayloadType()
97 return static_cast<int>(PayloadType::kOpus); in GetPayloadType()
99 return static_cast<int>(PayloadType::kIsac); in GetPayloadType()
101 return static_cast<int>(PayloadType::kIlbc); in GetPayloadType()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DAbstractInteropTest.java21 import static io.grpc.testing.integration.Messages.PayloadType.COMPRESSABLE;
89 import io.grpc.testing.integration.Messages.PayloadType;
392 .setResponseType(PayloadType.COMPRESSABLE) in largeUnary()
398 .setType(PayloadType.COMPRESSABLE) in largeUnary()
503 .setResponseType(PayloadType.COMPRESSABLE) in serverStreaming()
516 .setType(PayloadType.COMPRESSABLE) in serverStreaming()
521 .setType(PayloadType.COMPRESSABLE) in serverStreaming()
526 .setType(PayloadType.COMPRESSABLE) in serverStreaming()
531 .setType(PayloadType.COMPRESSABLE) in serverStreaming()
695 .setType(PayloadType.COMPRESSABLE) in pingPong()
[all …]
DTestServiceImpl.java32 import io.grpc.testing.integration.Messages.PayloadType;
115 .setType(compressable ? PayloadType.COMPRESSABLE : PayloadType.UNCOMPRESSABLE) in unaryCall()
428 .setType(compressable ? PayloadType.COMPRESSABLE : PayloadType.UNCOMPRESSABLE)
463 private boolean compressableResponse(PayloadType responseType) {
/external/webrtc/test/
Dlayer_filtering_transport.cc95 if (rtp_packet.PayloadType() == vp8_video_payload_type_ || in SendRtp()
96 rtp_packet.PayloadType() == vp9_video_payload_type_) { in SendRtp()
97 const bool is_vp8 = rtp_packet.PayloadType() == vp8_video_payload_type_; in SendRtp()
/external/grpc-grpc/src/objective-c/examples/RemoteTestClient/
Dmessages.proto24 enum PayloadType { enum
38 PayloadType type = 1;
47 PayloadType response_type = 1;
105 PayloadType response_type = 1;
/external/webrtc/call/
Drtx_receive_stream.cc53 auto it = associated_payload_types_.find(rtx_packet.PayloadType()); in OnRtpPacket()
56 << static_cast<int>(rtx_packet.PayloadType()) in OnRtpPacket()
Drtx_receive_stream_unittest.cc124 EXPECT_EQ(packet.PayloadType(), kMediaPayloadType); in TEST()
182 EXPECT_EQ(packet.PayloadType(), kMediaPayloadType); in TEST()
225 EXPECT_EQ(packet.PayloadType(), kMediaPayloadType); in TEST()
264 EXPECT_EQ(packet.PayloadType(), kMediaPayloadType); in TEST()
/external/grpc-grpc/src/python/grpcio_tests/tests/protoc_plugin/protos/payload/
Dtest_payload.proto19 enum PayloadType { enum
31 PayloadType payload_type = 1;
/external/grpc-grpc/src/proto/grpc/testing/
Dmessages.proto31 enum PayloadType { enum
39 PayloadType type = 1;
55 PayloadType response_type = 1;
135 PayloadType response_type = 1;
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DTransportCompressionTest.java45 import io.grpc.testing.integration.Messages.PayloadType;
110 .setResponseType(PayloadType.COMPRESSABLE)
116 .setType(PayloadType.COMPRESSABLE)
/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DObjectFileTransformer.cpp55 const uint32_t PayloadType = Decoder.getU32(&Offset); in getUUID() local
57 if (Name == "GNU" && PayloadType == NT_GNU_BUILD_ID_TAG) { in getUUID()
/external/grpc-grpc/test/cpp/qps/
Dserver.h80 static bool SetPayload(PayloadType type, int size, Payload* payload) { in SetPayload()
82 if (type != PayloadType::COMPRESSABLE) { in SetPayload()
/external/grpc-grpc-java/benchmarks/src/main/proto/grpc/testing/
Dmessages.proto33 enum PayloadType { enum
42 PayloadType type = 1;
59 PayloadType response_type = 1;
140 PayloadType response_type = 1;
/external/grpc-grpc-java/interop-testing/src/main/proto/grpc/testing/
Dmessages.proto26 enum PayloadType { enum
41 PayloadType type = 1;
58 PayloadType response_type = 1;
143 PayloadType response_type = 1;
/external/grpc-grpc/src/objective-c/tests/RemoteTestClient/
Dmessages.proto33 enum PayloadType { enum
42 PayloadType type = 1;
59 PayloadType response_type = 1;
140 PayloadType response_type = 1;
/external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/
DPayloadType.php13 class PayloadType class

1234