/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | dns_manager.cpp | 155 int32_t DnsManager::RegisterDnsResultCallback(const sptr<NetsysNative::INetDnsResultCallback> &callback, in RegisterDnsResultCallback() 161 int32_t DnsManager::UnregisterDnsResultCallback(const sptr<NetsysNative::INetDnsResultCallback> &callback) in UnregisterDnsResultCallback() 166 int32_t DnsManager::RegisterDnsHealthCallback(const sptr<NetsysNative::INetDnsHealthCallback> &callback) in RegisterDnsHealthCallback() 171 int32_t DnsManager::UnregisterDnsHealthCallback(const sptr<NetsysNative::INetDnsHealthCallback> &callback) in UnregisterDnsHealthCallback() 229 int32_t DnsManager::SetFirewallRules(NetFirewallRuleType type, const std::vector<sptr<NetFirewallBaseRule>> &ruleList, in SetFirewallRules() 240 int32_t DnsManager::RegisterNetFirewallCallback(const sptr<NetsysNative::INetFirewallCallback> &callback) in RegisterNetFirewallCallback() 244 int32_t DnsManager::UnRegisterNetFirewallCallback(const sptr<NetsysNative::INetFirewallCallback> &callback) in UnRegisterNetFirewallCallback()
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/ |
H A D | networkshare_manager_test.cpp | 47 void OnSharingUpstreamChanged(const sptr<NetHandle> netHandle); 50 sptr<TestSharingEventCallback> g_sharingEventCb = new (std::nothrow) TestSharingEventCallback(); 82 void TestSharingEventCallback::OnSharingUpstreamChanged(const sptr<NetHandle> netHandle) in OnSharingUpstreamChanged() 90 sptr<IRemoteObject> remoteObject; in HWTEST_F() 188 sptr<ISharingEventCallback> callback = nullptr; in HWTEST_F() 196 sptr<ISharingEventCallback> callback = nullptr; in HWTEST_F() 204 sptr<ISharingEventCallback> callback = nullptr; in HWTEST_F()
|
/foundation/communication/netmanager_base/frameworks/js/napi/connection/observer/src/ |
H A D | net_conn_callback_observer.cpp | 24 int32_t NetConnCallbackObserver::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable() 58 int32_t NetConnCallbackObserver::NetCapabilitiesChange(sptr<NetHandle> &netHandle, in NetCapabilitiesChange() 59 const sptr<NetAllCapabilities> &netAllCap) in NetCapabilitiesChange() 94 int32_t NetConnCallbackObserver::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange() 95 const sptr<NetLinkInfo> &info) in NetConnectionPropertiesChange() 130 int32_t NetConnCallbackObserver::NetLost(sptr<NetHandle> &netHandle) in NetLost() 192 int32_t NetConnCallbackObserver::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
|
/foundation/communication/netmanager_base/test/fuzztest/common_fuzzer/ |
H A D | common_fuzzer.cpp | 120 sptr<NetLinkInfo> netLinkInfo = new (std::nothrow) NetLinkInfo(); in UpdateNetLinkInfoFuzzTest() 134 sptr<NetSupplierInfo> netSupplierInfo = new (std::nothrow) NetSupplierInfo(); in UpdateNetSupplierInfoFuzzTest() 146 sptr<NetConnServiceIface> serviceIface = new (std::nothrow) NetConnServiceIface(); in RegisterConnServiceFuzzTest() 179 sptr<NetStatsBaseService> service = nullptr; in RegisterStatsServiceFuzzTest() 206 sptr<NetPolicyBaseService> service = new (std::nothrow) NetPolicyServiceCommon(); in RegisterPolicyServiceFuzzTest() 228 sptr<NetEthernetBaseService> service = nullptr; in RegisterEthernetServiceFuzzTest() 248 sptr<DnsBaseService> service = nullptr; in RegisterDnsServiceFuzzTest()
|
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/sys_vpn_manager_test/ |
H A D | vpn_database_helper_test.cpp | 90 sptr<VpnDataBean> vpnBean = new (std::nothrow) VpnDataBean(); in HWTEST_F() 107 sptr<VpnDataBean> vpnBean = nullptr; in HWTEST_F() 123 sptr<VpnDataBean> vpnBean = nullptr; in HWTEST_F() 133 sptr<VpnDataBean> vpnBean = nullptr; in HWTEST_F() 162 sptr<VpnDataBean> vpnBean = new (std::nothrow) VpnDataBean(); in HWTEST_F() 179 sptr<VpnDataBean> vpnBean = new (std::nothrow) VpnDataBean(); in HWTEST_F() 210 sptr<VpnDataBean> vpnBean = new (std::nothrow) VpnDataBean(); in HWTEST_F()
|
/foundation/communication/netmanager_ext/test/networksharemanager/unittest/networkshare_manager_test/ |
H A D | networkshare_manager_test.cpp | 47 void OnSharingUpstreamChanged(const sptr<NetHandle> netHandle); 50 sptr<TestSharingEventCallback> g_sharingEventCb = new (std::nothrow) TestSharingEventCallback(); 82 void TestSharingEventCallback::OnSharingUpstreamChanged(const sptr<NetHandle> netHandle) in OnSharingUpstreamChanged() 90 sptr<IRemoteObject> remoteObject; in HWTEST_F() 186 sptr<ISharingEventCallback> callback = nullptr; in HWTEST_F() 194 sptr<ISharingEventCallback> callback = nullptr; in HWTEST_F() 202 sptr<ISharingEventCallback> callback = nullptr; in HWTEST_F()
|
/foundation/communication/nfc/test/unittest/services/controller_test/ |
H A D | nfc_controller_test.cpp | 49 OHOS::sptr<OHOS::IRemoteObject> AsObject() override 164 const sptr<NfcControllerCallBackStub> g_nfcControllerCallbackStub = in HWTEST_F() 165 sptr<NfcControllerCallBackStub>(new (std::nothrow) NfcControllerCallBackStub()); in HWTEST_F() 190 OHOS::sptr<IRemoteObject> objsPtr = ctrl.GetTagServiceIface(); in HWTEST_F() 202 sptr<NFC::NfcControllerImpl> impl = new NFC::NfcControllerImpl(nfcService); in HWTEST_F() 226 sptr<NFC::NfcControllerImpl> impl2 = new NFC::NfcControllerImpl(nfcService2); in HWTEST_F() 250 sptr<INdefMsgCallback> callback = nullptr; in HWTEST_F()
|
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/service/ |
H A D | udmf_service_client.cpp | 29 sptr<DistributedKv::IKvStoreDataService> UdmfServiceClient::kvDataServiceProxy_; 31 UdmfServiceClient::UdmfServiceClient(const sptr<UdmfServiceProxy> &proxy) : udmfProxy_(proxy) in UdmfServiceClient() 42 sptr<DistributedKv::IKvStoreDataService> ability = GetDistributedKvDataService(); in GetInstance() 46 sptr<IRemoteObject> service = ability->GetFeatureInterface("udmf"); in GetInstance() 50 sptr<UdmfServiceProxy> proxy = iface_cast<UdmfServiceProxy>(service); in GetInstance() 58 sptr<DistributedKv::IKvStoreDataService> UdmfServiceClient::GetDistributedKvDataService() in GetDistributedKvDataService() 76 sptr<UdmfServiceClient::ServiceDeathRecipient> deathRecipientPtr = new (std::nothrow)ServiceDeathRecipient(); in GetDistributedKvDataService()
|
/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_source/src/ |
H A D | dscreen_source_proxy.cpp | 31 int32_t DScreenSourceProxy::InitSource(const std::string ¶ms, const sptr<IDScreenSourceCallback> &callback) in InitSource() 37 sptr<IRemoteObject> remote = Remote(); in InitSource() 63 sptr<IRemoteObject> remote = Remote(); in ReleaseSource() 89 sptr<IRemoteObject> remote = Remote(); in RegisterDistributedHardware() 121 sptr<IRemoteObject> remote = Remote(); in UnregisterDistributedHardware() 152 sptr<IRemoteObject> remote = Remote(); in ConfigDistributedHardware() 183 sptr<IRemoteObject> remote = Remote(); in DScreenNotify()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/ |
H A D | hdioutput_test.cpp | 95 sptr<SyncFence> fbFence = SyncFence::INVALID_FENCE;
in HWTEST_F() 242 sptr<SyncFence> fbFence = SyncFence::INVALID_FENCE;
in HWTEST_F() 270 sptr<SyncFence> fbFence = SyncFence::INVALID_FENCE;
in HWTEST_F() 287 sptr<SurfaceBuffer> buffer = new SurfaceBufferImpl();
in HWTEST_F() 307 sptr<SurfaceBuffer> buffer = new SurfaceBufferImpl();
in HWTEST_F() 327 sptr<SurfaceBuffer> buffer = new SurfaceBufferImpl();
in HWTEST_F() 353 sptr<SyncFence> fbFence = SyncFence::INVALID_FENCE;
in HWTEST_F()
|
/foundation/multimedia/av_session/services/session/server/ |
H A D | avsession_service.cpp | 106 void OnResponse(int32_t notificationId, sptr<Notification::NotificationButtonOption> buttonOption) {} in OnResponse() 535 void AVSessionService::UpdateTopSession(const sptr<AVSessionItem>& newTopSession) in UpdateTopSession() 593 std::shared_ptr<std::list<sptr<AVSessionItem>>> sessionListForFront = GetCurSessionListForFront(); in HandleFocusSession() 610 void AVSessionService::RefreshFocusSessionSort(sptr<AVSessionItem> &session) in RefreshFocusSessionSort() 649 void AVSessionService::UpdateFrontSession(sptr<AVSessionItem>& sessionItem, bool isAdd) in UpdateFrontSession() 652 std::shared_ptr<std::list<sptr<AVSessionItem>>> sessionListForFront = GetCurSessionListForFront(); in UpdateFrontSession() 687 std::shared_ptr<std::list<sptr<AVSessionItem>>> sessionListForFront = GetCurSessionListForFront(); in SelectFocusSession() 720 sptr <AVSessionItem> AVSessionService::SelectSessionByUid(const AudioRendererChangeInfo& info) in SelectSessionByUid() 819 inline std::shared_ptr<std::list<sptr<AVSessionItem>>> AVSessionService::GetCurSessionListForFront() in GetCurSessionListForFront() 850 sptr<AVControllerIte [all...] |
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/ |
H A D | fms_form_mgr_service_test2.cpp | 56 extern void MockGetAbilityManager(sptr<AAFwk::IAbilityManager> abilityManager); 68 explicit MockBundleMgrProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IBundleMgr>(impl) in MockBundleMgrProxy() 74 const sptr<IRemoteObject> &callBack)); 134 sptr<IBundleInstaller> GetBundleInstaller() override 191 const sptr<IRemoteObject> callerToken = nullptr; in HWTEST_F() 264 const sptr<IRemoteObject> callerToken = nullptr; in HWTEST_F() 293 const sptr<IRemoteObject> callerToken = new (std::nothrow) MockFormProviderClient(); in HWTEST_F() 340 const sptr<IRemoteObject> callerToken = new (std::nothrow) MockFormProviderClient();; in HWTEST_F() 558 const sptr<IRemoteObject> callerToken = nullptr; in HWTEST_F() 632 const sptr<IRemoteObjec in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/mission_list_manager_ut_test/ |
H A D | mission_list_manager_ut_test.cpp | 75 const AppExecFwk::ElementName& element, const sptr<IRemoteObject>& remoteObject, int resultCode) {}; in OnAbilityConnectDone() 110 sptr<IAbilityConnection> connCallback = new (std::nothrow) MissionListManagerTestStub(); in HWTEST_F() 111 sptr<IRemoteObject> callToken = nullptr; in HWTEST_F() 150 sptr<IAbilityConnection> connCallback = new (std::nothrow) MissionListManagerTestStub(); in HWTEST_F() 151 sptr<IRemoteObject> callToken = nullptr; in HWTEST_F() 189 sptr<IAbilityConnection> connCallback = new (std::nothrow) MissionListManagerTestStub(); in HWTEST_F() 190 sptr<IAbilityConnection> connCallback1 = new (std::nothrow) MissionListManagerTestStub(); in HWTEST_F() 191 sptr<IRemoteObject> callToken = nullptr; in HWTEST_F() 267 sptr<MissionListManagerTestStub> connCallback = new (std::nothrow) MissionListManagerTestStub(); in HWTEST_F() 293 sptr<MissionListManagerTestStu in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_interface.h | 448 const sptr<IRemoteObject> &callBack) in QueryAbilityInfo() 459 virtual bool SilentInstall(const Want &want, int32_t userId, const sptr<IRemoteObject> &callBack) in SilentInstall() 700 const std::string &bundleName, const sptr<ICleanCacheCallback> cleanCacheCallback, in CleanBundleCacheFiles() 730 virtual bool RegisterBundleStatusCallback(const sptr<IBundleStatusCallback> &bundleStatusCallback) in RegisterBundleStatusCallback() 735 virtual bool RegisterBundleEventCallback(const sptr<IBundleEventCallback> &bundleEventCallback) in RegisterBundleEventCallback() 740 virtual bool UnregisterBundleEventCallback(const sptr<IBundleEventCallback> &bundleEventCallback) in UnregisterBundleEventCallback() 749 virtual bool ClearBundleStatusCallback(const sptr<IBundleStatusCallback> &bundleStatusCallback) in ClearBundleStatusCallback() 993 virtual sptr<IBundleInstaller> GetBundleInstaller() in GetBundleInstaller() 1001 virtual sptr<IBundleUserMgr> GetBundleUserMgr() in GetBundleUserMgr() 1009 virtual sptr<IVerifyManage [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_main_thread.h | 72 sptr<ScheduledTask<Task>> t(new ScheduledTask(std::forward<Task&&>(task))); in Create() 175 void RegisterApplicationAgent(uint32_t pid, sptr<IApplicationAgent> app); 176 void UnRegisterApplicationAgent(sptr<IApplicationAgent> app); 178 void RegisterOcclusionChangeCallback(pid_t pid, sptr<RSIOcclusionChangeCallback> callback); 182 NodeId id, pid_t pid, sptr<RSISurfaceOcclusionChangeCallback> callback, std::vector<float>& partitionPoints); 200 sptr<VSyncDistributor> rsVSyncDistributor_; 201 sptr<VSyncController> rsVSyncController_; 202 sptr<VSyncController> appVSyncController_; 203 sptr<VSyncGenerator> vsyncGenerator_; 262 void SetAppVSyncDistributor(const sptr<VSyncDistributo in GetDrawStatusVec() [all...] |
/foundation/communication/netmanager_ext/test/networksharemanager/fuzztest/netshareclient_fuzzer/ |
H A D | netshare_client_fuzzer.cpp | 111 void OnSharingUpstreamChanged(const sptr<NetHandle> netHandle) in OnSharingUpstreamChanged() 278 sptr<ISharingEventCallback> callback = new (std::nothrow) INetShareCallbackTest(); in RegisterSharingEventFuzzTest() 296 sptr<ISharingEventCallback> callback = new (std::nothrow) INetShareCallbackTest(); in UnregisterSharingEventFuzzTest() 426 sptr<NetHandle> netHandle = new (std::nothrow) NetHandle(num); in NetworkShareSubStateMachineFuzzTest() 427 sptr<NetAllCapabilities> netcap = new (std::nothrow) NetManagerStandard::NetAllCapabilities(); in NetworkShareSubStateMachineFuzzTest() 428 sptr<NetLinkInfo> netlinkinfo = new (std::nothrow) NetManagerStandard::NetLinkInfo(); in NetworkShareSubStateMachineFuzzTest() 483 sptr<NetHandle> handle = new (std::nothrow) NetHandle(GetData<int32_t>()); in NetworkShareSubStateMachinePrivateFuzzTest() 484 sptr<NetAllCapabilities> netcap = new (std::nothrow) NetManagerStandard::NetAllCapabilities(); in NetworkShareSubStateMachinePrivateFuzzTest() 485 sptr<NetLinkInfo> link = new (std::nothrow) NetManagerStandard::NetLinkInfo(); in NetworkShareSubStateMachinePrivateFuzzTest() 509 sptr<NetHandl in UpstreammonitorFuzzTest() [all...] |
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/src/ |
H A D | dcamera_client.cpp | 59 std::vector<sptr<CameraStandard::CameraDevice>> cameraList = cameraManager_->GetSupportedCameras(); in Init() 115 int32_t ret = ((sptr<CameraStandard::CameraInput> &)cameraInput_)->SetCameraSettings(metadataStr); in UpdateSettings() 176 sptr<Surface>& surface, int32_t sceneMode) in StartCapture() 266 int32_t ret = ((sptr<CameraStandard::PreviewOutput> &)previewOutput_)->Stop(); in StopOutput() 336 int rv = cameraManager_->CreateCameraInput(cameraInfo_, &((sptr<CameraStandard::CameraInput> &)cameraInput_)); in ConfigCaptureSession() 341 int32_t rc = ((sptr<CameraStandard::CameraInput> &)cameraInput_)->Open(); in ConfigCaptureSession() 348 ((sptr<CameraStandard::CameraInput> &)cameraInput_)->SetErrorCallback(inputCallback); in ConfigCaptureSession() 353 int32_t ret = ((sptr<CameraStandard::CameraInput> &)cameraInput_)->SetCameraSettings(metadataStr); in ConfigCaptureSession() 470 photoListener_ = sptr<DCameraPhotoSurfaceListener>( in CreatePhotoOutput() 472 photoSurface_->RegisterConsumerListener((sptr<IBufferConsumerListene in CreatePhotoOutput() [all...] |
/foundation/window/window_manager/window_scene/session_manager/src/zidl/ |
H A D | scene_session_manager_lite_stub.cpp | 136 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandleSetSessionLabel() 150 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandleSetSessionIcon() 176 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandlePendingSessionToForeground() 189 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandlePendingSessionToBackgroundForDelegator() 207 sptr<ISessionListener> listener = iface_cast<ISessionListener>(data.ReadRemoteObject()); in HandleRegisterSessionListener() 221 sptr<ISessionListener> listener = iface_cast<ISessionListener>(data.ReadRemoteObject()); in HandleUnRegisterSessionListener() 334 sptr<AAFwk::SessionInfo> abilitySessionInfo = data.ReadParcelable<AAFwk::SessionInfo>(); in HandleTerminateSessionNew() 357 sptr<IRemoteObject> token = nullptr; in HandleGetFocusSessionToken() 377 sptr <IRemoteObject> token = data.ReadRemoteObject(); in HandleSetSessionContinueState() 517 sptr<IRemoteObjec in HandleRegisterWindowManagerAgent() [all...] |
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/ |
H A D | main_thread.h | 219 void ScheduleLaunchAbility(const AbilityInfo &info, const sptr<IRemoteObject> &token, 229 void ScheduleCleanAbility(const sptr<IRemoteObject> &token, bool isCacheProcess = false) override; 283 int32_t ScheduleNotifyLoadRepairPatch(const std::string &bundleName, const sptr<IQuickFixCallback> &callback, 286 int32_t ScheduleNotifyHotReloadPage(const sptr<IQuickFixCallback> &callback, const int32_t recordId) override; 289 const sptr<IQuickFixCallback> &callback, const int32_t recordId) override; 382 void HandleCleanAbilityLocal(const sptr<IRemoteObject> &token); 427 void HandleCleanAbility(const sptr<IRemoteObject> &token, bool isCacheProcess = false); 631 MainHandler(const std::shared_ptr<EventRunner> &runner, const sptr<MainThread> &thread); 658 sptr<IAppMgr> appMgr_ = nullptr; // appMgrService Handler 659 sptr<IRemoteObjec [all...] |
/foundation/ability/form_fwk/services/src/ |
H A D | form_supply_callback.cpp | 40 sptr<FormSupplyCallback> FormSupplyCallback::instance_ = nullptr; 44 sptr<FormSupplyCallback> FormSupplyCallback::GetInstance() in GetInstance() 180 void FormSupplyCallback::AddConnection(sptr<FormAbilityConnection> connection) in AddConnection() 203 sptr<FormAbilityConnection> connection = nullptr; in RemoveConnection() 228 bool FormSupplyCallback::CanDisconnect(sptr<FormAbilityConnection> &connection) in CanDisconnect() 259 bool FormSupplyCallback::IsRemoveConnection(int64_t formId, const sptr<IRemoteObject> &hostToken) in IsRemoveConnection() 285 void FormSupplyCallback::RemoveConnection(int64_t formId, const sptr<IRemoteObject> &hostToken) in RemoveConnection() 304 void FormSupplyCallback::HandleHostDied(const sptr<IRemoteObject> &hostToken) in HandleHostDied() 374 sptr<IRemoteObject> remoteObjectOfHost = want.GetRemoteObject(Constants::PARAM_FORM_HOST_TOKEN); in OnRecycleForm() 379 sptr<IFormHos in OnRecycleForm() [all...] |
/foundation/ability/form_fwk/test/unittest/fms_form_supply_callback_test/ |
H A D | form_supply_callback_test.cpp | 127 sptr<IRemoteObject> hostToken = new (std::nothrow) MockFormProviderClient(); in HWTEST_F() 128 sptr<FormAbilityConnection> providerToken = new (std::nothrow) FormAbilityConnection(); in HWTEST_F() 146 sptr<IRemoteObject> hostToken = new (std::nothrow) MockFormProviderClient(); in HWTEST_F() 147 sptr<FormAbilityConnection> providerToken = new (std::nothrow) FormAbilityConnection(); in HWTEST_F() 165 sptr<IRemoteObject> hostToken = new (std::nothrow) MockFormProviderClient(); in HWTEST_F() 195 sptr<IRemoteObject> hostToken = new (std::nothrow) MockFormProviderClient(); in HWTEST_F() 196 sptr<FormAbilityConnection> providerToken = new (std::nothrow) FormAbilityConnection(); in HWTEST_F() 215 sptr<IRemoteObject> hostToken = new (std::nothrow) MockFormProviderClient(); in HWTEST_F() 216 sptr<FormAbilityConnection> providerToken = new (std::nothrow) FormAbilityConnection(); in HWTEST_F() 458 sptr<IRemoteObjec in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/dataobs_mgr_service_test/ |
H A D | dataobs_mgr_service_test.cpp | 77 const sptr<MockDataAbilityObserverStub> dataobsAbility(new (std::nothrow) MockDataAbilityObserverStub()); in HWTEST_F() 121 const sptr<MockDataAbilityObserverStub> dataobsAbility(new (std::nothrow) MockDataAbilityObserverStub()); in HWTEST_F() 146 const sptr<MockDataAbilityObserverStub> dataobsAbility(new (std::nothrow) MockDataAbilityObserverStub()); in HWTEST_F() 190 const sptr<MockDataAbilityObserverStub> dataobsAbility(new (std::nothrow) MockDataAbilityObserverStub()); in HWTEST_F() 303 const sptr<MockDataAbilityObserverStub> dataobsAbility(new (std::nothrow) MockDataAbilityObserverStub()); in HWTEST_F() 345 const sptr<MockDataAbilityObserverStub> dataobsAbility(new (std::nothrow) MockDataAbilityObserverStub()); in HWTEST_F() 368 const sptr<MockDataAbilityObserverStub> dataobsAbility(new (std::nothrow) MockDataAbilityObserverStub()); in HWTEST_F() 390 const sptr<MockDataAbilityObserverStub> dataobsAbility(new (std::nothrow) MockDataAbilityObserverStub()); in HWTEST_F() 432 const sptr<MockDataAbilityObserverStub> dataobsAbility(new (std::nothrow) MockDataAbilityObserverStub()); in HWTEST_F() 475 const sptr<MockDataAbilityObserverStu in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | extension_test.cpp | 56 sptr<IRemoteObject> token = new AppExecFwk::MockAbilityToken(); in SetUp() 80 sptr<IRemoteObject> token = nullptr; in HWTEST_F() 99 sptr<IRemoteObject> token = nullptr; in HWTEST_F() 123 sptr<IRemoteObject> token = nullptr; in HWTEST_F() 145 sptr<IRemoteObject> token = nullptr; in HWTEST_F() 164 sptr<IRemoteObject> token = new AppExecFwk::MockAbilityToken(); in HWTEST_F() 387 sptr<AAFwk::SessionInfo> session = new (std::nothrow) AAFwk::SessionInfo(); in HWTEST_F() 415 sptr<Rosen::IWindowLifeCycle> listener = nullptr; in HWTEST_F() 428 sptr<AAFwk::SessionInfo> session = new (std::nothrow) AAFwk::SessionInfo(); in HWTEST_F() 503 sptr<AAFw in HWTEST_F() [all...] |
H A D | ability_thread_dataability_test.cpp | 93 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 157 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 220 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 279 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() 334 sptr<IRemoteObject> token = sptr<IRemoteObjec in HWTEST_F() [all...] |
/foundation/bundlemanager/app_domain_verify/test/unittest/client/app_domain_verify_mgr_client_test/ |
H A D | app_domain_verify_mgr_client_test.cpp | 141 AppDomainVerifyMgrClient::appDomainVerifyMgrServiceProxy_ = sptr<AppDomainVerifyMgrServiceProxy>::MakeSptr( in HWTEST_F() 163 AppDomainVerifyMgrClient::appDomainVerifyMgrServiceProxy_ = sptr<AppDomainVerifyMgrServiceProxy>::MakeSptr( in HWTEST_F() 185 AppDomainVerifyMgrClient::appDomainVerifyMgrServiceProxy_ = sptr<AppDomainVerifyMgrServiceProxy>::MakeSptr( in HWTEST_F() 226 AppDomainVerifyMgrClient::appDomainVerifyMgrServiceProxy_ = sptr<AppDomainVerifyMgrServiceProxy>::MakeSptr( in HWTEST_F() 230 sptr<IConvertCallback> cb = new CallBack; in HWTEST_F() 246 AppDomainVerifyMgrClient::appDomainVerifyMgrServiceProxy_ = sptr<AppDomainVerifyMgrServiceProxy>::MakeSptr( in HWTEST_F() 265 AppDomainVerifyMgrClient::appDomainVerifyMgrServiceProxy_ = sptr<AppDomainVerifyMgrServiceProxy>::MakeSptr( in HWTEST_F() 284 AppDomainVerifyMgrClient::appDomainVerifyMgrServiceProxy_ = sptr<AppDomainVerifyMgrServiceProxy>::MakeSptr( in HWTEST_F() 300 sptr<AppDomainVerifyMgrRemoteStubMock> mgrStubMock_(impl.get()); in HWTEST_F() 318 sptr<AppDomainVerifyMgrRemoteStubMoc in HWTEST_F() [all...] |