Home
last modified time | relevance | path

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

/ohos5.0/base/telephony/call_manager/services/call_earthquake_alarm/src/
H A Dcall_earthquake_alarm_locator.cpp56 this->switchCallback_ = nullptr; in OnInit()
128 if (switchCallback_ == nullptr) { in RegisterSwitchCallback()
129 switchCallback_ = sptr<MyLocationEngine::MySwitchCallback>( in RegisterSwitchCallback()
131 if (switchCallback_ == nullptr) { in RegisterSwitchCallback()
136 auto code = locatorImpl->RegisterSwitchCallbackV9(switchCallback_->AsObject()); in RegisterSwitchCallback()
146 if (switchCallback_ != nullptr) { in UnRegisterSwitchCallback()
148 locatorImpl->UnregisterSwitchCallbackV9(switchCallback_->AsObject()); in UnRegisterSwitchCallback()
/ohos5.0/base/telephony/call_manager/test/unittest/call_earthquake_alarm_test/src/
H A Dcall_earthquake_alarm_test.cpp170 if (engine->switchCallback_ == nullptr) {
174 engine->switchCallback_->OnSwitchChange(state);
179 engine->switchCallback_->OnRemoteRequest(code, data1, reply, option);
182 engine->switchCallback_->OnRemoteRequest(code, data2, reply, option);
186 engine->switchCallback_->OnRemoteRequest(code, data3, reply, option);
/ohos5.0/base/telephony/call_manager/services/call_earthquake_alarm/include/
H A Dcall_earthquake_alarm_locator.h105 sptr<MySwitchCallback> switchCallback_ = nullptr; variable