Home
last modified time | relevance | path

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

/packages/modules/adb/
Dtransport_test.cpp162 EXPECT_TRUE(t.MatchesTarget(serial)); in TEST_F()
163 EXPECT_TRUE(t.MatchesTarget(devpath)); in TEST_F()
164 EXPECT_TRUE(t.MatchesTarget("product:" + product)); in TEST_F()
165 EXPECT_TRUE(t.MatchesTarget("model:" + model)); in TEST_F()
166 EXPECT_TRUE(t.MatchesTarget("device:" + device)); in TEST_F()
169 EXPECT_FALSE(t.MatchesTarget(product)); in TEST_F()
170 EXPECT_FALSE(t.MatchesTarget(model)); in TEST_F()
171 EXPECT_FALSE(t.MatchesTarget(device)); in TEST_F()
186 EXPECT_EQ(should_match, t.MatchesTarget("100.100.100.100")); in TEST_F()
187 EXPECT_EQ(should_match, t.MatchesTarget("tcp:100.100.100.100")); in TEST_F()
[all …]
Dtransport.h389 bool MatchesTarget(const std::string& target) const;
Dtransport.cpp936 if (t->MatchesTarget(serial)) { in acquire_one_transport()
1275 bool atransport::MatchesTarget(const std::string& target) const { in MatchesTarget() function in atransport