/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/ |
H A D | camera_framework_unittest.cpp | 106 const sptr<BufferProducerSequenceable>& bufferProducer)); 109 const sptr<HDI::Camera::V1_0::IStreamOperatorCallback>& callbackObj, 110 sptr<HDI::Camera::V1_0::IOfflineStreamOperator>& offlineOperator)); 130 const OHOS::sptr<HDI::Camera::V1_0::IStreamOperatorCallback> &callback, in MockCameraDevice() 131 sptr<OHOS::HDI::Camera::V1_1::IStreamOperator>& pStreamOperator) { in MockCameraDevice() 136 const OHOS::sptr<HDI::Camera::V1_0::IStreamOperatorCallback> &callback, in MockCameraDevice() 137 sptr<OHOS::HDI::Camera::V1_0::IStreamOperator>& pStreamOperator) { in MockCameraDevice() 159 MOCK_METHOD2(GetStreamOperator, int32_t(const sptr<HDI::Camera::V1_0::IStreamOperatorCallback>& callbackObj, 160 sptr<OHOS::HDI::Camera::V1_0::IStreamOperator>& streamOperator)); 161 MOCK_METHOD2(GetStreamOperator_V1_1, int32_t(const sptr<HD [all...] |
/foundation/graphic/graphic_2d/rosen/modules/animation/window_animation/include/ |
H A D | rs_iwindow_animation_controller.h | 50 virtual void OnStartApp(StartingAppType type, const sptr<RSWindowAnimationTarget>& startingWindowTarget, 51 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback) = 0; 53 virtual void OnAppTransition(const sptr<RSWindowAnimationTarget>& from, const sptr<RSWindowAnimationTarget>& to, 54 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback) = 0; 56 virtual void OnAppBackTransition(const sptr<RSWindowAnimationTarget>& from, const sptr<RSWindowAnimationTarget>& to, 57 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback) = 0; 59 virtual void OnMinimizeWindow(const sptr<RSWindowAnimationTarget>& minimizingWindow, 60 const sptr<RSIWindowAnimationFinishedCallbac [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_scene_session_impl_test3.cpp | 79 sptr<WindowOption> option = sptr<WindowOption>::MakeSptr();
in HWTEST_F() 82 sptr<WindowSceneSessionImpl> windowSceneSessionImpl = sptr<WindowSceneSessionImpl>::MakeSptr(option);
in HWTEST_F() 93 sptr<SessionMocker> session = sptr<SessionMocker>::MakeSptr(sessionInfo);
in HWTEST_F() 111 sptr<WindowOption> option = sptr<WindowOption>::MakeSptr();
in HWTEST_F() 114 sptr<WindowSceneSessionImpl> windowSceneSessionImpl = sptr<WindowSceneSessionImp in HWTEST_F() [all...] |
H A D | window_scene_test.cpp | 38 sptr<WindowScene> scene_ = nullptr;
52 sptr<IWindowLifeCycle> listener = nullptr;
in SetUp() 56 sptr<WindowOption> option = new WindowOption();
in SetUp() 77 sptr<WindowOption> optionTest = new WindowOption();
in HWTEST_F() 80 sptr<IWindowLifeCycle> listener = nullptr;
in HWTEST_F() 81 sptr<WindowScene> scene = new WindowScene();
in HWTEST_F() 94 sptr<WindowOption> optionTest = new WindowOption();
in HWTEST_F() 97 sptr<IWindowLifeCycle> listener = nullptr;
in HWTEST_F() 98 sptr<WindowScene> scene = new WindowScene();
in HWTEST_F() 111 sptr<WindowOptio in HWTEST_F() [all...] |
H A D | window_scene_session_impl_test.cpp | 100 sptr<WindowOption> option = new (std::nothrow) WindowOption(); in HWTEST_F() 103 sptr<WindowSceneSessionImpl> window = new WindowSceneSessionImpl(option); in HWTEST_F() 106 sptr<SessionMocker> session = new (std::nothrow) SessionMocker(sessionInfo); in HWTEST_F() 125 sptr<WindowOption> option = new (std::nothrow) WindowOption(); in HWTEST_F() 128 sptr<WindowSceneSessionImpl> window = new WindowSceneSessionImpl(option); in HWTEST_F() 131 sptr<SessionMocker> session = new (std::nothrow) SessionMocker(sessionInfo); in HWTEST_F() 149 sptr<WindowOption> option = new (std::nothrow) WindowOption(); in HWTEST_F() 152 sptr<WindowSceneSessionImpl> windowSceneSession = new (std::nothrow) WindowSceneSessionImpl(option); in HWTEST_F() 161 sptr<SessionMocker> session = new (std::nothrow) SessionMocker(sessionInfo); in HWTEST_F() 175 sptr<WindowOptio in HWTEST_F() [all...] |
H A D | window_session_impl_test.cpp | 74 sptr<WindowOption> option = new WindowOption(); in HWTEST_F() 76 sptr<WindowSessionImpl> window = new WindowSessionImpl(option); in HWTEST_F() 79 sptr<SessionMocker> session = new(std::nothrow) SessionMocker(sessionInfo); in HWTEST_F() 104 sptr<WindowOption> option = new WindowOption(); in HWTEST_F() 107 sptr<WindowSessionImpl> window = new WindowSessionImpl(option); in HWTEST_F() 110 sptr<SessionMocker> session = new(std::nothrow) SessionMocker(sessionInfo); in HWTEST_F() 134 sptr<WindowOption> option = new WindowOption(); in HWTEST_F() 136 sptr<WindowSessionImpl> window = new(std::nothrow) WindowSessionImpl(option); in HWTEST_F() 143 sptr<SessionMocker> session = new(std::nothrow) SessionMocker(sessionInfo); in HWTEST_F() 160 sptr<WindowOptio in HWTEST_F() [all...] |
/foundation/window/window_manager/window_scene/session_manager/include/ |
H A D | hidump_controller.h | 28 const std::vector<sptr<SceneSession>>& allSession, const std::vector<sptr<SceneSession>>& backgroundSession); 32 void DumpSceneSessionParam(std::ostringstream& oss, sptr<SceneSession> session); 34 void DumpSessionParam(std::ostringstream& oss, sptr<SceneSession> session, sptr<WindowSessionProperty> property); 36 void DumpLayoutRectParam(std::ostringstream& oss, sptr<SceneSession> session, sptr<WindowSessionProperty> property); 38 void DumpLayoutParam(std::ostringstream& oss, sptr<SceneSession> session, sptr<WindowSessionProperty> property); 40 void DumpAbilityParam(std::ostringstream& oss, sptr<SceneSessio [all...] |
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_ability_manager_clientex.cpp | 34 sptr<IRemoteObject> remoteObject_; 54 sptr<IAbilityScheduler> scheduler, sptr<IRemoteObject> token) in AttachAbilityThread() 62 sptr<IAbilityManager> abms = iface_cast<IAbilityManager>(remoteObject_); in AttachAbilityThread() 66 ErrCode AbilityManagerClient::AbilityTransitionDone(sptr<IRemoteObject> token, int state, const PacMap& saveData) in AbilityTransitionDone() 71 sptr<IAbilityManager> abms = iface_cast<IAbilityManager>(remoteObject_); in AbilityTransitionDone() 76 sptr<IRemoteObject> token, sptr<IRemoteObject> remoteObject) in ScheduleConnectAbilityDone() 81 sptr<IAbilityManager> abms = iface_cast<IAbilityManager>(remoteObject_); in ScheduleConnectAbilityDone() 85 ErrCode AbilityManagerClient::ScheduleDisconnectAbilityDone(sptr<IRemoteObjec [all...] |
/foundation/ability/ability_runtime/test/mock/frameworks_kits_test/AMS/ |
H A D | mock_ability_manager_client.cpp | 34 sptr<IRemoteObject> remoteObject_; 54 sptr<IAbilityScheduler> scheduler, sptr<IRemoteObject> token) in AttachAbilityThread() 62 sptr<IAbilityManager> abms = iface_cast<IAbilityManager>(remoteObject_); in AttachAbilityThread() 66 ErrCode AbilityManagerClient::AbilityTransitionDone(sptr<IRemoteObject> token, int state, const PacMap& saveData) in AbilityTransitionDone() 71 sptr<IAbilityManager> abms = iface_cast<IAbilityManager>(remoteObject_); in AbilityTransitionDone() 76 sptr<IRemoteObject> token, sptr<IRemoteObject> remoteObject) in ScheduleConnectAbilityDone() 81 sptr<IAbilityManager> abms = iface_cast<IAbilityManager>(remoteObject_); in ScheduleConnectAbilityDone() 85 ErrCode AbilityManagerClient::ScheduleDisconnectAbilityDone(sptr<IRemoteObjec [all...] |
/foundation/window/window_manager/wm/include/ |
H A D | window_session_impl.h | 64 explicit WindowSessionImpl(const sptr<WindowOption>& option); 67 static sptr<Window> Find(const std::string& name); 68 static std::vector<sptr<Window>> GetSubWindow(int parentId); 71 const sptr<Rosen::ISession>& iSession, in Create() 82 BackupAndRestoreType type, sptr<IRemoteObject> token, AppExecFwk::Ability* ability) override; 164 void NotifyOccupiedAreaChangeInfoInner(sptr<OccupiedAreaChangeInfo> info); 165 void NotifyOccupiedAreaChangeInfo(sptr<OccupiedAreaChangeInfo> info, 170 WMError RegisterLifeCycleListener(const sptr<IWindowLifeCycle>& listener) override; 171 WMError UnregisterLifeCycleListener(const sptr<IWindowLifeCycle>& listener) override; 172 WMError RegisterDisplayMoveListener(sptr<IDisplayMoveListene [all...] |
/foundation/window/window_manager/window_scene/session_manager/include/zidl/ |
H A D | scene_session_manager_proxy.h | 26 explicit SceneSessionManagerProxy(const sptr<IRemoteObject>& impl) in SceneSessionManagerProxy() 30 WSError CreateAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, 31 const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, 32 sptr<WindowSessionProperty> property, int32_t& persistentId, sptr<ISession>& session, 33 SystemSessionConfig& systemConfig, sptr<IRemoteObject> token = nullptr) override; 34 WSError RecoverAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, 35 const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, 36 sptr<WindowSessionProperty> property, sptr<ISessio [all...] |
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_session_manager_proxy_test.cpp | 71 sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServiceProxy_->AsObject(); in HWTEST_F() 72 sptr<ScreenSessionManagerProxy> screenSessionManagerProxy = new ScreenSessionManagerProxy(impl); in HWTEST_F() 95 sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServiceProxy_->AsObject(); in HWTEST_F() 96 sptr<ScreenSessionManagerProxy> screenSessionManagerProxy = new ScreenSessionManagerProxy(impl); in HWTEST_F() 119 sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServiceProxy_->AsObject(); in HWTEST_F() 120 sptr<ScreenSessionManagerProxy> screenSessionManagerProxy = new ScreenSessionManagerProxy(impl); in HWTEST_F() 140 sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServiceProxy_->AsObject(); in HWTEST_F() 141 sptr<ScreenSessionManagerProxy> screenSessionManagerProxy = new ScreenSessionManagerProxy(impl); in HWTEST_F() 165 sptr<IRemoteObject> impl = SingletonContainer::Get<ScreenManagerAdapter>().displayManagerServiceProxy_->AsObject(); in HWTEST_F() 166 sptr<ScreenSessionManagerProx in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | refbase.h | 244 std::atomic<int> atomicStrong_; // = (num of sptr) or Initial-value 245 std::atomic<int> atomicWeak_; // = (num of sptr)+(num of WeakRefCounter) 262 // including the pointer of sptr/wptr(The pointer of itself, not the pointer 364 * the corresponding RefBase object(Used in promoting a wptr to a sptr). 526 * @note Used in various copy constructor of sptr in scenario of 527 * interaction between sptr and wptr. Avoid using it independently. 607 * @tparam T Specific class type managed by sptr. This class must inherit 611 class sptr { class 615 sptr(); 617 ~sptr(); 850 inline sptr<T>::sptr() sptr() function in OHOS::sptr 856 inline sptr<T>::sptr(T *other) sptr() function in OHOS::sptr 865 inline sptr<T>::sptr(const sptr<T> &other) sptr() function in OHOS::sptr 874 sptr<T>::sptr(sptr<T> &&other) sptr() function in OHOS::sptr 893 sptr<T>::sptr(const sptr<O> &other) : refs_(other.GetRefPtr()) sptr() function in OHOS::sptr 999 inline sptr<T>::sptr(WeakRefCounter *p, bool /* force */) sptr() function in OHOS::sptr [all...] |
/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/include/ |
H A D | refbase.h | 159 class sptr { class 163 sptr(); 165 ~sptr(); 167 sptr(T *other); 169 sptr(const sptr<T> &other); 171 sptr(sptr<T> &&other); 173 sptr<T> &operator=(sptr< 246 template<typename T> inline sptr<T>::sptr() sptr() function in OHOS::sptr 251 template<typename T> inline sptr<T>::sptr(T *other) sptr() function in OHOS::sptr 256 template<typename T> inline sptr<T>::sptr(const sptr<T> &other) sptr() function in OHOS::sptr 264 template<typename T> sptr<T>::sptr(sptr<T> &&other) sptr() function in OHOS::sptr 280 template<typename T> template<typename O> sptr<T>::sptr(const sptr<O> &other) : refs_(other.GetRefPtr()) sptr() function in OHOS::sptr 372 template<typename T> inline sptr<T>::sptr(WeakRefCounter *p, bool /* force */) sptr() function in OHOS::sptr [all...] |
/foundation/ability/ability_runtime/test/unittest/continuation_test/remote_register_service_test/remote_register_service_proxy_test/ |
H A D | remote_register_service_proxy_test.cpp | 65 int Register(const std::string &bundleName, const sptr<IRemoteObject> &token, const ExtraParams &extras, 66 const sptr<IConnectCallback> &callback) override 91 sptr<IRemoteObject> AsObject() override 117 sptr<MockRegisterService> object = new (std::nothrow) MockRegisterService(); in HWTEST_F() 118 sptr<RemoteRegisterServiceProxy> testProxy = new (std::nothrow) RemoteRegisterServiceProxy(object); in HWTEST_F() 121 sptr<IRemoteObject> token = object; in HWTEST_F() 123 sptr<MoclConnectCallback> callback = new (std::nothrow) MoclConnectCallback(); in HWTEST_F() 139 sptr<MockRegisterService> object = new (std::nothrow) MockRegisterService(); in HWTEST_F() 140 sptr<RemoteRegisterServiceProxy> testProxy = new (std::nothrow) RemoteRegisterServiceProxy(object); in HWTEST_F() 143 sptr<IRemoteObjec in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_proxy_test/ |
H A D | bms_bundle_installer_proxy_test.cpp | 66 sptr<IRemoteObject> object; in HWTEST_F() 72 sptr<IStatusReceiver> statusReceiver = nullptr; in HWTEST_F() 85 sptr<IRemoteObject> object; in HWTEST_F() 91 sptr<IStatusReceiver> statusReceiver = new (std::nothrow) MockStatusReceiver(); in HWTEST_F() 105 sptr<IRemoteObject> object; in HWTEST_F() 113 sptr<IStatusReceiver> statusReceiver = nullptr; in HWTEST_F() 126 sptr<IRemoteObject> object; in HWTEST_F() 134 sptr<IStatusReceiver> statusReceiver = new (std::nothrow) MockStatusReceiver(); in HWTEST_F() 148 sptr<IRemoteObject> object; in HWTEST_F() 154 sptr<IStatusReceive in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/ |
H A D | mock_ability_mgr_service.h | 28 MOCK_METHOD4(StartAbility, int(const Want& want, const sptr<IRemoteObject>& callerToken, int32_t userId, 31 const sptr<IRemoteObject>& callerToken, int32_t userId, int requestCode)); 32 MOCK_METHOD4(StartAbilityByInsightIntent, int32_t(const Want& want, const sptr<IRemoteObject>& callerToken, 34 MOCK_METHOD5(StartAbilityAsCaller, int(const Want& want, const sptr<IRemoteObject>& callerToken, 35 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode)); 37 const sptr<IRemoteObject> &callerToken, sptr<IRemoteObject> asCallerSourceToken, 39 MOCK_METHOD3(TerminateAbility, int(const sptr<IRemoteObject>& token, int resultCode, const Want* resultWant)); 40 MOCK_METHOD4(ConnectAbility, int(const Want& want, const sptr<IAbilityConnection>& connect, 41 const sptr<IRemoteObjec [all...] |
/foundation/ability/ability_runtime/interfaces/kits/native/ability/ability_runtime/ |
H A D | connection_manager.h | 32 sptr<IRemoteObject> connectCaller; 36 sptr<AbilityConnection> abilityConnection; 41 ConnectionInfo(const sptr<IRemoteObject> &connectCaller, const AAFwk::Operation &connectReceiver, in ConnectionInfo() 42 const sptr<AbilityConnection> &abilityConnection, int32_t accountId = -1) : connectCaller(connectCaller), in ConnectionInfo() 111 ErrCode ConnectAbility(const sptr<IRemoteObject> &connectCaller, 112 const AAFwk::Want &want, const sptr<AbilityConnectCallback> &connectCallback); 123 ErrCode ConnectAbilityWithAccount(const sptr<IRemoteObject> &connectCaller, 124 const AAFwk::Want &want, int accountId, const sptr<AbilityConnectCallback> &connectCallback); 134 ErrCode ConnectUIServiceExtensionAbility(const sptr<IRemoteObject>& connectCaller, 135 const AAFwk::Want& want, const sptr<AbilityConnectCallbac [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/include/distributedWant/ |
H A D | distributed_want_params.h | 57 static sptr<AAFwk::IInterface> GetInterfaceByType(int typeId, const std::string& value); 59 static bool CompareInterface(const sptr<AAFwk::IInterface> iIt1, const sptr<AAFwk::IInterface> iIt2, int typeId); 61 static int GetDataType(const sptr<AAFwk::IInterface> iIt); 63 static int GetNumberDataType(const sptr<AAFwk::IInterface> iIt); 65 static std::string GetStringByType(const sptr<AAFwk::IInterface> iIt, int typeId); 69 sptr<AAFwk::IInterface> GetParam(const std::string& key) const; 71 const std::map<std::string, sptr<AAFwk::IInterface>>& GetParams() const; 90 static std::string BooleanQueryToStr(const sptr<AAFwk::IInterface> iIt); 91 static std::string ByteQueryToStr(const sptr<AAFw [all...] |
/foundation/multimedia/camera_framework/services/camera_service/include/ |
H A D | hcapture_session.h | 111 bool AddStream(sptr<HStreamCommon> stream); 112 bool RemoveStream(sptr<HStreamCommon> stream); 113 sptr<HStreamCommon> GetStream(int32_t streamId); 114 sptr<HStreamCommon> GetHdiStream(int32_t streamId); 118 std::list<sptr<HStreamCommon>> GetStreams(const StreamType streamType); 119 std::list<sptr<HStreamCommon>> GetAllStreams(); 123 std::map<const StreamType, std::list<sptr<HStreamCommon>>> streams_; 143 virtual const sptr<HStreamCommon> GetStreamByStreamID(int32_t streamId) = 0; 144 virtual const sptr<HStreamCommon> GetHdiStreamByStreamID(int32_t streamId) = 0; 152 using MetaElementType = std::pair<int64_t, sptr<SurfaceBuffe [all...] |
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_test.cpp | 71 sptr<Rosen::ISession> session_; in HWTEST_F() 72 sptr<SceneSession::SpecificSessionCallback> specificCallback_ = in HWTEST_F() 75 sptr<SceneSession> scensession; in HWTEST_F() 93 sptr<Rosen::ISession> session_; in HWTEST_F() 94 sptr<SceneSession::SpecificSessionCallback> specificCallback_ = in HWTEST_F() 98 sptr<SceneSession> scensession; in HWTEST_F() 117 sptr<Rosen::ISession> session_; in HWTEST_F() 118 sptr<SceneSession::SpecificSessionCallback> specificCallback_ = in HWTEST_F() 122 sptr<SceneSession> scensession; in HWTEST_F() 143 sptr<Rose in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/wantagent/include/ |
H A D | want_agent_client.h | 37 ErrCode GetWantSender(const WantSenderInfo &wantSenderInfo, const sptr<IRemoteObject> &callerToken, 38 sptr<IWantSender> &wantSender, int32_t uid = -1); 40 ErrCode SendWantSender(sptr<IWantSender> target, const SenderInfo &senderInfo); 42 ErrCode CancelWantSender(const sptr<IWantSender> &sender); 44 ErrCode GetPendingWantUid(const sptr<IWantSender> &target, int32_t &uid); 46 ErrCode GetPendingWantUserId(const sptr<IWantSender> &target, int32_t &userId); 48 ErrCode GetPendingWantBundleName(const sptr<IWantSender> &target, std::string &bundleName); 50 ErrCode GetPendingWantCode(const sptr<IWantSender> &target, int32_t &code); 52 ErrCode GetPendingWantType(sptr<IWantSender> target, int32_t &type); 54 void RegisterCancelListener(const sptr<IWantSende [all...] |
/foundation/bundlemanager/bundle_framework/services/test/mock/include/ |
H A D | mock_ability_mgr_host.h | 43 const AAFwk::Want &want, const sptr<IRemoteObject> &callerToken, int requestCode = -1) override 47 virtual int StartAbility(const Want &want, const sptr<IRemoteObject> &callerToken, 53 const sptr<IRemoteObject> &token, int resultCode, const AAFwk::Want *resultWant = nullptr) override 57 virtual int MinimizeAbility(const sptr<IRemoteObject> &token, bool fromUser) override 61 virtual int ConnectAbility(const AAFwk::Want &want, const sptr<AAFwk::IAbilityConnection> &connect, 62 const sptr<IRemoteObject> &callerToken) override 66 virtual int DisconnectAbility(sptr<AAFwk::IAbilityConnection> connect) override 70 virtual sptr<AAFwk::IAbilityScheduler> AcquireDataAbility( 71 const Uri &uri, bool tryBind, const sptr<IRemoteObject> &callerToken) override 76 sptr<AAFw [all...] |
/foundation/ability/ability_base/test/unittest/base/ |
H A D | base_test.cpp | 142 sptr<RefBaseTestClass> testObject = new RefBaseTestClass(); in HWTEST_F() 158 sptr<ObjectTestClass> testObject = new ObjectTestClass(999); in HWTEST_F() 159 sptr<IObject> object = static_cast<IObject *>(testObject.GetRefPtr()); in HWTEST_F() 173 sptr<ObjectTestClass> testObject = new ObjectTestClass(999); in HWTEST_F() 189 sptr<ObjectTestClass> testObject = new ObjectTestClass(999); in HWTEST_F() 205 sptr<ObjectTestClass> testObject1 = new ObjectTestClass(999); in HWTEST_F() 206 sptr<ObjectTestClass> testObject2 = new ObjectTestClass(9999); in HWTEST_F() 207 sptr<ObjectTestClass> testObject3 = new ObjectTestClass(999); in HWTEST_F() 222 sptr<ObjectTestClass> testObject1 = new ObjectTestClass(999); in HWTEST_F() 237 sptr<ObjectTestClas in HWTEST_F() [all...] |
/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_node_container_test.cpp | 43 static sptr<Display> defaultDisplay_; 44 static sptr<WindowNodeContainer> container_; 48 sptr<Display> WindowNodeContainerTest::defaultDisplay_ = nullptr; 49 sptr<WindowNodeContainer> WindowNodeContainerTest::container_ = nullptr; 77 sptr<WindowProperty> CreateWindowProperty(uint32_t windowId, const std::string& windowName, in CreateWindowProperty() 80 sptr<WindowProperty> property = new WindowProperty(); in CreateWindowProperty() 106 sptr<WindowProperty> parentProperty = CreateWindowProperty(110u, "test1", in HWTEST_F() 108 sptr<WindowNode> parentNode = new WindowNode(parentProperty, nullptr, nullptr); in HWTEST_F() 111 sptr<WindowProperty> subProperty = CreateWindowProperty(111u, "test2", in HWTEST_F() 113 sptr<WindowNod in HWTEST_F() [all...] |