Home
last modified time | relevance | path

Searched refs:sptr (Results 601 - 625 of 2959) sorted by relevance

1...<<21222324252627282930>>...119

/base/telephony/cellular_data/services/include/apn_manager/
H A Dapn_item.h38 static sptr<ApnItem> MakeDefaultApn(const std::string &apnType);
39 static sptr<ApnItem> MakeApn(const PdpProfile &apnData);
42 static sptr<ApnItem> BuildOtherApnAttributes(sptr<ApnItem> &apnItem, const PdpProfile &apnData);
H A Dconnection_retry_policy.h36 sptr<ApnItem> GetNextRetryApnItem() const;
37 void SetMatchedApns(std::vector<sptr<ApnItem>> &apns);
43 std::vector<sptr<ApnItem>> GetMatchedApns() const;
53 std::vector<sptr<ApnItem>> matchedApns_;
/base/telephony/call_manager/services/call/call_state_observer/include/
H A Dwired_headset.h40 void NewCallCreated(sptr<CallBase> &callObjectPtr) override;
42 void CallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextState) override;
43 void IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string content) override;
44 void IncomingCallActivated(sptr<CallBase> &callObjectPtr) override;
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/include/
H A Dril_test_util.h51 static sptr<OHOS::HDI::Ril::V1_3::IRil> GetRilInterface();
52 static sptr<RilCallbackTest> GetCallback();
67 sptr<OHOS::HDI::Ril::V1_3::IRil> rilInterface_ = nullptr;
68 sptr<RilCallbackTest> callback_;
/base/theme/screenlock_mgr/interfaces/inner_api/include/
H A Dscreenlock_manager_interface.h34 virtual int32_t Unlock(const sptr<ScreenLockCallbackInterface> &listener) = 0;
35 virtual int32_t UnlockScreen(const sptr<ScreenLockCallbackInterface> &listener) = 0;
36 virtual int32_t Lock(const sptr<ScreenLockCallbackInterface> &listener) = 0;
38 virtual int32_t OnSystemEvent(const sptr<ScreenLockSystemAbilityInterface> &listener) = 0;
/base/usb/usb_manager/utils/native/include/
H A Ddelayed_sp_singleton.h37 static sptr<T> GetInstance();
41 static sptr<T> instance_;
45 template <typename T> sptr<T> DelayedSpSingleton<T>::instance_ = nullptr;
49 template <typename T> sptr<T> DelayedSpSingleton<T>::GetInstance() in GetInstance()
/base/useriam/pin_auth/test/unittest/src/
H A Dservices_pin_auth_manager_test.cpp52 sptr<InputerGetData> inputer(nullptr); in HWTEST_F()
59 sptr<InputerGetData> inputer(new (std::nothrow) MockInputerGetData()); in HWTEST_F()
68 sptr<InputerGetData> inputer(new (std::nothrow) MockInputerGetData()); in HWTEST_F()
76 sptr<InputerGetData> inputer(new (std::nothrow) MockInputerGetData()); in HWTEST_F()
/base/web/webview/ohos_adapter/aafwk_adapter/include/
H A Daafwk_browser_client_adapter_impl.h30 explicit BrowserClient(const sptr<IRemoteObject> &impl);
34 virtual sptr<IRemoteObject> QueryRenderSurface(int32_t surface_id) override;
38 virtual void PassSurface(sptr<Surface> surface, int64_t surface_id) override;
63 sptr<IBrowser> browserHost_;
/base/location/test/location_network/source/
H A Dnetwork_ability_test.cpp320 auto ability = sptr<NetworkAbility>(new (std::nothrow) NetworkAbility()); in HWTEST_F()
330 auto ability = sptr<NetworkAbility>(new (std::nothrow) NetworkAbility()); in HWTEST_F()
331 sptr<IRemoteObject> obj = nullptr; in HWTEST_F()
345 auto ability = sptr<NetworkAbility>(new (std::nothrow) NetworkAbility()); in HWTEST_F()
356 auto ability = sptr<NetworkAbility>(new (std::nothrow) NetworkAbility()); in HWTEST_F()
360 sptr<MockIRemoteObject> nlpServiceProxy = in HWTEST_F()
361 sptr<MockIRemoteObject>(new (std::nothrow) MockIRemoteObject()); in HWTEST_F()
374 sptr<NetworkCallbackHost> callback = new (std::nothrow) NetworkCallbackHost(); in HWTEST_F()
389 sptr<NetworkCallbackHost> callback = new (std::nothrow) NetworkCallbackHost(); in HWTEST_F()
404 sptr<NetworkCallbackHos in HWTEST_F()
[all...]
/base/account/os_account/frameworks/account_iam/src/
H A Daccount_iam_mgr_proxy.cpp23 AccountIAMMgrProxy::AccountIAMMgrProxy(const sptr<IRemoteObject> &object) : IRemoteProxy<IAccountIAM>(object) in AccountIAMMgrProxy()
32 sptr<IRemoteObject> remote = Remote(); in SendRequest()
104 int32_t userId, const CredentialParameters &credInfo, const sptr<IIDMCallback> &callback, bool isAdd) in AddOrUpdateCredential()
150 int32_t userId, const CredentialParameters &credInfo, const sptr<IIDMCallback> &callback) in AddCredential()
156 int32_t userId, const CredentialParameters &credInfo, const sptr<IIDMCallback> &callback) in UpdateCredential()
180 int32_t userId, uint64_t credentialId, const std::vector<uint8_t> &authToken, const sptr<IIDMCallback> &callback) in DelCred()
215 int32_t userId, const std::vector<uint8_t> &authToken, const sptr<IIDMCallback> &callback) in DelUser()
245 int32_t userId, AuthType authType, const sptr<IGetCredInfoCallback> &callback) in GetCredentialInfo()
276 const std::string &remoteNetworkId, const sptr<IPreRemoteAuthCallback> &callback) in PrepareRemoteAuth()
384 AuthParam &authParam, const sptr<IIDMCallbac in AuthUser()
[all...]
/base/security/security_component_manager/frameworks/inner_api/security_component/src/
H A Dsec_comp_proxy.cpp30 SecCompProxy::SecCompProxy(const sptr<IRemoteObject>& impl) : IRemoteProxy<ISecCompService>(impl) in SecCompProxy()
65 sptr<IRemoteObject> remote = Remote(); in RegisterSecurityComponent()
124 sptr<IRemoteObject> remote = Remote(); in UpdateSecurityComponent()
173 sptr<IRemoteObject> remote = Remote(); in UnregisterSecurityComponent()
205 sptr<IRemoteObject> remote = Remote(); in SendReportClickEventRequest()
234 sptr<IRemoteObject> callerToken, sptr<IRemoteObject> dialogCallback) in ReportSecurityComponentClickEvent()
254 sptr<SecCompClickEventParcel> parcel = new (std::nothrow) SecCompClickEventParcel(); in ReportSecurityComponentClickEvent()
298 sptr<IRemoteObject> remote = Remote(); in VerifySavePermission()
318 sptr<IRemoteObjec
[all...]
/base/telephony/cellular_data/test/unit_test/
H A Dcellular_data_code_test.cpp131 int32_t NetAvailable(sptr<NetManagerStandard::NetHandle> &netHandle) override
137 int32_t NetCapabilitiesChange(sptr<NetManagerStandard::NetHandle> &netHandle,
138 const sptr<NetManagerStandard::NetAllCapabilities> &netAllCap) override
145 sptr<NetManagerStandard::NetHandle> &netHandle, const sptr<NetManagerStandard::NetLinkInfo> &info) override
151 int32_t NetLost(sptr<NetManagerStandard::NetHandle> &netHandle) override
163 int32_t NetBlockStatusChange(sptr<NetManagerStandard::NetHandle> &netHandle, bool blocked) override
188 static sptr<INetConnCallback> g_callback;
279 sptr<ICellularDataManager> proxy = CellularDataClient::GetInstance().GetProxy(); in HandleApnChangedTest()
290 sptr<ICellularDataManage in GetDefaultSlotId()
[all...]
/base/useriam/user_auth_framework/frameworks/native/client/src/
H A Duser_auth_client_impl.cpp135 sptr<GetExecutorPropertyCallbackInterface> wrapper( in GetProperty()
171 sptr<SetExecutorPropertyCallbackInterface> wrapper( in SetPropertyInner()
223 sptr<UserAuthCallbackInterface> wrapper(new (std::nothrow) UserAuthCallbackService(callback)); in BeginAuthentication()
266 sptr<UserAuthCallbackInterface> wrapper(new (std::nothrow) UserAuthCallbackService(northCallback)); in BeginNorthAuthentication()
305 sptr<UserAuthCallbackInterface> wrapper(new (std::nothrow) UserAuthCallbackService(callback)); in BeginIdentification()
351 sptr<UserAuthInterface> UserAuthClientImpl::GetProxy() in GetProxy()
357 sptr<IRemoteObject> obj = IpcClientUtils::GetRemoteObject(SUBSYS_USERIAM_SYS_ABILITY_USERAUTH); in GetProxy()
362 sptr<IRemoteObject::DeathRecipient> dr(new (std::nothrow) UserAuthImplDeathRecipient()); in GetProxy()
460 sptr<UserAuthCallbackInterface> wrapper(new (std::nothrow) UserAuthCallbackService(callback)); in BeginWidgetAuthInner()
483 sptr<WidgetCallbackInterfac in SetWidgetCallback()
[all...]
/base/customization/enterprise_device_management/interfaces/inner_api/common/src/
H A Denterprise_device_mgr_proxy.cpp69 sptr<IRemoteObject> remote = LoadAndGetEdmService(); in EnableAdmin()
100 sptr<IRemoteObject> remote = LoadAndGetEdmService(); in DisableAdmin()
129 sptr<IRemoteObject> remote = LoadAndGetEdmService(); in DisableSuperAdmin()
157 sptr<IRemoteObject> remote = LoadAndGetEdmService(); in GetEnabledAdmin()
186 sptr<IRemoteObject> remote = LoadAndGetEdmService(); in GetEnterpriseInfo()
218 sptr<IRemoteObject> remote = LoadAndGetEdmService(); in SetEnterpriseInfo()
248 sptr<IRemoteObject> remote = LoadAndGetEdmService(); in HandleManagedEvent()
279 sptr<IRemoteObject> remote = LoadAndGetEdmService(); in IsSuperAdmin()
310 sptr<IRemoteObject> remote = LoadAndGetEdmService(); in IsAdminEnabled()
376 sptr<IRemoteObjec in HandleDevicePolicy()
[all...]
/base/inputmethod/imf/services/src/
H A Dperuser_session.cpp71 int PerUserSession::AddClientInfo(sptr<IRemoteObject> inputClient, const InputClientInfo &clientInfo, in AddClientInfo()
113 void PerUserSession::RemoveClientInfo(const sptr<IRemoteObject> &client, bool isClientDied) in RemoveClientInfo()
138 void PerUserSession::UpdateClientInfo(const sptr<IRemoteObject> &client, const std::unordered_map<UpdateFlag, in UpdateClientInfo()
182 int32_t PerUserSession::HideKeyboard(const sptr<IInputClient> &currentClient) in HideKeyboard()
206 int32_t PerUserSession::ShowKeyboard(const sptr<IInputClient> &currentClient) in ShowKeyboard()
233 void PerUserSession::OnClientDied(sptr<IInputClient> remote) in OnClientDied()
261 void PerUserSession::OnImeDied(const sptr<IInputMethodCore> &remote, ImeType type) in OnImeDied()
307 int32_t PerUserSession::RemoveIme(const sptr<IInputMethodCore> &core, ImeType type) in RemoveIme()
328 sptr<IInputClient> client = GetCurrentClient(); in OnHideCurrentInput()
339 sptr<IInputClien in OnShowCurrentInput()
[all...]
/base/location/test/fuzztest/locator/geoconvertservice_fuzzer/
H A Dgeoconvertservice_fuzzer.cpp96 auto service1 = sptr<GeoConvertService>(new (std::nothrow) GeoConvertService()); in GeoConvertServiceFuzzTest001()
113 auto service2 = sptr<GeoConvertService>(new (std::nothrow) GeoConvertService()); in GeoConvertServiceFuzzTest002()
130 auto service3 = sptr<GeoConvertService>(new (std::nothrow) GeoConvertService()); in GeoConvertServiceFuzzTest003()
147 auto service4 = sptr<GeoConvertService>(new (std::nothrow) GeoConvertService()); in GeoConvertServiceFuzzTest004()
164 auto service5 = sptr<GeoConvertService>(new (std::nothrow) GeoConvertService()); in GeoConvertServiceFuzzTest005()
181 auto service6 = sptr<GeoConvertService>(new (std::nothrow) GeoConvertService()); in GeoConvertServiceFuzzTest006()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_core_proxy.cpp27 InputMethodCoreProxy::InputMethodCoreProxy(const OHOS::sptr<OHOS::IRemoteObject> &impl) in InputMethodCoreProxy()
34 int32_t InputMethodCoreProxy::InitInputControlChannel(const sptr<IInputControlChannel> &inputControlChannel) in InitInputControlChannel()
62 int32_t InputMethodCoreProxy::OnConnectSystemCmd(const sptr<IRemoteObject> &channel, sptr<IRemoteObject> &agent)
90 int32_t InputMethodCoreProxy::StopInput(const sptr<IRemoteObject> &channel)
110 void InputMethodCoreProxy::OnClientInactive(const sptr<IRemoteObject> &channel)
/base/powermgr/power_manager/frameworks/native/
H A Drunning_lock.cpp61 sptr<IPowerMgr> proxy = proxy_.promote(); in Create()
79 sptr<IPowerMgr> proxy = proxy_.promote(); in UpdateWorkSource()
97 sptr<IPowerMgr> proxy = proxy_.promote(); in Lock()
120 sptr<IPowerMgr> proxy = proxy_.promote(); in UnLock()
135 sptr<IPowerMgr> proxy = proxy_.promote(); in IsUsed()
147 sptr<IPowerMgr> proxy = proxy_.promote(); in Release()
/base/powermgr/power_manager/services/zidl/src/shutdown/
H A Dshutdown_stub_delegator.cpp64 sptr<IRemoteObject> obj = data.ReadRemoteObject(); in RegisterTakeOverShutdownCallback()
75 sptr<IRemoteObject> obj = data.ReadRemoteObject(); in UnRegisterTakeOverShutdownCallback()
86 sptr<IRemoteObject> obj = data.ReadRemoteObject(); in RegisterAsyncShutdownCallback()
97 sptr<IRemoteObject> obj = data.ReadRemoteObject(); in UnRegisterAsyncShutdownCallback()
108 sptr<IRemoteObject> obj = data.ReadRemoteObject(); in RegisterSyncShutdownCallback()
119 sptr<IRemoteObject> obj = data.ReadRemoteObject(); in UnRegisterSyncShutdownCallback()
H A Dshutdown_proxy_delegator.cpp24 const sptr<ITakeOverShutdownCallback>& callback, ShutdownPriority priority) in RegisterShutdownCallback()
47 void ShutdownProxyDelegator::UnRegisterShutdownCallback(const sptr<ITakeOverShutdownCallback>& callback) in UnRegisterShutdownCallback()
70 const sptr<IAsyncShutdownCallback>& callback, ShutdownPriority priority) in RegisterShutdownCallback()
93 void ShutdownProxyDelegator::UnRegisterShutdownCallback(const sptr<IAsyncShutdownCallback>& callback) in UnRegisterShutdownCallback()
116 const sptr<ISyncShutdownCallback>& callback, ShutdownPriority priority) in RegisterShutdownCallback()
139 void ShutdownProxyDelegator::UnRegisterShutdownCallback(const sptr<ISyncShutdownCallback>& callback) in UnRegisterShutdownCallback()
/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_client_test.cpp100 sptr<IThermalTempCallback> tempCallback = nullptr; in HWTEST_F()
103 sptr<MockThermalRemoteObject> sptrRemoteObj = new MockThermalRemoteObject(); in HWTEST_F()
109 sptr<IThermalLevelCallback> levelCallback = nullptr; in HWTEST_F()
116 sptr<IThermalActionCallback> actionCallback = nullptr; in HWTEST_F()
136 sptr<ThermalSrvSensorInfo> info = new ThermalSrvSensorInfo(); in HWTEST_F()
160 sptr<IThermalLevelCallback> callback = new ThermalMgrListener::ThermalLevelCallback(nullptr); in HWTEST_F()
/base/notification/common_event_service/services/include/
H A Dcommon_event_subscriber_manager.h34 sptr<IRemoteObject> commonEventListener;
91 const sptr<IRemoteObject> &commonEventListener, const struct tm &recordTime,
100 int RemoveSubscriber(const sptr<IRemoteObject> &commonEventListener);
116 std::shared_ptr<EventSubscriberRecord> GetSubscriberRecord(const sptr<IRemoteObject> &commonEventListener);
213 int RemoveSubscriberRecordLocked(const sptr<IRemoteObject> &commonEventListener);
246 sptr<IRemoteObject::DeathRecipient> death_;
H A Dinner_common_event_manager.h56 const sptr<IRemoteObject> &commonEventListener, const struct tm &recordTime, const pid_t &pid, const uid_t &uid,
58 const sptr<IRemoteObject> &service = nullptr);
73 const sptr<IRemoteObject> &commonEventListener, const struct tm &recordTime, const pid_t &pid, const uid_t &uid,
83 bool UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener);
114 const sptr<IRemoteObject> &proxy, const int32_t &code, const std::string &receiverData, const bool &abortEvent);
186 void SendUnSubscribeHiSysEvent(const sptr<IRemoteObject> &commonEventListener);
/base/notification/distributed_notification_service/services/ans/src/
H A Dsystem_event_observer.cpp60 sptr<NotificationBundleOption> SystemEventObserver::GetBundleOption(AAFwk::Want want) in GetBundleOption()
66 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(bundleName, uid); in GetBundleOption()
82 sptr<NotificationBundleOption> bundleOption = GetBundleOption(want); in OnReceiveEvent()
119 sptr<NotificationBundleOption> bundleOption = GetBundleOption(want); in OnReceiveEvent()
146 sptr<NotificationBundleOption> bundleOption = GetBundleOption(data.GetWant()); in OnBundleAddEventInner()
156 sptr<NotificationBundleOption> bundleOption = GetBundleOption(data.GetWant()); in OnBundleUpdateEventInner()
H A Dadvanced_notification_subscriber_service.cpp45 const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &info) in Subscribe()
84 ErrCode AdvancedNotificationService::SubscribeSelf(const sptr<AnsSubscriberInterface> &subscriber) in SubscribeSelf()
88 sptr<NotificationSubscribeInfo> sptrInfo = new (std::nothrow) NotificationSubscribeInfo(); in SubscribeSelf()
135 const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &info) in Unsubscribe()

Completed in 20 milliseconds

1...<<21222324252627282930>>...119