Searched refs:MatchesTarget (Results 1 – 3 of 3) sorted by relevance
148 EXPECT_TRUE(t.MatchesTarget(serial)); in TEST_F()149 EXPECT_TRUE(t.MatchesTarget(devpath)); in TEST_F()150 EXPECT_TRUE(t.MatchesTarget("product:" + product)); in TEST_F()151 EXPECT_TRUE(t.MatchesTarget("model:" + model)); in TEST_F()152 EXPECT_TRUE(t.MatchesTarget("device:" + device)); in TEST_F()155 EXPECT_FALSE(t.MatchesTarget(product)); in TEST_F()156 EXPECT_FALSE(t.MatchesTarget(model)); in TEST_F()157 EXPECT_FALSE(t.MatchesTarget(device)); in TEST_F()172 EXPECT_EQ(should_match, t.MatchesTarget("100.100.100.100")); in TEST_F()173 EXPECT_EQ(should_match, t.MatchesTarget("tcp:100.100.100.100")); in TEST_F()[all …]
323 bool MatchesTarget(const std::string& target) const;
863 if (t->MatchesTarget(serial)) { in acquire_one_transport()1105 bool atransport::MatchesTarget(const std::string& target) const { in MatchesTarget() function in atransport