Home
last modified time | relevance | path

Searched refs:sptr (Results 1976 - 2000 of 10964) sorted by relevance

1...<<71727374757677787980>>...439

/foundation/resourceschedule/work_scheduler/services/native/include/
H A Dwork_conn_manager.h50 void AddConnInfo(std::string &workId, sptr<WorkSchedulerConnection> &connection);
51 sptr<WorkSchedulerConnection> GetConnInfo(std::string &workId);
52 bool DisConnect(sptr<WorkSchedulerConnection> connect);
57 std::map<std::string, sptr<WorkSchedulerConnection>> connMap_;
/foundation/communication/netmanager_base/services/common/include/
H A Dnet_conn_base_service.h36 virtual int32_t UpdateNetLinkInfo(uint32_t supplierId, const sptr<NetLinkInfo> &netLinkInfo) = 0;
37 virtual int32_t UpdateNetSupplierInfo(uint32_t supplierId, const sptr<NetSupplierInfo> &netSupplierInfo) = 0;
39 virtual int32_t RegisterNetConnCallback(const sptr<INetConnCallback> &callback) = 0;
40 virtual int32_t RegisterNetFactoryResetCallback(const sptr<INetFactoryResetCallback> &callback) = 0;
/foundation/deviceprofile/device_info_manager/old/services/core/include/subscribemanager/
H A Dprofile_event_handler.h51 const sptr<IRemoteObject>& profileEventNotifier);
52 int32_t Unsubscribe(const sptr<IRemoteObject>& profileEventNotifier);
53 void OnSubscriberDied(const sptr<IRemoteObject>& profileEventNotifier);
59 std::map<sptr<IRemoteObject>, SubscribeInfo> profileEventSubscribeInfos_;
/foundation/communication/netmanager_ext/services/netfirewallmanager/include/
H A Dnetfirewall_rule_native_helper.h38 int32_t SetFirewallIpRules(const std::vector<sptr<NetFirewallIpRule>> &ruleList);
63 int32_t SetFirewallDnsRules(const std::vector<sptr<NetFirewallDnsRule>> &ruleList);
71 int32_t SetFirewallDomainRules(const std::vector<sptr<NetFirewallDomainRule>> &ruleList);
82 int32_t SetFirewallRulesInner(NetFirewallRuleType type, const std::vector<sptr<NetFirewallBaseRule>> &ruleList,
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/adaptor/
H A Dobject_service.h29 sptr<IObjectSaveCallback> callback) = 0;
31 const std::string &bundleName, const std::string &sessionId, sptr<IObjectRetrieveCallback> callback) = 0;
33 const std::string &bundleName, const std::string &sessionId, sptr<IObjectRevokeSaveCallback> callback) = 0;
35 const std::string &bundleName, const std::string &sessionId, sptr<IObjectChangeCallback> callback) = 0;
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/
H A Dkvstore_service_death_notifier.h32 static sptr<IKvStoreDataService> GetDistributedKvDataService();
63 sptr<IKvStoreDataService> kvDataServiceProxy_;
64 sptr<ServiceDeathRecipient> deathRecipientPtr_;
65 sptr<IRemoteObject> clientDeathObserverPtr_;
/foundation/distributedhardware/distributed_input/interfaces/ipc/test/unregisterdinputcallbackunittest/
H A Dunregister_d_input_call_back_test.cpp47 sptr<IRemoteObject> callBackStubPtr(new TestUnregisterDInputCallbackStub()); in HWTEST_F()
54 EXPECT_STREQ(deviceId.c_str(), ((sptr<TestUnregisterDInputCallbackStub> &)callBackStubPtr)->deviceId_.c_str()); in HWTEST_F()
55 EXPECT_STREQ(dhId.c_str(), ((sptr<TestUnregisterDInputCallbackStub> &)callBackStubPtr)->dhId_.c_str()); in HWTEST_F()
56 EXPECT_EQ(status, ((sptr<TestUnregisterDInputCallbackStub> &)callBackStubPtr)->status_); in HWTEST_F()
/foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/
H A Dsvc_death_recipient_test.cpp63 sptr<ServiceReverseMock> remote = sptr(new ServiceReverseMock()); in HWTEST_F()
64 sptr<SvcDeathRecipient> deathRecipient = sptr(new SvcDeathRecipient(CallBack)); in HWTEST_F()
/foundation/communication/dhcp/test/fuzztest/dhcpclient_fuzzer/
H A Ddhcpclient_fuzzer.cpp23 static OHOS::sptr<DhcpClientCallBack> dhcpClientCallBack =
24 OHOS::sptr<DhcpClientCallBack>(new (std::nothrow)DhcpClientCallBack());
25 static OHOS::sptr<DhcpServerCallBack> dhcpServerCallBack =
26 OHOS::sptr<DhcpServerCallBack>(new (std::nothrow)DhcpServerCallBack());
/foundation/window/window_manager/window_scene/screen_session_manager/include/fold_screen_controller/
H A Dfold_screen_sensor_manager.h48 void SetFoldScreenPolicy(sptr<FoldScreenPolicy> foldScreenPolicy);
50 void SetSensorFoldStateManager(sptr<SensorFoldStateManager> sensorFoldStateManager);
62 sptr<FoldScreenPolicy> foldScreenPolicy_;
64 sptr<SensorFoldStateManager> sensorFoldStateManager_;
/foundation/window/window_manager/wmserver/include/zidl/
H A Dmock_session_manager_service_interface.h41 virtual sptr<IRemoteObject> GetSessionManagerService() = 0;
42 virtual sptr<IRemoteObject> GetScreenSessionManagerLite() = 0;
46 virtual void RegisterSMSRecoverListener(const sptr<IRemoteObject>& listener) = 0;
48 virtual void RegisterSMSLiteRecoverListener(const sptr<IRemoteObject>& listener) = 0;
/base/account/os_account/frameworks/appaccount/native/include/
H A Dapp_account_proxy.h26 explicit AppAccountProxy(const sptr<IRemoteObject> &object);
31 const AAFwk::Want &options, const sptr<IAppAccountAuthenticatorCallback> &callback) override;
34 const sptr<IAppAccountAuthenticatorCallback> &callback) override;
58 const AAFwk::Want &options, const sptr<IAppAccountAuthenticatorCallback> &callback) override;
84 ErrCode GetAuthenticatorCallback(const std::string &sessionId, sptr<IRemoteObject> &callback) override;
91 const SelectAccountsOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) override;
93 const VerifyCredentialOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) override;
95 const std::vector<std::string> &labels, const sptr<IAppAccountAuthenticatorCallback> &callback) override;
97 const sptr<IAppAccountAuthenticatorCallback> &callback) override;
99 const AppAccountSubscribeInfo &subscribeInfo, const sptr<IRemoteObjec
[all...]
/base/powermgr/power_manager/services/native/src/shutdown/
H A Dshutdown_controller.cpp212 void ShutdownController::AddCallback(const sptr<ITakeOverShutdownCallback>& callback, ShutdownPriority priority) in AddCallback()
221 void ShutdownController::AddCallback(const sptr<IAsyncShutdownCallback>& callback, ShutdownPriority priority) in AddCallback()
230 void ShutdownController::AddCallback(const sptr<ISyncShutdownCallback>& callback, ShutdownPriority priority) in AddCallback()
239 void ShutdownController::RemoveCallback(const sptr<ITakeOverShutdownCallback>& callback) in RemoveCallback()
247 void ShutdownController::RemoveCallback(const sptr<IAsyncShutdownCallback>& callback) in RemoveCallback()
255 void ShutdownController::RemoveCallback(const sptr<ISyncShutdownCallback>& callback) in RemoveCallback()
277 bool ShutdownController::TriggerTakeOverShutdownCallbackInner(std::set<sptr<IRemoteObject>>& callbacks, bool isReboot) in TriggerTakeOverShutdownCallbackInner()
297 void ShutdownController::TriggerAsyncShutdownCallbackInner(std::set<sptr<IRemoteObject>>& callbacks, bool isReboot) in TriggerAsyncShutdownCallbackInner()
300 sptr<IAsyncShutdownCallback> callback = iface_cast<IAsyncShutdownCallback>(obj); in TriggerAsyncShutdownCallbackInner()
321 void ShutdownController::TriggerSyncShutdownCallbackInner(std::set<sptr<IRemoteObjec
[all...]
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_reminder_service.cpp52 ErrCode AdvancedNotificationService::PublishReminder(sptr<ReminderRequest> &reminder) in PublishReminder()
72 sptr<NotificationRequest> notificationRequest = reminder->GetNotificationRequest(); in PublishReminder()
95 sptr<NotificationBundleOption> bundleOption = nullptr; in PublishReminder()
123 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in CancelReminder()
143 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in CancelAllReminders()
157 ErrCode AdvancedNotificationService::GetValidReminders(std::vector<sptr<ReminderRequest>> &reminders) in GetValidReminders()
167 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in GetValidReminders()
189 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in AddExcludeDate()
211 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in DelExcludeDates()
233 sptr<NotificationBundleOptio in GetExcludeDates()
[all...]
/base/location/test/location_locator/source/
H A Dlocation_without_permission_test.cpp90 sptr<LocationSwitchCallbackNapi>(new (std::nothrow) LocationSwitchCallbackNapi()); in HWTEST_F()
108 sptr<ILocatorCallback> callbackStub = new (std::nothrow) LocatorCallbackStub(); in HWTEST_F()
136 sptr<GnssStatusCallbackNapi>(new (std::nothrow) GnssStatusCallbackNapi()); in HWTEST_F()
142 sptr<NmeaMessageCallbackNapi>(new (std::nothrow) NmeaMessageCallbackNapi()); in HWTEST_F()
168 sptr<CachedLocationsCallbackNapi>(new (std::nothrow) CachedLocationsCallbackNapi()); in HWTEST_F()
170 auto cachedCallback = sptr<ICachedLocationsCallback>(cachedLocationsCallbackHost); in HWTEST_F()
207 sptr<ILocatorCallback> callbackStub = new (std::nothrow) LocatorCallbackStub(); in HWTEST_F()
232 sptr<GnssStatusCallbackNapi>(new (std::nothrow) GnssStatusCallbackNapi()); in HWTEST_F()
240 sptr<NmeaMessageCallbackNapi>(new (std::nothrow) NmeaMessageCallbackNapi()); in HWTEST_F()
293 sptr<CachedLocationsCallbackNap in HWTEST_F()
[all...]
/base/telephony/call_manager/services/call/include/
H A Dcall_control_manager.h61 bool NotifyNewCallCreated(sptr<CallBase> &callObjectPtr);
63 bool NotifyCallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextState);
64 bool NotifyIncomingCallAnswered(sptr<CallBase> &callObjectPtr);
65 bool NotifyIncomingCallRejected(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string content);
122 int32_t AddCallLogAndNotification(sptr<CallBase> &callObjectPtr);
123 int32_t AddBlockLogAndNotification(sptr<CallBase> &callObjectPtr);
137 void AnswerHandlerForSatelliteOrVideoCall(sptr<CallBase> &call, int32_t videoState);
159 sptr<ISystemAbilityStatusChange> statusChangeListener_ = nullptr;
160 sptr<ISystemAbilityStatusChange> pageStateChangeListener_ = nullptr;
161 sptr<ISystemAbilityStatusChang
[all...]
/base/telephony/sms_mms/test/unittest/
H A Dsms_mms_test.cpp78 const sptr<ISmsServiceInterface> &smsService)
126 const sptr<ISmsServiceInterface> &smsService)
139 const sptr<ISmsServiceInterface> &smsService)
152 const sptr<ISmsServiceInterface> &smsService)
158 const sptr<ISmsServiceInterface> &smsService)
164 const sptr<ISmsServiceInterface> &smsService)
170 const sptr<ISmsServiceInterface> &smsService)
180 std::unique_ptr<std::vector<TestStruct>> GetFunArray(const sptr<ISmsServiceInterface> &smsService)
199 sptr<ISystemAbilityManager> systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager();
200 sptr<IRemoteObjec
[all...]
/base/telephony/state_registry/test/unittest/state_test/
H A Dstate_registry_branch_test.cpp93 bool AddDeathRecipient(const sptr<DeathRecipient> &recipient) override
98 bool RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) override
108 sptr<IRemoteBroker> AsInterface() override
132 sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F()
134 sptr<IRemoteObject> obj = sam->CheckSystemAbility(TELEPHONY_STATE_REGISTRY_SYS_ABILITY_ID); in HWTEST_F()
142 std::vector<sptr<CellInformation>> vec; in HWTEST_F()
293 sptr<TestIRemoteObject> remote = new (std::nothrow) TestIRemoteObject(); in HWTEST_F()
306 std::vector<sptr<SignalInformation>> vec; in HWTEST_F()
312 std::vector<sptr<CellInformation>> cellInfoList; in HWTEST_F()
313 sptr<CellInformatio in HWTEST_F()
[all...]
/base/useriam/user_auth_framework/frameworks/native/client/src/
H A Duser_idm_client_impl.cpp76 sptr<IdmCallbackInterface> wrapper(new (std::nothrow) IdmCallbackService(callback)); in AddCredential()
106 sptr<IdmCallbackInterface> wrapper(new (std::nothrow) IdmCallbackService(callback)); in UpdateCredential()
148 sptr<IdmCallbackInterface> wrapper(new (std::nothrow) IdmCallbackService(callback)); in DeleteCredential()
174 sptr<IdmCallbackInterface> wrapper(new (std::nothrow) IdmCallbackService(callback)); in DeleteUser()
198 sptr<IdmCallbackInterface> wrapper(new (std::nothrow) IdmCallbackService(callback)); in EraseUser()
225 sptr<IdmGetCredInfoCallbackInterface> wrapper(new (std::nothrow) IdmGetCredInfoCallbackService(callback)); in GetCredentialInfo()
251 sptr<IdmGetSecureUserInfoCallbackInterface> wrapper( in GetSecUserInfo()
262 sptr<UserIdmInterface> UserIdmClientImpl::GetProxy() in GetProxy()
268 sptr<IRemoteObject> obj = IpcClientUtils::GetRemoteObject(SUBSYS_USERIAM_SYS_ABILITY_USERIDM); in GetProxy()
273 sptr<IRemoteObjec in GetProxy()
[all...]
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/
H A Dfa_ability_thread.h75 sptr<AAFwk::SessionInfo> sessionInfo = nullptr) override;
113 const Want &want, const sptr<AAFwk::SessionInfo> &sessionInfo, AAFwk::WindowCommand winCmd) override;
300 bool ScheduleRegisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObserver) override;
307 bool ScheduleUnregisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObserver) override;
345 void UpdateSessionToken(sptr<IRemoteObject> sessionToken) override;
440 sptr<AAFwk::SessionInfo> sessionInfo = nullptr);
449 sptr<AAFwk::SessionInfo> sessionInfo = nullptr);
504 const Want &want, const sptr<AAFwk::SessionInfo> &sessionInfo, AAFwk::WindowCommand winCmd);
541 bool HandleRegisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObserver);
548 bool HandleUnregisterObserver(const Uri &uri, const sptr<AAFw
[all...]
/foundation/ability/form_fwk/services/form_render_service/include/
H A Dform_render_record.h75 bool needMonitored = true, sptr<IFormSupply> formSupplyClient = nullptr);
77 FormRenderRecord(const std::string &bundleName, const std::string &uid, sptr<IFormSupply> formSupplyClient);
86 bool HandleHostDied(const sptr<IRemoteObject> hostRemoteObj);
95 int32_t UpdateRenderRecord(const FormJsInfo &formJsInfo, const Want &want, const sptr<IRemoteObject> hostRemoteObj);
103 void DeleteRenderRecord(int64_t formId, const std::string &compId, const sptr<IRemoteObject> hostRemoteObj,
123 const sptr<IFormSupply> &formSupplyClient);
144 size_t operator() (const sptr<IRemoteObject> remoteObj) const in operator ()()
149 using IRemoteObjectSet = std::unordered_set<sptr<IRemoteObject>, RemoteObjHash>;
220 void RecoverFormsByConfigUpdate(std::vector<int64_t> &formIds, const sptr<IFormSupply> &formSupplyClient);
222 void ReAddAllRecycledForms(const sptr<IFormSuppl
[all...]
/foundation/ability/form_fwk/test/mock/include/
H A Dmock_distributed_sched.h66 int32_t missionId, const sptr<IRemoteObject> &callback, const OHOS::AAFwk::WantParams &wantParams) override
83 int32_t ConnectRemoteAbility(const OHOS::AAFwk::Want &want, const sptr<IRemoteObject> &connect,
88 int32_t DisconnectRemoteAbility(const sptr<IRemoteObject> &connect, int32_t callerUid,
94 const sptr<IRemoteObject> &connect, const CallerInfo &callerInfo, const AccountInfo &accountInfo) override
98 int32_t DisconnectAbilityFromRemote(const sptr<IRemoteObject> &connect,
169 int32_t RegisterMissionListener(const std::u16string &devId, const sptr<IRemoteObject> &obj) override
173 int32_t UnRegisterMissionListener(const std::u16string &devId, const sptr<IRemoteObject> &obj) override
178 int32_t StartRemoteAbilityByCall(const OHOS::AAFwk::Want &want, const sptr<IRemoteObject> &connect,
183 int32_t ReleaseRemoteAbility(const sptr<IRemoteObject> &connect,
188 int32_t StartAbilityByCallFromRemote(const OHOS::AAFwk::Want &want, const sptr<IRemoteObjec
[all...]
/foundation/ability/form_fwk/interfaces/inner_api/src/
H A Dform_provider_proxy.cpp27 const sptr<IRemoteObject> &callerToken) in AcquireProviderFormInfo()
71 int FormProviderProxy::NotifyFormDelete(const int64_t formId, const Want &want, const sptr<IRemoteObject> &callerToken) in NotifyFormDelete()
116 const sptr<IRemoteObject> &callerToken) in NotifyFormsDelete()
159 int FormProviderProxy::NotifyFormUpdate(const int64_t formId, const Want &want, const sptr<IRemoteObject> &callerToken) in NotifyFormUpdate()
207 const Want &want, const sptr<IRemoteObject> &callerToken) in EventNotify()
261 const sptr<IRemoteObject> &callerToken) in NotifyFormCastTempForm()
310 const sptr<IRemoteObject> &callerToken) in FireFormEvent()
356 const sptr<IRemoteObject> &callerToken) in AcquireState()
397 int32_t FormProviderProxy::AcquireFormData(int64_t formId, const sptr<IRemoteObject> &formSupplyCallback, in AcquireFormData()
471 const sptr<IRemoteObjec in AcquireShareFormData()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitymanagerservicefirst_fuzzer/
H A Dabilitymanagerservicefirst_fuzzer.cpp50 const AppExecFwk::ElementName& element, const sptr<IRemoteObject>& remoteObject, int resultCode) override
54 sptr<IRemoteObject> AsObject() override
68 sptr<Token> GetFuzzAbilityToken() in GetFuzzAbilityToken()
70 sptr<Token> token = nullptr; in GetFuzzAbilityToken()
83 sptr<IRemoteObject> token, const char* data, size_t size) in DoSomethingInterestingWithMyAPI1()
91 sptr<IAbilityConnection> connect(new MyAbilityConnection()); in DoSomethingInterestingWithMyAPI1()
129 sptr<IRemoteObject> token, const char* data, size_t size) in DoSomethingInterestingWithMyAPI2()
134 sptr<AbilityRuntime::IConnectionObserver> observer; in DoSomethingInterestingWithMyAPI2()
144 sptr<SessionInfo> extensionSessionInfo; in DoSomethingInterestingWithMyAPI2()
146 extensionSessionInfo = sptr<SessionInf in DoSomethingInterestingWithMyAPI2()
[all...]
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ui_extension_ability/
H A Djs_ui_extension_content_session.h65 JsUIExtensionContentSession(sptr<AAFwk::SessionInfo> sessionInfo,
66 sptr<Rosen::Window> uiWindow, std::weak_ptr<AbilityRuntime::Context>& context,
68 JsUIExtensionContentSession(sptr<AAFwk::SessionInfo> sessionInfo,
69 sptr<Rosen::Window> uiWindow);
73 sptr<AAFwk::SessionInfo> sessionInfo, sptr<Rosen::Window> uiWindow,
77 sptr<AAFwk::SessionInfo> sessionInfo, sptr<Rosen::Window> uiWindow);
126 sptr<AAFwk::SessionInfo> sessionInfo_;
127 sptr<Rose
[all...]

Completed in 16 milliseconds

1...<<71727374757677787980>>...439