/external/cronet/net/third_party/quiche/src/quiche/quic/core/ |
D | quic_crypto_stream_test.cc | 112 return ENCRYPTION_INITIAL; in GetEncryptionLevelToSendCryptoDataOfSpace() 176 stream_->OnCryptoFrame(QuicCryptoFrame(ENCRYPTION_INITIAL, /*offset*/ 0, in TEST_F() 203 QuicCryptoFrame(ENCRYPTION_INITIAL, /*offset*/ 0, bad)); in TEST_F() 218 EXPECT_EQ(ENCRYPTION_INITIAL, connection_->encryption_level()); in TEST_F() 273 EXPECT_EQ(ENCRYPTION_INITIAL, connection_->encryption_level()); in TEST_F() 275 EXPECT_CALL(*connection_, SendCryptoData(ENCRYPTION_INITIAL, 1350, 0)) in TEST_F() 278 stream_->WriteCryptoData(ENCRYPTION_INITIAL, data); in TEST_F() 307 lost_frame = QuicCryptoFrame(ENCRYPTION_INITIAL, 0, 1000); in TEST_F() 311 lost_frame = QuicCryptoFrame(ENCRYPTION_INITIAL, 1200, 150); in TEST_F() 315 EXPECT_CALL(*connection_, SendCryptoData(ENCRYPTION_INITIAL, 1000, 0)) in TEST_F() [all …]
|
D | quic_coalesced_packet.cc | 71 if (packet.encryption_level == ENCRYPTION_INITIAL) { in MaybeCoalescePacket() 92 for (size_t i = ENCRYPTION_INITIAL; i < NUM_ENCRYPTION_LEVELS; ++i) { in Clear() 114 transmission_types_[ENCRYPTION_INITIAL] = NOT_RETRANSMISSION; in NeuterInitialPacket() 139 (level == ENCRYPTION_INITIAL && initial_packet_ != nullptr); in ContainsPacketOfEncryptionLevel() 155 for (int8_t i = ENCRYPTION_INITIAL; i < NUM_ENCRYPTION_LEVELS; ++i) { in NumberOfPackets() 170 for (int8_t i = ENCRYPTION_INITIAL; i < NUM_ENCRYPTION_LEVELS; ++i) { in ToString()
|
D | quic_sent_packet_manager_test.cc | 93 return RetransmitDataPacket(packet_number, type, ENCRYPTION_INITIAL); in RetransmitDataPacket() 262 SendDataPacket(packet_number, ENCRYPTION_INITIAL); in SendDataPacket() 302 SendAckPacket(packet_number, largest_acked, ENCRYPTION_INITIAL); in SendAckPacket() 360 ENCRYPTION_INITIAL, kEmptyCounts)); in TEST_F() 384 ENCRYPTION_INITIAL, kEmptyCounts)); in TEST_F() 421 ENCRYPTION_INITIAL, kEmptyCounts)); in TEST_F() 436 ENCRYPTION_INITIAL, kEmptyCounts)); in TEST_F() 454 ENCRYPTION_INITIAL, kEmptyCounts)); in TEST_F() 471 ENCRYPTION_INITIAL, kEmptyCounts)); in TEST_F() 480 ENCRYPTION_INITIAL, kEmptyCounts)); in TEST_F() [all …]
|
D | quic_crypto_client_handshaker.cc | 158 return ENCRYPTION_INITIAL; in GetEncryptionLevelToSendCryptoDataOfSpace() 308 session()->connection()->SetDefaultEncryptionLevel(ENCRYPTION_INITIAL); in DoSendCHLO() 361 SendHandshakeMessage(out, ENCRYPTION_INITIAL); in DoSendCHLO() 388 SendHandshakeMessage(out, ENCRYPTION_INITIAL); in DoSendCHLO() 548 if (session()->connection()->last_decrypted_level() != ENCRYPTION_INITIAL) { in DoReceiveSHLO() 566 if (session()->connection()->last_decrypted_level() == ENCRYPTION_INITIAL) { in DoReceiveSHLO() 609 delegate_->DiscardOldEncryptionKey(ENCRYPTION_INITIAL); in DoReceiveSHLO()
|
D | quic_connection_test.cc | 119 case ENCRYPTION_INITIAL: in EncryptionlevelToLongHeaderType() 250 ENCRYPTION_INITIAL, QuicPacketNumber(packet_number), *packet, in SendPacket() 290 this->encryption_level() == ENCRYPTION_INITIAL) { in SendStreamDataWithString() 344 producer_.SaveCryptoData(ENCRYPTION_INITIAL, offset, data); in SendCryptoStreamData() 348 notifier_->WriteCryptoData(ENCRYPTION_INITIAL, data.length(), offset); in SendCryptoStreamData() 350 bytes_written = QuicConnection::SendCryptoData(ENCRYPTION_INITIAL, in SendCryptoStreamData() 358 return SendCryptoDataWithString(data, offset, ENCRYPTION_INITIAL); in SendCryptoDataWithString() 637 crypto_frame_(ENCRYPTION_INITIAL, 0, absl::string_view(data1)), in QuicConnectionTest() 650 peer_creator_.SetEncrypter(ENCRYPTION_INITIAL, in QuicConnectionTest() 653 peer_framer_.InstallDecrypter(ENCRYPTION_INITIAL, in QuicConnectionTest() [all …]
|
D | quic_packet_creator_test.cc | 155 ENCRYPTION_INITIAL, in QuicPacketCreatorTest() 156 std::make_unique<TaggingEncrypter>(ENCRYPTION_INITIAL)); in QuicPacketCreatorTest() 170 server_framer_.InstallDecrypter(ENCRYPTION_INITIAL, in QuicPacketCreatorTest() 179 server_framer_.SetDecrypter(ENCRYPTION_INITIAL, in QuicPacketCreatorTest() 285 for (int i = ENCRYPTION_INITIAL; i < NUM_ENCRYPTION_LEVELS; ++i) { in TEST_P() 295 if (level != ENCRYPTION_INITIAL && level != ENCRYPTION_HANDSHAKE) { in TEST_P() 349 EXPECT_EQ(ENCRYPTION_INITIAL, serialized.encryption_level); in TEST_P() 369 ENCRYPTION_INITIAL, data.length(), 0, in TEST_P() 521 producer_.SaveCryptoData(ENCRYPTION_INITIAL, kOffset, data); in TEST_P() 523 ENCRYPTION_INITIAL, data.length(), kOffset, in TEST_P() [all …]
|
D | uber_received_packet_manager_test.cc | 39 return ENCRYPTION_INITIAL; in GetEncryptionLevel() 488 RecordPacketReceipt(ENCRYPTION_INITIAL, 3); in TEST_F() 490 MaybeUpdateAckTimeout(kInstigateAck, ENCRYPTION_INITIAL, 3); in TEST_F() 501 RecordPacketReceipt(ENCRYPTION_INITIAL, 4); in TEST_F() 503 MaybeUpdateAckTimeout(kInstigateAck, ENCRYPTION_INITIAL, 4); in TEST_F()
|
D | quic_crypto_server_stream.cc | 189 SendHandshakeMessage(*reply, ENCRYPTION_INITIAL); in FinishProcessingHandshakeMessageAfterProcessClientHello() 224 delegate_->DiscardOldDecryptionKey(ENCRYPTION_INITIAL); in FinishProcessingHandshakeMessageAfterProcessClientHello() 242 delegate_->DiscardOldEncryptionKey(ENCRYPTION_INITIAL); in FinishProcessingHandshakeMessageAfterProcessClientHello() 539 return ENCRYPTION_INITIAL; in GetEncryptionLevelToSendCryptoDataOfSpace()
|
D | chlo_extractor_test.cc | 90 QuicFrame(new QuicCryptoFrame(ENCRYPTION_INITIAL, offset, data))); in MakePacket() 96 framer.EncryptPayload(ENCRYPTION_INITIAL, header.packet_number, *packet, in MakePacket()
|
D | quic_coalesced_packet_test.cc | 36 coalesced.TransmissionTypeOfPacket(ENCRYPTION_INITIAL)); in TEST() 157 coalesced.TransmissionTypeOfPacket(ENCRYPTION_INITIAL)); in TEST()
|
D | quic_transmission_info.cc | 14 encryption_level(ENCRYPTION_INITIAL), in QuicTransmissionInfo()
|
D | quic_crypto_stream.cc | 215 NeuterStreamDataOfEncryptionLevel(ENCRYPTION_INITIAL); in NeuterUnencryptedStreamData() 292 EncryptionLevel retransmission_encryption_level = ENCRYPTION_INITIAL; in WritePendingRetransmission() 325 EncryptionLevel send_encryption_level = ENCRYPTION_INITIAL; in RetransmitStreamData()
|
D | quic_connection.cc | 269 encryption_level_(ENCRYPTION_INITIAL), in QuicConnection() 398 SetEncrypter(ENCRYPTION_INITIAL, std::move(crypters.encrypter)); in InstallInitialCrypters() 400 InstallDecrypter(ENCRYPTION_INITIAL, std::move(crypters.decrypter)); in InstallInitialCrypters() 402 SetDecrypter(ENCRYPTION_INITIAL, std::move(crypters.decrypter)); in InstallInitialCrypters() 1382 last_received_packet_info_.decrypted_level == ENCRYPTION_INITIAL) { in OnStreamFrame() 2493 if (coalesced_packet_.ContainsPacketOfEncryptionLevel(ENCRYPTION_INITIAL) && in SendStreamData() 2513 (encryption_level_ == ENCRYPTION_INITIAL || in SendControlFrame() 2661 decryption_level == ENCRYPTION_INITIAL) { in ShouldEnqueueUnDecryptablePacket() 3081 encryption_level_ == ENCRYPTION_INITIAL && in ProcessValidatedPacket() 3171 uber_received_packet_manager_.ResetAckStates(ENCRYPTION_INITIAL); in NeuterUnencryptedPackets() [all …]
|
/external/cronet/net/quic/ |
D | mock_crypto_client_stream.cc | 27 using quic::ENCRYPTION_INITIAL; 171 session()->DiscardOldEncryptionKey(ENCRYPTION_INITIAL); in CryptoConnect() 219 session()->connection()->SetEncrypter(ENCRYPTION_INITIAL, nullptr); in CryptoConnect() 228 session()->DiscardOldEncryptionKey(ENCRYPTION_INITIAL); in CryptoConnect() 242 SendHandshakeMessage(GetDummyCHLOMessage(), ENCRYPTION_INITIAL); in CryptoConnect() 299 session()->DiscardOldEncryptionKey(ENCRYPTION_INITIAL); in NotifySessionZeroRttComplete() 329 session()->connection()->SetEncrypter(ENCRYPTION_INITIAL, nullptr); in NotifySessionOneRttKeyAvailable() 336 session()->DiscardOldEncryptionKey(ENCRYPTION_INITIAL); in NotifySessionOneRttKeyAvailable()
|
/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/ |
D | simple_session_notifier_test.cc | 143 connection_.SetDefaultEncryptionLevel(ENCRYPTION_INITIAL); in TEST_F() 185 connection_.SetDefaultEncryptionLevel(ENCRYPTION_INITIAL); in TEST_F() 254 connection_.SetDefaultEncryptionLevel(ENCRYPTION_INITIAL); in TEST_F() 255 EXPECT_CALL(connection_, SendCryptoData(ENCRYPTION_INITIAL, 1024, 0)) in TEST_F() 260 producer.SaveCryptoData(ENCRYPTION_INITIAL, 0, crypto_data1); in TEST_F() 262 producer.SaveCryptoData(ENCRYPTION_INITIAL, 500, crypto_data2); in TEST_F() 263 notifier_.WriteCryptoData(ENCRYPTION_INITIAL, 1024, 0); in TEST_F() 286 QuicCryptoFrame crypto_frame1(ENCRYPTION_INITIAL, 500, 524); in TEST_F() 296 EXPECT_CALL(connection_, SendCryptoData(ENCRYPTION_INITIAL, 524, 500)) in TEST_F()
|
D | simple_session_notifier.cc | 164 for (const auto& interval : crypto_bytes_transferred_[ENCRYPTION_INITIAL]) { in NeuterUnencryptedData() 165 QuicCryptoFrame crypto_frame(ENCRYPTION_INITIAL, interval.min(), in NeuterUnencryptedData() 172 for (const auto& interval : crypto_bytes_transferred_[ENCRYPTION_INITIAL]) { in NeuterUnencryptedData() 574 {ENCRYPTION_INITIAL, ENCRYPTION_HANDSHAKE, ENCRYPTION_ZERO_RTT, in RetransmitLostCryptoData() 615 EncryptionLevel retransmission_encryption_level = ENCRYPTION_INITIAL; in RetransmitLostCryptoData()
|
D | quic_connection_peer.cc | 348 {ENCRYPTION_INITIAL, ENCRYPTION_HANDSHAKE, ENCRYPTION_ZERO_RTT, in GetNumEncryptionLevels() 599 << (info.decrypted_level == ENCRYPTION_INITIAL) in TestLastReceivedPacketInfoDefaults() 610 !info.decrypted && info.decrypted_level == ENCRYPTION_INITIAL && in TestLastReceivedPacketInfoDefaults()
|
/external/cronet/net/third_party/quiche/src/quiche/quic/core/crypto/ |
D | tls_connection.cc | 58 return ENCRYPTION_INITIAL; in QuicEncryptionLevel() 68 return ENCRYPTION_INITIAL; in QuicEncryptionLevel() 76 case ENCRYPTION_INITIAL: in BoringEncryptionLevel()
|
/external/cronet/net/third_party/quiche/src/quiche/quic/tools/ |
D | quic_tcp_like_trace_converter_test.cc | 105 converter.OnCryptoFrameSent(ENCRYPTION_INITIAL, 0, 100)); in TEST() 117 converter.OnCryptoFrameSent(ENCRYPTION_INITIAL, 0, 100)); in TEST()
|
/external/cronet/net/third_party/quiche/src/quiche/quic/core/congestion_control/ |
D | uber_loss_algorithm_test.cc | 42 if (encryption_level == ENCRYPTION_INITIAL) { in SendPacket() 107 SendPacket(1, ENCRYPTION_INITIAL); in TEST_F() 111 SendPacket(4, ENCRYPTION_INITIAL); in TEST_F()
|
/external/cronet/net/third_party/quiche/src/quiche/quic/core/frames/ |
D | quic_crypto_frame.h | 33 EncryptionLevel level = ENCRYPTION_INITIAL;
|
/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/simulator/ |
D | quic_endpoint.cc | 43 connection_->SetEncrypter(ENCRYPTION_INITIAL, nullptr); in QuicEndpoint() 49 connection_->RemoveDecrypter(ENCRYPTION_INITIAL); in QuicEndpoint()
|
/external/cronet/third_party/quic_trace/src/quic_trace/analysis/ |
D | trace_numbering.h | 72 case ENCRYPTION_INITIAL: in GetOffsets()
|
/external/cronet/third_party/quic_trace/src/tools/render/ |
D | processed_trace.cc | 83 case ENCRYPTION_INITIAL: in GetPacketsAcked() 98 case ENCRYPTION_INITIAL: in GetPacketsLost() 258 case ENCRYPTION_INITIAL: in EncryptionLevelToString()
|
/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/fuzzing/ |
D | quic_framer_process_data_packet_fuzzer.cc | 143 {quic::ENCRYPTION_INITIAL, quic::ENCRYPTION_HANDSHAKE, in SetupFramer() 155 quic::ENCRYPTION_INITIAL, in SetupFramer()
|