Home
last modified time | relevance | path

Searched refs:OSP_DCHECK (Results 1 – 25 of 121) sorted by relevance

12345

/external/openscreen/util/
Durl.h36 OSP_DCHECK(is_valid_); in scheme()
40 OSP_DCHECK(is_valid_); in has_host()
44 OSP_DCHECK(is_valid_); in host()
48 OSP_DCHECK(is_valid_); in has_port()
52 OSP_DCHECK(is_valid_); in port()
56 OSP_DCHECK(is_valid_); in has_path()
60 OSP_DCHECK(is_valid_); in path()
64 OSP_DCHECK(is_valid_); in has_query()
68 OSP_DCHECK(is_valid_); in query()
Dalarm.cc14 OSP_DCHECK(alarm_); in CancelableFunctor()
15 OSP_DCHECK(!alarm_->queued_fire_); in CancelableFunctor()
63 OSP_DCHECK(now_function_); in Alarm()
64 OSP_DCHECK(task_runner_); in Alarm()
70 OSP_DCHECK(!queued_fire_); in ~Alarm()
80 OSP_DCHECK(task.valid()); in ScheduleWithTask()
93 OSP_DCHECK(!queued_fire_); in ScheduleWithTask()
99 OSP_DCHECK(!queued_fire_); in InvokeLater()
/external/openscreen/discovery/mdns/
Dmdns_probe.cc43 OSP_DCHECK(sender_); in MdnsProbeImpl()
44 OSP_DCHECK(receiver_); in MdnsProbeImpl()
45 OSP_DCHECK(random_delay_); in MdnsProbeImpl()
46 OSP_DCHECK(task_runner_); in MdnsProbeImpl()
47 OSP_DCHECK(observer_); in MdnsProbeImpl()
55 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in ~MdnsProbeImpl()
61 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in ProbeOnce()
82 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in Stop()
92 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in Postpone()
100 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in OnMessageReceived()
[all …]
Dmdns_trackers.cc75 OSP_DCHECK(task_runner_); in MdnsTracker()
76 OSP_DCHECK(now_function_); in MdnsTracker()
77 OSP_DCHECK(random_delay_); in MdnsTracker()
78 OSP_DCHECK(sender_); in MdnsTracker()
90 OSP_DCHECK(node); in AddAdjacentNode()
91 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in AddAdjacentNode()
104 OSP_DCHECK(node); in RemoveAdjacentNode()
105 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in RemoveAdjacentNode()
118 OSP_DCHECK(std::find(adjacent_nodes_.begin(), adjacent_nodes_.end(), node) == in AddReverseAdjacency()
126 OSP_DCHECK(it != adjacent_nodes_.end()); in RemovedReverseAdjacency()
[all …]
Dmdns_publisher.cc57 OSP_DCHECK(ownership_manager_); in MdnsPublisher()
58 OSP_DCHECK(sender_); in MdnsPublisher()
59 OSP_DCHECK(task_runner_); in MdnsPublisher()
71 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in RegisterRecord()
72 OSP_DCHECK(record.dns_class() != DnsClass::kANY); in RegisterRecord()
98 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in UnregisterRecord()
99 OSP_DCHECK(record.dns_class() != DnsClass::kANY); in UnregisterRecord()
112 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in UpdateRegisteredRecord()
146 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in GetRecordCount()
166 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in GetRecords()
[all …]
Dmdns_service_impl.cc38 OSP_DCHECK(task_runner_); in MdnsServiceImpl()
39 OSP_DCHECK(reporting_client_); in MdnsServiceImpl()
40 OSP_DCHECK(network_info.supported_address_families); in MdnsServiceImpl()
51 OSP_DCHECK(!socket.is_error()); in MdnsServiceImpl()
52 OSP_DCHECK(socket.value().get()); in MdnsServiceImpl()
53 OSP_DCHECK(socket.value()->IsIPv4()); in MdnsServiceImpl()
62 OSP_DCHECK(!socket.is_error()); in MdnsServiceImpl()
63 OSP_DCHECK(socket.value().get()); in MdnsServiceImpl()
64 OSP_DCHECK(socket.value()->IsIPv6()); in MdnsServiceImpl()
72 OSP_DCHECK(socket_ptr); in MdnsServiceImpl()
Dmdns_reader.cc61 OSP_DCHECK(out); in Read()
129 OSP_DCHECK(out); in Read()
153 OSP_DCHECK(out); in Read()
171 OSP_DCHECK(out); in Read()
185 OSP_DCHECK(out); in Read()
199 OSP_DCHECK(out); in Read()
213 OSP_DCHECK(out); in Read()
228 OSP_DCHECK(entry.size() <= kTXTMaxEntrySize); in Read()
246 OSP_DCHECK(out); in Read()
281 OSP_DCHECK(out); in Read()
[all …]
Dmdns_querier.cc194 OSP_DCHECK(it->dns_type() != DnsType::kNSEC); in RemoveInvalidNsecFlags()
234 OSP_DCHECK(sender_); in RecordTrackerLruCache()
235 OSP_DCHECK(random_delay_); in RecordTrackerLruCache()
236 OSP_DCHECK(task_runner_); in RecordTrackerLruCache()
237 OSP_DCHECK(reporting_client_); in RecordTrackerLruCache()
392 OSP_DCHECK(sender_); in MdnsQuerier()
393 OSP_DCHECK(receiver_); in MdnsQuerier()
394 OSP_DCHECK(task_runner_); in MdnsQuerier()
395 OSP_DCHECK(now_function_); in MdnsQuerier()
396 OSP_DCHECK(random_delay_); in MdnsQuerier()
[all …]
Dmdns_responder.cc109 OSP_DCHECK(IsValidAdditionalRecordType(type)); in AddAdditionalRecords()
140 OSP_DCHECK(type != DnsType::kNSEC); in ApplyQueryResults()
162 OSP_DCHECK(record.dns_type() == DnsType::kPTR); in ApplyQueryResults()
205 OSP_DCHECK(srv_record.dns_type() == DnsType::kSRV); in ApplyQueryResults()
302 OSP_DCHECK(responder_); in TruncatedQuery()
310 OSP_DCHECK(questions_.empty()); in SetQuery()
382 OSP_DCHECK(record_handler_); in MdnsResponder()
383 OSP_DCHECK(ownership_handler_); in MdnsResponder()
384 OSP_DCHECK(sender_); in MdnsResponder()
385 OSP_DCHECK(receiver_); in MdnsResponder()
[all …]
Dmdns_probe_manager.cc24 OSP_DCHECK(name.labels().size()); in CreateRetryDomainName()
50 OSP_DCHECK(sender_); in MdnsProbeManagerImpl()
51 OSP_DCHECK(receiver_); in MdnsProbeManagerImpl()
52 OSP_DCHECK(task_runner_); in MdnsProbeManagerImpl()
53 OSP_DCHECK(random_delay_); in MdnsProbeManagerImpl()
97 OSP_DCHECK(!message.questions().empty()); in RespondToProbeQuery()
128 OSP_DCHECK(!message.questions().empty()); in TiebreakSimultaneousProbes()
129 OSP_DCHECK(!message.authority_records().empty()); in TiebreakSimultaneousProbes()
Dmdns_receiver.cc24 OSP_DCHECK(response_clients_.empty()); in ~MdnsReceiver()
31 OSP_DCHECK(static_cast<bool>(query_callback_) != static_cast<bool>(callback)); in SetQueryCallback()
38 OSP_DCHECK(it == response_clients_.end()); in AddResponseCallback()
46 OSP_DCHECK(it != response_clients_.end()); in RemoveResponseCallback()
/external/openscreen/cast/streaming/
Dframe_id.h53 OSP_DCHECK(!is_null());
54 OSP_DCHECK(!rhs.is_null());
60 OSP_DCHECK(!is_null());
64 OSP_DCHECK(!is_null());
68 OSP_DCHECK(!is_null());
72 OSP_DCHECK(!is_null());
76 OSP_DCHECK(!is_null());
81 OSP_DCHECK(!is_null());
86 OSP_DCHECK(!is_null());
90 OSP_DCHECK(!is_null());
Denvironment.cc21 OSP_DCHECK(now_function_); in Environment()
22 OSP_DCHECK(task_runner_); in Environment()
31 OSP_DCHECK(socket_); in Environment()
49 OSP_DCHECK(packet_consumer); in ConsumeIncomingPackets()
50 OSP_DCHECK(!packet_consumer_); in ConsumeIncomingPackets()
74 OSP_DCHECK(remote_endpoint_.address); in SendPacket()
84 OSP_DCHECK(socket == socket_.get()); in OnBound()
93 OSP_DCHECK(socket == socket_.get()); in OnError()
Dclock_drift_smoother.cc23 OSP_DCHECK(time_constant_ > decltype(time_constant_)::zero()); in ClockDriftSmoother()
29 OSP_DCHECK(last_update_time_ != kNullTime); in Current()
36 OSP_DCHECK(now != kNullTime); in Reset()
43 OSP_DCHECK(now != kNullTime); in Update()
Dreceiver_packet_router.cc19 OSP_DCHECK(environment_); in ReceiverPacketRouter()
23 OSP_DCHECK(receivers_.empty()); in ~ReceiverPacketRouter()
28 OSP_DCHECK(receivers_.find(sender_ssrc) == receivers_.end()); in OnReceiverCreated()
49 OSP_DCHECK(InspectPacketForRouting(packet).first == ApparentPacketType::RTCP); in SendRtcpPacket()
/external/openscreen/platform/impl/
Dtls_connection_posix.cc37 OSP_DCHECK(task_runner_); in TlsConnectionPosix()
44 OSP_DCHECK(task_runner_); in TlsConnectionPosix()
50 OSP_DCHECK(task_runner_); in TlsConnectionPosix()
65 OSP_DCHECK(ssl_); in TryReceiveMessage()
96 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in SetClient()
101 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in Send()
106 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in GetLocalEndpoint()
109 OSP_DCHECK(endpoint.has_value()); in GetLocalEndpoint()
114 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in GetRemoteEndpoint()
117 OSP_DCHECK(endpoint.has_value()); in GetRemoteEndpoint()
[all …]
Dtls_connection_factory_posix.cc61 OSP_DCHECK(client_); in TlsConnectionFactoryPosix()
62 OSP_DCHECK(task_runner_); in TlsConnectionFactoryPosix()
66 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in ~TlsConnectionFactoryPosix()
76 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in Connect()
105 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in SetListenCredentials()
127 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in Listen()
129 OSP_DCHECK(listen_credentials_set_); in Listen()
139 OSP_DCHECK(socket->state() == TcpSocketState::kListening); in Listen()
141 OSP_DCHECK(platform_client_); in Listen()
176 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in OnSocketAccepted()
[all …]
Dscoped_wake_lock_linux.cc25 OSP_DCHECK(platform_client); in GetTaskRunner()
27 OSP_DCHECK(task_runner); in GetTaskRunner()
34 OSP_DCHECK(GetTaskRunner()->IsRunningOnTaskRunner()); in ScopedWakeLockLinux()
/external/openscreen/cast/common/certificate/testing/
Dtest_helpers.cc31 OSP_DCHECK(fp); in ReadSignatureTestData()
39 OSP_DCHECK(!result.message.data); in ReadSignatureTestData()
43 OSP_DCHECK(!result.sha1.data); in ReadSignatureTestData()
47 OSP_DCHECK(!result.sha256.data); in ReadSignatureTestData()
56 OSP_DCHECK(result.message.data); in ReadSignatureTestData()
57 OSP_DCHECK(result.sha1.data); in ReadSignatureTestData()
58 OSP_DCHECK(result.sha256.data); in ReadSignatureTestData()
/external/openscreen/discovery/dnssd/impl/
Dpublisher_impl.cc92 OSP_DCHECK(mdns_publisher_); in PublisherImpl()
93 OSP_DCHECK(reporting_client_); in PublisherImpl()
94 OSP_DCHECK(task_runner_); in PublisherImpl()
100 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in Register()
101 OSP_DCHECK(client != nullptr); in Register()
111 OSP_DCHECK(address); in Register()
121 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in UpdateRegistration()
146 OSP_DCHECK(task_runner_->IsRunningOnTaskRunner()); in UpdatePublishedRegistration()
177 OSP_DCHECK(changed_records.find(key) == changed_records.end()); in UpdatePublishedRegistration()
198 OSP_DCHECK(pair.second.first != absl::nullopt || in UpdatePublishedRegistration()
[all …]
Dquerier_impl.cc30 OSP_DCHECK(old_endpoints); in ProcessErrors()
31 OSP_DCHECK(new_endpoints); in ProcessErrors()
129 OSP_DCHECK(created_out); in CalculateChangeSets()
130 OSP_DCHECK(updated_out); in CalculateChangeSets()
131 OSP_DCHECK(deleted_out); in CalculateChangeSets()
186 OSP_DCHECK(endpoint.has_value()); in CalculateChangeSets()
192 OSP_DCHECK(endpoint.has_value()); in CalculateChangeSets()
198 OSP_DCHECK(endpoint.has_value()); in CalculateChangeSets()
212 OSP_DCHECK(mdns_querier_); in QuerierImpl()
213 OSP_DCHECK(task_runner_); in QuerierImpl()
[all …]
Ddns_data_graph.cc215 OSP_DCHECK(graph_); in Node()
228 OSP_DCHECK(it == parents_.end()); in ~Node()
235 OSP_DCHECK(graph_->on_node_deletion_); in ~Node()
242 OSP_DCHECK(record.name() == name_); in ApplyDataRecordChange()
313 OSP_DCHECK(it != graph_->nodes_.end()); in ApplyChildChange()
319 OSP_DCHECK(child); in AddChild()
325 OSP_DCHECK(child); in RemoveChild()
328 OSP_DCHECK(it != children_.end()); in RemoveChild()
332 OSP_DCHECK(it != child->parents_.end()); in RemoveChild()
341 OSP_DCHECK(child == this || count); in RemoveChild()
[all …]
/external/openscreen/cast/test/
Dmake_crl_tests.cc58 OSP_DCHECK(maybe_serial); in MakeTbsCrl()
82 OSP_DCHECK(signature); in PackCrlIntoFile()
100 OSP_DCHECK(inter_key); in CastMain()
101 OSP_DCHECK(crl_inter_key); in CastMain()
124 OSP_DCHECK(device_cert); in CastMain()
125 OSP_DCHECK(inter_cert); in CastMain()
126 OSP_DCHECK(root_cert); in CastMain()
127 OSP_DCHECK(crl_inter_cert); in CastMain()
182 OSP_DCHECK(maybe_serial); in CastMain()
197 OSP_DCHECK(maybe_serial); in CastMain()
/external/openscreen/osp/impl/quic/testing/
Dfake_quic_connection_factory.cc28 OSP_DCHECK(false) << "reporting an unknown connection as closed"; in OnConnectionClosed()
50 OSP_DCHECK(!delegate_ || !delegate); in SetServerDelegate()
85 OSP_DCHECK(controller_stream->TakeReceivedData().empty()); in RunTasks()
95 OSP_DCHECK(receiver_stream->TakeReceivedData().empty()); in RunTasks()
139 OSP_DCHECK(!connections_.controller); in Connect()
140 OSP_DCHECK(!connections_.receiver); in Connect()
161 OSP_DCHECK(false) << "don't call SetServerDelegate from QuicClient side"; in SetServerDelegate()
204 OSP_DCHECK(false) << "don't call Connect() from QuicServer side"; in Connect()
/external/openscreen/cast/standalone_receiver/
Dstreaming_playback_controller.cc33 OSP_DCHECK(task_runner_ != nullptr);
34 OSP_DCHECK(client_ != nullptr);
51 OSP_DCHECK(task_runner_ != nullptr);
52 OSP_DCHECK(client_ != nullptr);

12345