/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/test/unittest/ |
H A D | vsync_receiver_test.cpp | 36 static inline sptr<VSyncController> vsyncController = nullptr;
37 static inline sptr<VSyncDistributor> vsyncDistributor = nullptr;
38 static inline sptr<VSyncGenerator> vsyncGenerator = nullptr;
39 static inline sptr<VSyncConnection> conn = nullptr;
40 static inline sptr<VSyncReceiver> vsyncReceiver = nullptr;
148 sptr<IVSyncConnection> connection_ = nullptr;
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/frame_rate_manager/ |
H A D | hgm_frame_rate_manager.h | 146 void Init(sptr<VSyncController> rsController, 147 sptr<VSyncController> appController, sptr<VSyncGenerator> vsyncGenerator); 208 void RegisterCoreCallbacksAndInitController(sptr<VSyncController> rsController, 209 sptr<VSyncController> appController, sptr<VSyncGenerator> vsyncGenerator);
|
/foundation/multimedia/drm_framework/interfaces/kits/c/drm_capi/common/ |
H A D | native_drm_object.h | 36 explicit MediaKeySystemObject(const OHOS::sptr<OHOS::DrmStandard::MediaKeySystemImpl> &impl) : systemImpl_(impl) {} in MediaKeySystemObject() 39 const OHOS::sptr<OHOS::DrmStandard::MediaKeySystemImpl> systemImpl_ = nullptr; 40 OHOS::sptr<OHOS::DrmStandard::MediaKeySystemCallbackCapi> systemCallback_ = nullptr; 44 explicit MediaKeySessionObject(const OHOS::sptr<OHOS::DrmStandard::MediaKeySessionImpl> &impl) : sessionImpl_(impl) in MediaKeySessionObject() 48 const OHOS::sptr<OHOS::DrmStandard::MediaKeySessionImpl> sessionImpl_ = nullptr; 49 OHOS::sptr<MediaKeySessionCallbackCapi> sessionCallback_ = nullptr;
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | image_native_test.cpp | 149 sptr<SurfaceBuffer> buffer = SurfaceBuffer::Create(); in HWTEST_F() 181 sptr<SurfaceBuffer> buffer = SurfaceBuffer::Create(); in HWTEST_F() 202 sptr<SurfaceBuffer> buffer = SurfaceBuffer::Create(); in HWTEST_F() 225 sptr<SurfaceBuffer> buffer = SurfaceBuffer::Create(); in HWTEST_F() 245 sptr<SurfaceBuffer> buffer = SurfaceBuffer::Create(); in HWTEST_F() 281 sptr<SurfaceBuffer> buffer = SurfaceBuffer::Create(); in HWTEST_F()
|
/foundation/multimedia/camera_framework/test/fuzztest/streamcapturestub_fuzzer/ |
H A D | stream_capture_stub_fuzzer.cpp | 96 sptr<IConsumerSurface> photoSurface = IConsumerSurface::Create();
in Test() 98 sptr<IBufferProducer> producer = photoSurface->GetProducer();
in Test() 169 sptr<IConsumerSurface> photoSurface = IConsumerSurface::Create();
in Test_HandleSetThumbnail() 171 sptr<IRemoteObject> producer = photoSurface->GetProducer()->AsObject();
in Test_HandleSetThumbnail() 181 sptr<IConsumerSurface> photoSurface = IConsumerSurface::Create();
in Test_HandleSetBufferProducerInfo() 183 sptr<IRemoteObject> producer = photoSurface->GetProducer()->AsObject();
in Test_HandleSetBufferProducerInfo()
|
/foundation/multimedia/av_session/services/session/ipc/stub/ |
H A D | avcontroller_callback_stub.cpp | 53 sptr<AVCallMetaData> metaData = data.ReadParcelable<AVCallMetaData>(); in HandleOnAVCallMetadataChange() 63 sptr<AVCallState> state = data.ReadParcelable<AVCallState>(); in HandleOnAVCallStateChange() 73 sptr<AVPlaybackState> state = data.ReadParcelable<AVPlaybackState>(); in HandleOnPlaybackStateChange() 97 sptr avMetaData = data.ReadParcelable<AVMetaData>(); in HandleOnMetadataChange() 205 sptr want = data.ReadParcelable<AAFwk::WantParams>(); in HandleOnSessionEventChange() 246 sptr extras = data.ReadParcelable<AAFwk::WantParams>(); in HandleOnExtrasChange()
|
/foundation/multimedia/player_framework/services/engine/histreamer/player/ |
H A D | seek_agent.cpp | 31 sptr<AVBufferQueueProducer> producer, int32_t trackId)
in AudioBufferFilledListener() 47 sptr<AVBufferQueueProducer> producer, int32_t trackId)
in VideoBufferFilledListener() 151 sptr<IBrokerListener> audioListener
in SetBufferFilledListener() 164 sptr<IBrokerListener> videoListener
in SetBufferFilledListener() 204 sptr<AVBufferQueueProducer> producer, int32_t trackId)
in OnAudioBufferFilled() 226 sptr<AVBufferQueueProducer> producer, int32_t trackId)
in OnVideoBufferFilled()
|
/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerstub_fuzzer/ |
H A D | player_service_proxy_fuzzer.h | 26 static sptr<PlayerServiceProxyFuzzer> Create(); 27 explicit PlayerServiceProxyFuzzer(const sptr<IRemoteObject> &impl); 30 int32_t SetListenerObject(const sptr<IRemoteObject> &object) override 38 int32_t SetSource(const sptr<IRemoteObject> &object) override 142 int32_t SetVideoSurface(sptr<Surface> surface) override 190 int32_t SetDecryptConfig(const sptr<DrmStandard::IMediaKeySessionService> &keySessionProxy,
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/ |
H A D | window_state_observer.cpp | 28 void WindowStateObserver::OnFocused(const sptr<FocusChangeInfo>& focusChangeInfo) in OnFocused() 58 void WindowStateObserver::OnUnfocused(const sptr<FocusChangeInfo>& focusChangeInfo) in OnUnfocused() 88 void WindowVisibilityObserver::MarshallingWindowVisibilityInfo(const sptr<WindowVisibilityInfo>& info, in MarshallingWindowVisibilityInfo() 101 const std::vector<sptr<WindowVisibilityInfo>>& windowVisibilityInfo) in OnWindowVisibilityChanged() 127 void WindowDrawingContentObserver::MarshallingWindowDrawingContentInfo(const sptr<WindowDrawingContentInfo>& info, 138 const std::vector<sptr<WindowDrawingContentInfo>>& changeInfo) in OnWindowDrawingContentChanged()
|
/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_display_zoom_test.cpp | 76 sptr<Window> window = Utils::CreateTestWindow(windowInfo_); in HWTEST_F() 126 sptr<Window> window = Utils::CreateTestWindow(windowInfo_); in HWTEST_F() 161 sptr<Window> window = Utils::CreateTestWindow(windowInfo_); in HWTEST_F() 193 sptr<Window> window = Utils::CreateTestWindow(windowInfo_); in HWTEST_F() 233 sptr<Window> window = Utils::CreateTestWindow(windowInfo_); in HWTEST_F() 279 sptr<Window> window = Utils::CreateTestWindow(windowInfo_); in HWTEST_F()
|
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/ |
H A D | ut_net_policy_callback.cpp | 114 sptr<INetPolicyCallbackImpl> GetINetPolicyCallbackSample() const; 175 sptr<INetPolicyCallbackImpl> callback = new (std::nothrow) INetPolicyCallbackImpl(); in HWTEST_F() 203 sptr<INetPolicyCallbackImpl> callback = new INetPolicyCallbackImpl(); in HWTEST_F() 232 sptr<INetPolicyCallbackImpl> callback = new INetPolicyCallbackImpl(); in HWTEST_F() 260 sptr<INetPolicyCallbackImpl> callback = new INetPolicyCallbackImpl(); in HWTEST_F() 285 sptr<INetPolicyCallbackImpl> callback = new INetPolicyCallbackImpl(); in HWTEST_F()
|
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/vpn_manager_test/ |
H A D | networkvpn_service_test.cpp | 52 static inline sptr<IVpnEventCallback> eventCallback_ = nullptr; 103 sptr<VpnConfig> config = new (std::nothrow) VpnConfig(); in HWTEST_F() 121 sptr<VpnConfig> config = new (std::nothrow) VpnConfig(); in HWTEST_F() 166 sptr<IVpnEventCallback> eventCallback_1 = new (std::nothrow) VpnEventTestCallback(); in HWTEST_F() 168 sptr<IVpnEventCallback> eventCallback_2 = new (std::nothrow) VpnEventTestCallback(); in HWTEST_F() 208 sptr<VpnConfig> vpnCfg = new (std::nothrow) VpnConfig(); in HWTEST_F()
|
H A D | networkvpn_service_stub_test.cpp | 76 sptr<VpnConfig> config = new (std::nothrow) VpnConfig();
in HWTEST_F() 122 sptr<IVpnEventCallback> callback = new (std::nothrow) MockIVpnEventCallback();
in HWTEST_F() 137 sptr<IVpnEventCallback> callback = new (std::nothrow) MockIVpnEventCallback();
in HWTEST_F() 174 sptr<IVpnEventCallback> callback = new (std::nothrow) MockIVpnEventCallback();
in HWTEST_F() 189 sptr<IVpnEventCallback> callback = new (std::nothrow) MockIVpnEventCallback();
in HWTEST_F() 247 sptr<IVpnEventCallback> callback = new (std::nothrow) MockIVpnEventCallback();
in HWTEST_F()
|
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | dp_subscribe_info_test.cpp | 138 OHOS::sptr<IProfileChangeListener> subscribeDPChangeListener = in HWTEST_F() 139 sptr<IProfileChangeListener>(new DPSubscribeInfoTest::SubscribeDPChangeListener); in HWTEST_F() 158 OHOS::sptr<IProfileChangeListener> subscribeDPChangeListener = nullptr; in HWTEST_F() 247 OHOS::sptr<IProfileChangeListener> subscribeDPChangeListener = in HWTEST_F() 248 sptr<IProfileChangeListener>(new DPSubscribeInfoTest::SubscribeDPChangeListener); in HWTEST_F() 250 OHOS::sptr<IProfileChangeListener> proxy = OHOS::iface_cast<IProfileChangeListener>(subscribeInfo.GetListener()); in HWTEST_F()
|
/foundation/communication/netmanager_ext/services/netfirewallmanager/include/ |
H A D | netfirewall_db_helper.h | 113 int32_t AddInterceptRecord(const int32_t userId, std::vector<sptr<InterceptRecord>> &records);
160 int32_t QueryFirewallRule(const int32_t userId, const sptr<RequestParam> &requestParam,
161 sptr<FirewallRulePage> &info);
171 int32_t QueryInterceptRecord(const int32_t userId, const sptr<RequestParam> &requestParam,
172 sptr<InterceptRecordPage> &info);
268 bool IsDnsRuleExist(const sptr<NetFirewallRule> &rule);
|
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/ |
H A D | ut_net_policy_callback.cpp | 114 sptr<INetPolicyCallbackImpl> GetINetPolicyCallbackSample() const; 175 sptr<INetPolicyCallbackImpl> callback = new (std::nothrow) INetPolicyCallbackImpl(); in HWTEST_F() 203 sptr<INetPolicyCallbackImpl> callback = new INetPolicyCallbackImpl(); in HWTEST_F() 232 sptr<INetPolicyCallbackImpl> callback = new INetPolicyCallbackImpl(); in HWTEST_F() 260 sptr<INetPolicyCallbackImpl> callback = new INetPolicyCallbackImpl(); in HWTEST_F() 285 sptr<INetPolicyCallbackImpl> callback = new INetPolicyCallbackImpl(); in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/subscriber_managers/ |
H A D | published_data_subscriber_manager.cpp | 36 const PublishedDataKey &key, const sptr<IDataProxyPublishedDataObserver> observer, uint32_t firstCallerTokenId)
in Add() 115 const std::string &ownerBundleName, const sptr<IDataProxyPublishedDataObserver> observer)
in Emit() 120 std::map<sptr<IDataProxyPublishedDataObserver>, std::vector<PublishedDataKey>> callbacks;
in Emit() 157 std::map<sptr<IDataProxyPublishedDataObserver>, std::vector<PublishedDataKey>> &callbacks,
in PutInto() 159 const sptr<IDataProxyPublishedDataObserver> observer)
in PutInto() 268 PublishedDataSubscriberManager::ObserverNode::ObserverNode(const sptr<IDataProxyPublishedDataObserver> &observer,
in ObserverNode()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/ |
H A D | kvstore_data_service.h | 85 Status RegisterClientDeathObserver(const AppId &appId, sptr<IRemoteObject> observer) override; 87 sptr<IRemoteObject> GetFeatureInterface(const std::string &name) override; 127 KvStoreClientDeathObserverImpl(const AppId &appId, KvStoreDataService &service, sptr<IRemoteObject> observer); 153 sptr<IRemoteObject> observerProxy_; 154 sptr<KvStoreDeathRecipient> deathRecipient_; 187 ConcurrentMap<std::string, sptr<DistributedData::FeatureStubImpl>> features_;
|
/foundation/distributedhardware/distributed_camera/test/distributedcameraclienttest/ |
H A D | dcamera_client_demo.h | 45 explicit DemoDCameraBufferConsumerListener(const sptr<IConsumerSurface>& surface) : surface_(surface) in DemoDCameraBufferConsumerListener() 60 OHOS::sptr<OHOS::SurfaceBuffer> buffer = nullptr; in OnBufferAvailable() 97 sptr<IConsumerSurface> surface_; 102 explicit DemoDCameraPhotoSurfaceListener(const sptr<IConsumerSurface>& surface) in DemoDCameraPhotoSurfaceListener() 133 explicit DemoDCameraPreviewSurfaceListener(const sptr<IConsumerSurface>& surface) in DemoDCameraPreviewSurfaceListener() 165 explicit DemoDCameraVideoSurfaceListener(const sptr<IConsumerSurface>& surface) in DemoDCameraVideoSurfaceListener()
|
/foundation/distributedhardware/device_manager/services/service/src/devicenamemgr/ |
H A D | local_device_name_mgr.cpp | 62 sptr<ISystemAbilityManager> saManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetDataShareHelper() 68 sptr<IRemoteObject> remoteObject = saManager->GetSystemAbility(DISTRIBUTED_HARDWARE_DEVICEMANAGER_SA_ID); in GetDataShareHelper() 212 sptr<SettingsDataEventMonitor> settingDataObserver = in RegisterDeviceNameChangeCb() 213 sptr<SettingsDataEventMonitor>(new SettingsDataEventMonitor(shared_from_this(), in RegisterDeviceNameChangeCb() 269 sptr<SettingsDataEventMonitor> settingDataObserver = in RegisterDisplayNameChangeCb() 270 sptr<SettingsDataEventMonitor>(new SettingsDataEventMonitor(shared_from_this(), in RegisterDisplayNameChangeCb()
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/test/sample/ |
H A D | dcamera_client_demo.h | 45 explicit DemoDCameraBufferConsumerListener(const sptr<IConsumerSurface>& surface) : surface_(surface) in DemoDCameraBufferConsumerListener() 60 OHOS::sptr<OHOS::SurfaceBuffer> buffer = nullptr; in OnBufferAvailable() 97 sptr<IConsumerSurface> surface_; 102 explicit DemoDCameraPhotoSurfaceListener(const sptr<IConsumerSurface>& surface) in DemoDCameraPhotoSurfaceListener() 133 explicit DemoDCameraPreviewSurfaceListener(const sptr<IConsumerSurface>& surface) in DemoDCameraPreviewSurfaceListener() 165 explicit DemoDCameraVideoSurfaceListener(const sptr<IConsumerSurface>& surface) in DemoDCameraVideoSurfaceListener()
|
/foundation/filemanagement/dfs_service/test/fuzztest/daemonstub_fuzzer/ |
H A D | daemonstub_fuzzer.cpp | 67 int32_t OpenP2PConnectionEx(const std::string &networkId, sptr<IFileDfsListener> remoteReverseObj) override 80 const sptr<IRemoteObject> &listener, 105 const sptr<AssetObj> &assetObj, 106 const sptr<IAssetSendCallback> &sendCallback) override 111 int32_t RegisterAssetCallback(const sptr<IAssetRecvCallback> &recvCallback) override 116 int32_t UnRegisterAssetCallback(const sptr<IAssetRecvCallback> &recvCallback) override
|
/foundation/filemanagement/app_file_service/tests/mock/module_ipc/ |
H A D | svc_session_manager_throw_mock.h | 34 virtual sptr<IServiceReverse> GetServiceReverseProxy() = 0; 40 virtual sptr<SvcBackupConnection> GetBackupAbilityExt(const std::string &) = 0; 55 virtual sptr<SvcBackupConnection> CreateBackupConnection(BundleName &) = 0; 102 MOCK_METHOD(sptr<IServiceReverse>, GetServiceReverseProxy, ()); 108 MOCK_METHOD(sptr<SvcBackupConnection>, GetBackupAbilityExt, (const std::string &)); 123 MOCK_METHOD(sptr<SvcBackupConnection>, CreateBackupConnection, (BundleName &));
|
/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/test/unittest/screensourcetest/src/ |
H A D | dscreen_source_handler_test.cpp | 80 sptr<IRemoteObject> remoteObject = nullptr; in HWTEST_F() 100 sptr<DScreenSourceLoadCallback> loadCallback(new DScreenSourceLoadCallback(callbackParam)); in HWTEST_F() 121 sptr<DScreenSourceLoadCallback> loadCallback(new DScreenSourceLoadCallback(callbackParam)); in HWTEST_F() 358 sptr<ISystemAbilityManager> samgr = in HWTEST_F() 360 sptr<IRemoteObject> remoteObject1 = nullptr; in HWTEST_F() 364 sptr<IRemoteObject> remoteObject2 = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_SCREEN_SOURCE_SA_ID); in HWTEST_F()
|
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/include/ |
H A D | ext_extension.h | 189 sptr<IService> proxy); 190 ErrCode BigFileReady(const TarMap &bigFileInfo, sptr<IService> proxy); 193 void IncrementalPacket(const vector<struct ReportFileInfo> &infos, TarMap &tar, sptr<IService> proxy); 194 void DoPacket(const map<string, size_t> &srcFiles, TarMap &tar, sptr<IService> proxy); 291 sptr<IService> proxy); 293 sptr<IService> proxy);
|