Home
last modified time | relevance | path

Searched refs:NewInstance (Results 1 – 12 of 12) sorted by relevance

/base/useriam/user_auth_framework/test/unittest/services/src/
Dcontext_factory_test.cpp61 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_AUTH_USER);
76 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_AUTH_USER);
89 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_IDENTIFY);
104 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_IDENTIFY);
117 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_ADD_CREDENTIAL);
132 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_ADD_CREDENTIAL);
144 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_ADD_CREDENTIAL);
155 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_ADD_CREDENTIAL);
167 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_ADD_CREDENTIAL);
Dcontext_callback_impl_test.cpp60 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_ADD_CREDENTIAL);
67 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_ADD_CREDENTIAL);
86 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_ADD_CREDENTIAL);
112 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_ADD_CREDENTIAL);
/base/telephony/core_service/interfaces/innerkits/include/
Dsignal_information.h60 virtual sptr<SignalInformation> NewInstance() const = 0;
89 sptr<SignalInformation> NewInstance() const override;
117 sptr<SignalInformation> NewInstance() const override;
163 sptr<SignalInformation> NewInstance() const override;
211 sptr<SignalInformation> NewInstance() const override;
240 sptr<SignalInformation> NewInstance() const override;
278 sptr<SignalInformation> NewInstance() const override;
/base/telephony/core_service/services/network_search/src/
Dsignal_info.cpp157 signals.emplace_back(cur_.lte.NewInstance()); in GetSignalInfoList()
160 signals.emplace_back(cur_.nr.NewInstance()); in GetSignalInfoList()
163 signals.emplace_back(cur_.cdma.NewInstance()); in GetSignalInfoList()
166 signals.emplace_back(cur_.tdScdma.NewInstance()); in GetSignalInfoList()
169 signals.emplace_back(cur_.wcdma.NewInstance()); in GetSignalInfoList()
172 signals.emplace_back(cur_.gsm.NewInstance()); in GetSignalInfoList()
/base/telephony/core_service/frameworks/native/src/
Dsignal_information.cpp133 sptr<SignalInformation> GsmSignalInformation::NewInstance() const in NewInstance() function in OHOS::Telephony::GsmSignalInformation
241 sptr<SignalInformation> CdmaSignalInformation::NewInstance() const in NewInstance() function in OHOS::Telephony::CdmaSignalInformation
369 sptr<SignalInformation> LteSignalInformation::NewInstance() const in NewInstance() function in OHOS::Telephony::LteSignalInformation
510 sptr<SignalInformation> WcdmaSignalInformation::NewInstance() const in NewInstance() function in OHOS::Telephony::WcdmaSignalInformation
628 sptr<SignalInformation> TdScdmaSignalInformation::NewInstance() const in NewInstance() function in OHOS::Telephony::TdScdmaSignalInformation
741 sptr<SignalInformation> NrSignalInformation::NewInstance() const in NewInstance() function in OHOS::Telephony::NrSignalInformation
/base/useriam/user_auth_framework/services/ipc/src/
Duser_idm_service.cpp208 auto contextCallback = ContextCallback::NewInstance(callback, in AddCredential()
319 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_ENFORCE_DELETE_USER); in EnforceDelUser()
368 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_DELETE_USER); in DelUser()
408 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_DELETE_CREDENTIAL); in DelCredential()
Duser_auth_service.cpp340 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_AUTH_USER); in GetAuthContextCallback()
462 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_IDENTIFY); in Identify()
637 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_AUTH_USER); in GetAuthContextCallback()
/base/useriam/user_auth_framework/services/context/inc/
Dcontext_callback.h62 static std::shared_ptr<ContextCallback> NewInstance(sptr<IamCallbackInterface> iamCallback,
/base/useriam/user_auth_framework/services/context/src/
Dcontext_callback_impl.cpp141 std::shared_ptr<ContextCallback> ContextCallback::NewInstance(sptr<IamCallbackInterface> iamCallbac… in NewInstance() function in OHOS::UserIam::UserAuth::ContextCallback
Dwidget_context.cpp126 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_AUTH_USER); in GetAuthContextCallback()
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_context.h33 … MOCK_METHOD2(NewInstance, std::shared_ptr<ContextCallback>(sptr<IamCallbackInterface> iamCallback,
/base/telephony/core_service/test/unittest/core_service_gtest/
Dnetwork_search_test.cpp311 cdmaSignal->NewInstance(); in PrintCdmaSignalInformation()
327 wcdmaSignal->NewInstance(); in PrintWcdmaSignalInformation()
342 tdscdmaSignal->NewInstance(); in PrintTdScdmaSignalInformation()
372 nrSignal->NewInstance(); in PrintNrSignalInformation()