/foundation/multimedia/ringtone_library/services/ringtone_data_extension/src/ |
H A D | ringtone_datashare_stub_impl.cpp | 32 auto client = sptr<RingtoneDataShareStubImpl>(this); in GetFileTypes() 46 auto client = sptr<RingtoneDataShareStubImpl>(this); in OpenFile() 60 auto client = sptr<RingtoneDataShareStubImpl>(this); in OpenRawFile() 74 auto client = sptr<RingtoneDataShareStubImpl>(this); in Insert() 87 auto client = sptr<RingtoneDataShareStubImpl>(this); in InsertExt() 101 auto client = sptr<RingtoneDataShareStubImpl>(this); in Update() 114 auto client = sptr<RingtoneDataShareStubImpl>(this); in Delete() 127 auto client = sptr<RingtoneDataShareStubImpl>(this); in Query() 140 auto client = sptr<RingtoneDataShareStubImpl>(this); in GetType() 155 auto client = sptr<RingtoneDataShareStubImp in BatchInsert() [all...] |
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/ |
H A D | netfirewall_common_test.cpp | 61 sptr<NetFirewallPolicy> ptr = NetFirewallPolicy::Unmarshalling(parcel); in HWTEST_F() 70 sptr<NetFirewallPolicy> ptr = NetFirewallPolicy::Unmarshalling(parcel); in HWTEST_F() 81 sptr<NetFirewallPolicy> ptr = NetFirewallPolicy::Unmarshalling(parcel); in HWTEST_F() 88 sptr<RequestParam> ptr = RequestParam::Unmarshalling(parcel); in HWTEST_F() 97 sptr<RequestParam> ptr = RequestParam::Unmarshalling(parcel); in HWTEST_F() 108 sptr<RequestParam> ptr = RequestParam::Unmarshalling(parcel); in HWTEST_F() 121 sptr<RequestParam> ptr = RequestParam::Unmarshalling(parcel); in HWTEST_F() 128 sptr<FirewallRulePage> ptr = FirewallRulePage::Unmarshalling(parcel); in HWTEST_F() 137 sptr<FirewallRulePage> ptr = FirewallRulePage::Unmarshalling(parcel); in HWTEST_F() 148 sptr<FirewallRulePag in HWTEST_F() [all...] |
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/ |
H A D | dns_param_cache.h | 97 int32_t SetFirewallRules(NetFirewallRuleType type, const std::vector<sptr<NetFirewallBaseRule>> &ruleList, 112 int32_t RegisterNetFirewallCallback(const sptr<NetsysNative::INetFirewallCallback> &callback); 114 int32_t UnRegisterNetFirewallCallback(const sptr<NetsysNative::INetFirewallCallback> &callback); 139 void BuildFirewallDomainLsmTrie(const sptr<NetFirewallDomainRule> &rule, const std::string &domain); 141 void BuildFirewallDomainMap(const sptr<NetFirewallDomainRule> &rule, const std::string &domain); 143 int32_t SetFirewallDnsRules(const std::vector<sptr<NetFirewallDnsRule>> &ruleList); 145 int32_t SetFirewallDomainRules(const std::vector<sptr<NetFirewallDomainRule>> &ruleList); 147 FirewallRuleAction GetFirewallRuleAction(int32_t appUid, const std::vector<sptr<NetFirewallDomainRule>> &rules); 155 std::vector<sptr<NetFirewallDomainRule>> firewallDomainRules_; 157 std::vector<sptr<NetFirewallDnsRul [all...] |
/foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/ |
H A D | netfirewall_common_test.cpp | 61 sptr<NetFirewallPolicy> ptr = NetFirewallPolicy::Unmarshalling(parcel);
in HWTEST_F() 70 sptr<NetFirewallPolicy> ptr = NetFirewallPolicy::Unmarshalling(parcel);
in HWTEST_F() 81 sptr<NetFirewallPolicy> ptr = NetFirewallPolicy::Unmarshalling(parcel);
in HWTEST_F() 88 sptr<RequestParam> ptr = RequestParam::Unmarshalling(parcel);
in HWTEST_F() 97 sptr<RequestParam> ptr = RequestParam::Unmarshalling(parcel);
in HWTEST_F() 108 sptr<RequestParam> ptr = RequestParam::Unmarshalling(parcel);
in HWTEST_F() 121 sptr<RequestParam> ptr = RequestParam::Unmarshalling(parcel);
in HWTEST_F() 128 sptr<FirewallRulePage> ptr = FirewallRulePage::Unmarshalling(parcel);
in HWTEST_F() 137 sptr<FirewallRulePage> ptr = FirewallRulePage::Unmarshalling(parcel);
in HWTEST_F() 148 sptr<FirewallRulePag in HWTEST_F() [all...] |
/foundation/communication/netmanager_ext/frameworks/native/netfirewallclient/src/ |
H A D | netfirewall_proxy.cpp | 28 int32_t NetFirewallProxy::SetNetFirewallPolicy(const int32_t userId, const sptr<NetFirewallPolicy> &status) in SetNetFirewallPolicy() 41 sptr<IRemoteObject> remote = Remote(); in SetNetFirewallPolicy() 55 int32_t NetFirewallProxy::GetNetFirewallPolicy(const int32_t userId, sptr<NetFirewallPolicy> &status) in GetNetFirewallPolicy() 57 sptr<IRemoteObject> remote = Remote(); in GetNetFirewallPolicy() 82 int32_t NetFirewallProxy::AddNetFirewallRule(const sptr<NetFirewallRule> &rule, int32_t &result) in AddNetFirewallRule() 94 sptr<IRemoteObject> remote = Remote(); in AddNetFirewallRule() 110 int32_t NetFirewallProxy::UpdateNetFirewallRule(const sptr<NetFirewallRule> &rule) in UpdateNetFirewallRule() 122 sptr<IRemoteObject> remote = Remote(); in UpdateNetFirewallRule() 146 sptr<IRemoteObject> remote = Remote(); in DeleteNetFirewallRule() 160 int32_t NetFirewallProxy::GetNetFirewallRules(const int32_t userId, const sptr<RequestPara [all...] |
/foundation/communication/netmanager_ext/frameworks/native/mdnsclient/src/ |
H A D | mdns_client.cpp | 37 void OnDemandLoadCallback::OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess() 52 const sptr<IRemoteObject> &OnDemandLoadCallback::GetRemoteObject() const in GetRemoteObject() 61 int32_t MDnsClient::RegisterService(const MDnsServiceInfo &serviceInfo, const sptr<IRegistrationCallback> &cb) in RegisterService() 72 sptr<IMDnsService> proxy = GetProxy(); in RegisterService() 86 int32_t MDnsClient::UnRegisterService(const sptr<IRegistrationCallback> &cb) in UnRegisterService() 93 sptr<IMDnsService> proxy = GetProxy(); in UnRegisterService() 107 int32_t MDnsClient::StartDiscoverService(const std::string &serviceType, const sptr<IDiscoveryCallback> &cb) in StartDiscoverService() 118 sptr<IMDnsService> proxy = GetProxy(); in StartDiscoverService() 132 int32_t MDnsClient::StopDiscoverService(const sptr<IDiscoveryCallback> &cb) in StopDiscoverService() 139 sptr<IMDnsServic in StopDiscoverService() [all...] |
/foundation/filemanagement/storage_service/services/storage_manager/client/ |
H A D | storage_manager_client.cpp | 25 sptr<IStorageManager> StorageManagerClient::GetStorageManagerProxy(void) in GetStorageManagerProxy() 33 sptr<IRemoteObject> object = samgr->GetSystemAbility(OHOS::STORAGE_MANAGER_MANAGER_ID); in GetStorageManagerProxy() 44 sptr<IStorageManager> client = GetStorageManagerProxy(); in PrepareAddUser() 55 sptr<IStorageManager> client = GetStorageManagerProxy(); in RemoveUser() 66 sptr<IStorageManager> client = GetStorageManagerProxy(); in GenerateUserKeys() 77 sptr<IStorageManager> client = GetStorageManagerProxy(); in DeleteUserKeys() 91 sptr<IStorageManager> client = GetStorageManagerProxy(); in UpdateUserAuth() 106 sptr<IStorageManager> client = GetStorageManagerProxy(); in UpdateUseAuthWithRecoveryKey() 119 sptr<IStorageManager> client = GetStorageManagerProxy(); in ActiveUserKey() 130 sptr<IStorageManage in InactiveUserKey() [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager/src/zidl/ |
H A D | screen_session_manager_lite_proxy.cpp | 32 const sptr<IDisplayManagerAgent>& displayManagerAgent, DisplayManagerAgentType type) in RegisterDisplayManagerAgent() 34 sptr<IRemoteObject> remote = Remote(); in RegisterDisplayManagerAgent() 73 const sptr<IDisplayManagerAgent>& displayManagerAgent, DisplayManagerAgentType type) in UnregisterDisplayManagerAgent() 75 sptr<IRemoteObject> remote = Remote(); in UnregisterDisplayManagerAgent() 115 sptr<IRemoteObject> remote = Remote(); in GetFoldDisplayMode() 137 sptr<IRemoteObject> remote = Remote(); in SetFoldDisplayMode() 161 sptr<IRemoteObject> remote = Remote(); in IsFoldable() 184 sptr<IRemoteObject> remote = Remote(); in GetFoldStatus() 205 sptr<DisplayInfo> OHOS::Rosen::ScreenSessionManagerLiteProxy::GetDefaultDisplayInfo() in GetDefaultDisplayInfo() 207 sptr<IRemoteObjec in GetDefaultDisplayInfo() [all...] |
/foundation/ability/ability_runtime/test/unittest/continuation_test/remote_register_service_test/continuation_connector_test/ |
H A D | continuation_connector_test.cpp | 65 int Register(const std::string &bundleName, const sptr<IRemoteObject> &token, const ExtraParams &extras, 66 const sptr<IConnectCallback> &callback) override 83 sptr<IRemoteBroker> AsInterface() override 118 ErrCode DisconnectAbility(const sptr<AAFwk::IAbilityConnection> &conn) override 124 bool ConnectAbility(const Want &want, const sptr<AAFwk::IAbilityConnection> &conn) override 178 sptr<MockRegisterService> object = new (std::nothrow) MockRegisterService(); in HWTEST_F() 183 sptr<ContinuationConnector> testConnector = new (std::nothrow) ContinuationConnector(ability); in HWTEST_F() 205 sptr<MockRegisterService> object = nullptr; in HWTEST_F() 210 sptr<ContinuationConnector> testConnector = new (std::nothrow) ContinuationConnector(ability); in HWTEST_F() 232 sptr<MockRegisterServic in HWTEST_F() [all...] |
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_hfp_ag.cpp | 117 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); in GetConnectedDevices() 135 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); in GetDevicesByStates() 155 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); in GetDeviceState() 167 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); in Connect() 178 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); in Disconnect() 189 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); in GetScoState() 198 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); in ConnectSco() 205 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); in DisconnectSco() 213 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); in ConnectSco() 221 sptr<IBluetoothHfpA in DisconnectSco() [all...] |
/foundation/window/window_manager/previewer/src/ |
H A D | window_impl.cpp | 30 std::map<std::string, std::pair<uint32_t, sptr<Window>>> WindowImpl::windowMap_; 31 std::map<uint32_t, std::vector<sptr<WindowImpl>>> WindowImpl::subWindowMap_; 32 std::map<uint32_t, std::vector<sptr<IWindowSystemBarEnableListener>>> WindowImpl::systemBarEnableListeners_; 33 std::map<uint32_t, std::vector<sptr<IIgnoreViewSafeAreaListener>>> WindowImpl::ignoreSafeAreaListeners_; 34 std::map<uint32_t, std::vector<sptr<IAvoidAreaChangedListener>>> WindowImpl::avoidAreaChangeListeners_; 38 WindowImpl::WindowImpl(const sptr<WindowOption>& option) in WindowImpl() 73 sptr<Window> WindowImpl::Find(const std::string& name) in Find() 83 sptr<Window> WindowImpl::FindWindowById(uint32_t windowId) in FindWindowById() 100 sptr<Window> WindowImpl::GetTopWindowWithId(uint32_t mainWinId) in GetTopWindowWithId() 105 sptr<Windo [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_installer_host.h | 50 const sptr<IStatusReceiver> &statusReceiver) override; 59 const sptr<IStatusReceiver> &statusReceiver) override; 70 const sptr<IStatusReceiver> &statusReceiver) override; 79 const sptr<IStatusReceiver> &statusReceiver) override; 89 const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) override; 92 const sptr<IStatusReceiver> &statusReceiver) override; 101 const sptr<IStatusReceiver> &statusReceiver) override; 121 virtual sptr<IBundleStreamInstaller> CreateStreamInstaller(const InstallParam &installParam, 122 const sptr<IStatusReceiver> &statusReceiver) override; 125 const sptr<IStatusReceive [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/backend/ |
H A D | rs_surface_ohos_raster_test.cpp | 50 sptr<Surface> pSurface = nullptr;
in HWTEST_F() 66 sptr<Surface> pSurface = nullptr;
in HWTEST_F() 85 sptr<IConsumerSurface> consumer = IConsumerSurface::Create("DisplayNode");
in HWTEST_F() 86 sptr<IBufferProducer> producer = consumer->GetProducer();
in HWTEST_F() 87 sptr<Surface> surface = Surface::CreateSurfaceAsProducer(producer);
in HWTEST_F() 106 sptr<IConsumerSurface> cSurface = IConsumerSurface::Create("DisplayNode");
in HWTEST_F() 107 sptr<IBufferProducer> bp = cSurface->GetProducer();
in HWTEST_F() 108 sptr<Surface> pSurface = Surface::CreateSurfaceAsProducer(bp);
in HWTEST_F() 133 sptr<Surface> pSurface = nullptr;
in HWTEST_F() 147 sptr<Surfac in HWTEST_F() [all...] |
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/include/ |
H A D | manual_ondemand_helper.h | 37 int32_t LoadSystemAbility(int32_t systemAbilityId, const sptr<ISystemAbilityLoadCallback>& callback); 42 const sptr<ISystemAbilityLoadCallback>& callback); 48 sptr<IRemoteObject> GetSystemAbility(int32_t systemAbilityId); 49 sptr<IRemoteObject> CheckSystemAbility(int32_t systemAbilityId); 50 sptr<IRemoteObject> CheckSystemAbility(int32_t systemAbilityId, const std::string& deviceId); 59 sptr<IRemoteObject> SyncOnDemandAbility(int32_t systemAbilityId); 91 int32_t GetExtensionRunningSaList(const std::string& extension, std::vector<sptr<IRemoteObject>>& saList); 95 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject>& remoteObject) override; 98 const sptr<IRemoteObject>& remoteObject) override; 107 sptr<OnDemandLoadCallbac [all...] |
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/ |
H A D | net_conn_callback_test.cpp | 45 int32_t NetConnCallbackTest::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable() 57 sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCap) in NetCapabilitiesChange() 69 int32_t NetConnCallbackTest::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange() 70 const sptr<NetLinkInfo> &info) in NetConnectionPropertiesChange() 81 int32_t NetConnCallbackTest::NetLost(sptr<NetHandle> &netHandle) in NetLost() 98 int32_t NetConnCallbackTest::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange() 163 sptr<NetHandle> handle = nullptr; in HWTEST_F() 170 sptr<NetHandle> handle = nullptr; in HWTEST_F() 171 sptr<NetAllCapabilitie in HWTEST_F() [all...] |
/foundation/window/window_manager/window_scene/session_manager/include/ |
H A D | scene_session_manager_lite.h | 27 WSError SetSessionLabel(const sptr<IRemoteObject>& token, const std::string& label) override; 28 WSError SetSessionIcon(const sptr<IRemoteObject>& token, const std::shared_ptr<Media::PixelMap>& icon) override; 30 WSError PendingSessionToForeground(const sptr<IRemoteObject>& token) override; 31 WSError PendingSessionToBackgroundForDelegator(const sptr<IRemoteObject>& token, 33 WSError GetFocusSessionToken(sptr<IRemoteObject>& token) override; 35 WSError RegisterSessionListener(const sptr<ISessionListener>& listener, bool isRecover = false) override; 36 WSError UnRegisterSessionListener(const sptr<ISessionListener>& listener) override; 44 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker = false) override; 47 WSError SetSessionContinueState(const sptr<IRemoteObject>& token, const ContinueState& continueState) override; 57 const sptr<IWindowManagerAgen [all...] |
/foundation/window/window_manager/wmserver/src/ |
H A D | accessibility_connection.cpp | 28 void AccessibilityConnection::NotifyAccessibilityWindowInfo(const sptr<WindowNode>& node, WindowUpdateType type) in NotifyAccessibilityWindowInfo() 39 std::vector<sptr<WindowNode>> nodes; in NotifyAccessibilityWindowInfo() 46 const std::vector<sptr<WindowNode>>& nodes, WindowUpdateType type) in NotifyAccessibilityWindowInfo() 68 std::vector<sptr<WindowNode>> nodes; in NotifyAccessibilityWindowInfo() 74 void AccessibilityConnection::NotifyAccessibilityWindowInfo(const std::vector<sptr<WindowNode>>& nodes, in NotifyAccessibilityWindowInfo() 77 std::vector<sptr<AccessibilityWindowInfo>> infos; in NotifyAccessibilityWindowInfo() 86 void AccessibilityConnection::FillAccessibilityWindowInfo(const std::vector<sptr<WindowNode>>& nodes, in FillAccessibilityWindowInfo() 87 uint32_t focusedWindow, std::vector<sptr<AccessibilityWindowInfo>>& infos) const in FillAccessibilityWindowInfo() 90 sptr<AccessibilityWindowInfo> info = new (std::nothrow) AccessibilityWindowInfo(); in FillAccessibilityWindowInfo() 114 void AccessibilityConnection::GetAccessibilityWindowInfo(std::vector<sptr<AccessibilityWindowInf [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | connection_record.h | 38 ConnectionRecord(const sptr<IRemoteObject> &callerToken, const std::shared_ptr<AbilityRecord> &targetService, 39 const sptr<IAbilityConnection> &connCallback); 50 static std::shared_ptr<ConnectionRecord> CreateConnectionRecord(const sptr<IRemoteObject> &callerToken, 51 const std::shared_ptr<AbilityRecord> &targetService, const sptr<IAbilityConnection> &connCallback); 72 sptr<IRemoteObject> GetToken() const; 81 sptr<IAbilityConnection> GetAbilityConnectCallback() const; 146 sptr<IRemoteObject> GetTargetToken() const; 147 sptr<IRemoteObject> GetConnection() const; 155 sptr<IRemoteObject> callerToken_ = nullptr; // from:caller token 159 sptr<IAbilityConnectio [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/include/data_ability/ |
H A D | data_ability_record.h | 40 sptr<IAbilityScheduler> GetScheduler(); 41 int Attach(const sptr<IAbilityScheduler> &scheduler); 43 int AddClient(const sptr<IRemoteObject> &client, bool tryBind, bool isNotHap); 44 int RemoveClient(const sptr<IRemoteObject> &client, bool isNotHap); 46 size_t GetClientCount(const sptr<IRemoteObject> &client = nullptr) const; 50 sptr<IRemoteObject> GetToken(); 55 using IRemoteObjectPtr = sptr<IRemoteObject>; 65 int32_t GetDiedCallerPid(const sptr<IRemoteObject> &remote); 71 sptr<IAbilityScheduler> scheduler_ {}; 73 sptr<IRemoteObjec [all...] |
/foundation/ability/form_fwk/interfaces/inner_api/include/ |
H A D | form_provider_interface.h | 45 const sptr<IRemoteObject> &callerToken) = 0; 54 virtual int NotifyFormDelete(const int64_t formId, const Want &want, const sptr<IRemoteObject> &callerToken) = 0; 64 const sptr<IRemoteObject> &callerToken) = 0; 72 virtual int NotifyFormUpdate(const int64_t formId, const Want &want, const sptr<IRemoteObject> &callerToken) = 0; 84 const Want &want, const sptr<IRemoteObject> &callerToken) = 0; 94 const sptr<IRemoteObject> &callerToken) = 0; 105 const sptr<IRemoteObject> &callerToken) = 0; 116 const sptr<IRemoteObject> &callerToken) = 0; 127 const sptr<IRemoteObject> &formSupplyCallback, int64_t requestCode) = 0; 136 virtual int32_t AcquireFormData(int64_t formId, const sptr<IRemoteObjec [all...] |
/foundation/ability/form_fwk/test/mock/include/ |
H A D | mock_form_provider_client.h | 47 const sptr<IRemoteObject> &callerToken) override; 57 const sptr<IRemoteObject> &callerToken) override; 68 const sptr<IRemoteObject> &callerToken) override; 77 const sptr<IRemoteObject> &callerToken) override; 88 const Want &want, const sptr<IRemoteObject> &callerToken) override; 98 const sptr<IRemoteObject> &callerToken) override; 108 const sptr<IRemoteObject> &callerToken) override; 119 const sptr<IRemoteObject> &callerToken) override; 122 const sptr<IRemoteObject> &formSupplyCallback, int64_t requestCode) override; 131 virtual int32_t AcquireFormData(int64_t formId, const sptr<IRemoteObjec [all...] |
/foundation/ability/ability_runtime/test/unittest/js_ui_service_extension_connection_test/ |
H A D | js_ui_service_extension_connection_test.cpp | 38 virtual int32_t SendData(sptr<IRemoteObject> hostProxy, OHOS::AAFwk::WantParams &data) override; 45 int32_t UIServiceStubImpl::SendData(sptr<IRemoteObject> hostProxy, OHOS::AAFwk::WantParams &data) in SendData() 95 sptr<UIServiceHostStubImpl> hostStub = sptr<UIServiceHostStubImpl>::MakeSptr(); in HWTEST_F() 96 sptr<UIServiceStubImpl> stub = sptr<UIServiceStubImpl>::MakeSptr(); in HWTEST_F() 97 sptr<IUIService> proxy = iface_cast<IUIService>(stub->AsObject()); in HWTEST_F() 105 sptr<UIServiceHostStubImpl> stub = sptr<UIServiceHostStubImpl>::MakeSptr(); in HWTEST_F() 106 sptr<IUIServiceHos in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/dataobs_manager/include/ |
H A D | dataobs_mgr_client.h | 49 ErrCode RegisterObserver(const Uri &uri, sptr<IDataAbilityObserver> dataObserver); 59 ErrCode UnregisterObserver(const Uri &uri, sptr<IDataAbilityObserver> dataObserver); 78 Status RegisterObserverExt(const Uri &uri, sptr<IDataAbilityObserver> dataObserver, bool isDescendants); 88 Status UnregisterObserverExt(const Uri &uri, sptr<IDataAbilityObserver> dataObserver); 97 Status UnregisterObserverExt(sptr<IDataAbilityObserver> dataObserver); 115 std::pair<Status, sptr<IDataObsMgr>> GetObsMgr(); 138 sptr<IDataObsMgr> dataObsManger_; 139 ConcurrentMap<sptr<IDataAbilityObserver>, std::list<Uri>> observers_; 146 ConcurrentMap<sptr<IDataAbilityObserver>, std::list<Param>> observerExts_; 147 sptr<SystemAbilityStatusChangeListene [all...] |
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/session/video_session/ |
H A D | video_session_info.cpp | 36 int32_t Initialize(const sptr<IDeferredVideoProcessingSessionCallback>& callback) in Initialize() 39 sptr<IRemoteObject> object = callback->AsObject(); in Initialize() 45 int32_t Destroy(const sptr<IDeferredVideoProcessingSessionCallback>& callback) in Destroy() 48 sptr<IRemoteObject> object = callback->AsObject(); in Destroy() 66 VideoSessionInfo::VideoSessionInfo(const int32_t userId, const sptr<IDeferredVideoProcessingSessionCallback>& callback) in VideoSessionInfo() 87 session_ = sptr<DeferredVideoProcessingSession>::MakeSptr(userId_); in Initialize() 88 deathRecipient_ = sptr<CallbackDeathRecipient>::MakeSptr(this); in Initialize() 95 sptr<IDeferredVideoProcessingSession> VideoSessionInfo::GetDeferredVideoProcessingSession() in GetDeferredVideoProcessingSession() 100 sptr<IDeferredVideoProcessingSessionCallback> VideoSessionInfo::GetRemoteCallback() in GetRemoteCallback() 116 void VideoSessionInfo::SetCallback(const sptr<IDeferredVideoProcessingSessionCallbac [all...] |
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/deferred_proc_session/ |
H A D | deferred_video_proc_session.h | 37 virtual void OnProcessVideoDone(const std::string& videoId, const sptr<IPCFileDescriptor> ipcFd) = 0; 48 void AddVideo(const std::string& videoId, const sptr<IPCFileDescriptor> srcFd, 49 const sptr<IPCFileDescriptor> dstFd); 55 int32_t SetDeferredVideoSession(sptr<DeferredProcessing::IDeferredVideoProcessingSession>& session); 61 sptr<DeferredProcessing::IDeferredVideoProcessingSession> remoteSession_; 62 sptr<CameraDeathRecipient> deathRecipient_ = nullptr; 63 sptr<ICameraService> serviceProxy_; 71 explicit DeferredVideoProcessingSessionCallback(sptr<DeferredVideoProcSession> deferredVideoProcSession) in DeferredVideoProcessingSessionCallback() 81 ErrCode OnProcessVideoDone(const std::string& videoId, const sptr<IPCFileDescriptor>& ipcFileDescriptor) override; 86 sptr<DeferredVideoProcSessio [all...] |