/foundation/window/window_manager/wm/src/ |
H A D | window_session_impl.cpp | 82 std::map<int32_t, std::vector<sptr<IWindowLifeCycle>>> WindowSessionImpl::lifecycleListeners_; 83 std::map<int32_t, std::vector<sptr<IDisplayMoveListener>>> WindowSessionImpl::displayMoveListeners_; 84 std::map<int32_t, std::vector<sptr<IWindowChangeListener>>> WindowSessionImpl::windowChangeListeners_; 85 std::map<int32_t, std::vector<sptr<IAvoidAreaChangedListener>>> WindowSessionImpl::avoidAreaChangeListeners_; 86 std::map<int32_t, std::vector<sptr<IDialogDeathRecipientListener>>> WindowSessionImpl::dialogDeathRecipientListeners_; 87 std::map<int32_t, std::vector<sptr<IDialogTargetTouchListener>>> WindowSessionImpl::dialogTargetTouchListener_; 88 std::map<int32_t, std::vector<sptr<IOccupiedAreaChangeListener>>> WindowSessionImpl::occupiedAreaChangeListeners_; 89 std::map<int32_t, std::vector<sptr<IScreenshotListener>>> WindowSessionImpl::screenshotListeners_; 90 std::map<int32_t, std::vector<sptr<ITouchOutsideListener>>> WindowSessionImpl::touchOutsideListeners_; 93 std::map<int32_t, std::vector<sptr<IWindowTitleButtonRectChangedListene [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/src/ |
H A D | distributed_sched_continuation.cpp | 40 bool DSchedContinuation::PushAbilityToken(int32_t sessionId, const sptr<IRemoteObject>& abilityToken)
in PushAbilityToken() 74 sptr<IRemoteObject> DSchedContinuation::PopAbilityToken(int32_t sessionId)
in PopAbilityToken() 87 sptr<IRemoteObject> abilityToken = iter->second;
in PopAbilityToken() 156 bool DSchedContinuation::PushCallback(const sptr<IRemoteObject>& callback)
in PushCallback() 168 std::vector<sptr<IRemoteObject>> vecCallback = continuationCallbackArr_;
in PushCallback() 185 bool DSchedContinuation::PushCallback(int32_t missionId, const sptr<IRemoteObject>& callback,
in PushCallback() 213 std::vector<sptr<IRemoteObject>> DSchedContinuation::GetCallback()
in GetCallback() 219 bool DSchedContinuation::CleanupCallback(const sptr<IRemoteObject>& callback)
in CleanupCallback() 237 sptr<IRemoteObject> DSchedContinuation::PopCallback(int32_t missionId)
in PopCallback() 245 sptr<IRemoteObjec in PopCallback() [all...] |
/foundation/ability/form_fwk/test/unittest/fms_js_form_state_observer_stub_test/ |
H A D | fms_js_form_state_observer_stub_test.cpp | 97 sptr<MockJsFormStateObserverCallback> callback = new (std::nothrow) MockJsFormStateObserverCallback(); in HWTEST_F() 115 sptr<MockJsFormStateObserverCallback> callback = new (std::nothrow) MockJsFormStateObserverCallback(); in HWTEST_F() 135 sptr<MockJsFormStateObserverCallback> callback = new (std::nothrow) MockJsFormStateObserverCallback(); in HWTEST_F() 156 sptr<MockJsFormStateObserverCallback> callback = new (std::nothrow) MockJsFormStateObserverCallback(); in HWTEST_F() 178 sptr<MockJsFormStateObserverCallback> callback = new (std::nothrow) MockJsFormStateObserverCallback(); in HWTEST_F() 199 sptr<MockJsFormStateObserverCallback> callback = new (std::nothrow) MockJsFormStateObserverCallback(); in HWTEST_F() 222 sptr<MockJsFormStateObserverCallback> callback = new (std::nothrow) MockJsFormStateObserverCallback(); in HWTEST_F() 247 sptr<MockJsFormStateObserverCallback> callback = new (std::nothrow) MockJsFormStateObserverCallback(); in HWTEST_F() 273 sptr<MockJsFormStateObserverCallback> callback = new (std::nothrow) MockJsFormStateObserverCallback(); in HWTEST_F() 297 sptr<MockJsFormStateObserverCallbac in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/moduletest/common/ams/ability_running_record_test/ |
H A D | ams_ability_running_record_module_test.cpp | 108 void ScheduleLaunchAbility(const AbilityInfo&, const sptr<IRemoteObject>&, 114 void ScheduleCleanAbility(const sptr<IRemoteObject>&, bool isCacheProcess) override 150 const sptr<IQuickFixCallback>& callback, const int32_t recordId) override 155 int32_t ScheduleNotifyHotReloadPage(const sptr<IQuickFixCallback>& callback, const int32_t recordId) override 161 const sptr<IQuickFixCallback>& callback, const int32_t recordId) override 232 sptr<IAppScheduler> QueryMockedAppSchedulerClient(); 235 sptr<MockedApplication> mockedAppClient_; 236 sptr<IAppScheduler> client_; 256 sptr<IAppScheduler> AmsAbilityRunningRecordModuleTest::QueryMockedAppSchedulerClient() in QueryMockedAppSchedulerClient() 296 sptr<IRemoteObjec in HWTEST_F() [all...] |
/foundation/barrierfree/accessibility/services/aams/test/mock/src/ |
H A D | mock_accessible_ability_manager_service.cpp | 104 const sptr<IAccessibleAbilityManagerStateObserver>& callback) in RegisterStateObserver() 120 const int32_t windowId, const sptr<IAccessibilityElementOperator>& operation, bool isApp) in RegisterElementOperator() 129 const sptr<IAccessibilityElementOperator> &operation, bool isApp) in RegisterElementOperator() 150 sptr<AccessibilityAccountData> AccessibleAbilityManagerService::GetCurrentAccountData() in GetCurrentAccountData() 162 sptr<AccessibilityAccountData> AccessibleAbilityManagerService::GetAccountData(int32_t accountId) in GetAccountData() 225 const sptr<IAccessibleAbilityManagerCaptionObserver>& callback) in RegisterCaptionObserver() 243 RetError AccessibleAbilityManagerService::EnableUITestAbility(const sptr<IRemoteObject>& obj) in EnableUITestAbility() 497 const sptr<IAccessibilityEnableAbilityListsObserver> &observer) in RegisterEnableAbilityListsObserver() 503 const sptr<IAccessibleAbilityManagerConfigObserver> &callback) in RegisterConfigObserver() 513 sptr<AppExecFw [all...] |
/foundation/barrierfree/accessibility/interfaces/innerkits/test/mock/ |
H A D | mock_a11y_ability_manager_service.cpp | 104 const sptr<IA11yManagerStateObserver>& callback) in RegisterStateObserver() 120 const int32_t windowId, const sptr<IA11yElementOperator>& operation, bool isApp) in RegisterElementOperator() 129 const sptr<IA11yElementOperator> &operation, bool isApp) in RegisterElementOperator() 150 sptr<A11yAccountData> A11yManagerService::GetCurrentAccountData() in GetCurrentAccountData() 162 sptr<A11yAccountData> A11yManagerService::GetAccountData(int32_t accountId) in GetAccountData() 225 const sptr<IA11yManagerCaptionObserver>& callback) in RegisterCaptionObserver() 243 RetError A11yManagerService::EnableUITestAbility(const sptr<IRemoteObject>& obj) in EnableUITestAbility() 497 const sptr<IA11yEnableAbilityListsObserver> &observer) in RegisterEnableAbilityListsObserver() 503 const sptr<IA11yManagerConfigObserver> &callback) in RegisterConfigObserver() 513 sptr<AppExecFw [all...] |
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/ |
H A D | render_context_sample.cpp | 72 sptr<Surface> &surface, const struct PrepareCompleteParam ¶m, void* data) in OnPrepareCompleted() 143 sptr<IBufferProducer> producer = backGroundCSurface->GetProducer(); in CreateBackGroundSurface() 157 sptr<IBufferProducer> producer = drawingCSurface->GetProducer(); in CreateDrawingSurface() 171 OHOS::sptr<SurfaceBuffer> buffer; in ProduceBackGroundBuffer() 187 sptr<SyncFence> tempFence = new SyncFence(releaseFence); in ProduceBackGroundBuffer() 329 sptr<SyncFence> tempFence = new SyncFence(releaseFence); in Draw() 346 OHOS::sptr<SurfaceBuffer> cbuffer = nullptr; in FillDrawingLayer() 351 sptr<SyncFence> acquireSyncFence = new SyncFence(fence); in FillDrawingLayer() 396 OHOS::sptr<SurfaceBuffer> cbuffer = nullptr; in FillBackGroundLayer() 401 sptr<SyncFenc in FillBackGroundLayer() [all...] |
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/ |
H A D | photo_listener_impl.cpp | 34 PhotoListener::PhotoListener(Camera_PhotoOutput* photoOutput, sptr<Surface> surface) in PhotoListener() 57 sptr<SurfaceBuffer> surfaceBuffer = nullptr; in OnBufferAvailable() 66 sptr<SurfaceBuffer> newSurfaceBuffer = SurfaceBuffer::Create(); in OnBufferAvailable() 84 CameraBufferExtraData PhotoListener::GetCameraBufferExtraData(const sptr<SurfaceBuffer> &surfaceBuffer) in GetCameraBufferExtraData() 178 void PhotoListener::ExecutePhoto(sptr<SurfaceBuffer> surfaceBuffer, int64_t timestamp) in ExecutePhoto() 193 void PhotoListener::ExecutePhotoAsset(sptr<SurfaceBuffer> surfaceBuffer, CameraBufferExtraData extraData, in ExecutePhotoAsset() 220 void PhotoListener::DeepCopyBuffer(sptr<SurfaceBuffer> newSurfaceBuffer, sptr<SurfaceBuffer> surfaceBuffer) in DeepCopyBuffer() 241 void PhotoListener::CreateMediaLibrary(sptr<SurfaceBuffer> surfaceBuffer, BufferHandle *bufferHandle, in CreateMediaLibrary() 255 sptr<CameraPhotoProx in CreateMediaLibrary() [all...] |
/foundation/multimodalinput/input/frameworks/napi/input_device/src/ |
H A D | js_input_device_manager.cpp | 42 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); in GetDeviceIds() 53 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); in GetDevice() 65 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); in SupportKeys() 104 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); in GetKeyboardType() 141 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); in GetDeviceList() 152 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); in GetDeviceInfo() 163 void JsInputDeviceManager::GetDeviceInfoSyncCallback(napi_env env, napi_value* result, sptr<JsUtil::CallbackInfo> cb, in GetDeviceInfoSyncCallback() 183 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); in GetDeviceInfoSync() 200 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); in SetKeyboardRepeatDelay() 214 sptr<JsUti in SetKeyboardRepeatRate() [all...] |
/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/ |
H A D | net_stats_client_test.cpp | 62 static inline sptr<NetStatsCallbackTest> callback_ = nullptr; 295 sptr<IRemoteObject::DeathRecipient> deathRecipient = in HWTEST_F() 297 sptr<IRemoteObject> remote = nullptr; in HWTEST_F() 306 sptr<IRemoteObject::DeathRecipient> deathRecipient = in HWTEST_F() 308 sptr<IRemoteObject> remote = nullptr; in HWTEST_F() 327 sptr<IRemoteObject::DeathRecipient> deathRecipient = in HWTEST_F() 329 sptr<IRemoteObject> remote = nullptr; in HWTEST_F() 332 sptr<NetStatsNetwork> network = new (std::nothrow) NetStatsNetwork(); in HWTEST_F() 340 sptr<IRemoteObject::DeathRecipient> deathRecipient = in HWTEST_F() 342 sptr<IRemoteObjec in HWTEST_F() [all...] |
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/camera_sink/src/ |
H A D | distributed_camera_sink_proxy.cpp | 27 int32_t DistributedCameraSinkProxy::InitSink(const std::string& params, const sptr<IDCameraSinkCallback> &sinkCallback) in InitSink() 34 sptr<IRemoteObject> remote = Remote(); in InitSink() 65 sptr<IRemoteObject> remote = Remote(); in ReleaseSink() 91 sptr<IRemoteObject> remote = Remote(); in SubscribeLocalHardware() 121 sptr<IRemoteObject> remote = Remote(); in UnsubscribeLocalHardware() 151 sptr<IRemoteObject> remote = Remote(); in StopCapture() 182 sptr<IRemoteObject> remote = Remote(); in ChannelNeg() 211 sptr<IRemoteObject> remote = Remote(); in GetCameraInfo() 241 sptr<IRemoteObject> remote = Remote(); in OpenChannel() 271 sptr<IRemoteObjec in CloseChannel() [all...] |
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | dual_display_fold_policy_test.cpp | 98 sptr<ScreenSession> session = new ScreenSession(); in HWTEST_F() 157 sptr<FoldCreaseRegion> res = dualDisplayFoldPolicy.GetCurrentFoldCreaseRegion(); in HWTEST_F() 217 sptr<ScreenSession> screenSession = new ScreenSession(); in HWTEST_F() 236 sptr<DualDisplayFoldPolicy> dualDisplayFoldPolicy = new DualDisplayFoldPolicy( in HWTEST_F() 321 sptr<ScreenSession> screenSession = new ScreenSession(); in HWTEST_F() 338 sptr<ScreenSession> screenSession = new ScreenSession(); in HWTEST_F() 355 sptr<ScreenSession> screenSession = new ScreenSession(); in HWTEST_F() 372 sptr<ScreenSession> screenSession = new ScreenSession(); in HWTEST_F() 387 sptr<ScreenSession> screenSession = new ScreenSession(); in HWTEST_F() 402 sptr<ScreenSessio in HWTEST_F() [all...] |
/test/testfwk/arkxtest/uitest/connection/ |
H A D | ipc_transactor.cpp | 114 bool ApiCaller::SetBackCaller(const sptr<IRemoteObject> &caller) in SetBackCaller() 129 void ApiCaller::SetBackCallerHandler(function<void(sptr<IRemoteObject>)> handler) in SetBackCallerHandler() 134 ApiCallerProxy::ApiCallerProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IApiCaller>(impl) {} in ApiCallerProxy() 165 bool ApiCallerProxy::SetBackCaller(const OHOS::sptr<IRemoteObject> &caller) in SetBackCaller() 178 bool ApiCallerProxy::SetRemoteDeathCallback(const sptr<IRemoteObject::DeathRecipient> &callback) in SetRemoteDeathCallback() 183 bool ApiCallerProxy::UnsetRemoteDeathCallback(const sptr<OHOS::IRemoteObject::DeathRecipient> &callback) in UnsetRemoteDeathCallback() 193 static sptr<IRemoteObject> PublishCallerAndWaitForBackcaller(const sptr<ApiCaller> &caller, string_view token) in PublishCallerAndWaitForBackcaller() 204 sptr<IRemoteObject> remoteCallerObject = nullptr; in PublishCallerAndWaitForBackcaller() 205 caller->SetBackCallerHandler([&remoteCallerObject, &condition](const sptr<IRemoteObjec in PublishCallerAndWaitForBackcaller() [all...] |
/foundation/ability/ability_runtime/test/fuzztest/missionlistmanagersecond_fuzzer/ |
H A D | missionlistmanagersecond_fuzzer.cpp | 41 const AppExecFwk::ElementName& element, const sptr<IRemoteObject>& remoteObject, int resultCode) override 45 sptr<IRemoteObject> AsObject() override 60 sptr<Token> token = nullptr; in GetFuzzAbilityRecord() 72 sptr<Token> GetFuzzAbilityToken() in GetFuzzAbilityToken() 74 sptr<Token> token = nullptr; in GetFuzzAbilityToken() 99 sptr<IRemoteObject> token = GetFuzzAbilityToken(); in DoSomethingInterestingWithMyAPI() 100 sptr<IAbilityConnection> connect = new MyAbilityConnection(); in DoSomethingInterestingWithMyAPI() 161 sptr<ISnapshotHandler> snapshotHandler; in DoSomethingInterestingWithMyAPI() 177 std::vector<sptr<IRemoteObject>> tokens; in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/ |
H A D | js_uiservice_ability_connection.cpp | 30 static std::map<ConnectionKey, sptr<JSUIServiceExtAbilityConnection>, KeyCompare> g_uiServiceExtensionConnects; 55 int64_t InsertUIServiceAbilityConnection(sptr<JSUIServiceExtAbilityConnection> connection, const AAFwk::Want &want) in InsertUIServiceAbilityConnection() 78 sptr<JSUIServiceExtAbilityConnection>& connection) in FindUIServiceAbilityConnection() 96 sptr<JSUIServiceExtAbilityConnection>& connection) in FindUIServiceAbilityConnection() 118 serviceHostStub_ = sptr<UIAbilityServiceHostStubImpl>::MakeSptr(weakthis); in JSUIServiceExtAbilityConnection() 130 const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode) in HandleOnAbilityConnectDone() 134 sptr<UIAbilityServiceHostStubImpl> hostStub = GetServiceHostStub(); in HandleOnAbilityConnectDone() 135 sptr<IRemoteObject> hostProxy = nullptr; in HandleOnAbilityConnectDone() 220 sptr<JSUIServiceExtAbilityConnection> connectionSptr = connection.promote(); in OnSendData()
|
/foundation/ability/ability_runtime/test/fuzztest/connectionstatemanager_fuzzer/ |
H A D | connectionstatemanager_fuzzer.cpp | 47 const AppExecFwk::ElementName& element, const sptr<IRemoteObject>& remoteObject, int resultCode) override 51 sptr<IRemoteObject> AsObject() override 70 sptr<IRemoteObject> AsObject() override 85 sptr<Token> token = nullptr; in GetFuzzAbilityRecord() 97 sptr<Token> GetFuzzAbilityToken() in GetFuzzAbilityToken() 99 sptr<Token> token = nullptr; in GetFuzzAbilityToken() 121 sptr<IRemoteObject> token = GetFuzzAbilityToken(); in DoSomethingInterestingWithMyAPI() 122 sptr<IAbilityConnection> connect = new MyAbilityConnection(); in DoSomethingInterestingWithMyAPI() 123 sptr<AbilityRuntime::IConnectionObserver> observer = new MyAbilityConnectionObserver(); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/services/dataobsmgr/src/ |
H A D | dataobs_mgr_inner_ext.cpp | 29 Status DataObsMgrInnerExt::HandleRegisterObserver(Uri &uri, sptr<IDataAbilityObserver> dataObserver, bool isDescendants) in HandleRegisterObserver() 52 Status DataObsMgrInnerExt::HandleUnregisterObserver(Uri &uri, sptr<IDataAbilityObserver> dataObserver) in HandleUnregisterObserver() 69 Status DataObsMgrInnerExt::HandleUnregisterObserver(sptr<IDataAbilityObserver> dataObserver) in HandleUnregisterObserver() 115 const sptr<IRemoteObject> &dataObserver) in AddObsDeathRecipient() 125 sptr<IRemoteObject::DeathRecipient> deathRecipient = in AddObsDeathRecipient() 140 void DataObsMgrInnerExt::RemoveObsDeathRecipient(const sptr<IRemoteObject> &dataObserver, bool isForce) in RemoveObsDeathRecipient() 211 sptr<IDataAbilityObserver> dataObserver) in RemoveObserver() 230 bool DataObsMgrInnerExt::Node::RemoveObserver(sptr<IRemoteObject> dataObserver) in RemoveObserver() 249 inline bool DataObsMgrInnerExt::Node::RemoveObserver(sptr<IDataAbilityObserver> dataObserver) in RemoveObserver()
|
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/src/ |
H A D | window_manager_service_handler_proxy.cpp | 25 WindowManagerServiceHandlerProxy::WindowManagerServiceHandlerProxy(const sptr<IRemoteObject> &impl) in WindowManagerServiceHandlerProxy() 28 void WindowManagerServiceHandlerProxy::NotifyWindowTransition(sptr<AbilityTransitionInfo> fromInfo, in NotifyWindowTransition() 29 sptr<AbilityTransitionInfo> toInfo, bool& animaEnabled) in NotifyWindowTransition() 58 int32_t WindowManagerServiceHandlerProxy::GetFocusWindow(sptr<IRemoteObject>& abilityToken) in GetFocusWindow() 82 void WindowManagerServiceHandlerProxy::StartingWindow(sptr<AbilityTransitionInfo> info, in StartingWindow() 111 void WindowManagerServiceHandlerProxy::StartingWindow(sptr<AbilityTransitionInfo> info, in StartingWindow() 136 void WindowManagerServiceHandlerProxy::CancelStartingWindow(sptr<IRemoteObject> abilityToken) in CancelStartingWindow() 167 void WindowManagerServiceHandlerProxy::NotifyAnimationAbilityDied(sptr<AbilityTransitionInfo> info) in NotifyAnimationAbilityDied() 251 sptr<IRemoteObject> remote = Remote(); in SendTransactCmd()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | connection_record.cpp | 32 ConnectionRecord::ConnectionRecord(const sptr<IRemoteObject> &callerToken, in ConnectionRecord() 33 const std::shared_ptr<AbilityRecord> &targetService, const sptr<IAbilityConnection> &connCallback) in ConnectionRecord() 45 std::shared_ptr<ConnectionRecord> ConnectionRecord::CreateConnectionRecord(const sptr<IRemoteObject> &callerToken, in CreateConnectionRecord() 46 const std::shared_ptr<AbilityRecord> &targetService, const sptr<IAbilityConnection> &connCallback) in CreateConnectionRecord() 64 sptr<IRemoteObject> ConnectionRecord::GetToken() const in GetToken() 74 sptr<IAbilityConnection> ConnectionRecord::GetAbilityConnectCallback() const in GetAbilityConnectCallback() 224 sptr<IRemoteObject> hostproxy = nullptr; in ScheduleConnectAbilityDone() 320 sptr<IRemoteObject> ConnectionRecord::GetTargetToken() const in GetTargetToken() 335 sptr<IRemoteObject> ConnectionRecord::GetConnection() const in GetConnection()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_ability/ |
H A D | js_uiservice_uiext_connection.cpp | 30 static std::map<UIExtensionConnectionKey, sptr<JSUIServiceUIExtConnection>, key_compare> gUiServiceExtConnects; 34 void AddUIServiceExtensionConnection(AAFwk::Want& want, sptr<JSUIServiceUIExtConnection>& connection) in AddUIServiceExtensionConnection() 66 sptr<JSUIServiceUIExtConnection>& connection) in FindUIServiceExtensionConnection() 84 sptr<JSUIServiceUIExtConnection>& connection) in FindUIServiceExtensionConnection() 106 serviceHostStub_ = sptr<UIExtensionServiceHostStubImpl>::MakeSptr(weakthis); in JSUIServiceUIExtConnection() 118 const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode) in HandleOnAbilityConnectDone() 122 sptr<UIExtensionServiceHostStubImpl> hostStub = GetServiceHostStub(); in HandleOnAbilityConnectDone() 123 sptr<IRemoteObject> hostProxy = nullptr; in HandleOnAbilityConnectDone() 211 sptr<JSUIServiceUIExtConnection> connectionSptr = connection.promote(); in OnSendData()
|
/foundation/ability/ability_runtime/test/unittest/ui_extension/extension_record_manager_test/ |
H A D | extension_record_manager_test.cpp | 78 sptr<IRemoteObject> token = sptr<AppExecFwk::MockAbilityToken>::MakeSptr(); in HWTEST_F() 111 sptr<AAFwk::SessionInfo> sessionInfo = sptr<AAFwk::SessionInfo>::MakeSptr(); in HWTEST_F() 113 sptr<IRemoteObject> callerToken = sptr<AppExecFwk::MockAbilityToken>::MakeSptr(); in HWTEST_F() 123 std::list<sptr<IRemoteObject>> callerList; in HWTEST_F() 222 sptr<AAFwk::SessionInfo> sessionInfo(new AAFwk::SessionInfo()); in HWTEST_F() 231 sptr<AAFwk::SessionInfo> sessionParam(new AAFwk::SessionInfo()); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_installer_manager.cpp | 48 const std::string &bundleFilePath, const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) in CreateInstallTask() 65 const std::string &bundleName, const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) in CreateRecoverTask() 82 const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) in CreateInstallTask() 103 const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) in CreateInstallByBundleNameTask() 121 const std::string &bundleName, const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) in CreateUninstallTask() 138 const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) in CreateUninstallTask() 155 const sptr<IStatusReceiver> &statusReceive) in CreateUninstallTask() 172 const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) in CreateUninstallAndRecoverTask() 188 std::shared_ptr<BundleInstaller> BundleInstallerManager::CreateInstaller(const sptr<IStatusReceiver> &statusReceiver) in CreateInstaller()
|
/foundation/barrierfree/accessibility/frameworks/asacfwk/src/ |
H A D | accessibility_element_operator_impl.cpp | 24 sptr<IAccessibilityElementOperatorCallback>> AccessibilityElementOperatorImpl::requests_ = {}; 41 const int32_t requestId, const sptr<IAccessibilityElementOperatorCallback> &callback, const int32_t mode, in SearchElementInfoByAccessibilityId() 56 const std::string &text, const int32_t requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) in SearchElementInfosByText() 69 const int32_t focusType, const int32_t requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) in FindFocusedElementInfo() 82 const int32_t direction, const int32_t requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) in FocusMoveSearch() 96 int32_t requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) in ExecuteAction() 109 int32_t requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) in GetCursorPosition() 167 const sptr<IAccessibilityElementOperatorCallback> &callback) in AddRequest() 292 sptr<IAccessibilityElementOperatorCallback> AccessibilityElementOperatorImpl::GetCallbackByRequestId( in GetCallbackByRequestId()
|
/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/ |
H A D | hevc_decoder.h | 64 int32_t SetOutputSurface(sptr<Surface> surface) override; 141 int32_t ReplaceOutputSurfaceWhenRunning(sptr<Surface> newSurface); 142 int32_t SetQueueSize(const sptr<Surface> &surface, uint32_t targetSize); 143 int32_t SwitchBetweenSurface(const sptr<Surface> &newSurface); 144 int32_t RenderNewSurfaceWithOldBuffer(const sptr<Surface> &newSurface, uint32_t index); 157 GSError RegisterListenerToSurface(const sptr<Surface> &surface); 158 int32_t UnRegisterListenerToSurface(const sptr<Surface> &surface); 198 std::map<uint32_t, std::pair<sptr<SurfaceBuffer>, OHOS::BufferFlushConfig>> renderSurfaceBufferMap_; 199 sptr<Surface> surface_ = nullptr;
|
/foundation/graphic/graphic_surface/surface/test/systemtest/ |
H A D | surface_ipc_with_invaild_pts_test.cpp | 37 OHOS::GSError SetData(sptr<SurfaceBuffer> &buffer, sptr<Surface> &pSurface); 38 bool GetData(sptr<SurfaceBuffer> &buffer); 40 sptr<OHOS::Surface> CreateSurface(); 42 static inline sptr<IConsumerSurface> cSurface = nullptr; 78 static inline GSError OnBufferRelease(sptr<SurfaceBuffer> &buffer) in OnBufferRelease() 83 sptr<OHOS::Surface> SurfaceIPCWithInvalidPTSTest::CreateSurface() in CreateSurface() 85 sptr<IRemoteObject> robj = nullptr; in CreateSurface() 122 sptr<SurfaceBuffer> buffer; in ChildProcessMain()
|