Home
last modified time | relevance | path

Searched refs:sptr (Results 476 - 500 of 8321) sorted by relevance

1...<<11121314151617181920>>...333

/foundation/ability/ability_runtime/test/moduletest/ability_delegator_test/
H A Dability_delegator_module_test.cpp103 auto managerStubPtr = sptr<OHOS::AAFwk::IAbilityManager>(new MockAbilityDelegatorStub); in MakeMockObjects()
140 auto managerStubPtr = sptr<OHOS::AAFwk::IAbilityManager>(new MockAbilityDelegatorStub2); in MakeMockObjects()
171 sptr<IRemoteObject> iRemoteObj = sptr<IRemoteObject>(new MockAbilityDelegatorStub()); in HWTEST_F()
210 sptr<IRemoteObject> iRemoteObj = sptr<IRemoteObject>(new MockAbilityDelegatorStub()); in HWTEST_F()
245 sptr<IRemoteObject> iRemoteObj = sptr<IRemoteObject>(new MockAbilityDelegatorStub()); in HWTEST_F()
248 sptr<IRemoteObject> token = sptr<IRemoteObjec in HWTEST_F()
[all...]
/foundation/window/window_manager/wmserver/src/zidl/
H A Dwindow_manager_proxy.cpp32 WMError WindowManagerProxy::CreateWindow(sptr<IWindow>& window, sptr<WindowProperty>& property, in CreateWindow()
33 const std::shared_ptr<RSSurfaceNode>& surfaceNode, uint32_t& windowId, sptr<IRemoteObject> token) in CreateWindow()
64 sptr<IRemoteObject> remote = Remote(); in CreateWindow()
80 WMError WindowManagerProxy::AddWindow(sptr<WindowProperty>& property) in AddWindow()
95 sptr<IRemoteObject> remote = Remote(); in AddWindow()
129 sptr<IRemoteObject> remote = Remote(); in RemoveWindow()
158 sptr<IRemoteObject> remote = Remote(); in DestroyWindow()
186 sptr<IRemoteObject> remote = Remote(); in RequestFocus()
222 sptr<IRemoteObjec in GetAvoidAreaByType()
[all...]
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_session_impl_test2.cpp39 sptr<WindowSessionImpl> window_;
66 sptr<WindowSessionImpl> GetTestWindowImpl(const std::string& name) in GetTestWindowImpl()
68 sptr<WindowOption> option = new (std::nothrow) WindowOption(); in GetTestWindowImpl()
73 sptr<WindowSessionImpl> window = new (std::nothrow) WindowSessionImpl(option); in GetTestWindowImpl()
79 sptr<SessionMocker> session = new (std::nothrow) SessionMocker(sessionInfo); in GetTestWindowImpl()
89 std::vector<sptr<TListener>> GetListenerList() in GetListenerList()
91 std::vector<sptr<TListener>> listeners; in GetListenerList()
92 sptr<TListener> listener = new (std::nothrow) MockListener(); in GetListenerList()
199 sptr<Rosen::ISession> ISession; in HWTEST_F()
236 sptr<SessionMocke in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/
H A Dapp_exception_manager.h29 void LaunchAbilityFailed(sptr<IRemoteObject> token, const std::string &msg);
30 void ForegroundAppFailed(sptr<IRemoteObject> token, const std::string &msg);
31 void ForegroundAppWait(sptr<IRemoteObject> token, const std::string &msg);
33 void NotifyLifecycleException(LifecycleException type, sptr<IRemoteObject> token);
34 void SetExceptionCallback(sptr<IAppExceptionCallback> exceptionCallback);
35 sptr<IAppExceptionCallback> GetExceptionCallback() const;
39 sptr<IAppExceptionCallback> exceptionCallback_;
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/session/video_session/
H A Dvideo_session_info.h28 VideoSessionInfo(const int32_t userId, const sptr<IDeferredVideoProcessingSessionCallback>& callback);
32 sptr<IDeferredVideoProcessingSession> GetDeferredVideoProcessingSession();
33 sptr<IDeferredVideoProcessingSessionCallback> GetRemoteCallback();
36 void SetCallback(const sptr<IDeferredVideoProcessingSessionCallback>& callback);
42 sptr<IDeferredVideoProcessingSession> session_ {nullptr};
43 sptr<IDeferredVideoProcessingSessionCallback> callback_;
44 sptr<CallbackDeathRecipient> deathRecipient_;
/foundation/multimedia/image_effect/test/unittest/mock/include/
H A Dmock_producer_surface.h28 MockProducerSurface(sptr<IBufferProducer>& producer);
30 MOCK_METHOD3(RequestBuffer, GSError(sptr<SurfaceBuffer>& buffer, sptr<SyncFence>& fence,
32 MOCK_METHOD3(FlushBuffer, GSError(sptr<SurfaceBuffer>& buffer, int32_t fence, BufferFlushConfig &config));
34 static void AllocDmaMemory(sptr<SurfaceBuffer> &buffer);
35 static void ReleaseDmaBuffer(sptr<SurfaceBuffer> &buffer);
37 sptr<SurfaceBuffer> buffer_;
/foundation/communication/netmanager_base/frameworks/cj/connection/include/
H A Dnet_connection_callback.h25 int32_t NetAvailable(sptr<NetHandle> &netHandle) override;
27 int32_t NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCap) override;
29 int32_t NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) override;
31 int32_t NetLost(sptr<NetHandle> &netHandle) override;
35 int32_t NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) override;
/foundation/ability/ability_runtime/interfaces/inner_api/wantagent/src/
H A Dpending_want.cpp32 PendingWant::PendingWant(const sptr<AAFwk::IWantSender> &target) in PendingWant()
36 PendingWant::PendingWant(const sptr<AAFwk::IWantSender> &target, const sptr<IRemoteObject> whitelistToken) in PendingWant()
40 WantAgentConstant::OperationType PendingWant::GetType(sptr<AAFwk::IWantSender> target) in GetType()
81 sptr<IWantSender> target = nullptr; in GetAbility()
126 sptr<IWantSender> target = nullptr; in GetAbilities()
166 sptr<IWantSender> target = nullptr; in GetCommonEventAsUser()
227 sptr<IWantSender> target = nullptr; in BuildServicePendingWant()
236 ErrCode PendingWant::Cancel(const sptr<AAFwk::IWantSender> &target) in Cancel()
241 void PendingWant::Send(const sptr<AAFw
[all...]
/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/bgtask_manager_client_test/
H A Dbgtask_client_unit_test.cpp441 sptr<ContinuousTaskCallbackInfo> info1 = sptr<ContinuousTaskCallbackInfo>(new ContinuousTaskCallbackInfo()); in HWTEST_F()
442 sptr<ContinuousTaskCallbackInfo> info2 = sptr<ContinuousTaskCallbackInfo>( in HWTEST_F()
447 sptr<ContinuousTaskCallbackInfo> info3 = sptr<ContinuousTaskCallbackInfo>( in HWTEST_F()
465 sptr<ContinuousTaskParam> info1 = sptr<ContinuousTaskParam>(new ContinuousTaskParam()); in HWTEST_F()
466 sptr<ContinuousTaskParam> info2 = sptr<ContinuousTaskPara in HWTEST_F()
[all...]
/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_ipc_client_manager.cpp94 sptr<IpcRemoteBroker> dmInterface = iface_cast<IpcRemoteBroker>(object); in HWTEST_F()
135 sptr<IpcClientStub> listener = sptr<IpcClientStub>(new IpcClientStub()); in HWTEST_F()
161 sptr<IRemoteObject> remoteObject = nullptr; in HWTEST_F()
187 sptr<IRemoteObject> remoteObject = nullptr; in HWTEST_F()
213 sptr<IRemoteObject> remoteObject = nullptr; in HWTEST_F()
239 sptr<IRemoteObject> remoteObject = nullptr; in HWTEST_F()
289 sptr<IRemoteObject> remoteObject = nullptr; in HWTEST_F()
297 sptr<IpcClientStub> listener = sptr<IpcClientStu in HWTEST_F()
[all...]
/test/xts/dcts/distributedhardware/distributedinputtest/
H A Ddistributed_input_test.cpp115 OHOS::sptr<OHOS::ISystemAbilityManager> systemAbilityManager = in CheckSourceProxy()
121 OHOS::sptr<OHOS::IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility( in CheckSourceProxy()
127 OHOS::sptr<IDistributedSourceInput> proxyTest; in CheckSourceProxy()
139 OHOS::sptr<OHOS::ISystemAbilityManager> systemAbilityManager = in CheckSinkProxy()
145 OHOS::sptr<OHOS::IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility( in CheckSinkProxy()
151 OHOS::sptr<IDistributedSinkInput> proxyTest; in CheckSinkProxy()
164 sptr<TestPrepareDInputCallback> callback(new TestPrepareDInputCallback()); in HWTEST_F()
172 sptr<TestPrepareDInputCallback> callback = nullptr; in HWTEST_F()
181 sptr<IPrepareDInputCallback> callback(new TestPrepareDInputCallback()); in HWTEST_F()
190 sptr<TestPrepareDInputCallbac in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/mock/frameworks_kits_test/DemoObServer/
H A Dmock_ability_manager_client.h39 std::map<std::string, sptr<AAFwk::IAbilityScheduler>> data;
44 sptr<AAFwk::IAbilityScheduler> AAFwk::AbilityManagerClient::AcquireDataAbility( in AcquireDataAbility()
45 const Uri& uri, bool tryBind, sptr<IRemoteObject> callerToken) in AcquireDataAbility()
47 sptr<AAFwk::IAbilityScheduler> retval = nullptr; in AcquireDataAbility()
51 sptr<AppExecFwk::AbilityThread> abilityThread = AppExecFwk::MockCreateAbilityThread(); in AcquireDataAbility()
52 sptr<AAFwk::AbilitySchedulerProxy> remoteProxy(new (std::nothrow) AAFwk::AbilitySchedulerProxy(abilityThread)); in AcquireDataAbility()
69 sptr<IAbilityScheduler> dataAbilityScheduler, sptr<IRemoteObject> callerToken) in ReleaseDataAbility()
/foundation/ability/form_fwk/services/include/
H A Dform_ams_helper.h53 sptr<AAFwk::IAbilityManager> GetAbilityManager();
61 const Want &want, const sptr<AAFwk::IAbilityConnection> &connect);
67 ErrCode DisconnectServiceAbility(const sptr<AAFwk::IAbilityConnection> &connect);
75 const sptr<AAFwk::IAbilityConnection> &connect, int delayTime = FORM_DISCONNECT_DELAY_TIME);
87 void SetAbilityManager(const sptr<AAFwk::IAbilityManager> &abilityManager);
108 void DisconnectAbilityTask(const sptr<AAFwk::IAbilityConnection> &connect);
110 sptr<AAFwk::IAbilityManager> abilityManager_ = nullptr;
112 sptr<IConfigurationObserver> configurationObserver = nullptr;
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/
H A Dwindow_manager_service_handler_proxy.h27 explicit WindowManagerServiceHandlerProxy(const sptr<IRemoteObject> &impl);
30 virtual void NotifyWindowTransition(sptr<AbilityTransitionInfo> fromInfo,
31 sptr<AbilityTransitionInfo> toInfo, bool& animaEnabled) override;
33 virtual int32_t GetFocusWindow(sptr<IRemoteObject>& abilityToken) override;
35 virtual void StartingWindow(sptr<AbilityTransitionInfo> info, std::shared_ptr<Media::PixelMap> pixelMap,
38 virtual void StartingWindow(sptr<AbilityTransitionInfo> info, std::shared_ptr<Media::PixelMap> pixelMap) override;
40 virtual void CancelStartingWindow(sptr<IRemoteObject> abilityToken) override;
42 virtual void NotifyAnimationAbilityDied(sptr<AbilityTransitionInfo> info) override;
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dextension_record.h38 sptr<IRemoteObject> GetCallToken() const;
40 sptr<IRemoteObject> GetRootCallerToken() const;
42 void SetRootCallerToken(sptr<IRemoteObject> &rootCallerToken);
44 sptr<IRemoteObject> GetFocusedCallerToken() const;
46 void SetFocusedCallerToken(sptr<IRemoteObject> &rootCallerToken);
63 sptr<IRemoteObject> rootCallerToken_ = nullptr;
64 sptr<IRemoteObject> focusedCallerToken_ = nullptr;
65 sptr<AAFwk::PreLoadUIExtStateObserver> preLoadUIExtStateObserver_;
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dability_record_mgr.cpp25 sptr<IRemoteObject> AbilityRecordMgr::GetToken() const in GetToken()
35 void AbilityRecordMgr::SetToken(const sptr<IRemoteObject> &token) in SetToken()
52 const sptr<IRemoteObject> &token, const std::shared_ptr<AbilityLocalRecord> &abilityRecord) in AddAbilityRecord()
72 void AbilityRecordMgr::RemoveAbilityRecord(const sptr<IRemoteObject> &token) in RemoveAbilityRecord()
98 std::shared_ptr<AbilityLocalRecord> AbilityRecordMgr::GetAbilityItem(const sptr<IRemoteObject> &token) const in GetAbilityItem()
119 std::vector<sptr<IRemoteObject>> AbilityRecordMgr::GetAllTokens() in GetAllTokens()
121 std::vector<sptr<IRemoteObject>> tokens; in GetAllTokens()
123 sptr<IRemoteObject> token = it->first; in GetAllTokens()
/foundation/multimedia/av_codec/test/unittest/sa_avcodec_test/mock/include/
H A Davcodec_service_stub.h39 const sptr<IRemoteObject> &listener, sptr<IRemoteObject> &stubObject) = 0;
52 (IStandardAVCodecService::AVCodecSystemAbility subSystemId, const sptr<IRemoteObject> &listener,
53 sptr<IRemoteObject> &stubObject));
54 MOCK_METHOD(int32_t, SetDeathListener, (const sptr<IRemoteObject> &object));
64 const sptr<IRemoteObject> &listener, sptr<IRemoteObject> &stubObject) override;
65 int32_t SetDeathListener(const sptr<IRemoteObject> &object);
/foundation/window/window_manager/dmserver/include/
H A Ddisplay_manager_service_inner.h36 std::vector<sptr<DisplayInfo>> GetAllDisplays() const;
38 sptr<DisplayInfo> GetDefaultDisplay() const;
39 sptr<DisplayInfo> GetDisplayById(DisplayId displayId) const;
41 sptr<ScreenInfo> GetScreenInfoByDisplayId(DisplayId displayId) const;
43 sptr<SupportedScreenModes> GetScreenModesByDisplayId(DisplayId displayId) const;
47 void RegisterDisplayChangeListener(sptr<IDisplayChangeListener> listener);
51 void RegisterWindowInfoQueriedListener(const sptr<IWindowInfoQueriedListener>& listener);
52 sptr<CutoutInfo> GetCutoutInfo(DisplayId displayId) const;
/foundation/communication/netmanager_ext/services/netfirewallmanager/include/
H A Dnetfirewall_policy_manager.h51 int32_t SetNetFirewallPolicy(const int32_t userId, const sptr<NetFirewallPolicy> &policy);
60 int32_t GetNetFirewallPolicy(const int32_t userId, sptr<NetFirewallPolicy> &policy);
69 int32_t GetCurrentNetFirewallPolicy(sptr<NetFirewallPolicy> &policy);
122 bool IsFirewallStatusChange(const sptr<NetFirewallPolicy> &policy);
130 bool IsFirewallActionChange(const sptr<NetFirewallPolicy> &policy);
137 void SetCurrentUserFirewallPolicy(const sptr<NetFirewallPolicy> &policy);
142 void LoadPolicyFormPreference(const int32_t userId, sptr<NetFirewallPolicy> &policy);
153 sptr<NetFirewallPolicy> currentFirewallPolicy_ = nullptr;
/foundation/communication/netmanager_ext/interfaces/innerkits/mdnsclient/include/
H A Dmdns_client_resume.h30 bool operator()(const sptr<IRemoteBroker> &lhs, const sptr<IRemoteBroker> &rhs) const in operator ()()
40 typedef std::map<sptr<IRegistrationCallback>, MDnsServiceInfo, MyCompareSmartPointer> RegisterServiceMap;
41 typedef std::map<sptr<IDiscoveryCallback>, std::string, MyCompareSmartPointer> DiscoverServiceMap;
50 int32_t SaveRegisterService(const MDnsServiceInfo &serviceInfo, const sptr<IRegistrationCallback> &cb);
52 int32_t RemoveRegisterService(const sptr<IRegistrationCallback> &cb);
54 int32_t SaveStartDiscoverService(const std::string &serviceType, const sptr<IDiscoveryCallback> &cb);
56 int32_t RemoveStopDiscoverService(const sptr<IDiscoveryCallback> &cb);
/foundation/window/window_manager/wm/include/
H A Dpicture_in_picture_manager.h32 static void PutPipControllerInfo(int32_t windowId, sptr<PictureInPictureController> pipController);
34 static void AttachActivePipController(sptr<PictureInPictureController> pipController);
35 static void DetachActivePipController(sptr<PictureInPictureController> pipController);
36 static sptr<PictureInPictureController> GetPipControllerInfo(int32_t windowId);
40 static void SetActiveController(sptr<PictureInPictureController> pipController);
45 static sptr<Window> GetCurrentWindow();
60 static sptr<PictureInPictureController> activeController_;
65 static std::map<int32_t, sptr<PictureInPictureController>> windowToControllerMap_;
/foundation/ability/form_fwk/interfaces/inner_api/include/
H A Dform_provider_proxy.h31 explicit FormProviderProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IFormProvider>(impl) in FormProviderProxy()
44 const sptr<IRemoteObject> &callerToken) override;
54 const sptr<IRemoteObject> &callerToken) override;
64 const sptr<IRemoteObject> &callerToken) override;
74 const sptr<IRemoteObject> &callerToken) override;
86 const Want &want, const sptr<IRemoteObject> &callerToken) override;
96 const sptr<IRemoteObject> &callerToken) override;
106 const sptr<IRemoteObject> &callerToken) override;
117 const sptr<IRemoteObject> &callerToken) override;
128 const sptr<IRemoteObjec
[all...]
/foundation/ability/form_fwk/test/mock/src/
H A Dmock_form_provider_client.cpp34 const sptr<IRemoteObject> &callerToken) in AcquireProviderFormInfo()
40 sptr<IFormSupply> formSupply = iface_cast<IFormSupply>(callerToken); in AcquireProviderFormInfo()
65 const sptr<IRemoteObject> &callerToken) in NotifyFormDelete()
79 const sptr<IRemoteObject> &callerToken) in NotifyFormsDelete()
92 const sptr<IRemoteObject> &callerToken) in NotifyFormUpdate()
108 const Want &want, const sptr<IRemoteObject> &callerToken) in EventNotify()
122 const sptr<IRemoteObject> &callerToken) in NotifyFormCastTempForm()
136 const sptr<IRemoteObject> &callerToken) in FireFormEvent()
151 const sptr<IRemoteObject> &callerToken) in AcquireState()
158 const sptr<IRemoteObjec in AcquireShareFormData()
[all...]
/foundation/CastEngine/castengine_cast_framework/service/include/
H A Dcast_session_manager_service.h47 int32_t RegisterListener(sptr<ICastServiceListenerImpl> listener) override;
51 int32_t CreateCastSession(const CastSessionProperty &property, sptr<ICastSessionImpl> &castSession) override;
57 int32_t GetCastSession(std::string sessionId, sptr<ICastSessionImpl> &castSession) override;
62 void ReportSessionCreate(const sptr<ICastSessionImpl> &castSession);
64 sptr<ICastSessionImpl> GetCastSessionInner(std::string sessionId);
80 std::vector<std::pair<pid_t, sptr<ICastServiceListenerImpl>>> listeners_;
84 std::map<int32_t, sptr<ICastSessionImpl>> sessionMap_;
86 std::unordered_map<pid_t, sptr<IRemoteObject::DeathRecipient>> deathRecipientMap_;
89 void AddClientDeathRecipientLocked(pid_t pid, sptr<ICastServiceListenerImpl> listener);
90 void RemoveClientDeathRecipientLocked(pid_t pid, sptr<ICastServiceListenerImp
[all...]
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_form_mgr_proxy.h27 MockFormMgrProxy(const sptr<IRemoteObject> &impl) : FormMgrProxy(impl) {}; in MockFormMgrProxy()
30 MOCK_METHOD2(StartAbility, int32_t(const Want &want, const sptr<IRemoteObject> &callerToken));
32 MOCK_METHOD3(RequestForm, int32_t(int64_t formId, const sptr<IRemoteObject> &callerToken, const Want &want));
33 MOCK_METHOD3(MessageEvent, int32_t(int64_t formId, const Want &want, const sptr<IRemoteObject> &callerToken));
35 const sptr<IRemoteObject> &callerToken));
39 MOCK_METHOD3(RouterEvent, int(const int64_t formId, Want &want, const sptr<IRemoteObject> &callerToken));
41 const sptr<IRemoteObject> &callerToken));
42 MOCK_METHOD3(DeleteInvalidForms, int(const std::vector<int64_t> &formIds, const sptr<IRemoteObject> &callerToken,
45 const sptr<IRemoteObject> &callerToken));
51 MOCK_METHOD3(AcquireFormState, int(const Want &want, const sptr<IRemoteObjec
[all...]

Completed in 16 milliseconds

1...<<11121314151617181920>>...333