Searched refs:record2 (Results 1 – 9 of 9) sorted by relevance
/external/openscreen/discovery/mdns/ |
D | mdns_publisher_unittest.cc | 139 MdnsRecord record2) { in TestUniqueRecordRegistrationWorkflow() argument 145 ASSERT_EQ(record.dns_type(), record2.dns_type()); in TestUniqueRecordRegistrationWorkflow() 149 ASSERT_NE(record, record2); in TestUniqueRecordRegistrationWorkflow() 171 EXPECT_FALSE(publisher_.UpdateRegisteredRecord(record2, record).ok()); in TestUniqueRecordRegistrationWorkflow() 179 .WillOnce([this, &record2](const MdnsMessage& message) -> Error { in TestUniqueRecordRegistrationWorkflow() 180 return IsAnnounced(record2, message); in TestUniqueRecordRegistrationWorkflow() 182 EXPECT_TRUE(publisher_.UpdateRegisteredRecord(record, record2).ok()); in TestUniqueRecordRegistrationWorkflow() 185 CheckPublishedRecords(domain_, type, {record2}); in TestUniqueRecordRegistrationWorkflow() 196 CheckPublishedRecords(domain_, type, {record, record2}); in TestUniqueRecordRegistrationWorkflow() 201 .WillOnce([this, &record2](const MdnsMessage& message) -> Error { in TestUniqueRecordRegistrationWorkflow() [all …]
|
D | mdns_records_unittest.cc | 526 MdnsRecord record2(DomainName{"hostname", "local"}, DnsType::kPTR, in TEST() local 529 EXPECT_EQ(record2.MaxWireSize(), UINT64_C(41)); in TEST() 530 EXPECT_EQ(record2.name(), (DomainName{"hostname", "local"})); in TEST() 531 EXPECT_EQ(record2.dns_type(), DnsType::kPTR); in TEST() 532 EXPECT_EQ(record2.dns_class(), DnsClass::kIN); in TEST() 533 EXPECT_EQ(record2.record_type(), RecordType::kUnique); in TEST() 534 EXPECT_EQ(record2.ttl(), kTtl); in TEST() 535 EXPECT_EQ(record2.rdata(), in TEST() 543 const MdnsRecord record2(DomainName{"hostname", "local"}, DnsType::kPTR, in TEST() local 571 EXPECT_EQ(record1, record2); in TEST() [all …]
|
D | mdns_reader_unittest.cc | 674 MdnsRecord record2(DomainName{"record2"}, DnsType::kA, DnsClass::kIN, in TEST() local 680 std::vector<MdnsRecord>{record2}); in TEST()
|
/external/openscreen/discovery/public/ |
D | dns_sd_service_watcher_unittest.cc | 286 const DnsSdInstanceEndpoint record2("Instance2", kCastServiceId, in TEST_F() local 291 EXPECT_FALSE(ContainsService(record2)); in TEST_F() 295 EXPECT_FALSE(ContainsService(record2)); in TEST_F() 299 EXPECT_FALSE(ContainsService(record2)); in TEST_F() 301 UpdateNonExistingInstance(record2); in TEST_F() 303 EXPECT_FALSE(ContainsService(record2)); in TEST_F() 305 DeleteNonExistingInstance(record2); in TEST_F() 307 EXPECT_FALSE(ContainsService(record2)); in TEST_F() 309 CreateNewInstance(record2); in TEST_F() 311 EXPECT_TRUE(ContainsService(record2)); in TEST_F() [all …]
|
/external/selinux/libsemanage/src/ |
D | database_join.c | 185 record2_t *record2 = NULL; in dbase_join_flush() local 207 if (rjtable->split(handle, ptr->data, &record1, &record2) < 0) in dbase_join_flush() 213 if (dtable2->add(handle, dbase2, rkey, record2) < 0) in dbase_join_flush() 218 rtable2->free(record2); in dbase_join_flush() 221 record2 = NULL; in dbase_join_flush() 234 rtable2->free(record2); in dbase_join_flush()
|
D | user_record.c | 311 const semanage_user_extra_t * record2, in hidden_def() 323 name = semanage_user_extra_get_name(record2); in hidden_def() 341 if (record2) { in hidden_def() 342 if (semanage_user_extra_clone(handle, record2, &tmp_user->extra) in hidden_def()
|
D | database_join.h | 25 const record2_t * record2, record_t ** result);
|
D | user_internal.h | 169 const semanage_user_extra_t * record2,
|
/external/openscreen/discovery/dnssd/impl/ |
D | publisher_impl_unittest.cc | 218 [](const MdnsRecord& record, const MdnsRecord& record2) -> Error { in TEST_F() argument 220 EXPECT_EQ(record2.dns_type(), DnsType::kTXT); in TEST_F()
|