Home
last modified time | relevance | path

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

/external/cronet/net/dns/
Dmdns_cache_unittest.cc148 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 …]
Drecord_parsed_unittest.cc61 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()
Dmdns_client_unittest.cc1210 const RecordParsed* record1; in TEST_F() local
1214 .WillOnce(SaveArg<1>(&record1)); in TEST_F()
1228 EXPECT_EQ(record1, record2); in TEST_F()
Ddns_response_unittest.cc457 DnsResourceRecord record1; in TEST() local
458 EXPECT_TRUE(parser.ReadRecord(&record1)); in TEST()
/external/python/mobly/tests/mobly/
Drecords_test.py251 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 …]
Dtest_runner_test.py220 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/
Dmdns_records_unittest.cc516 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 …]
Dmdns_publisher_unittest.cc242 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()
Dmdns_reader_unittest.cc671 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/
Dload_balancer_server_id_map_test.cc62 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/
Ddatabase_join.c188 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()
Duser_record.c294 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()
Ddatabase_join.h24 const record1_t * record1,
Duser_internal.h148 const semanage_user_base_t * record1,
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowWallpaperManagerTest.java89 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()