Home
last modified time | relevance | path

Searched refs:what (Results 1 - 25 of 55) sorted by relevance

123

/base/telephony/core_service/services/tel_ril/include/
H A Dobserver_handler.h34 void RegObserver(int32_t what, const std::shared_ptr<AppExecFwk::EventHandler> handler);
36 void RegUniqueObserver(int32_t what, const std::shared_ptr<AppExecFwk::EventHandler> handler);
38 void Remove(int32_t what, const std::shared_ptr<AppExecFwk::EventHandler> handler);
42 void NotifyObserver(int32_t what);
44 void NotifyObserver(int32_t what, int64_t param) in NotifyObserver() argument
47 auto iter = observerHandlerMap_.find(what); in NotifyObserver()
49 TELEPHONY_LOGE("ObserverHandler NotifyObserver %{public}d not register", what); in NotifyObserver()
54 TelEventHandler::SendTelEvent(handlers, what, param, 0); in NotifyObserver()
59 void NotifyObserver(int32_t what, std::shared_ptr<T> object) in NotifyObserver() argument
62 auto iter = observerHandlerMap_.find(what); in NotifyObserver()
[all...]
/base/telephony/core_service/services/tel_ril/src/
H A Dobserver_handler.cpp26 void ObserverHandler::RegObserver(int32_t what, const std::shared_ptr<AppExecFwk::EventHandler> handler) in RegObserver() argument
34 auto iter = observerHandlerMap_.find(what); in RegObserver()
41 TELEPHONY_LOGD("ObserverHandler RegObserver update callback what: %{public}d, list size: %{public}zu", what, in RegObserver()
44 TELEPHONY_LOGD("ObserverHandler RegObserver callback what: %{public}d", what); in RegObserver()
47 observerHandlerMap_.emplace(what, handlers); in RegObserver()
57 void ObserverHandler::Remove(int32_t what, const std::shared_ptr<AppExecFwk::EventHandler> handler) in Remove() argument
65 auto iter = observerHandlerMap_.find(what); in Remove()
76 void ObserverHandler::NotifyObserver(int32_t what) in NotifyObserver() argument
[all...]
/base/telephony/sms_mms/interfaces/innerkits/satellite/
H A Di_satellite_sms_service.h37 * @param what event to listen for
41 virtual int32_t RegisterSmsNotify(int32_t slotId, int32_t what, const sptr<ISatelliteSmsCallback> &callback) = 0;
47 * @param what event to listen for
50 virtual int32_t UnRegisterSmsNotify(int32_t slotId, int32_t what) = 0;
/base/telephony/core_service/interfaces/innerkits/satellite/
H A Di_satellite_service.h59 * @param what identify the callback data
63 virtual int32_t RegisterCoreNotify(int32_t slotId, int32_t what, const sptr<ISatelliteCoreCallback> &callback) = 0;
69 * @param what identify which callback should be unregister
73 virtual int32_t UnRegisterCoreNotify(int32_t slotId, int32_t what) = 0;
H A Dsatellite_service_proxy.h29 int32_t RegisterCoreNotify(int32_t slotId, int32_t what, const sptr<ISatelliteCoreCallback> &callback) override;
30 int32_t UnRegisterCoreNotify(int32_t slotId, int32_t what) override;
H A Dsatellite_service_client.h38 int32_t RegisterCoreNotify(int32_t slotId, int32_t what, const sptr<ISatelliteCoreCallback> &callback);
39 int32_t UnRegisterCoreNotify(int32_t slotId, int32_t what);
/base/telephony/sms_mms/services/sms/include/satellite/
H A Dsatellite_sms_proxy.h28 int32_t RegisterSmsNotify(int32_t slotId, int32_t what, const sptr<ISatelliteSmsCallback> &callback) override;
29 int32_t UnRegisterSmsNotify(int32_t slotId, int32_t what) override;
H A Dsatellite_sms_client.h40 int32_t RegisterSmsNotify(int32_t slotId, int32_t what, const sptr<ISatelliteSmsCallback> &callback);
41 int32_t UnRegisterSmsNotify(int32_t slotId, int32_t what);
/base/telephony/core_service/services/satellite_service_interaction/src/
H A Dsatellite_service_proxy.cpp95 int32_t slotId, int32_t what, const sptr<ISatelliteCoreCallback> &callback) in RegisterCoreNotify()
112 if (!data.WriteInt32(what)) { in RegisterCoreNotify()
125 TELEPHONY_LOGD("Satellite RegisterCoreNotify slotId: %{public}d, what: %{public}d", slotId, what); in RegisterCoreNotify()
138 int32_t SatelliteServiceProxy::UnRegisterCoreNotify(int32_t slotId, int32_t what) in UnRegisterCoreNotify() argument
151 if (!data.WriteInt32(what)) { in UnRegisterCoreNotify()
161 TELEPHONY_LOGD("Satellite UnRegisterCoreNotify slotId: %{public}d, what: %{public}d", slotId, what); in UnRegisterCoreNotify()
94 RegisterCoreNotify( int32_t slotId, int32_t what, const sptr<ISatelliteCoreCallback> &callback) RegisterCoreNotify() argument
H A Dsatellite_service_client.cpp202 int32_t slotId, int32_t what, const sptr<ISatelliteCoreCallback> &callback) in RegisterCoreNotify()
209 return proxy->RegisterCoreNotify(slotId, what, callback); in RegisterCoreNotify()
212 int32_t SatelliteServiceClient::UnRegisterCoreNotify(int32_t slotId, int32_t what) in UnRegisterCoreNotify() argument
219 return proxy->UnRegisterCoreNotify(slotId, what); in UnRegisterCoreNotify()
201 RegisterCoreNotify( int32_t slotId, int32_t what, const sptr<ISatelliteCoreCallback> &callback) RegisterCoreNotify() argument
/base/telephony/sms_mms/services/sms/satellite_service_interaction/src/
H A Dsatellite_sms_proxy.cpp34 int32_t SatelliteSmsProxy::RegisterSmsNotify(int32_t slotId, int32_t what, const sptr<ISatelliteSmsCallback> &callback) in RegisterSmsNotify() argument
52 if (!data.WriteInt32(what)) { in RegisterSmsNotify()
65 TELEPHONY_LOGD("Satellite RegisterSmsNotify slotId: %{public}d, what: %{public}d", slotId, what); in RegisterSmsNotify()
78 int32_t SatelliteSmsProxy::UnRegisterSmsNotify(int32_t slotId, int32_t what) in UnRegisterSmsNotify() argument
91 if (!data.WriteInt32(what)) { in UnRegisterSmsNotify()
101 TELEPHONY_LOGD("Satellite UnRegisterSmsNotify slotId: %{public}d, what: %{public}d", slotId, what); in UnRegisterSmsNotify()
H A Dsatellite_sms_client.cpp255 int32_t SatelliteSmsClient::RegisterSmsNotify(int32_t slotId, int32_t what, const sptr<ISatelliteSmsCallback> &callback) in RegisterSmsNotify() argument
262 return proxy->RegisterSmsNotify(slotId, what, callback); in RegisterSmsNotify()
265 int32_t SatelliteSmsClient::UnRegisterSmsNotify(int32_t slotId, int32_t what) in UnRegisterSmsNotify() argument
272 return proxy->UnRegisterSmsNotify(slotId, what); in UnRegisterSmsNotify()
/base/telephony/core_service/test/unittest/tel_ril_gtest/
H A Dzero_branch_test_tel_ril.cpp252 int32_t what = 0; in HWTEST_F() local
255 observerHandler->Remove(what, handler); in HWTEST_F()
256 observerHandler->RegObserver(what, handler); in HWTEST_F()
257 observerHandler->Remove(what, handler); in HWTEST_F()
259 for (what = 0; what < RAT_TYPE; what++) { in HWTEST_F()
260 observerHandler->RegObserver(what, handler); in HWTEST_F()
262 observerHandler->Remove(what, handler); in HWTEST_F()
/base/hiviewdfx/hiview/plugins/performance/monitor/
H A DAppLaunchMonitor.cpp60 HIVIEW_LOGD("exception error:%{public}s", std::string(ex.what()).c_str()); in ExecuteProcessAppEvtTaskInMainThr()
70 HIVIEW_LOGE("ReportMetrics error: %{public}s", std::string(ex.what()).c_str()); in ReportMetrics()
H A DJankAnimatorMonitor.cpp86 HIVIEW_LOGE("JankAnimatorMonitor ObtainId error: %{public}s", std::string(ex.what()).c_str()); in ReportMetrics()
/base/hiviewdfx/hiview/plugins/performance/reporter/adapter/
H A DSimpleAppStartReporterAdapter.cpp33 HIVIEW_LOGE("[SimpleAppStartReporterAdapter::ReportNormal] exception:%{public}s", ex.what()); in ReportNormal()
43 HIVIEW_LOGE("[SimpleAppStartReporterAdapter::ReportCritical] exception:%{public}s", ex.what()); in ReportCritical()
H A DJankAnimatorReporterAdapter.cpp49 HIVIEW_LOGE("[JankAnimatorReporterAdapter ReportNormal] exception: %{public}s", ex.what()); in ReportNormal()
65 HIVIEW_LOGE("[JankAnimatorReporterAdapter::ReportCritical] exception: %s", ex.what()); in ReportCritical()
H A DAppStartReporterAdapter.cpp39 HIVIEW_LOGE("[AppStartReporterAdapter::ReportNormal] exception:%{public}s", ex.what()); in ReportNormal()
/base/telephony/core_service/services/sim/include/
H A Dsim_state_manager.h54 void RegisterCoreNotify(const HANDLE &handler, int what);
55 void UnRegisterCoreNotify(const HANDLE &observerCallBack, int what);
H A Dsim_state_handle.h135 void RegisterCoreNotify(const std::shared_ptr<AppExecFwk::EventHandler> &handler, int what);
136 void UnRegisterCoreNotify(const std::shared_ptr<AppExecFwk::EventHandler> &observerCallBack, int what);
/base/telephony/ril_adapter/test/unittest/include/
H A Dril_interface_test.h103 void OnProcessInput(int32_t what);
104 void OnStressInput(int32_t what);
/base/telephony/core_service/services/sim/src/
H A Dsim_manager.cpp1086 void SimManager::RegisterCoreNotify(int32_t slotId, const std::shared_ptr<AppExecFwk::EventHandler> &handler, int what) in RegisterCoreNotify() argument
1088 if ((what >= RadioEvent::RADIO_IMSI_LOADED_READY) && (what <= RadioEvent::RADIO_SIM_RECORDS_LOADED)) { in RegisterCoreNotify()
1093 simFileManager_[slotId]->RegisterCoreNotify(handler, what); in RegisterCoreNotify()
1094 } else if ((what >= RadioEvent::RADIO_SIM_STATE_CHANGE) && (what <= RadioEvent::RADIO_SIM_STATE_SIMLOCK)) { in RegisterCoreNotify()
1099 simStateManager_[slotId]->RegisterCoreNotify(handler, what); in RegisterCoreNotify()
1100 } else if (what == RadioEvent::RADIO_SIM_ACCOUNT_LOADED) { in RegisterCoreNotify()
1106 multiSimMonitor_->RegisterCoreNotify(slotId, handler, what); in RegisterCoreNotify()
1113 int32_t slotId, const std::shared_ptr<AppExecFwk::EventHandler> &observerCallBack, int what) in UnRegisterCoreNotify()
1112 UnRegisterCoreNotify( int32_t slotId, const std::shared_ptr<AppExecFwk::EventHandler> &observerCallBack, int what) UnRegisterCoreNotify() argument
[all...]
H A Dsim_file_manager.cpp536 void SimFileManager::RegisterCoreNotify(const std::shared_ptr<AppExecFwk::EventHandler> &handler, int what) in RegisterCoreNotify() argument
539 if (what == RadioEvent::RADIO_SIM_STATE_CHANGE && simStateManager != nullptr) { in RegisterCoreNotify()
540 simStateManager->RegisterCoreNotify(handler, what); in RegisterCoreNotify()
547 simFile_->RegisterCoreNotify(handler, what); in RegisterCoreNotify()
550 void SimFileManager::UnRegisterCoreNotify(const std::shared_ptr<AppExecFwk::EventHandler> &handler, int what) in UnRegisterCoreNotify() argument
553 if (what == RadioEvent::RADIO_SIM_STATE_CHANGE && simStateManager != nullptr) { in UnRegisterCoreNotify()
554 simStateManager->UnRegisterCoreNotify(handler, what); in UnRegisterCoreNotify()
561 simFile_->UnRegisterCoreNotify(handler, what); in UnRegisterCoreNotify()
/base/telephony/core_service/interfaces/innerkits/include/
H A Di_network_search.h64 virtual void RegisterCoreNotify(int32_t slotId, HANDLE &handler, int32_t what) = 0;
65 virtual void UnRegisterCoreNotify(int32_t slotId, HANDLE &handler, int32_t what) = 0;
/base/telephony/cellular_data/test/mock/
H A Dmock_network_search.h44 MOCK_METHOD3(RegisterCoreNotify, void(int32_t slotId, HANDLE &handler, int32_t what));
45 MOCK_METHOD3(UnRegisterCoreNotify, void(int32_t slotId, HANDLE &handler, int32_t what));

Completed in 12 milliseconds

123