/foundation/resourceschedule/work_scheduler/services/native/include/ |
H A D | work_conn_manager.h | 50 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 D | net_conn_base_service.h | 36 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 D | profile_event_handler.h | 51 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 D | netfirewall_rule_native_helper.h | 38 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 D | object_service.h | 29 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 D | kvstore_service_death_notifier.h | 32 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 D | unregister_d_input_call_back_test.cpp | 47 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 D | svc_death_recipient_test.cpp | 63 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 D | dhcpclient_fuzzer.cpp | 23 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 D | fold_screen_sensor_manager.h | 48 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 D | mock_session_manager_service_interface.h | 41 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 D | app_account_proxy.h | 26 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 D | shutdown_controller.cpp | 212 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 D | advanced_notification_reminder_service.cpp | 52 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 D | location_without_permission_test.cpp | 90 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 D | call_control_manager.h | 61 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 D | sms_mms_test.cpp | 78 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 D | state_registry_branch_test.cpp | 93 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 D | user_idm_client_impl.cpp | 76 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 D | fa_ability_thread.h | 75 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 D | form_render_record.h | 75 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 D | mock_distributed_sched.h | 66 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 D | form_provider_proxy.cpp | 27 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 D | abilitymanagerservicefirst_fuzzer.cpp | 50 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 D | js_ui_extension_content_session.h | 65 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...] |