/external/openscreen/discovery/mdns/ |
D | mdns_publisher_unittest.cc | 81 publisher_(&sender_, in MdnsPublisherTest() 131 EXPECT_EQ(publisher_.GetRecordCount(), expected_records.size()); in CheckPublishedRecords() 132 auto records = publisher_.GetRecords(domain, type, DnsClass::kIN); in CheckPublishedRecords() 146 auto records = publisher_.GetRecords(domain_, type, DnsClass::kIN); in TestUniqueRecordRegistrationWorkflow() 147 ASSERT_EQ(publisher_.GetRecordCount(), size_t{0}); in TestUniqueRecordRegistrationWorkflow() 157 EXPECT_TRUE(publisher_.RegisterRecord(record).ok()); in TestUniqueRecordRegistrationWorkflow() 161 EXPECT_TRUE(publisher_.IsNonPtrRecordPresent(domain_)); in TestUniqueRecordRegistrationWorkflow() 164 EXPECT_FALSE(publisher_.RegisterRecord(record).ok()); in TestUniqueRecordRegistrationWorkflow() 168 EXPECT_TRUE(publisher_.IsNonPtrRecordPresent(domain_)); in TestUniqueRecordRegistrationWorkflow() 171 EXPECT_FALSE(publisher_.UpdateRegisteredRecord(record2, record).ok()); in TestUniqueRecordRegistrationWorkflow() [all …]
|
D | mdns_service_impl.cc | 82 publisher_ = in MdnsServiceImpl() 86 publisher_.get(), probe_manager_.get(), sender_.get(), &receiver_, in MdnsServiceImpl() 132 return publisher_->RegisterRecord(record); in RegisterRecord() 137 return publisher_->UpdateRegisteredRecord(old_record, new_record); in UpdateRegisteredRecord() 141 return publisher_->UnregisterRecord(record); in UnregisterRecord()
|
D | mdns_publisher.cc | 254 : publisher_(publisher), in RecordAnnouncer() 260 OSP_DCHECK(publisher_); in RecordAnnouncer() 277 publisher_->QueueRecord(CreateGoodbyeRecord(record_)); in QueueGoodbye() 287 publisher_->QueueRecord(record_); in QueueAnnouncement()
|
D | mdns_service_impl.h | 89 std::unique_ptr<MdnsPublisher> publisher_; variable
|
D | mdns_publisher.h | 124 MdnsPublisher* const publisher_; variable
|
/external/openscreen/discovery/public/ |
D | dns_sd_service_publisher.h | 43 publisher_(service ? service->GetPublisher() : nullptr) { in DnsSdServicePublisher() 44 OSP_DCHECK(publisher_); in DnsSdServicePublisher() 55 return publisher_->Register(instance, this); in Register() 64 return publisher_->UpdateRegistration(instance); in UpdateRegistration() 68 return publisher_->DeregisterAll(service_name_); in DeregisterAll() 90 DnsSdPublisher* const publisher_; variable
|
/external/openscreen/cast/common/discovery/e2e_test/ |
D | tests.cc | 173 publisher_ = std::make_unique<Publisher>(dnssd_service_.get()); in SetUpService() 189 OSP_DCHECK(publisher_.get()); in UpdateRecords() 194 auto error = publisher_->UpdateRegistration(r); in UpdateRecords() 204 OSP_DCHECK(publisher_.get()); in PublishRecords() 209 auto error = publisher_->Register(r); in PublishRecords() 275 std::unique_ptr<Publisher> publisher_; member in openscreen::cast::__anon5cbb65430111::DiscoveryE2ETest 281 if (publisher_->IsInstanceIdClaimed(service_info.GetInstanceId())) { in CheckForClaimedIds() 426 ErrorOr<int> result = publisher_->DeregisterAll(); in TEST_F()
|
/external/openscreen/osp/impl/ |
D | service_publisher_impl.h | 32 void SetState(State state) { publisher_->SetState(state); } in SetState() 34 ServicePublisherImpl* publisher_ = nullptr; variable
|
D | service_publisher_impl.cc | 42 OSP_DCHECK(!publisher_); in SetPublisherImpl() 43 publisher_ = publisher; in SetPublisherImpl()
|
D | mdns_responder_service.cc | 145 if (!publisher_ || publisher_->state() == ServicePublisher::State::kStopped || in StopListenerInternal() 146 publisher_->state() == ServicePublisher::State::kSuspended) { in StopListenerInternal() 148 if (!publisher_ || publisher_->state() == ServicePublisher::State::kStopped) in StopListenerInternal()
|
/external/openscreen/discovery/dnssd/impl/ |
D | service_instance.h | 43 DnsSdPublisher* GetPublisher() override { return publisher_.get(); } in GetPublisher() 51 std::unique_ptr<PublisherImpl> publisher_; variable
|
D | service_dispatcher.h | 35 DnsSdPublisher* GetPublisher() override { return publisher_; } in GetPublisher() 54 DnsSdPublisher* const publisher_; variable
|
D | publisher_impl_unittest.cc | 62 publisher_(&mock_service_, in PublisherImplTest() 69 PublisherImpl* publisher() { return &publisher_; } in publisher() 74 static_cast<MdnsDomainConfirmedProvider&>(publisher_) in CallOnDomainFound() 84 PublisherImpl publisher_; member in openscreen::discovery::__anon46c0891e0111::PublisherImplTest
|
D | service_instance.cc | 47 publisher_ = std::make_unique<PublisherImpl>(
|
D | service_dispatcher.cc | 67 publisher_(config.enable_publication ? this : nullptr), in ServiceDispatcher()
|