Home
last modified time | relevance | path

Searched refs:imsSrvType (Results 1 - 25 of 44) sorted by relevance

12

/base/telephony/core_service/frameworks/js/network_search/src/
H A Dnapi_ims_reg_info_callback_manager.cpp28 ImsServiceType imsSrvType = stateCallback.imsSrvType; in RegisterImsRegStateCallback() local
31 TELEPHONY_LOGE("[slot%{public}d] Creat ImsRegInfoCallback failed, type %{public}d,", slotId, imsSrvType); in RegisterImsRegStateCallback()
34 if (InsertImsRegCallback(slotId, imsSrvType, stateCallback) != TELEPHONY_SUCCESS) { in RegisterImsRegStateCallback()
36 imsSrvType); in RegisterImsRegStateCallback()
40 slotId, imsSrvType, stateCallback.imsCallback); in RegisterImsRegStateCallback()
43 "[slot%{public}d] Register imsRegState callback successfully, type %{public}d", slotId, imsSrvType); in RegisterImsRegStateCallback()
48 RemoveImsRegCallback(slotId, imsSrvType); in RegisterImsRegStateCallback()
50 imsSrvType, ret); in RegisterImsRegStateCallback()
56 napi_env env, int32_t slotId, ImsServiceType imsSrvType) in UnregisterImsRegStateCallback()
55 UnregisterImsRegStateCallback( napi_env env, int32_t slotId, ImsServiceType imsSrvType) UnregisterImsRegStateCallback() argument
66 InsertImsRegCallback( int32_t slotId, ImsServiceType imsSrvType, ImsRegStateCallback &stateCallback) InsertImsRegCallback() argument
80 RemoveImsRegCallback(int32_t slotId, ImsServiceType imsSrvType) RemoveImsRegCallback() argument
95 ReportImsRegInfo( int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) ReportImsRegInfo() argument
[all...]
H A Dnapi_ims_reg_info_callback.cpp25 int32_t NapiImsRegInfoCallback::OnImsRegInfoChanged(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) in OnImsRegInfoChanged() argument
28 DelayedSingleton<NapiImsRegInfoCallbackManager>::GetInstance()->ReportImsRegInfo(slotId, imsSrvType, info); in OnImsRegInfoChanged()
/base/telephony/core_service/frameworks/js/network_search/include/
H A Dnapi_ims_reg_info_callback_manager.h28 int32_t UnregisterImsRegStateCallback(napi_env env, int32_t slotId, ImsServiceType imsSrvType);
29 int32_t ReportImsRegInfo(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info);
33 int32_t InsertImsRegCallback(int32_t slotId, ImsServiceType imsSrvType, ImsRegStateCallback &stateCallback);
34 void RemoveImsRegCallback(int32_t slotId, ImsServiceType imsSrvType);
H A Dnapi_ims_reg_info_callback.h25 int32_t OnImsRegInfoChanged(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) override;
H A Dnapi_radio.h284 int32_t imsSrvType = DEFAULT_ERROR; member
298 ImsServiceType imsSrvType = ImsServiceType::TYPE_VOICE; member
/base/telephony/core_service/test/unittest/ui_client/
H A Dims_reg_info_callback_gtest.cpp23 int32_t ImsRegInfoCallbackGtest::OnImsRegInfoChanged(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) in OnImsRegInfoChanged() argument
26 "slotId is %{public}d, imsSrvType is %{public}d, imsRegState is %{public}d, imsRegTech is %{public}d", slotId, in OnImsRegInfoChanged()
27 imsSrvType, info.imsRegState, info.imsRegTech); in OnImsRegInfoChanged()
H A Dims_reg_info_callback_gtest.h25 int32_t OnImsRegInfoChanged(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) override;
/base/telephony/core_service/services/network_search/test/
H A Dims_reg_info_callback_test.cpp23 int32_t ImsRegInfoCallbackTest::OnImsRegInfoChanged(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) in OnImsRegInfoChanged() argument
25 TELEPHONY_LOGI("slotId: %{public}d, imsSrvType: %{public}d, ImsRegState: %{public}d, ImsRegTech: %{public}d", in OnImsRegInfoChanged()
26 slotId, imsSrvType, info.imsRegState, info.imsRegTech); in OnImsRegInfoChanged()
H A Dims_reg_info_callback_test.h25 int32_t OnImsRegInfoChanged(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) override;
H A Dtest.cpp83 int32_t imsSrvType = 0; member
494 std::cout << "please input imsSrvType(TYPE_VOICE = 0,TYPE_VIDEO = 1," in TestRegisterImsRegStateCallback()
497 std::cin >> imsRegStateCallback.imsSrvType; in TestRegisterImsRegStateCallback()
501 static_cast<ImsServiceType>(imsRegStateCallback.imsSrvType), imsRegStateCallback.imsCallback); in TestRegisterImsRegStateCallback()
520 int32_t imsSrvType = 0; in TestUnregisterImsRegStateCallback() local
523 std::cout << "please input imsSrvType(TYPE_VOICE = 0,TYPE_VIDEO = 1," in TestUnregisterImsRegStateCallback()
526 std::cin >> imsSrvType; in TestUnregisterImsRegStateCallback() local
528 slotId, static_cast<ImsServiceType>(imsSrvType)); in TestUnregisterImsRegStateCallback()
535 if (itor->slotId == slotId && itor->imsSrvType == imsSrvType) { in TestUnregisterImsRegStateCallback()
585 int32_t imsSrvType = 0; TestGetImsRegStatus() local
590 std::cin >> imsSrvType; TestGetImsRegStatus() local
[all...]
/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dims_reg_info_callback_gtest.cpp23 int32_t ImsRegInfoCallbackGtest::OnImsRegInfoChanged(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) in OnImsRegInfoChanged() argument
26 "slotId is %{public}d, imsSrvType is %{public}d, imsRegState is %{public}d, imsRegTech is %{public}d", slotId, in OnImsRegInfoChanged()
27 imsSrvType, info.imsRegState, info.imsRegTech); in OnImsRegInfoChanged()
H A Dnetwork_search_manager_test.cpp112 int32_t OnImsRegInfoChanged(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) override;
115 int32_t ImsRegInfoCallbackTest::OnImsRegInfoChanged(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) in OnImsRegInfoChanged() argument
117 TELEPHONY_LOGI("slotId: %{public}d, imsSrvType: %{public}d, ImsRegState: %{public}d, ImsRegTech: %{public}d", in OnImsRegInfoChanged()
118 slotId, imsSrvType, info.imsRegState, info.imsRegTech); in OnImsRegInfoChanged()
H A Dims_reg_info_callback_gtest.h25 int32_t OnImsRegInfoChanged(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) override;
H A Dcore_service_test.cpp687 ImsServiceType imsSrvType = ImsServiceType::TYPE_VOICE; in HWTEST_F() local
689 auto result = DelayedSingleton<CoreService>::GetInstance()->GetImsRegStatus(0, imsSrvType, info); in HWTEST_F()
726 ImsServiceType imsSrvType = ImsServiceType::TYPE_VOICE; in HWTEST_F() local
727 auto result = DelayedSingleton<CoreService>::GetInstance()->RegisterImsRegInfoCallback(0, imsSrvType, nullptr); in HWTEST_F()
739 ImsServiceType imsSrvType = ImsServiceType::TYPE_VOICE; in HWTEST_F() local
740 auto result = DelayedSingleton<CoreService>::GetInstance()->UnregisterImsRegInfoCallback(0, imsSrvType); in HWTEST_F()
/base/telephony/core_service/services/network_search/src/
H A Dims_reg_info_callback_proxy.cpp27 int32_t ImsRegInfoCallbackProxy::OnImsRegInfoChanged(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) in OnImsRegInfoChanged() argument
44 return remote->SendRequest(imsSrvType, data, replyParcel, option); in OnImsRegInfoChanged()
H A Dnetwork_search_state.cpp107 int32_t NetworkSearchState::GetImsStatus(ImsServiceType imsSrvType, ImsRegInfo &info) in GetImsStatus() argument
115 switch (imsSrvType) { in GetImsStatus()
129 TELEPHONY_LOGE("%{public}d unkunow ims service type!", imsSrvType); in GetImsStatus()
402 void NetworkSearchState::NotifyImsStateChange(ImsServiceType imsSrvType, const ImsRegInfo &info) in NotifyImsStateChange() argument
414 networkSearchManager->NotifyImsRegInfoChanged(slotId_, imsSrvType, info); in NotifyImsStateChange()
H A Dnetwork_search_manager.cpp975 int32_t NetworkSearchManager::GetImsRegStatus(int32_t slotId, ImsServiceType imsSrvType, ImsRegInfo &info) in GetImsRegStatus() argument
977 TELEPHONY_LOGD("slotId:%{public}d, imsSrvType:%{public}d", slotId, imsSrvType); in GetImsRegStatus()
987 return inner->networkSearchState_->GetImsStatus(imsSrvType, info); in GetImsRegStatus()
1684 int32_t slotId, ImsServiceType imsSrvType, const int32_t tokenId, const sptr<ImsRegInfoCallback> &callback) in RegisterImsRegInfoCallback()
1693 if ((iter->slotId == slotId) && (iter->imsSrvType == imsSrvType) && (iter->tokenId == tokenId)) { in RegisterImsRegInfoCallback()
1702 imsRecord.imsSrvType = imsSrvType; in RegisterImsRegInfoCallback()
1712 int32_t slotId, ImsServiceType imsSrvType, cons in UnregisterImsRegInfoCallback()
1683 RegisterImsRegInfoCallback( int32_t slotId, ImsServiceType imsSrvType, const int32_t tokenId, const sptr<ImsRegInfoCallback> &callback) RegisterImsRegInfoCallback() argument
1711 UnregisterImsRegInfoCallback( int32_t slotId, ImsServiceType imsSrvType, const int32_t tokenId) UnregisterImsRegInfoCallback() argument
1733 NotifyImsRegInfoChanged(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) NotifyImsRegInfoChanged() argument
[all...]
/base/telephony/core_service/frameworks/native/src/
H A Dims_reg_info_callback_stub.cpp31 ImsServiceType imsSrvType = static_cast<ImsServiceType>(code); in OnRemoteRequest() local
36 return OnImsRegInfoChanged(slotId, imsSrvType, info); in OnRemoteRequest()
/base/telephony/sms_mms/services/sms/
H A Dims_reg_state_callback_stub.cpp43 int32_t ImsRegStateCallbackStub::OnImsRegInfoChanged(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) in OnImsRegInfoChanged() argument
47 slotId, imsSrvType, info.imsRegState, info.imsRegTech); in OnImsRegInfoChanged()
/base/telephony/core_service/interfaces/innerkits/include/
H A Dims_reg_info_callback.h26 virtual int32_t OnImsRegInfoChanged(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) = 0;
H A Di_network_search.h100 virtual int32_t GetImsRegStatus(int32_t slotId, ImsServiceType imsSrvType, ImsRegInfo &info) = 0;
137 virtual int32_t RegisterImsRegInfoCallback(int32_t slotId, ImsServiceType imsSrvType, const int32_t tokenId,
140 int32_t slotId, ImsServiceType imsSrvType, const int32_t tokenId) = 0;
/base/telephony/core_service/services/network_search/include/
H A Dnetwork_search_state.h47 int32_t GetImsStatus(ImsServiceType imsSrvType, ImsRegInfo &info);
60 void NotifyImsStateChange(ImsServiceType imsSrvType, const ImsRegInfo &info);
H A Dims_reg_info_callback_proxy.h26 int32_t OnImsRegInfoChanged(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) override;
/base/telephony/sms_mms/services/sms/include/
H A Dims_reg_state_callback_stub.h31 int32_t OnImsRegInfoChanged(int32_t slotId, ImsServiceType imsSrvType, const ImsRegInfo &info) override;
/base/telephony/cellular_data/test/mock/
H A Dmock_network_search.h62 MOCK_METHOD3(GetImsRegStatus, int32_t(int32_t slotId, ImsServiceType imsSrvType, ImsRegInfo &info));
74 MOCK_METHOD4(RegisterImsRegInfoCallback, int32_t(int32_t slotId, ImsServiceType imsSrvType, const int32_t tokenId,
76 MOCK_METHOD3(UnregisterImsRegInfoCallback, int32_t(int32_t slotId, ImsServiceType imsSrvType,

Completed in 12 milliseconds

12