/base/notification/common_event_service/services/test/unittest/ |
H A D | common_event_freeze_test.cpp | 57 static OHOS::sptr<OHOS::IRemoteObject> bundleObject = nullptr; 58 OHOS::sptr<OHOS::IRemoteObject> commonEventListener; 59 OHOS::sptr<OHOS::IRemoteObject> commonEventListener2; 60 OHOS::sptr<OHOS::IRemoteObject> commonEventListener3; 72 OHOS::sptr<OHOS::IRemoteObject> &commonEventListener); 74 const std::shared_ptr<CommonEventSubscriber> &subscriber, OHOS::sptr<OHOS::IRemoteObject> &commonEventListener); 76 const OHOS::sptr<OHOS::IRemoteObject> &proxy, const int &code, const std::string &data, const bool &abortEvent); 128 void AsyncProcess(OHOS::sptr<OHOS::IRemoteObject> commonEventListener) in AsyncProcess() 183 void AsyncProcess(OHOS::sptr<OHOS::IRemoteObject> commonEventListener) in AsyncProcess() 242 void AsyncProcess(OHOS::sptr<OHO [all...] |
/base/telephony/cellular_data/test/mock/ |
H A D | mock_core_service.h | 32 MOCK_METHOD(sptr<IRemoteObject>, AsObject, ()); 39 int32_t, GetSignalInfoList, (int32_t slotId, std::vector<sptr<SignalInformation>> &signals), (override)); 40 MOCK_METHOD(int32_t, GetNetworkState, (int32_t slotId, sptr<NetworkState> &networkState), (override)); 42 int32_t, SetRadioState, (int32_t slotId, bool isOn, const sptr<INetworkSearchCallback> &callback), (override)); 43 MOCK_METHOD(int32_t, GetRadioState, (int32_t slotId, const sptr<INetworkSearchCallback> &callback), (override)); 50 (int32_t slotId, int32_t mode, const sptr<INetworkSearchCallback> &callback), (override)); 51 MOCK_METHOD(int32_t, GetNrOptionMode, (int32_t slotId, const sptr<INetworkSearchCallback> &callback), (override)); 84 MOCK_METHOD(int32_t, GetNetworkSearchInformation, (int32_t slotId, const sptr<INetworkSearchCallback> &callback), 87 int32_t, GetNetworkSelectionMode, (int32_t slotId, const sptr<INetworkSearchCallback> &callback), (override)); 94 (int32_t slotId, int32_t selectMode, const sptr<NetworkInformatio [all...] |
/base/usb/usb_manager/services/native/include/ |
H A D | usb_service.h | 66 static sptr<UsbService> GetGlobalInstance(); 67 int32_t SetUsbd(const sptr<HDI::Usb::V1_1::IUsbInterface> &usbd); 118 const sptr<IRemoteObject> &cb) override; 121 const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe, sptr<Ashmem> &ashmem) override; 123 const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe, sptr<Ashmem> &ashmem) override; 139 explicit SystemAbilityStatusChangeListener(sptr<UsbServiceSubscriber> usbdSubscriber); 145 sptr<UsbServiceSubscriber> usbdSubscriber_; 175 int32_t GetEdmTypePolicy(sptr<IRemoteObject> remote, std::vector<UsbDeviceType> &disableType); 176 int32_t GetEdmGlobalPolicy(sptr<IRemoteObject> remote, bool &IsGlobalDisabled); 177 int32_t GetEdmStroageTypePolicy(sptr<IRemoteObjec [all...] |
/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/ |
H A D | wifi_c_event.cpp | 114 OHOS::sptr<OHOS::IRemoteObject> WifiCDeviceEventCallback::AsObject() in AsObject() 132 OHOS::sptr<OHOS::IRemoteObject> WifiCScanEventCallback::AsObject() in AsObject() 162 OHOS::sptr<OHOS::IRemoteObject> WifiCHotspotEventCallback::AsObject() in AsObject() 167 OHOS::sptr<WifiCDeviceEventCallback> wifiCDeviceCallback = 168 OHOS::sptr<WifiCDeviceEventCallback>(new (std::nothrow) WifiCDeviceEventCallback()); 169 OHOS::sptr<WifiCScanEventCallback> wifiCScanCallback = 170 OHOS::sptr<WifiCScanEventCallback>(new (std::nothrow) WifiCScanEventCallback()); 171 OHOS::sptr<WifiCHotspotEventCallback> wifiCHotspotCallback = 172 OHOS::sptr<WifiCHotspotEventCallback>(new (std::nothrow) WifiCHotspotEventCallback()); 283 OHOS::sptr<WifiP2pCEventCallbac in RegisterP2PEvent() 336 SetP2PCallbackEvent(OHOS::sptr<WifiP2pCEventCallback> &sptr, const std::string &eventName) SetP2PCallbackEvent() argument [all...] |
/foundation/communication/netmanager_ext/test/mdnsmanager/unittest/mdns_manager_test/ |
H A D | mdns_manager_test.cpp | 194 sptr<MDnsTestRegistrationCallback> registration; 195 sptr<MDnsTestRegistrationCallback> registrationBack; 196 sptr<MDnsTestDiscoveryCallback> discovery; 197 sptr<MDnsTestDiscoveryCallback> discoveryBack; 198 sptr<MDnsTestResolveCallback> resolve; 199 sptr<MDnsTestResolveCallback> resolveBack; 251 sptr<MDnsTestRegistrationCallback> registration(new (std::nothrow) MDnsTestRegistrationCallback(info)); in HWTEST_F() 252 sptr<MDnsTestDiscoveryCallback> discovery(new (std::nothrow) MDnsTestDiscoveryCallback({info, infoBack})); in HWTEST_F() 303 sptr<MDnsTestRegistrationCallback> registration(new (std::nothrow) MDnsTestRegistrationCallback(info)); in HWTEST_F() 304 sptr<MDnsTestRegistrationCallbac in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/ |
H A D | hdi_layer_info.h | 93 void SetSurface(const sptr<IConsumerSurface> &surface) in SetSurface() 98 void SetBuffer(const sptr<SurfaceBuffer> &sbuffer, const sptr<SyncFence> &acquireFence) in SetBuffer() 104 void SetPreBuffer(const sptr<SurfaceBuffer> &buffer) in SetPreBuffer() 221 void SetTunnelHandle(const sptr<SurfaceTunnelHandle> &handle) in SetTunnelHandle() 239 sptr<IConsumerSurface> GetSurface() const in GetSurface() 244 sptr<SurfaceBuffer> GetBuffer() const in GetBuffer() 249 sptr<SurfaceBuffer> GetPreBuffer() const in GetPreBuffer() 259 sptr<SyncFence> GetAcquireFence() const in GetAcquireFence() 371 sptr<SurfaceTunnelHandl [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager/include/zidl/ |
H A D | screen_session_manager_proxy.h | 28 explicit ScreenSessionManagerProxy(const sptr<IRemoteObject>& impl) : IRemoteProxy(impl) {} in ScreenSessionManagerProxy() 32 virtual sptr<DisplayInfo> GetDefaultDisplayInfo() override; 54 virtual DMError RegisterDisplayManagerAgent(const sptr<IDisplayManagerAgent>& displayManagerAgent, 57 virtual DMError UnregisterDisplayManagerAgent(const sptr<IDisplayManagerAgent>& displayManagerAgent, 74 const sptr<IRemoteObject>& displayManagerAgent) override; 78 virtual DMError SetVirtualScreenSurface(ScreenId screenId, sptr<IBufferProducer> surface) override; 99 virtual sptr<ScreenGroupInfo> GetScreenGroupInfoById(ScreenId screenId) override; 106 virtual sptr<DisplayInfo> GetDisplayInfoById(DisplayId displayId) override; 107 virtual sptr<DisplayInfo> GetDisplayInfoByScreen(ScreenId screenId) override; 110 virtual sptr<ScreenInf [all...] |
/foundation/window/window_manager/window_scene/session/screen/include/ |
H A D | screen_session.h | 102 sptr<DisplayInfo> ConvertToDisplayInfo(); 103 sptr<ScreenInfo> ConvertToScreenInfo() const; 104 sptr<SupportedScreenModes> GetActiveScreenMode() const; 141 void FillScreenInfo(sptr<ScreenInfo> info) const; 210 std::vector<sptr<SupportedScreenModes>> modes_ = {}; 271 bool AddChild(sptr<ScreenSession>& smsScreen, Point& startPoint); 272 bool AddChild(sptr<ScreenSession>& smsScreen, Point& startPoint, sptr<ScreenSession> defaultScreenSession); 273 bool AddChildren(std::vector<sptr<ScreenSession>>& smsScreens, std::vector<Point>& startPoints); 274 bool RemoveChild(sptr<ScreenSessio [all...] |
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | intention_event_manager_test.cpp | 109 sptr<SceneSession::SpecificSessionCallback> callback = in HWTEST_F() 112 sptr<SceneSession> sceneSession0 = new SceneSession(info, callback); in HWTEST_F() 131 sptr<SceneSession> sceneSession1 = new SceneSession(info, callback); in HWTEST_F() 135 sptr<WindowSessionProperty> property = new WindowSessionProperty(); in HWTEST_F() 169 sptr<SceneSession::SpecificSessionCallback> callback = in HWTEST_F() 172 sptr<SceneSession> sceneSession0 = new SceneSession(info, callback); in HWTEST_F() 179 sptr<SceneSession> sceneSession1 = new SceneSession(info, callback); in HWTEST_F() 202 sptr<SceneSession::SpecificSessionCallback> callback = in HWTEST_F() 205 sptr<SceneSession> sceneSession = new SceneSession(info, callback); in HWTEST_F() 238 sptr<SceneSessio in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | ability_thread_test.cpp | 89 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 126 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 174 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 222 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 249 sptr<IRemoteObject> token = sptr<IRemoteObjec in HWTEST_F() [all...] |
H A D | ability_impl_test.cpp | 87 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 135 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 192 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 254 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 285 sptr<IRemoteObject> token = sptr<IRemoteObjec in HWTEST_F() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
H A D | bluetooth_host_server.cpp | 89 SafeMap<sptr<IRemoteObject>, uint32_t> observersToken_; 90 SafeMap<sptr<IRemoteObject>, uint32_t> bleObserversToken_; 91 SafeMap<sptr<IRemoteObject>, int32_t> observersPid_; 92 SafeMap<sptr<IRemoteObject>, int32_t> bleObserversPid_; 96 SafeMap<sptr<IRemoteObject>, uint32_t> remoteObserversToken_; 97 SafeMap<sptr<IRemoteObject>, int32_t> remoteObserversPid_; 101 SafeMap<sptr<IRemoteObject>, uint32_t> bleRemoteObserversToken_; 103 SafeMap<std::string, sptr<IRemoteObject>> servers_; 104 SafeMap<std::string, sptr<IRemoteObject>> bleServers_; 106 std::vector<sptr<IBluetoothHostObserve [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_manager_lite_test.cpp | 45 void OnFocused(const sptr<FocusChangeInfo>& focusChangeInfo) override {}; 46 void OnUnfocused(const sptr<FocusChangeInfo>& focusChangeInfo) override {}; 52 const std::vector<sptr<WindowDrawingContentInfo>>& windowDrawingInfo) override {}; 57 void OnWindowVisibilityChanged(const std::vector<sptr<WindowVisibilityInfo>>& windowVisibilityInfo) override {}; 81 void OnWindowUpdate(const std::vector<sptr<AccessibilityWindowInfo>>& infos, WindowUpdateType type) override 156 sptr<TestCameraWindowChangedListener> listener = new (std::nothrow) TestCameraWindowChangedListener(); in HWTEST_F() 183 sptr<TestCameraWindowChangedListener> listener = new TestCameraWindowChangedListener(); in HWTEST_F() 217 sptr<TestCameraWindowChangedListener> listener1 = new TestCameraWindowChangedListener(); in HWTEST_F() 218 sptr<TestCameraWindowChangedListener> listener2 = new TestCameraWindowChangedListener(); in HWTEST_F() 249 sptr<IFocusChangedListene in HWTEST_F() [all...] |
/foundation/window/window_manager/dmserver/src/ |
H A D | display_manager_service.cpp | 80 sptr<DisplayManagerService> dms = this;
in OnStart() 82 if (!Publish(sptr<DisplayManagerService>(this))) {
in OnStart() 143 void DisplayManagerService::RegisterDisplayChangeListener(sptr<IDisplayChangeListener> listener)
in RegisterDisplayChangeListener() 149 void DisplayManagerService::RegisterWindowInfoQueriedListener(const sptr<IWindowInfoQueriedListener>& listener)
in RegisterWindowInfoQueriedListener() 173 void DisplayManagerService::NotifyDisplayStateChange(DisplayId defaultDisplayId, sptr<DisplayInfo> displayInfo,
in NotifyDisplayStateChange() 174 const std::map<DisplayId, sptr<DisplayInfo>>& displayInfoMap, DisplayStateChangeType type)
in NotifyDisplayStateChange() 190 sptr<DisplayInfo> DisplayManagerService::GetDefaultDisplayInfo()
in GetDefaultDisplayInfo() 194 sptr<AbstractDisplay> display = abstractDisplayController_->GetAbstractDisplayByScreen(dmsScreenId);
in GetDefaultDisplayInfo() 202 sptr<DisplayInfo> DisplayManagerService::GetDisplayInfoById(DisplayId displayId)
in GetDisplayInfoById() 204 sptr<AbstractDispla in GetDisplayInfoById() [all...] |
/foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/ |
H A D | netfirewall_service_test.cpp | 85 sptr<NetFirewallRule> GetNetFirewallRuleSptr()
in GetNetFirewallRuleSptr() 87 sptr<NetFirewallRule> rule = (std::make_unique<NetFirewallRule>()).release();
in GetNetFirewallRuleSptr() 132 sptr<NetFirewallRule> GetNetFirewallRuleSptrTypeDns()
in GetNetFirewallRuleSptrTypeDns() 134 sptr<NetFirewallRule> rule = (std::make_unique<NetFirewallRule>()).release();
in GetNetFirewallRuleSptrTypeDns() 326 sptr<NetFirewallPolicy> status = new (std::nothrow) NetFirewallPolicy;
in HWTEST_F() 349 sptr<NetFirewallPolicy> status = new (std::nothrow) NetFirewallPolicy;
in HWTEST_F() 379 sptr<NetFirewallPolicy> status = new (std::nothrow) NetFirewallPolicy;
in HWTEST_F() 395 sptr<NetFirewallRule> rule = GetNetFirewallRuleSptr();
in HWTEST_F() 422 sptr<NetFirewallRule> rule = GetNetFirewallRuleSptr();
in HWTEST_F() 438 sptr<NetFirewallRul in HWTEST_F() [all...] |
/third_party/libsnd/src/ |
H A D | ms_adpcm.c | 374 short *sptr ; in msadpcm_read_i() local 382 sptr = ubuf.sbuf ; in msadpcm_read_i() 387 if ((count = (int) msadpcm_read_block (psf, pms, sptr, readcount)) <= 0) in msadpcm_read_i() 391 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in msadpcm_read_i() 404 short *sptr ; in msadpcm_read_f() local 414 sptr = ubuf.sbuf ; in msadpcm_read_f() 419 if ((count = (int) msadpcm_read_block (psf, pms, sptr, readcount)) <= 0) in msadpcm_read_f() 423 ptr [total + k] = normfact * (float) (sptr [k]) ; in msadpcm_read_f() 436 short *sptr ; in msadpcm_read_d() local 446 sptr in msadpcm_read_d() 697 short *sptr ; msadpcm_write_i() local 724 short *sptr ; msadpcm_write_f() local 754 short *sptr ; msadpcm_write_d() local [all...] |
/foundation/ability/form_fwk/test/unittest/fms_form_refresh_connection_test/ |
H A D | fms_form_refresh_connection_test.cpp | 88 sptr<FormRefreshConnection> formRefreshConnection =
in HWTEST_F() 92 sptr<IRemoteObject> remoteObject = nullptr;
in HWTEST_F() 111 sptr<FormRefreshConnection> formRefreshConnection =
in HWTEST_F() 115 sptr<IRemoteObject> remoteObject = nullptr;
in HWTEST_F() 136 sptr<FormRefreshConnection> formRefreshConnection =
in HWTEST_F() 140 sptr<IRemoteObject> remoteObject = nullptr;
in HWTEST_F() 161 sptr<FormRefreshConnection> formRefreshConnection =
in HWTEST_F() 165 sptr<IRemoteObject> remoteObject = nullptr;
in HWTEST_F() 212 sptr<FormAbilityConnection> connection = nullptr;
in HWTEST_F() 226 sptr<FormAbilityConnectio in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/dataobs_mgr_inner_ext_test/ |
H A D | dataobs_mgr_inner_ext_test.cpp | 43 const sptr<IDataAbilityObserver> &callback, uint32_t times, bool isFuzzy); 56 const sptr<IDataAbilityObserver> &callback, uint32_t times, bool isFuzzy) in RegisterObserverUtil() 115 sptr<MockDataAbilityObserverStub> observer(new (std::nothrow) MockDataAbilityObserverStub()); in HWTEST_F() 149 sptr<MockDataAbilityObserverStub> observer(new (std::nothrow) MockDataAbilityObserverStub()); in HWTEST_F() 183 sptr<MockDataAbilityObserverStub> observer1(new (std::nothrow) MockDataAbilityObserverStub()); in HWTEST_F() 184 sptr<MockDataAbilityObserverStub> observer2(new (std::nothrow) MockDataAbilityObserverStub()); in HWTEST_F() 185 sptr<MockDataAbilityObserverStub> observer3(new (std::nothrow) MockDataAbilityObserverStub()); in HWTEST_F() 232 sptr<MockDataAbilityObserverStub> observer(new (std::nothrow) MockDataAbilityObserverStub()); in HWTEST_F() 265 sptr<MockDataAbilityObserverStub> observer(new (std::nothrow) MockDataAbilityObserverStub()); in HWTEST_F() 300 sptr<MockDataAbilityObserverStu in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/ |
H A D | bms_bundle_permission_system_app_test.cpp | 71 sptr<IBundleInstaller> GetInstallerProxy(); 72 sptr<BundleMgrProxy> GetBundleMgrProxy(); 126 sptr<IBundleInstaller> BmsBundlePermissionSyetemAppFalseTest::GetInstallerProxy() in GetInstallerProxy() 128 sptr<IBundleMgr> bundleMgrProxy = GetBundleMgrProxy(); in GetInstallerProxy() 134 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller(); in GetInstallerProxy() 144 sptr<BundleMgrProxy> BmsBundlePermissionSyetemAppFalseTest::GetBundleMgrProxy() in GetBundleMgrProxy() 146 sptr<ISystemAbilityManager> systemAbilityManager = in GetBundleMgrProxy() 153 sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleMgrProxy() 460 sptr<MockCleanCache> cleanCache = new (std::nothrow) MockCleanCache(); in HWTEST_F() 807 sptr<MockStatusReceive in HWTEST_F() [all...] |
/foundation/multimedia/audio_framework/test/fuzztest/audioserviceserversrcenhance_fuzzer/ |
H A D | audio_service_server_src_enhance_fuzzer.cpp | 70 sptr<AudioProcessInServer> processStream = AudioProcessInServer::Create(config, audioServicePtr); in AudioServiceMoreFuzzTest() 158 sptr<IpcStreamInServer> ipcStream = IpcStreamInServer::Create(config, ret); in AudioIpcStreamStubListenerFuzzTest() 181 sptr<IpcStreamInServer> ipcStream = IpcStreamInServer::Create(config, ret); in AudioIpcStreamStubBufferFuzzTest() 204 sptr<IpcStreamInServer> ipcStream = IpcStreamInServer::Create(config, ret); in AudioIpcStreamStubPositionFuzzTest() 227 sptr<IpcStreamInServer> ipcStream = IpcStreamInServer::Create(config, ret); in AudioIpcStreamStubSessionidFuzzTest() 250 sptr<IpcStreamInServer> ipcStream = IpcStreamInServer::Create(config, ret); in AudioIpcStreamStubStartFuzzTest() 273 sptr<IpcStreamInServer> ipcStream = IpcStreamInServer::Create(config, ret); in AudioIpcStreamStubPauseFuzzTest() 296 sptr<IpcStreamInServer> ipcStream = IpcStreamInServer::Create(config, ret); in AudioIpcStreamStubStopFuzzTest() 319 sptr<IpcStreamInServer> ipcStream = IpcStreamInServer::Create(config, ret); in AudioIpcStreamStubReleaseFuzzTest() 342 sptr<IpcStreamInServe in AudioIpcStreamStubFlushFuzzTest() [all...] |
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/ |
H A D | file_access_helper.cpp | 44 sptr<IFileAccessExtBase> g_sourceExtProxy; 45 sptr<IFileAccessExtBase> g_destExtProxy; 94 sptr<AppExecFwk::IBundleMgr> FileAccessHelper::GetBundleMgrProxy() in GetBundleMgrProxy() 96 sptr<ISystemAbilityManager> systemAbilityManager = in GetBundleMgrProxy() 102 sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleMgrProxy() 122 FileAccessHelper::FileAccessHelper(const sptr<IRemoteObject> &token, in FileAccessHelper() 197 const sptr<IRemoteObject> &token, const std::vector<AAFwk::Want> &wants) in DoCreatorHelper() 201 sptr<AppFileAccessExtConnection> fileAccessExtConnection(new(std::nothrow) AppFileAccessExtConnection()); in DoCreatorHelper() 209 sptr<IFileAccessExtBase> fileExtProxy = fileAccessExtConnection->GetFileExtProxy(); in DoCreatorHelper() 283 std::shared_ptr<FileAccessHelper> FileAccessHelper::Creator(const sptr<IRemoteObjec [all...] |
/base/notification/common_event_service/services/test/moduletest/common_event_services_module_test/ |
H A D | common_event_services_module_test.cpp | 44 static OHOS::sptr<OHOS::AppExecFwk::MockBundleMgrService> bundleObject = nullptr; 74 static sptr<CommonEventManagerService> commonEventManagerService_; 77 sptr<CommonEventManagerService> cesModuleTest::commonEventManagerService_ = nullptr; 124 sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriberPtr); in HWTEST_F() 144 sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriberPtr); in HWTEST_F() 164 sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriberPtr); in HWTEST_F() 184 sptr<CommonEventListener> commonEventListener1 = new CommonEventListener(subscriberPtr1); in HWTEST_F() 193 sptr<CommonEventListener> commonEventListener2 = new CommonEventListener(subscriberPtr2); in HWTEST_F() 202 sptr<CommonEventListener> commonEventListener3 = new CommonEventListener(subscriberPtr3); in HWTEST_F() 222 sptr<CommonEventListene in HWTEST_F() [all...] |
/foundation/communication/ipc/ipc/native/test/unittest/common/ |
H A D | ipc_object_proxy_unittest.cpp | 527 sptr<IPCObjectProxy> object = new IPCObjectProxy( in HWTEST_F() 529 sptr<IRemoteObject::DeathRecipient> death(new MockDeathRecipient()); in HWTEST_F() 545 sptr<IPCObjectProxy> object = new IPCObjectProxy( in HWTEST_F() 547 sptr<IRemoteObject::DeathRecipient> death(new MockDeathRecipient()); in HWTEST_F() 563 sptr<IPCObjectProxy> object = new IPCObjectProxy( in HWTEST_F() 565 sptr<IRemoteObject::DeathRecipient> death = new MockDeathRecipient(); in HWTEST_F() 566 sptr<IRemoteObject::DeathRecipient> death2 = new MockDeathRecipient(); in HWTEST_F() 567 sptr<IPCObjectProxy::DeathRecipientAddrInfo> deathInfo = new IPCObjectProxy::DeathRecipientAddrInfo(death); in HWTEST_F() 568 sptr<IPCObjectProxy::DeathRecipientAddrInfo> deathInfo2 = new IPCObjectProxy::DeathRecipientAddrInfo(death2); in HWTEST_F() 585 sptr<IPCObjectProx in HWTEST_F() [all...] |
/foundation/window/window_manager/window_scene/session_manager/src/zidl/ |
H A D | scene_session_manager_stub.cpp | 197 sptr<IRemoteObject> sessionStageObject = data.ReadRemoteObject(); in HandleCreateAndConnectSpecificSession() 198 sptr<ISessionStage> sessionStage = iface_cast<ISessionStage>(sessionStageObject); in HandleCreateAndConnectSpecificSession() 199 sptr<IRemoteObject> eventChannelObject = data.ReadRemoteObject(); in HandleCreateAndConnectSpecificSession() 200 sptr<IWindowEventChannel> eventChannel = iface_cast<IWindowEventChannel>(eventChannelObject); in HandleCreateAndConnectSpecificSession() 207 sptr<WindowSessionProperty> property = nullptr; in HandleCreateAndConnectSpecificSession() 214 sptr<IRemoteObject> token = nullptr; in HandleCreateAndConnectSpecificSession() 222 sptr<ISession> sceneSession; in HandleCreateAndConnectSpecificSession() 239 sptr<IRemoteObject> sessionStageObject = data.ReadRemoteObject(); in HandleRecoverAndConnectSpecificSession() 240 sptr<ISessionStage> sessionStage = iface_cast<ISessionStage>(sessionStageObject); in HandleRecoverAndConnectSpecificSession() 241 sptr<IRemoteObjec in HandleRecoverAndConnectSpecificSession() [all...] |
/foundation/window/window_manager/wmserver/src/ |
H A D | window_manager_service.cpp | 69 [this](Event event, const sptr<IRemoteObject>& remoteObject) { OnWindowEvent(event, remoteObject); }); 108 sptr<IDisplayChangeListener> listener = new DisplayChangeListener(); in OnStart() 111 sptr<IWindowInfoQueriedListener> windowInfoQueriedListener = new WindowInfoQueriedListener(); in OnStart() 117 sptr<WindowManagerService> wms = this; in OnStart() 119 if (!Publish(sptr<WindowManagerService>(this))) { in OnStart() 224 sptr<AAFwk::AbilityTransitionInfo> from, sptr<AAFwk::AbilityTransitionInfo> to, bool& animaEnabled) in NotifyWindowTransition() 226 sptr<WindowTransitionInfo> fromInfo = nullptr; in NotifyWindowTransition() 227 sptr<WindowTransitionInfo> toInfo = nullptr; in NotifyWindowTransition() 238 void WindowManagerServiceHandler::NotifyAnimationAbilityDied(sptr<AAFw [all...] |