Home
last modified time | relevance | path

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

/system/connectivity/shill/net/
Dattribute_list_unittest.cc40 MOCK_METHOD2(AttributeMethod, bool(int id, const ByteString& value));
73 EXPECT_CALL(*this, AttributeMethod(_, _)).Times(0); in TEST_F()
77 base::Bind(&AttributeListTest::AttributeMethod, base::Unretained(this)))); in TEST_F()
95 EXPECT_CALL(*this, AttributeMethod(kType1, PayloadIs("0123456789"))) in TEST_F()
97 EXPECT_CALL(*this, AttributeMethod(kType2, PayloadIs("123"))) in TEST_F()
99 EXPECT_CALL(*this, AttributeMethod(kType3, PayloadIs("12345"))) in TEST_F()
104 base::Bind(&AttributeListTest::AttributeMethod, base::Unretained(this)))); in TEST_F()
109 EXPECT_CALL(*this, AttributeMethod(kType1, _)).Times(0); in TEST_F()
110 EXPECT_CALL(*this, AttributeMethod(kType2, PayloadIs("123"))) in TEST_F()
112 EXPECT_CALL(*this, AttributeMethod(kType3, PayloadIs("12345"))) in TEST_F()
[all …]
Dattribute_list.h46 using AttributeMethod = base::Callback<bool(int id, const ByteString& value)>; variable
78 const AttributeMethod& method);
Dattribute_list.cc88 const AttributeList::AttributeMethod& method) { in IterateAttributes()