Home
last modified time | relevance | path

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

/system/core/adb/
Dtransport_test.cpp148 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 …]
Dtransport.h323 bool MatchesTarget(const std::string& target) const;
Dtransport.cpp863 if (t->MatchesTarget(serial)) { in acquire_one_transport()
1105 bool atransport::MatchesTarget(const std::string& target) const { in MatchesTarget() function in atransport