/external/cronet/net/dns/ |
D | mdns_cache_unittest.cc | 148 std::unique_ptr<const RecordParsed> record1; in TEST_F() local 152 record1 = RecordParsed::CreateFrom(&parser, default_time_); in TEST_F() 155 EXPECT_EQ(MDnsCache::RecordAdded, cache_.UpdateDnsRecord(std::move(record1))); in TEST_F() 181 std::unique_ptr<const RecordParsed> record1; in TEST_F() local 187 record1 = RecordParsed::CreateFrom(&parser, default_time_); in TEST_F() 188 base::TimeDelta ttl1 = base::Seconds(record1->ttl()); in TEST_F() 194 EXPECT_EQ(MDnsCache::RecordAdded, cache_.UpdateDnsRecord(std::move(record1))); in TEST_F() 234 std::unique_ptr<const RecordParsed> record1; in TEST_F() local 238 record1 = RecordParsed::CreateFrom(&parser, default_time_); in TEST_F() 241 EXPECT_EQ(MDnsCache::RecordAdded, cache_.UpdateDnsRecord(std::move(record1))); in TEST_F() [all …]
|
D | record_parsed_unittest.cc | 61 std::unique_ptr<const RecordParsed> record1 = in TEST() local 71 EXPECT_FALSE(record1->IsEqual(record2.get(), false)); in TEST() 72 EXPECT_TRUE(record1->IsEqual(record2.get(), true)); in TEST() 73 EXPECT_FALSE(record2->IsEqual(record1.get(), false)); in TEST() 74 EXPECT_TRUE(record2->IsEqual(record1.get(), true)); in TEST()
|
D | mdns_client_unittest.cc | 1210 const RecordParsed* record1; in TEST_F() local 1214 .WillOnce(SaveArg<1>(&record1)); in TEST_F() 1228 EXPECT_EQ(record1, record2); in TEST_F()
|
D | dns_response_unittest.cc | 457 DnsResourceRecord record1; in TEST() local 458 EXPECT_TRUE(parser.ReadRecord(&record1)); in TEST()
|
/external/python/mobly/tests/mobly/ |
D | records_test.py | 251 record1 = records.TestResultRecord(self.tn) 252 record1.test_begin() 254 record1.test_pass(s) 256 tr1.add_record(record1) 274 record1 = records.TestResultRecord(self.tn) 275 record1.test_begin() 277 record1.test_pass(s) 279 tr1.add_record(record1) 285 record1 = records.TestResultRecord(self.tn) 286 record1.test_begin() [all …]
|
D | test_runner_test.py | 220 record1 = tr.results.executed[0] 222 self.assertEqual(record1.test_class, 'Integration2Test') 253 record1 = tr.results.executed[0] 255 self.assertEqual(record1.test_class, 'IntegrationTest_FirstConfig')
|
/external/openscreen/discovery/mdns/ |
D | mdns_records_unittest.cc | 516 MdnsRecord record1; in TEST() local 517 EXPECT_EQ(record1.MaxWireSize(), UINT64_C(11)); in TEST() 518 EXPECT_EQ(record1.name(), DomainName()); in TEST() 519 EXPECT_EQ(record1.dns_type(), static_cast<DnsType>(0)); in TEST() 520 EXPECT_EQ(record1.dns_class(), static_cast<DnsClass>(0)); in TEST() 521 EXPECT_EQ(record1.record_type(), RecordType::kShared); in TEST() 522 EXPECT_EQ(record1.ttl(), in TEST() 524 EXPECT_EQ(record1.rdata(), Rdata(RawRecordRdata())); in TEST() 540 const MdnsRecord record1(DomainName{"hostname", "local"}, DnsType::kPTR, in TEST() local 571 EXPECT_EQ(record1, record2); in TEST() [all …]
|
D | mdns_publisher_unittest.cc | 242 const MdnsRecord record1 = GetFakeARecord(domain_); in TEST_F() local 245 TestUniqueRecordRegistrationWorkflow(record1, record2); in TEST_F() 249 const MdnsRecord record1 = GetFakeAAAARecord(domain_); in TEST_F() local 252 TestUniqueRecordRegistrationWorkflow(record1, record2); in TEST_F() 256 const MdnsRecord record1 = GetFakeTxtRecord(domain_); in TEST_F() local 259 TestUniqueRecordRegistrationWorkflow(record1, record2); in TEST_F() 263 const MdnsRecord record1 = GetFakeSrvRecord(domain_); in TEST_F() local 266 TestUniqueRecordRegistrationWorkflow(record1, record2); in TEST_F()
|
D | mdns_reader_unittest.cc | 671 MdnsRecord record1(DomainName{"record1"}, DnsType::kPTR, DnsClass::kIN, in TEST() local 678 std::vector<MdnsRecord>{record1}, in TEST()
|
/external/cronet/net/third_party/quiche/src/quiche/quic/load_balancer/ |
D | load_balancer_server_id_map_test.cc | 62 int record1 = 1, record2 = 2; in TEST_F() local 67 pool->AddOrReplace(valid_server_id_, record1); in TEST_F() 71 EXPECT_EQ(*result, record1); in TEST_F() 74 EXPECT_EQ(*result_ptr, record1); in TEST_F()
|
/external/selinux/libsemanage/src/ |
D | database_join.c | 188 record1_t *record1 = NULL; in dbase_join_flush() local 211 if (rjtable->split(handle, ptr->data, &record1, &record2) < 0) in dbase_join_flush() 214 if (dtable1->add(handle, dbase1, rkey, record1) < 0) in dbase_join_flush() 221 rtable1->free(record1); in dbase_join_flush() 224 record1 = NULL; in dbase_join_flush() 237 rtable1->free(record1); in dbase_join_flush()
|
D | user_record.c | 294 const semanage_user_base_t * record1, in semanage_user_join() argument 306 if (record1 == NULL) in semanage_user_join() 309 name = semanage_user_base_get_name(record1); in semanage_user_join() 312 if (record1) { in semanage_user_join() 313 if (semanage_user_base_clone(handle, record1, &tmp_user->base) < in semanage_user_join() 351 semanage_user_base_get_name(record1)); in semanage_user_join()
|
D | database_join.h | 24 const record1_t * record1,
|
D | user_internal.h | 148 const semanage_user_base_t * record1,
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowWallpaperManagerTest.java | 89 WallpaperCommandRecord record1 = records.get(1); in sendWallpaperCommand_shouldTrackRecord() local 90 assertThat(record1.windowToken).isEqualTo(binder); in sendWallpaperCommand_shouldTrackRecord() 91 assertThat(record1.action).isEqualTo("action"); in sendWallpaperCommand_shouldTrackRecord() 92 assertThat(record1.x).isEqualTo(1); in sendWallpaperCommand_shouldTrackRecord() 93 assertThat(record1.y).isEqualTo(2); in sendWallpaperCommand_shouldTrackRecord() 94 assertThat(record1.z).isEqualTo(3); in sendWallpaperCommand_shouldTrackRecord() 95 assertThat(record1.extras.getString("key")).isEqualTo("value"); in sendWallpaperCommand_shouldTrackRecord()
|