/foundation/window/window_manager/wm/include/ |
H A D | static_call.h | 31 virtual sptr<Window> CreateWindow(const std::string& windowName,
32 sptr<WindowOption>& option, std::shared_ptr<AbilityRuntime::Context> context = nullptr);
33 virtual sptr<Window> CreateWindow(sptr<WindowOption>& option, std::shared_ptr<AbilityRuntime::Context> context,
34 const sptr<IRemoteObject>& iSession, const std::string& identityToken = "");
35 virtual std::vector<sptr<Window>> GetSubWindow(uint32_t parentId);
|
/foundation/window/window_manager/wm/src/ |
H A D | static_call.cpp | 23 sptr<Window> StaticCall::CreateWindow(const std::string& windowName,
in CreateWindow() 24 sptr<WindowOption>& option, std::shared_ptr<AbilityRuntime::Context> context)
in CreateWindow() 29 sptr<Window> StaticCall::CreateWindow(sptr<WindowOption>& option, std::shared_ptr<AbilityRuntime::Context> context,
in CreateWindow() 30 const sptr<IRemoteObject>& iSession, const std::string& identityToken)
in CreateWindow() 36 std::vector<sptr<Window>> StaticCall::GetSubWindow(uint32_t parentId)
in GetSubWindow()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/include/ |
H A D | audio_policy_server.h | 152 int32_t SelectOutputDevice(sptr<AudioRendererFilter> audioRendererFilter, 153 std::vector<sptr<AudioDeviceDescriptor>> audioDeviceDescriptors) override; 157 int32_t SelectInputDevice(sptr<AudioCapturerFilter> audioCapturerFilter, 158 std::vector<sptr<AudioDeviceDescriptor>> audioDeviceDescriptors) override; 160 std::vector<sptr<AudioDeviceDescriptor>> GetDevices(DeviceFlag deviceFlag) override; 162 std::vector<sptr<AudioDeviceDescriptor>> GetDevicesInner(DeviceFlag deviceFlag) override; 212 const sptr<IRemoteObject> &object, uint32_t clientUid, const int32_t zoneId = 0) override; 221 int32_t SetAudioManagerInterruptCallback(const int32_t clientId, const sptr<IRemoteObject> &object) override; 225 int32_t SetQueryClientTypeCallback(const sptr<IRemoteObject> &object) override; 262 const sptr<IRemoteObjec [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager/src/ |
H A D | multi_screen_manager.cpp | 41 sptr<ScreenSession> defaultSession = ScreenSessionManager::GetInstance().GetDefaultScreenSession(); in FilterPhysicalAndVirtualScreen() 94 sptr<ScreenSession> defaultSession = ScreenSessionManager::GetInstance().GetDefaultScreenSession(); in PhysicalScreenMirrorSwitch() 147 DMError MultiScreenManager::VirtualScreenUniqueSwitch(sptr<ScreenSession> screenSession, in VirtualScreenUniqueSwitch() 239 void MultiScreenManager::MultiScreenModeChange(sptr<ScreenSession> firstSession, sptr<ScreenSession> secondarySession, in MultiScreenModeChange() 265 void MultiScreenManager::DoFirstMainChangeExtend(sptr<IScreenSessionManagerClient> scbClient, in DoFirstMainChangeExtend() 266 sptr<ScreenSession> firstSession, sptr<ScreenSession> secondarySession) in DoFirstMainChangeExtend() 284 void MultiScreenManager::DoFirstMainChangeMirror(sptr<IScreenSessionManagerClient> scbClient, in DoFirstMainChangeMirror() 285 sptr<ScreenSessio in DoFirstMainChangeMirror() [all...] |
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/ |
H A D | manual_ondemand_helper.cpp | 70 sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetSystemProcess() 94 sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SubscribeSystemProcess() 109 sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnSubscribeSystemProcess() 134 int32_t OnDemandHelper::LoadSystemAbility(int32_t systemAbilityId, const sptr<ISystemAbilityLoadCallback>& callback) in LoadSystemAbility() 137 sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadSystemAbility() 156 sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnloadSystemAbility() 174 sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in OnDemandAbility() 191 sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetSystemProcessInfo() 205 sptr<IRemoteObject> OnDemandHelper::SyncOnDemandAbility(int32_t systemAbilityId) in SyncOnDemandAbility() 208 sptr<ISystemAbilityManage in SyncOnDemandAbility() [all...] |
H A D | ondemand_helper.cpp | 77 sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetSystemProcessInfo() 91 sptr<IRemoteObject> OnDemandHelper::SyncOnDemandAbility(int32_t systemAbilityId) in SyncOnDemandAbility() 94 sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SyncOnDemandAbility() 100 sptr<IRemoteObject> result = sm->LoadSystemAbility(systemAbilityId, timeout); in SyncOnDemandAbility() 112 sptr<IRemoteObject> ptr = SyncOnDemandAbility(systemAbilityId); in TestSyncOnDemandAbility() 131 sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnloadAllIdleSystemAbility() 294 sptr<OnDemandLoadCallback> callback1 = new OnDemandLoadCallback(); in LoadOndemandAbilityCase1() 305 sptr<OnDemandLoadCallback> callback1 = new OnDemandLoadCallback(); in LoadOndemandAbilityCase2() 307 sptr<OnDemandLoadCallback> callback2 = new OnDemandLoadCallback(); in LoadOndemandAbilityCase2() 318 sptr<OnDemandLoadCallbac in LoadOndemandAbilityCase3() [all...] |
/foundation/barrierfree/accessibility/services/aams/test/unittest/ |
H A D | accessible_ability_connection_test.cpp | 56 sptr<AccessibleAbilityConnection> connection_ = nullptr; 57 sptr<AppExecFwk::ElementName> elementName_ = nullptr; 58 sptr<IRemoteObject> obj_ = nullptr; 59 sptr<AccessibilityAccountData> accountData_ = nullptr; 80 sptr<AccessibilityElementOperatorStub> stub = new MockAccessibilityElementOperatorStub(); in SetUp() 81 sptr<IAccessibilityElementOperator> proxy = new MockAccessibilityElementOperatorProxy(stub); in SetUp() 82 sptr<AccessibilityWindowConnection> connection = new AccessibilityWindowConnection(0, proxy, 0); in SetUp() 272 sptr<AccessibleAbilityConnection> connection = in HWTEST_F() 302 sptr<AccessibleAbilityConnection> connection = new AccessibleAbilityConnection( in HWTEST_F() 304 sptr<AppExecFw in HWTEST_F() [all...] |
/foundation/barrierfree/accessibility/services/test/moduletest/aamstest/aams_accessibility_ability_connection_test/ |
H A D | aams_accessibility_ability_connection_test.cpp | 56 sptr<AccessibleAbilityConnection> connection_ = nullptr; 57 sptr<AppExecFwk::ElementName> elementName_ = nullptr; 58 sptr<IRemoteObject> obj_ = nullptr; 59 sptr<AccessibilityAccountData> accountData_ = nullptr; 80 sptr<AccessibilityElementOperatorStub> stub = new MockAccessibilityElementOperatorStub(); in SetUp() 81 sptr<IAccessibilityElementOperator> proxy = new MockAccessibilityElementOperatorProxy(stub); in SetUp() 82 sptr<AccessibilityWindowConnection> connection = new AccessibilityWindowConnection(0, proxy, 0); in SetUp() 272 sptr<AccessibleAbilityConnection> connection = in HWTEST_F() 302 sptr<AccessibleAbilityConnection> connection = new AccessibleAbilityConnection( in HWTEST_F() 304 sptr<AppExecFw in HWTEST_F() [all...] |
/foundation/communication/netmanager_base/frameworks/native/netpolicyclient/src/ |
H A D | net_policy_service_proxy.cpp | 25 NetPolicyServiceProxy::NetPolicyServiceProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<INetPolicyService>(impl) {} in NetPolicyServiceProxy() 29 int32_t NetPolicyServiceProxy::SendRequest(sptr<IRemoteObject> &remote, uint32_t code, MessageParcel &data, in SendRequest() 65 sptr<IRemoteObject> remote = Remote(); in SetPolicyByUid() 90 sptr<IRemoteObject> remote = Remote(); in GetPolicyByUid() 126 sptr<IRemoteObject> remote = Remote(); in GetUidsByPolicy() 166 sptr<IRemoteObject> remote = Remote(); in IsUidNetAllowed() 206 sptr<IRemoteObject> remote = Remote(); in IsUidNetAllowed() 228 int32_t NetPolicyServiceProxy::RegisterNetPolicyCallback(const sptr<INetPolicyCallback> &callback) in RegisterNetPolicyCallback() 242 sptr<IRemoteObject> remote = Remote(); in RegisterNetPolicyCallback() 254 int32_t NetPolicyServiceProxy::UnregisterNetPolicyCallback(const sptr<INetPolicyCallbac [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | free_install_manager.h | 41 sptr<IRemoteObject> callerToken = nullptr; 42 sptr<IRemoteObject> dmsCallback = nullptr; 90 int StartFreeInstall(const Want &want, int32_t userId, int requestCode, const sptr<IRemoteObject> &callerToken, 104 const sptr<IRemoteObject> &callerToken); 116 int FreeInstallAbilityFromRemote(const Want &want, const sptr<IRemoteObject> &callback, 127 int ConnectFreeInstall(const Want &want, int32_t userId, const sptr<IRemoteObject> &callerToken, 135 int AddFreeInstallObserver(const sptr<IRemoteObject> &callerToken, 136 const sptr<AbilityRuntime::IFreeInstallObserver> &observer); 212 int RemoteFreeInstall(const Want &want, int32_t userId, int requestCode, const sptr<IRemoteObject> &callerToken); 215 bool IsTopAbility(const sptr<IRemoteObjec [all...] |
/foundation/ability/ability_runtime/test/unittest/free_install_observer_manager_test/ |
H A D | free_install_observer_manager_test.cpp | 48 sptr<Token> MockToken(); 61 sptr<Token> FreeInstallObserverManagerTest::MockToken() in MockToken() 63 sptr<Token> token = nullptr; in MockToken() 85 sptr<IRemoteObject> AsObject() override {return nullptr;}; 97 sptr<AbilityRuntime::IFreeInstallObserver> observer; in HWTEST_F() 113 sptr<AbilityRuntime::IFreeInstallObserver> observer = new IFreeInstallObserverMock(); in HWTEST_F() 129 sptr<AbilityRuntime::IFreeInstallObserver> observer; in HWTEST_F() 144 sptr<AbilityRuntime::IFreeInstallObserver> observer = new IFreeInstallObserverMock(); in HWTEST_F() 159 sptr<AbilityRuntime::IFreeInstallObserver> observer = new IFreeInstallObserverMock(); in HWTEST_F() 212 sptr<AbilityRuntim in HWTEST_F() [all...] |
/foundation/barrierfree/accessibility/services/aams/test/mock/src/ |
H A D | mock_accessible_ability_connection.cpp | 45 const int32_t requestId, const sptr<IAccessibilityElementOperatorCallback>& callback, in SearchElementInfoByAccessibilityId() 59 const sptr<IAccessibilityElementOperatorCallback>& callback) in SearchElementInfosByText() 72 const sptr<IAccessibilityElementOperatorCallback>& callback) in FindFocusedElementInfo() 84 const int32_t direction, const int32_t requestId, const sptr<IAccessibilityElementOperatorCallback>& callback) in FocusMoveSearch() 97 const sptr<IAccessibilityElementOperatorCallback>& callback) in ExecuteAction() 114 sptr<AccessibleAbilityConnection> clientConnection = GetConnection(accountId_, clientName_); in GetWindows() 171 sptr<AccessibleAbilityConnection> AccessibleAbilityChannel::GetConnection(int32_t accountId, in GetConnection() 174 sptr<AccessibilityAccountData> accountData = in GetConnection() 198 const AppExecFwk::ElementName& element, const sptr<IRemoteObject>& remoteObject, int32_t resultCode) in OnAbilityConnectDone() 204 sptr<AccessibleAbilityConnectio in OnAbilityConnectDone() [all...] |
/foundation/bundlemanager/ecological_rule_manager/services/manager/src/ |
H A D | ecologic_rule_mgr_service_stub.cpp | 73 sptr<Want> want = data.ReadParcelable<Want>(); in OnQueryFreeInstallExperienceResult() 78 sptr<CallerInfo> caller = data.ReadParcelable<CallerInfo>(); in OnQueryFreeInstallExperienceResult() 83 sptr<ExperienceRule> rule = new ExperienceRule(); in OnQueryFreeInstallExperienceResult() 85 sptr<BmsExperienceRule> bmsExpRule = new BmsExperienceRule(); in OnQueryFreeInstallExperienceResult() 100 sptr<Want> want = data.ReadParcelable<Want>(); in OnEvaluateResolveInfosResult() 124 sptr<AbilityInfo> abilityInfo = data.ReadParcelable<AbilityInfo>(); in OnEvaluateResolveInfosResult() 134 sptr<CallerInfo> caller = data.ReadParcelable<CallerInfo>(); in OnEvaluateResolveInfosResult() 165 sptr<Want> want = data.ReadParcelable<Want>(); in OnQueryStartExperienceResult() 170 sptr<CallerInfo> caller = data.ReadParcelable<CallerInfo>(); in OnQueryStartExperienceResult() 175 sptr<ExperienceRul in OnQueryStartExperienceResult() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/ |
H A D | rs_drop_frame_processor_unit_test.cpp | 44 static inline sptr<IConsumerSurface> csurf = nullptr;
45 static inline sptr<IBufferProducer> producer = nullptr;
46 static inline sptr<Surface> psurf = nullptr;
90 sptr<IBufferConsumerListener> listener = new RSRenderServiceListener(surfaceRenderNode);
in HWTEST_F() 98 sptr<SurfaceBuffer> buffer;
in HWTEST_F() 99 sptr<SyncFence> requestFence = SyncFence::INVALID_FENCE;
in HWTEST_F() 101 sptr<SyncFence> flushFence = SyncFence::INVALID_FENCE;
in HWTEST_F() 106 OHOS::sptr<SurfaceBuffer> cbuffer;
in HWTEST_F() 108 sptr<SyncFence> acquireFence = SyncFence::INVALID_FENCE;
in HWTEST_F() 159 sptr<IBufferConsumerListene in HWTEST_F() [all...] |
H A D | rs_unittest_drop_frame_processor_test.cpp | 44 static inline sptr<IConsumerSurface> csurf = nullptr;
45 static inline sptr<IBufferProducer> producer = nullptr;
46 static inline sptr<Surface> psurf = nullptr;
105 sptr<IBufferConsumerListener> listener = new RSRenderServiceListener(surfaceRenderNode);
in HWTEST_F() 113 sptr<SurfaceBuffer> buffer;
in HWTEST_F() 114 sptr<SyncFence> requestFence = SyncFence::INVALID_FENCE;
in HWTEST_F() 116 sptr<SyncFence> flushFence = SyncFence::INVALID_FENCE;
in HWTEST_F() 121 OHOS::sptr<SurfaceBuffer> cbuffer;
in HWTEST_F() 123 sptr<SyncFence> acquireFence = SyncFence::INVALID_FENCE;
in HWTEST_F() 159 sptr<IBufferConsumerListene in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_drop_frame_processor_test.cpp | 44 static inline sptr<IConsumerSurface> csurf = nullptr;
45 static inline sptr<IBufferProducer> producer = nullptr;
46 static inline sptr<Surface> psurf = nullptr;
105 sptr<IBufferConsumerListener> listener = new RSRenderServiceListener(surfaceRenderNode);
in HWTEST_F() 113 sptr<SurfaceBuffer> buffer;
in HWTEST_F() 114 sptr<SyncFence> requestFence = SyncFence::INVALID_FENCE;
in HWTEST_F() 116 sptr<SyncFence> flushFence = SyncFence::INVALID_FENCE;
in HWTEST_F() 121 OHOS::sptr<SurfaceBuffer> cbuffer;
in HWTEST_F() 123 sptr<SyncFence> acquireFence = SyncFence::INVALID_FENCE;
in HWTEST_F() 159 sptr<IBufferConsumerListene in HWTEST_F() [all...] |
/foundation/window/window_manager/test/common/mock/ |
H A D | mock_display_manager_adapter.h | 27 MOCK_METHOD2(RegisterDisplayManagerAgent, DMError(const sptr<IDisplayManagerAgent>& displayManagerAgent,
29 MOCK_METHOD2(UnregisterDisplayManagerAgent, DMError(const sptr<IDisplayManagerAgent>& displayManagerAgent,
31 MOCK_METHOD0(GetDefaultDisplayInfo, sptr<DisplayInfo>());
32 MOCK_METHOD1(GetDisplayInfoByScreenId, sptr<DisplayInfo>(ScreenId screenId));
42 MOCK_METHOD1(GetDisplayInfo, sptr<DisplayInfo>(DisplayId displayId));
43 MOCK_METHOD1(GetCutoutInfo, sptr<CutoutInfo>(DisplayId displayId));
53 MOCK_METHOD2(RegisterDisplayManagerAgent, DMError(const sptr<IDisplayManagerAgent>& displayManagerAgent,
55 MOCK_METHOD2(UnregisterDisplayManagerAgent, DMError(const sptr<IDisplayManagerAgent>& displayManagerAgent,
59 const sptr<IDisplayManagerAgent>& displayManagerAgent));
61 MOCK_METHOD2(SetVirtualScreenSurface, DMError(ScreenId screenId, sptr<Surfac [all...] |
/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_system_toast_test.cpp | 67 static sptr<WindowScene> CreateWindowScene() in CreateWindowScene() 69 sptr<IWindowLifeCycle> listener = nullptr; in CreateWindowScene() 72 sptr<WindowScene> scene = new WindowScene(); in CreateWindowScene() 77 static sptr<Window> CreateSystemToastWindow(WindowType type, Rect rect, std::string name = "") in CreateSystemToastWindow() 79 sptr<WindowOption> option = new WindowOption(); in CreateSystemToastWindow() 102 sptr<WindowScene> scene = CreateWindowScene(); in HWTEST_F() 106 sptr<Window> fltWin = CreateSystemToastWindow(WindowType::WINDOW_TYPE_SYSTEM_TOAST, fltWindRect); in HWTEST_F() 135 sptr<WindowScene> scene = CreateWindowScene(); in HWTEST_F() 139 sptr<Window> fltWin = CreateSystemToastWindow(WindowType::WINDOW_TYPE_SYSTEM_TOAST, fltWindRect); in HWTEST_F() 169 sptr<WindowScen in HWTEST_F() [all...] |
/foundation/communication/netmanager_ext/frameworks/native/mdnsclient/src/proxy/ |
H A D | mdns_service_proxy.cpp | 24 MDnsServiceProxy::MDnsServiceProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IMDnsService>(impl) {} in MDnsServiceProxy() 28 int32_t MDnsServiceProxy::RegisterService(const MDnsServiceInfo &serviceInfo, const sptr<IRegistrationCallback> &cb) in RegisterService() 36 sptr<MDnsServiceInfo> info = new (std::nothrow) MDnsServiceInfo(serviceInfo); in RegisterService() 50 sptr<IRemoteObject> remote = Remote(); in RegisterService() 70 int32_t MDnsServiceProxy::UnRegisterService(const sptr<IRegistrationCallback> &cb) in UnRegisterService() 83 sptr<IRemoteObject> remote = Remote(); in UnRegisterService() 103 int32_t MDnsServiceProxy::StartDiscoverService(const std::string &serviceType, const sptr<IDiscoveryCallback> &cb) in StartDiscoverService() 119 sptr<IRemoteObject> remote = Remote(); in StartDiscoverService() 140 int32_t MDnsServiceProxy::StopDiscoverService(const sptr<IDiscoveryCallback> &cb) in StopDiscoverService() 153 sptr<IRemoteObjec in StopDiscoverService() [all...] |
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/test/unittest/common/distributedcamera/ |
H A D | distributed_camera_sink_stub_test.cpp | 93 sptr<IDCameraSinkCallback> sinkCallback(new DCameraSinkCallback()); in HWTEST_F() 94 sptr<IRemoteObject> sinkStubPtr(new MockDistributedCameraSinkStub()); in HWTEST_F() 110 sptr<IRemoteObject> sinkStubPtr(new MockDistributedCameraSinkStub()); in HWTEST_F() 125 sptr<IRemoteObject> sinkStubPtr(new MockDistributedCameraSinkStub()); in HWTEST_F() 142 sptr<IRemoteObject> sinkStubPtr(new MockDistributedCameraSinkStub()); in HWTEST_F() 158 sptr<IRemoteObject> sinkStubPtr(new MockDistributedCameraSinkStub()); in HWTEST_F() 174 sptr<IRemoteObject> sinkStubPtr(new MockDistributedCameraSinkStub()); in HWTEST_F() 191 sptr<IRemoteObject> sinkStubPtr(new MockDistributedCameraSinkStub()); in HWTEST_F() 208 sptr<IRemoteObject> sinkStubPtr(new MockDistributedCameraSinkStub()); in HWTEST_F() 225 sptr<IRemoteObjec in HWTEST_F() [all...] |
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | system_session_lifecycle_test.cpp | 41 sptr <SystemSession::SpecificSessionCallback> specificCallback = nullptr; 42 sptr <SystemSession> systemSession_; 87 sptr<WindowSessionProperty> property = new (std::nothrow) WindowSessionProperty(); in HWTEST_F() 100 sptr<WindowSessionProperty> property = new (std::nothrow) WindowSessionProperty(); in HWTEST_F() 115 sptr<WindowSessionProperty> property = new (std::nothrow) WindowSessionProperty(); in HWTEST_F() 131 sptr<WindowSessionProperty> property = new (std::nothrow) WindowSessionProperty(); in HWTEST_F() 133 sptr<SessionStageMocker> mockSessionStage = new (std::nothrow) SessionStageMocker(); in HWTEST_F() 135 sptr<TestWindowEventChannel> testWindowEventChannel = new (std::nothrow) TestWindowEventChannel(); in HWTEST_F() 209 sptr<SceneSession::SpecificSessionCallback> specificCallback = in HWTEST_F() 212 sptr<SystemSessio in HWTEST_F() [all...] |
H A D | scene_session_dirty_manager_test2.cpp | 44 sptr<SceneSessionManager> ssm_; 96 void InitSceneSession(sptr<SceneSession> &sceneSession, int32_t pid, int windowId, WindowType propertyType) in InitSceneSession() 98 sptr<WindowSessionProperty> windowSessionProperty = new (std::nothrow) WindowSessionProperty(); in InitSceneSession() 131 sptr<SceneSession> sceneSession = new (std::nothrow) SceneSession(info, nullptr); in HWTEST_F() 133 sptr<WindowSessionProperty> windowSessionProperty = new (std::nothrow) WindowSessionProperty(); in HWTEST_F() 162 sptr<SceneSession> sceneSession = new (std::nothrow) SceneSession(info, nullptr); in HWTEST_F() 164 sptr<WindowSessionProperty> windowSessionProperty = new (std::nothrow) WindowSessionProperty(); in HWTEST_F() 198 sptr<SceneSession> sceneSessionMainWindow = new (std::nothrow) SceneSession(mainWindowInfo, nullptr); in HWTEST_F() 212 sptr<SceneSession> sceneSessionDialogWindow = new (std::nothrow) SceneSession(dialogWindowInfo, nullptr); in HWTEST_F() 222 std::map<int32_t, sptr<SceneSessio in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | page_ability_impl_test.cpp | 75 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 108 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 140 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 173 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 206 sptr<IRemoteObject> token = sptr<IRemoteObjec in HWTEST_F() [all...] |
/foundation/window/window_manager/window_scene/session/host/src/zidl/ |
H A D | session_proxy.cpp | 36 bool WriteAbilitySessionInfoBasic(MessageParcel& data, sptr<AAFwk::SessionInfo> abilitySessionInfo) in WriteAbilitySessionInfoBasic() 57 sptr<WindowSessionProperty> property, bool isFromClient, const std::string& identityToken) in Foreground() 86 sptr<IRemoteObject> remote = Remote(); in Foreground() 117 sptr<IRemoteObject> remote = Remote(); in Background() 131 WSError SessionProxy::Show(sptr<WindowSessionProperty> property) in Show() 153 sptr<IRemoteObject> remote = Remote(); in Show() 177 sptr<IRemoteObject> remote = Remote(); in Hide() 209 sptr<IRemoteObject> remote = Remote(); in Disconnect() 223 WSError SessionProxy::Connect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChanne [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/distributedWant/ |
H A D | distributed_want_params_test.cpp | 54 static sptr<DistributedWantParams> distributedWantParams_; 57 sptr<DistributedWantParams> DistributedWantParamsBaseTest::distributedWantParams_; 166 sptr<AAFwk::IArray> ao = new (std::nothrow) AAFwk::Array(2, AAFwk::g_IID_IString); in HWTEST_F() 186 sptr<IInterface> str0; in HWTEST_F() 187 sptr<IInterface> str1; in HWTEST_F() 203 sptr<IInterface> boolObj = in HWTEST_F() 218 sptr<IInterface> stringObj = in HWTEST_F() 233 sptr<IInterface> byteObj = in HWTEST_F() 247 sptr<IInterface> charObj = in HWTEST_F() 261 sptr<IInterfac in HWTEST_F() [all...] |