Home
last modified time | relevance | path

Searched refs:observer_ (Results 1 – 8 of 8) sorted by relevance

/system/update_engine/common/
Dcertificate_checker_unittest.cc54 cert_checker.SetObserver(&observer_); in SetUp()
73 testing::StrictMock<MockCertificateCheckObserver> observer_; member in chromeos_update_engine::CertificateCheckerTest
87 EXPECT_CALL(observer_, in TEST_F()
105 EXPECT_CALL(observer_, in TEST_F()
122 EXPECT_CALL(observer_, in TEST_F()
132 EXPECT_CALL(observer_, CertificateChecked(server_to_check_, in TEST_F()
Dcertificate_checker.h121 void SetObserver(Observer* observer) { observer_ = observer; } in SetObserver()
168 Observer* observer_{nullptr};
Dcertificate_checker.cc200 if (observer_) in NotifyCertificateChecked()
201 observer_->CertificateChecked(server_to_check, result); in NotifyCertificateChecked()
/system/connectivity/apmanager/
Dhostapd_monitor_unittest.cc65 : hostapd_monitor_(observer_.event_callback(), "", "") {} in HostapdMonitorTest()
80 HostapdEventCallbackObserver observer_; member in apmanager::HostapdMonitorTest
101 EXPECT_CALL(observer_, in TEST_F()
112 EXPECT_CALL(observer_, in TEST_F()
/system/connectivity/shill/
Dlink_monitor_unittest.cc97 observer_.failure_callback(), in LinkMonitorTest()
98 observer_.gateway_change_callback()) {} in LinkMonitorTest()
157 LinkMonitorObserver observer_; member in shill::LinkMonitorTest
214 EXPECT_CALL(observer_, OnFailureCallback()).Times(1); in TEST_F()
241 EXPECT_CALL(observer_, OnGatewayChangeCallback()).Times(1); in TEST_F()
246 Mock::VerifyAndClearExpectations(&observer_); in TEST_F()
250 EXPECT_CALL(observer_, OnGatewayChangeCallback()).Times(0); in TEST_F()
255 Mock::VerifyAndClearExpectations(&observer_); in TEST_F()
Dpassive_link_monitor_unittest.cc87 link_monitor_(connection_, &dispatcher_, observer_.result_callback()), in PassiveLinkMonitorTest()
138 ResultCallbackObserver observer_; member in shill::PassiveLinkMonitorTest
168 EXPECT_CALL(observer_, OnResultCallback(false)).Times(1); in TEST_F()
171 Mock::VerifyAndClearExpectations(&observer_); in TEST_F()
175 EXPECT_CALL(observer_, OnResultCallback(true)).Times(1); in TEST_F()
178 Mock::VerifyAndClearExpectations(&observer_); in TEST_F()
Dactive_link_monitor_unittest.cc149 observer_.failure_callback(), in ActiveLinkMonitorTest()
150 observer_.success_callback()) {} in ActiveLinkMonitorTest()
291 EXPECT_CALL(observer_, OnSuccessCallback()).Times(1); in ReceiveReplyAndRestartMonitorCycle()
293 Mock::VerifyAndClearExpectations(&observer_); in ReceiveReplyAndRestartMonitorCycle()
362 ActiveLinkMonitorObserver observer_; member in shill::ActiveLinkMonitorTest
458 EXPECT_CALL(observer_, OnSuccessCallback()).Times(1); in TEST_F()
497 EXPECT_CALL(observer_, in TEST_F()
574 EXPECT_CALL(observer_, in TEST_F()
/system/connectivity/shill/cellular/
Dmobile_operator_info_unittest.cc221 operator_info_->AddObserver(&observer_); in SetUp()
251 EXPECT_CALL(observer_, OnOperatorChanged()).Times(count); in ExpectEventCount()
256 Mock::VerifyAndClearExpectations(&observer_); in VerifyEventCount()
314 MockMobileOperatorInfoObserver observer_; member in shill::MobileOperatorInfoMainTest
1068 operator_info_->AddObserver(&observer_); in SetUp()
1542 operator_info_->AddObserver(&observer_); in TEST_P()
1545 EXPECT_CALL(observer_, OnOperatorChanged()).Times(2); in TEST_P()
1556 operator_info_->AddObserver(&observer_); in TEST_P()
1558 EXPECT_CALL(observer_, OnOperatorChanged()).Times(2); in TEST_P()
1564 Mock::VerifyAndClearExpectations(&observer_); in TEST_P()
[all …]