/foundation/window/window_manager/window_scene/screen_session_manager/include/fold_screen_controller/sensor_fold_state_manager/ |
H A D | single_display_sensor_fold_state_manager.h | 30 void HandleAngleChange(float angle, int hall, sptr<FoldScreenPolicy> foldScreenPolicy) override; 31 void HandleHallChange(float angle, int hall, sptr<FoldScreenPolicy> foldScreenPolicy) override;
|
/foundation/window/window_manager/window_scene/session_manager/include/ |
H A D | anomaly_detection.h | 29 static void ReportZOrderException(const std::string& errorReason, sptr<SceneSession> session); 31 sptr<SceneSession> session);
|
H A D | scene_session_converter.h | 30 static WSError ConvertToMissionInfos(std::vector<sptr<SceneSession>>& sceneSessionInfos, 32 static WSError ConvertToMissionInfo(sptr<SceneSession>& sceneSession, AAFwk::MissionInfo& missionInfo);
|
/foundation/window/window_manager/wmserver/include/zidl/ |
H A D | session_manager_service_recover_interface.h | 31 virtual void OnSessionManagerServiceRecover(const sptr<IRemoteObject>& sessionManagerService) = 0; 33 int32_t userId, int32_t screenId, bool isConnected, const sptr<IRemoteObject>& sessionManagerService) = 0;
|
/foundation/window/window_manager/wmserver/include/ |
H A D | freeze_controller.h | 36 sptr<Window> CreateCoverWindow(DisplayId displayId); 37 std::map<DisplayId, sptr<Window>> coverWindowMap_;
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | ams_mgr_stub.cpp | 255 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandleTerminateAbility() 264 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandleUpdateAbilityState() 272 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandleUpdateExtensionState() 281 sptr<IAppStateCallback> callback = nullptr; in HandleRegisterAppStateCallback() 283 sptr<IRemoteObject> obj = data.ReadRemoteObject(); in HandleRegisterAppStateCallback() 293 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandleKillProcessByAbilityToken() 328 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandleAttachPidToParent() 329 sptr<IRemoteObject> callerToken = data.ReadRemoteObject(); in HandleAttachPidToParent() 427 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandleAbilityAttachTimeOut() 434 sptr<IRemoteObjec in HandlePrepareTerminate() [all...] |
/foundation/ability/ability_runtime/test/unittest/app_running_manager_second_test/ |
H A D | app_running_manager_second_test.cpp | 71 static sptr<MockApplication> mockApp1_; 77 sptr<MockApplication> AppRunningManagerSecondTest::mockApp1_ = nullptr; 84 mockApp1_ = sptr<MockApplication>::MakeSptr(); in SetUpTestCase() 400 sptr<MockApplication> mockApp1 = sptr<MockApplication>::MakeSptr(); in HWTEST_F() 408 sptr<MockApplication> mockApp2 = sptr<MockApplication>::MakeSptr(); in HWTEST_F() 564 sptr<MockApplication> mockApp1 = sptr<MockApplication>::MakeSptr(); in HWTEST_F() 568 auto proxy = sptr<QuickFixCallbackProx in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/cj_ui_ability_test/ |
H A D | cj_ui_ability_test.cpp | 139 sptr<IRemoteObject> token = nullptr; in HWTEST_F() 188 sptr<IRemoteObject> token = nullptr; in HWTEST_F() 207 sptr<IRemoteObject> token = nullptr; in HWTEST_F() 248 sptr<IRemoteObject> token = nullptr; in HWTEST_F() 275 sptr<IRemoteObject> token = nullptr; in HWTEST_F() 344 sptr<IRemoteObject> token = nullptr; in HWTEST_F() 409 sptr<IRemoteObject> token = nullptr; in HWTEST_F() 454 sptr<IRemoteObject> token = nullptr; in HWTEST_F() 516 sptr<IRemoteObject> ptr = cjAbility_->CallRequest(); in HWTEST_F() 542 sptr<Rose in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_overlay_install_test/ |
H A D | bms_overlay_internal_install_test.cpp | 148 static sptr<IBundleMgr> GetBundleMgrProxy();
149 static sptr<IBundleInstaller> GetInstallerProxy();
150 static sptr<IOverlayManager> GetOverlayManagerProxy();
165 sptr<IBundleMgr> BmsOverlayInternalInstallTest::GetBundleMgrProxy()
in GetBundleMgrProxy() 167 sptr<ISystemAbilityManager> systemAbilityManager =
in GetBundleMgrProxy() 174 sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID);
in GetBundleMgrProxy() 184 sptr<IBundleInstaller> BmsOverlayInternalInstallTest::GetInstallerProxy()
in GetInstallerProxy() 186 sptr<IBundleMgr> bundleMgrProxy = GetBundleMgrProxy();
in GetInstallerProxy() 192 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller();
in GetInstallerProxy() 202 sptr<IOverlayManage [all...] |
/foundation/systemabilitymgr/samgr/services/samgr/native/source/ |
H A D | system_ability_manager_stub.cpp | 258 sptr<IRemoteObject> remoteObject = data.ReadRemoteObject(); in SubsSystemAbilityInner() 263 sptr<ISystemAbilityStatusChange> listener = iface_cast<ISystemAbilityStatusChange>(remoteObject); in SubsSystemAbilityInner() 291 sptr<IRemoteObject> remoteObject = data.ReadRemoteObject(); in UnSubsSystemAbilityInner() 296 sptr<ISystemAbilityStatusChange> listener = iface_cast<ISystemAbilityStatusChange>(remoteObject); in UnSubsSystemAbilityInner() 341 sptr<IRemoteObject> remoteObject = GetSystemAbility(systemAbilityId, uuid); in CheckRemtSystemAbilityInner() 420 sptr<IRemoteObject> remoteObject = CheckSystemAbility(systemAbilityId, isExist); in CheckSystemAbilityImmeInner() 524 sptr<IRemoteObject> remoteObject = GetSystemAbility(systemAbilityId); in GetSystemAbilityInner() 554 sptr<IRemoteObject> remoteObject = CheckSystemAbility(systemAbilityId); in CheckSystemAbilityInner() 611 sptr<IRemoteObject> procObject = data.ReadRemoteObject(); in AddSystemProcessInner() 630 sptr<ISystemAbilityLoadCallbac in LoadSystemAbilityInner() [all...] |
/foundation/window/window_manager/wmserver/src/ |
H A D | window_layout_policy.cpp | 53 void WindowLayoutPolicy::LimitWindowToBottomRightCorner(const sptr<WindowNode>& node) in LimitWindowToBottomRightCorner() 126 void WindowLayoutPolicy::UpdateRectInDisplayGroup(const sptr<WindowNode>& node, in UpdateRectInDisplayGroup() 288 void WindowLayoutPolicy::LayoutWindowNodesByRootType(const std::vector<sptr<WindowNode>>& nodeVec) in LayoutWindowNodesByRootType() 340 void WindowLayoutPolicy::LayoutWindowNode(const sptr<WindowNode>& node) in LayoutWindowNode() 372 void WindowLayoutPolicy::NotifyClientAndAnimation(const sptr<WindowNode>& node, in NotifyClientAndAnimation() 402 Rect WindowLayoutPolicy::CalcEntireWindowHotZone(const sptr<WindowNode>& node, const Rect& winRect, uint32_t hotZone, in CalcEntireWindowHotZone() 428 void WindowLayoutPolicy::CalcAndSetNodeHotZone(const Rect& winRect, const sptr<WindowNode>& node) in CalcAndSetNodeHotZone() 460 WindowLimits WindowLayoutPolicy::GetSystemSizeLimits(const sptr<WindowNode>& node, in GetSystemSizeLimits() 497 void WindowLayoutPolicy::UpdateWindowSizeLimits(const sptr<WindowNode>& node) in UpdateWindowSizeLimits() 563 void WindowLayoutPolicy::UpdateDisplayLimitRect(const sptr<WindowNod [all...] |
/foundation/ability/form_fwk/interfaces/inner_api/src/ |
H A D | form_provider_data.cpp | 245 std::map<std::string, std::pair<sptr<FormAshmem>, int32_t>> FormProviderData::GetImageDataMap() const in GetImageDataMap() 272 void FormProviderData::SetImageDataMap(std::map<std::string, std::pair<sptr<FormAshmem>, int32_t>> imageDataMap) in SetImageDataMap() 307 sptr<FormAshmem> formAshmem = parcel.ReadParcelable<FormAshmem>(); in ReadFromParcel() 313 std::pair<sptr<FormAshmem>, int32_t> imageDataRecord = std::make_pair(formAshmem, len); in ReadFromParcel() 415 sptr<FormAshmem> formAshmem = new (std::nothrow) FormAshmem(); in ConvertRawImageData() 424 std::pair<sptr<FormAshmem>, int32_t> imageDataRecord = std::make_pair(formAshmem, entry.second.second); in ConvertRawImageData()
|
/foundation/ability/ability_runtime/test/unittest/ability_extension_base_test/ |
H A D | ability_extension_base_test.cpp | 73 sptr<IRemoteObject> token = nullptr; in HWTEST_F() 102 sptr<IRemoteObject> token = new AppExecFwk::MockAbilityToken(); in HWTEST_F() 132 sptr<IRemoteObject> token = new AppExecFwk::MockAbilityToken(); in HWTEST_F() 161 sptr<IRemoteObject> token = new AppExecFwk::MockAbilityToken(); in HWTEST_F() 193 sptr<IRemoteObject> token = new AppExecFwk::MockAbilityToken(); in HWTEST_F() 224 sptr<IRemoteObject> token = new AppExecFwk::MockAbilityToken(); in HWTEST_F()
|
/foundation/ability/ability_base/interfaces/kits/native/want/src/ |
H A D | want_params_wrapper.cpp | 82 sptr<IWantParams> WantParamWrapper::Box(const WantParams &value) in Box() 84 sptr<IWantParams> object = new (std::nothrow)WantParamWrapper(value); in Box() 88 sptr<IWantParams> WantParamWrapper::Box(WantParams &&value) in Box() 90 sptr<IWantParams> object = new (std::nothrow) WantParamWrapper(std::move(value)); in Box() 128 sptr<IWantParams> WantParamWrapper::Parse(const std::string &str) in Parse() 175 sptr<IWantParams> iwantParams = new (std::nothrow) WantParamWrapper(wantParams); in Parse()
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_lifecycle_deal.cpp | 179 void AppLifeCycleDeal::ScheduleCleanAbility(const sptr<IRemoteObject> &token, bool isCacheProcess) in ScheduleCleanAbility() 211 void AppLifeCycleDeal::SetApplicationClient(const sptr<IAppScheduler> &thread) in SetApplicationClient() 217 sptr<IAppScheduler> AppLifeCycleDeal::GetApplicationClient() const in GetApplicationClient() 258 int32_t AppLifeCycleDeal::NotifyLoadRepairPatch(const std::string &bundleName, const sptr<IQuickFixCallback> &callback, in NotifyLoadRepairPatch() 271 int32_t AppLifeCycleDeal::NotifyHotReloadPage(const sptr<IQuickFixCallback> &callback, const int32_t recordId) in NotifyHotReloadPage() 284 const sptr<IQuickFixCallback> &callback, const int32_t recordId) in NotifyUnLoadRepairPatch()
|
/foundation/ability/ability_runtime/frameworks/js/napi/app/app_manager/ |
H A D | js_app_state_observer.cpp | 34 sptr<JSAppStateObserver> jsObserverSptr = jsObserver.promote(); in OnForegroundApplicationChanged() 64 sptr<JSAppStateObserver> jsObserverSptr = jsObserver.promote(); in OnAbilityStateChanged() 93 sptr<JSAppStateObserver> jsObserverSptr = jsObserver.promote(); in OnExtensionStateChanged() 122 sptr<JSAppStateObserver> jsObserverSptr = jsObserver.promote(); in OnProcessCreated() 151 sptr<JSAppStateObserver> jsObserverSptr = jsObserver.promote(); in OnProcessStateChanged() 180 sptr<JSAppStateObserver> jsObserverSptr = jsObserver.promote(); in OnProcessDied()
|
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/ |
H A D | js_napi_common_ability.h | 89 sptr<NAPIAbilityConnection> FindConnectionLocked(const Want &want, int64_t &id); 97 napi_value OnFindAbilityConnection(napi_env env, sptr<NAPIAbilityConnection> &abilityConnection, 102 sptr<NAPIAbilityConnection> &abilityConnection, AbilityRuntime::NapiAsyncTask::ExecuteCallback &execute, 146 sptr<AbilityRuntime::JsFreeInstallObserver> freeInstallObserver_ = nullptr; 214 const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode) override; 227 sptr<IRemoteObject> serviceRemoteObject_ = nullptr;
|
/foundation/ability/ability_runtime/test/fuzztest/extensionrecordmanagera_fuzzer/ |
H A D | extensionrecordmanagera_fuzzer.cpp | 55 sptr<Token> GetFuzzAbilityToken() in GetFuzzAbilityToken() 57 sptr<Token> token = nullptr; in GetFuzzAbilityToken() 92 sptr<AAFwk::SessionInfo> sessionInfo = new (std::nothrow) SessionInfo(); in FuzztestExtensionRecordManagerFunc1() 112 sptr<AAFwk::SessionInfo> sessionInfo = new (std::nothrow) SessionInfo(); in FuzztestExtensionRecordManagerFunc2() 147 sptr<Token> token = GetFuzzAbilityToken(); in FuzztestExtensionRecordManagerFunc2() 149 std::list<sptr<IRemoteObject>> callerList; in FuzztestExtensionRecordManagerFunc2()
|
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessible_ability_connection.cpp | 56 const sptr<IRemoteObject> &remoteObject, int32_t resultCode) in OnAbilityConnectDone() 96 sptr<AccessibleAbilityConnection> connection = accountData->GetConnectingA11yAbility(Utils::GetUri(element)); in OnAbilityConnectDone() 251 const sptr<IRemoteObject> &remoteObject) in OnAbilityConnectDoneSync() 265 sptr<AccessibleAbilityConnection> pointer = this; in OnAbilityConnectDoneSync() 286 void AccessibleAbilityConnection::InitAbilityClient(const sptr<IRemoteObject> &remoteObject) in InitAbilityClient() 352 sptr<AccessibleAbilityConnection> connection = accountData->GetAccessibleAbilityConnection(uri); in OnRemoteDied()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_deleter_test/ |
H A D | bms_bundle_quick_fix_deleter_test.cpp | 53 void CheckResult(const sptr<MockQuickFixCallback> &callback, const std::string &bundleName, int32_t errCode) const;
124 void BmsBundleQuickFixDeleterTest::CheckResult(const sptr<MockQuickFixCallback> &callback,
in CheckResult() 148 sptr<MockQuickFixCallback> callback = new (std::nothrow) MockQuickFixCallback();
in HWTEST_F() 178 sptr<MockQuickFixCallback> callback = new (std::nothrow) MockQuickFixCallback();
in HWTEST_F() 198 sptr<MockQuickFixCallback> callback = new (std::nothrow) MockQuickFixCallback();
in HWTEST_F() 218 sptr<MockQuickFixCallback> callback = new (std::nothrow) MockQuickFixCallback();
in HWTEST_F()
|
/foundation/multimedia/audio_framework/services/audio_policy/client/include/ |
H A D | audio_policy_client_stub_impl.h | 92 void OnPreferredOutputDeviceUpdated(const std::vector<sptr<AudioDeviceDescriptor>> &desc) override; 93 void OnPreferredInputDeviceUpdated(const std::vector<sptr<AudioDeviceDescriptor>> &desc) override; 102 void OnSpatializationEnabledChangeForAnyDevice(const sptr<AudioDeviceDescriptor> &deviceDescriptor, 105 void OnHeadTrackingEnabledChangeForAnyDevice(const sptr<AudioDeviceDescriptor> &deviceDescriptor, 110 std::vector<sptr<AudioDeviceDescriptor>> DeviceFilterByFlag(DeviceFlag flag, 111 const std::vector<sptr<AudioDeviceDescriptor>>& desc);
|
/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | decoder_surface_filter.h | 75 void OnLinkedResult(const sptr<AVBufferQueueProducer> &outputBufferQueue, std::shared_ptr<Meta> &meta); 81 Status SetVideoSurface(sptr<Surface> videoSurface); 83 Status SetDecryptConfig(const sptr<DrmStandard::IMediaKeySessionService> &keySessionProxy, 88 sptr<AVBufferQueueProducer> GetInputBufferQueue(); 149 sptr<Surface> videoSurface_; 152 sptr<DrmStandard::IMediaKeySessionService> keySessionServiceProxy_ = nullptr;
|
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hcodec_list.cpp | 33 static sptr<ICodecComponentManager> g_compMgrIpc; 34 static sptr<ICodecComponentManager> g_compMgrPassthru; 74 sptr<ICodecComponentManager> GetManager(bool getCap, bool supportPassthrough, bool isSecure) in GetManager() 78 sptr<ICodecComponentManager>& mng = (isPassthrough ? g_compMgrPassthru : g_compMgrIpc); in GetManager() 84 sptr<IServiceManager> serviceMng = IServiceManager::Get(); in GetManager() 95 sptr<ICodecComponentManager> mnger = GetManager(true); in GetCapList()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_base_render_engine.h | 135 std::unique_ptr<RSRenderFrame> RequestFrame(const sptr<Surface>& targetSurface, 146 std::shared_ptr<RSSurfaceOhos> MakeRSSurface(const sptr<Surface>& targetSurface, bool forceCPU); 162 void RegisterDeleteBufferListener(const sptr<IConsumerSurface>& consumer, bool isForUniRedraw = false); 221 static bool CheckIsHdrSurfaceBuffer(const sptr<SurfaceBuffer> surfaceBuffer); 229 const sptr<SurfaceBuffer>& buffer, const sptr<SyncFence>& acquireFence,
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/params/ |
H A D | rs_render_params.h | 245 virtual void SetBuffer(const sptr<SurfaceBuffer>& buffer, const Rect& damageRect) {} in SetBuffer() 246 virtual sptr<SurfaceBuffer> GetBuffer() const { return nullptr; } in GetBuffer() 247 virtual void SetPreBuffer(const sptr<SurfaceBuffer>& preBuffer) {} in SetPreBuffer() 248 virtual sptr<SurfaceBuffer> GetPreBuffer() { return nullptr; } in GetPreBuffer() 249 virtual void SetAcquireFence(const sptr<SyncFence>& acquireFence) {} in SetAcquireFence() 250 virtual sptr<SyncFence> GetAcquireFence() const { return nullptr; } in GetAcquireFence()
|