Home
last modified time | relevance | path

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

12

/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;
172 return new Payload(PayloadType.valueOf(metadata.getType()), parsed.getBody().toByteArray()); in verifydecryptPayload()
221 if (!PayloadType.DEVICE_TO_DEVICE_RESPONDER_HELLO_PAYLOAD.equals( in decryptResponderHelloMessage()
DD2DDiffieHellmanKeyExchangeHandshake.java22 import com.google.security.cryptauth.lib.securegcm.TransportCryptoOps.PayloadType;
190 new Payload(PayloadType.DEVICE_TO_DEVICE_RESPONDER_HELLO_PAYLOAD, in makeResponderHelloWithPayload()
/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/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/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) {
DHttp2Client.java33 import io.grpc.testing.integration.Messages.PayloadType;
208 .setResponseType(PayloadType.COMPRESSABLE)
213 .setType(PayloadType.COMPRESSABLE)
/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/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)
DConcurrencyTest.java29 import io.grpc.testing.integration.Messages.PayloadType;
114 .setResponseType(PayloadType.RANDOM); in run()
/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/test/cpp/qps/
Dserver.h80 static bool SetPayload(PayloadType type, int size, Payload* payload) { in SetPayload()
82 if (type != PayloadType::COMPRESSABLE) { in SetPayload()
Dclient.h73 req->set_response_type(grpc::testing::PayloadType::COMPRESSABLE); in ClientRequestCreator()
76 grpc::testing::PayloadType::COMPRESSABLE); in ClientRequestCreator()
84 req->set_response_type(grpc::testing::PayloadType::COMPRESSABLE); in ClientRequestCreator()
87 grpc::testing::PayloadType::COMPRESSABLE); in ClientRequestCreator()
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/qps/
DClientConfiguration.java28 import io.grpc.benchmarks.proto.Messages.PayloadType;
63 PayloadType payloadType = PayloadType.COMPRESSABLE;
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/
DUtils.java251 if (!Messages.PayloadType.COMPRESSABLE.equals(request.getResponseType())) { in makeResponse()
256 Messages.PayloadType type = request.getResponseType(); in makeResponse()
267 public static SimpleRequest makeRequest(Messages.PayloadType payloadType, int reqLength, in makeRequest()
/external/grpc-grpc/src/python/grpcio_tests/tests/protoc_plugin/protos/requests/r/
Dtest_requests.proto24 PayloadType response_type = 1;
56 PayloadType response_type = 1;
/external/grpc-grpc/src/php/tests/qps/
Dclient.php103 $req->setResponseType(Grpc\Testing\PayloadType::COMPRESSABLE);
106 $payload->setType(Grpc\Testing\PayloadType::COMPRESSABLE);
/external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/
DPayloadType.php13 class PayloadType class

12