Home
last modified time | relevance | path

Searched refs:packet_result (Results 1 – 15 of 15) sorted by relevance

/external/webrtc/modules/congestion_controller/pcc/
Dmonitor_interval.cc38 for (const PacketResult& packet_result : packets_results) { in OnPacketsFeedback() local
39 if (packet_result.sent_packet.send_time <= start_time_) { in OnPacketsFeedback()
45 if (packet_result.sent_packet.send_time > in OnPacketsFeedback()
50 if (packet_result.receive_time.IsInfinite()) { in OnPacketsFeedback()
51 lost_packets_sent_time_.push_back(packet_result.sent_packet.send_time); in OnPacketsFeedback()
54 {packet_result.receive_time - packet_result.sent_packet.send_time, in OnPacketsFeedback()
55 packet_result.sent_packet.send_time}); in OnPacketsFeedback()
56 received_packets_size_ += packet_result.sent_packet.size; in OnPacketsFeedback()
Drtt_tracker_unittest.cc26 PacketResult packet_result; in GetPacketWithRtt() local
27 packet_result.sent_packet = packet; in GetPacketWithRtt()
29 packet_result.receive_time = kStartTime + rtt; in GetPacketWithRtt()
31 packet_result.receive_time = Timestamp::PlusInfinity(); in GetPacketWithRtt()
33 return packet_result; in GetPacketWithRtt()
Dutility_function_unittest.cc48 PacketResult packet_result; local
57 packet_result.sent_packet = sent_packet;
59 packet_result.receive_time = packets_send_times[i] + kDefaultDelay;
61 packet_result.receive_time = packets_received_times[i];
63 packet_results.push_back(packet_result);
Drtt_tracker.cc25 for (const PacketResult& packet_result : packet_feedbacks) { in OnPacketsFeedback() local
26 if (packet_result.receive_time.IsInfinite()) in OnPacketsFeedback()
30 feedback_received_time - packet_result.sent_packet.send_time); in OnPacketsFeedback()
Dmonitor_interval_unittest.cc42 PacketResult packet_result; local
43 packet_result.sent_packet = sent_packet;
45 packet_result.receive_time = packets_send_times[i] + kDefaultDelay;
47 packet_result.receive_time = packets_received_times[i];
49 packet_results.push_back(packet_result);
Dbitrate_controller_unittest.cc48 PacketResult packet_result; local
57 packet_result.sent_packet = sent_packet;
59 packet_result.receive_time = packets_send_times[i] + kDefaultRtt;
61 packet_result.receive_time = packets_received_times[i];
63 packet_results.push_back(packet_result);
Dpcc_network_controller.cc269 for (const PacketResult& packet_result : msg.ReceivedWithSendInfo()) { in OnTransportPacketsFeedback() local
270 last_received_packets_.push_back(packet_result); in OnTransportPacketsFeedback()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteClientBase.cpp188 PacketResult packet_result = SendPacketNoLock(payload); in SendPacketAndReceiveResponseWithOutputSupport() local
189 if (packet_result != PacketResult::Success) in SendPacketAndReceiveResponseWithOutputSupport()
190 return packet_result; in SendPacketAndReceiveResponseWithOutputSupport()
199 PacketResult packet_result = SendPacketNoLock(payload); in SendPacketAndWaitForResponseNoLock() local
200 if (packet_result != PacketResult::Success) in SendPacketAndWaitForResponseNoLock()
201 return packet_result; in SendPacketAndWaitForResponseNoLock()
205 packet_result = ReadPacket(response, GetPacketTimeout(), true); in SendPacketAndWaitForResponseNoLock()
207 if (packet_result != PacketResult::Success) in SendPacketAndWaitForResponseNoLock()
208 return packet_result; in SendPacketAndWaitForResponseNoLock()
211 return packet_result; in SendPacketAndWaitForResponseNoLock()
[all …]
DGDBRemoteCommunicationServer.cpp47 PacketResult packet_result = WaitForPacketNoLock(packet, timeout, false); in GetPacketAndSendResponse() local
48 if (packet_result == PacketResult::Success) { in GetPacketAndSendResponse()
62 packet_result = SendUnimplementedResponse(packet.GetStringRef().data()); in GetPacketAndSendResponse()
68 packet_result = SendUnimplementedResponse(packet.GetStringRef().data()); in GetPacketAndSendResponse()
70 packet_result = handler_it->second(packet, error, interrupt, quit); in GetPacketAndSendResponse()
86 return packet_result; in GetPacketAndSendResponse()
DGDBRemoteCommunicationReplayServer.cpp99 PacketResult packet_result = WaitForPacketNoLock(packet, timeout, false); in GetPacketAndSendResponse() local
101 if (packet_result != PacketResult::Success) { in GetPacketAndSendResponse()
108 return packet_result; in GetPacketAndSendResponse()
187 return packet_result; in GetPacketAndSendResponse()
253 auto packet_result = server.GetPacketAndSendResponse(std::chrono::seconds(1), in ReceivePacket() local
255 if (packet_result != GDBRemoteCommunication::PacketResult::Success && in ReceivePacket()
256 packet_result != in ReceivePacket()
DGDBRemoteCommunicationServerPlatform.cpp284 PacketResult packet_result = SendPacketNoLock(response.GetString()); in Handle_qLaunchGDBServer() local
285 if (packet_result != PacketResult::Success) { in Handle_qLaunchGDBServer()
289 return packet_result; in Handle_qLaunchGDBServer()
DGDBRemoteCommunicationClient.cpp125 PacketResult packet_result = PacketResult::Success; in HandshakeWithServer() local
126 while (packet_result == PacketResult::Success) in HandshakeWithServer()
127 packet_result = ReadPacket(response, milliseconds(10), false); in HandshakeWithServer()
1456 PacketResult packet_result = in Detach() local
1458 if (packet_result != PacketResult::Success) in Detach()
1463 PacketResult packet_result = in Detach() local
1465 if (packet_result != PacketResult::Success) in Detach()
2778 PacketResult packet_result; in GetCurrentThreadIDs() local
2779 for (packet_result = in GetCurrentThreadIDs()
2781 packet_result == PacketResult::Success && response.IsNormalResponse(); in GetCurrentThreadIDs()
[all …]
DGDBRemoteCommunicationServerCommon.cpp884 PacketResult packet_result = SendOKResponse(); in Handle_QStartNoAckMode() local
886 return packet_result; in Handle_QStartNoAckMode()
/external/webrtc/modules/remote_bitrate_estimator/
Dremote_estimator_proxy.cc114 PacketResult packet_result; in IncomingPacket() local
115 packet_result.receive_time = Timestamp::Millis(arrival_time_ms); in IncomingPacket()
122 packet_result.sent_packet.send_time = abs_send_timestamp_; in IncomingPacket()
124 packet_result.sent_packet.size = in IncomingPacket()
126 packet_result.sent_packet.sequence_number = seq; in IncomingPacket()
127 network_state_estimator_->OnReceivedPacket(packet_result); in IncomingPacket()
/external/webrtc/modules/congestion_controller/goog_cc/
Dgoog_cc_network_control_unittest.cc182 PacketResult packet_result; in CreateResult() local
183 packet_result.sent_packet = SentPacket(); in CreateResult()
184 packet_result.sent_packet.send_time = Timestamp::Millis(send_time_ms); in CreateResult()
185 packet_result.sent_packet.size = DataSize::Bytes(payload_size); in CreateResult()
186 packet_result.sent_packet.pacing_info = pacing_info; in CreateResult()
187 packet_result.receive_time = Timestamp::Millis(arrival_time_ms); in CreateResult()
188 return packet_result; in CreateResult()