Home
last modified time | relevance | path

Searched refs:MatchesTarget (Results 1 – 3 of 3) sorted by relevance

/system/core/adb/
Dtransport_test.cpp183 EXPECT_TRUE(t.MatchesTarget(serial)); in TEST()
184 EXPECT_TRUE(t.MatchesTarget(devpath)); in TEST()
185 EXPECT_TRUE(t.MatchesTarget("product:" + product)); in TEST()
186 EXPECT_TRUE(t.MatchesTarget("model:" + model)); in TEST()
187 EXPECT_TRUE(t.MatchesTarget("device:" + device)); in TEST()
190 EXPECT_FALSE(t.MatchesTarget(product)); in TEST()
191 EXPECT_FALSE(t.MatchesTarget(model)); in TEST()
192 EXPECT_FALSE(t.MatchesTarget(device)); in TEST()
207 EXPECT_EQ(should_match, t.MatchesTarget("100.100.100.100")); in TEST()
208 EXPECT_EQ(should_match, t.MatchesTarget("tcp:100.100.100.100")); in TEST()
[all …]
Dtransport.h128 bool MatchesTarget(const std::string& target) const;
Dtransport.cpp678 if (t->MatchesTarget(serial)) { in acquire_one_transport()
838 bool atransport::MatchesTarget(const std::string& target) const { in MatchesTarget() function in atransport