Home
last modified time | relevance | path

Searched refs:handler2 (Results 1 – 2 of 2) sorted by relevance

/system/core/libutils/tests/
DLooper_test.cpp418 StubCallbackHandler handler2(true); in TEST_F() local
421 handler2.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); // replace it in TEST_F()
436 EXPECT_EQ(1, handler2.callbackCount) in TEST_F()
460 sp<StubMessageHandler> handler2 = new StubMessageHandler(); in TEST_F() local
462 mLooper->sendMessage(handler2, Message(MSG_TEST2)); in TEST_F()
482 EXPECT_EQ(size_t(1), handler2->messages.size()) in TEST_F()
484 EXPECT_EQ(MSG_TEST2, handler2->messages[0].what) in TEST_F()
/system/connectivity/shill/net/
Dnetlink_manager_unittest.cc431 MockHandlerNetlink handler2; in TEST_F() local
445 EXPECT_CALL(handler2, OnNetlinkMessage(_)).Times(1); in TEST_F()
446 netlink_manager_->AddBroadcastHandler(handler2.on_netlink_message()); in TEST_F()
452 EXPECT_CALL(handler2, OnNetlinkMessage(_)).Times(1); in TEST_F()
459 EXPECT_CALL(handler2, OnNetlinkMessage(_)).Times(1); in TEST_F()
467 EXPECT_CALL(handler2, OnNetlinkMessage(_)).Times(1); in TEST_F()
475 EXPECT_CALL(handler2, OnNetlinkMessage(_)).Times(0); in TEST_F()