/foundation/resourceschedule/background_task_mgr/services/test/unittest/ |
H A D | bg_efficiency_resources_mgr_test.cpp | 100 sptr<EfficiencyResourceInfo> resourceInfo = new (std::nothrow) EfficiencyResourceInfo(); in HWTEST_F() 136 sptr<EfficiencyResourceInfo> resourceInfo = new (std::nothrow) EfficiencyResourceInfo(1, true, 0, "apply", in HWTEST_F() 170 sptr<EfficiencyResourceInfo> resourceInfo = new (std::nothrow) EfficiencyResourceInfo(1, true, 0, "apply", in HWTEST_F() 197 sptr<EfficiencyResourceInfo> resourceInfo = new (std::nothrow) EfficiencyResourceInfo(1, true, 0, "apply", in HWTEST_F() 227 sptr<EfficiencyResourceInfo> resourceInfo = new (std::nothrow) EfficiencyResourceInfo(1, true, 2000, "apply", in HWTEST_F() 258 sptr<EfficiencyResourceInfo> resourceInfo = new (std::nothrow) EfficiencyResourceInfo(1, true, 0, "apply", in HWTEST_F() 418 sptr<EfficiencyResourceInfo> resourceInfo = new (std::nothrow) EfficiencyResourceInfo(ResourceType::CPU, true, in HWTEST_F() 474 sptr<EfficiencyResourceInfo> resourceInfo = new (std::nothrow) EfficiencyResourceInfo(1, true, 0, "apply", in HWTEST_F() 504 sptr<EfficiencyResourceInfo> resourceInfo = new (std::nothrow) EfficiencyResourceInfo( in HWTEST_F() 538 sptr<EfficiencyResourceInf in HWTEST_F() [all...] |
H A D | bgtask_misc_unit_test.cpp | 96 sptr<AppStateObserver> appStateObserver = sptr<AppStateObserver>(new AppStateObserver()); in HWTEST_F() 268 auto notificationRequest = sptr<Notification::NotificationRequest>(new Notification::NotificationRequest()); in HWTEST_F() 306 auto bgtaskService = sptr<BackgroundTaskMgrService>(new BackgroundTaskMgrService()); in HWTEST_F() 347 auto bgtaskService = sptr<BackgroundTaskMgrService>(new BackgroundTaskMgrService()); in HWTEST_F() 469 auto bgtaskService = sptr<BackgroundTaskMgrService>(new BackgroundTaskMgrService()); in HWTEST_F() 506 auto bgtaskService = sptr<BackgroundTaskMgrService>(new BackgroundTaskMgrService()); in HWTEST_F() 576 auto bgtaskService = sptr<BackgroundTaskMgrService>(new BackgroundTaskMgrService()); in HWTEST_F() 595 sptr<ConfigChangeObserver> configChangeObserver1 = sptr<ConfigChangeObserve in HWTEST_F() [all...] |
/foundation/window/window_manager/test/fuzztest/window_scene/screensessionmanager_fuzzer/ |
H A D | screensessionmanager_fuzzer.cpp | 35 std::pair<sptr<IScreenSessionManager>, sptr<IRemoteObject>> GetProxy() in GetProxy() 37 sptr<ISystemAbilityManager> systemAbilityManager = in GetProxy() 44 sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(DISPLAY_MANAGER_SERVICE_SA_ID); in GetProxy() 84 void IPCSpecificInterfaceFuzzTest1(sptr<IRemoteObject> proxy, MessageParcel& sendData, MessageParcel& reply, in IPCSpecificInterfaceFuzzTest1() 121 void IPCSpecificInterfaceFuzzTest2(sptr<IRemoteObject> proxy, MessageParcel& sendData, MessageParcel& reply, in IPCSpecificInterfaceFuzzTest2() 158 void IPCSpecificInterfaceFuzzTest3(sptr<IRemoteObject> proxy, MessageParcel& sendData, MessageParcel& reply, in IPCSpecificInterfaceFuzzTest3() 271 std::vector<sptr<ScreenInfo>> screenInfos; in ProxyInterfaceFuzzTestPart2() 285 sptr<IRemoteObject> displayManagerAgent = nullptr; in ProxyInterfaceFuzzTestPart2() 299 sptr<IBufferProduce in ProxyInterfaceFuzzTestPart3() [all...] |
/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/ |
H A D | net_stats_service_stub_test.cpp | 48 sptr<NetStatsNetwork> GetSptrNetworkData() in GetSptrNetworkData() 50 sptr<NetStatsNetwork> network = new (std::nothrow) NetStatsNetwork(); in GetSptrNetworkData() 114 const sptr<NetStatsNetwork> &network) override 120 const sptr<NetStatsNetwork> &network) override 130 int32_t RegisterNetStatsCallback(const sptr<INetStatsCallback> &callback) override 135 int32_t UnregisterNetStatsCallback(const sptr<INetStatsCallback> &callback) override 223 sptr<INetStatsCallback> callback = new (std::nothrow) NetStatsCallbackTestCb(); in HWTEST_F() 246 sptr<INetStatsCallback> callback = new (std::nothrow) NetStatsCallbackTestCb(); in HWTEST_F() 688 sptr<NetStatsNetwork> network = GetSptrNetworkData(); in HWTEST_F() 715 sptr<NetStatsNetwor in HWTEST_F() [all...] |
H A D | net_stats_service_test.cpp | 54 static inline sptr<NetStatsCallbackTest> callback_ = nullptr; 344 sptr<NetStatsNetwork> network = new (std::nothrow) NetStatsNetwork(); in HWTEST_F() 353 sptr<NetStatsNetwork> network = new (std::nothrow) NetStatsNetwork(); in HWTEST_F() 456 const sptr<NetStatsNetwork> network1 = nullptr; in HWTEST_F() 465 const sptr<NetStatsNetwork> network2 = new (std::nothrow) NetStatsNetwork(); in HWTEST_F() 481 const sptr<NetStatsNetwork> network = new (std::nothrow) NetStatsNetwork(); in HWTEST_F() 514 const sptr<NetStatsNetwork> network1 = nullptr; in HWTEST_F() 523 const sptr<NetStatsNetwork> network2 = new (std::nothrow) NetStatsNetwork(); in HWTEST_F() 538 const sptr<NetStatsNetwork> network = new (std::nothrow) NetStatsNetwork(); in HWTEST_F() 576 const sptr<NetStatsNetwor in HWTEST_F() [all...] |
H A D | net_stats_service_proxy_test.cpp | 108 bool AddDeathRecipient(const sptr<DeathRecipient> &recipient) override 113 bool RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) override 123 sptr<IRemoteBroker> AsInterface() override 157 static inline sptr<MockNetIRemoteObject> remoteObj_ = nullptr; 158 static inline sptr<INetStatsCallback> callback_ = nullptr; 757 sptr<NetStatsNetwork> network = new (std::nothrow) NetStatsNetwork(); in HWTEST_F() 771 sptr<NetStatsNetwork> network = new (std::nothrow) NetStatsNetwork(); in HWTEST_F() 785 sptr<NetStatsNetwork> network = new (std::nothrow) NetStatsNetwork(); in HWTEST_F() 799 sptr<NetStatsNetwork> network = new (std::nothrow) NetStatsNetwork(); in HWTEST_F() 812 sptr<NetStatsNetwor in HWTEST_F() [all...] |
/foundation/communication/netmanager_ext/frameworks/native/vpnextension/src/ |
H A D | js_vpn_extension.cpp | 69 auto *callbackInfo = static_cast<AppExecFwk::AbilityTransactionCallbackInfo<sptr<IRemoteObject>> *>(data); in OnConnectPromiseCallback() 70 sptr<IRemoteObject> vpn = nullptr; in OnConnectPromiseCallback() 75 AppExecFwk::AbilityTransactionCallbackInfo<sptr<IRemoteObject>>::Destroy(callbackInfo); in OnConnectPromiseCallback() 131 const sptr<IRemoteObject> &token) in Init() 190 displayListener_ = sptr<JsVpnExtensionDisplayListener>::MakeSptr(jsVpnExtension); in ListenWMS() 196 auto listener = sptr<SystemAbilityStatusChangeListener>::MakeSptr(displayListener_); in ListenWMS() 294 sptr<IRemoteObject> JsVpnExtension::OnConnect(const AAFwk::Want &want) in OnConnect() 306 sptr<IRemoteObject> JsVpnExtension::OnConnect(const AAFwk::Want &want, in OnConnect() 307 AppExecFwk::AbilityTransactionCallbackInfo<sptr<IRemoteObject>> *callbackInfo, bool &isAsyncCallback) in OnConnect() 315 sptr<IRemoteObjec in OnConnect() [all...] |
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/ |
H A D | net_stats_service_stub_test.cpp | 43 sptr<NetStatsNetwork> GetSptrNetworkData() in GetSptrNetworkData() 45 sptr<NetStatsNetwork> network = new (std::nothrow) NetStatsNetwork(); in GetSptrNetworkData() 109 const sptr<NetStatsNetwork> &network) override 115 const sptr<NetStatsNetwork> &network) override 125 int32_t RegisterNetStatsCallback(const sptr<INetStatsCallback> &callback) override 130 int32_t UnregisterNetStatsCallback(const sptr<INetStatsCallback> &callback) override 218 sptr<INetStatsCallback> callback = new (std::nothrow) NetStatsCallbackTestCb(); in HWTEST_F() 241 sptr<INetStatsCallback> callback = new (std::nothrow) NetStatsCallbackTestCb(); in HWTEST_F() 683 sptr<NetStatsNetwork> network = GetSptrNetworkData(); in HWTEST_F() 710 sptr<NetStatsNetwor in HWTEST_F() [all...] |
H A D | net_stats_service_proxy_test.cpp | 104 bool AddDeathRecipient(const sptr<DeathRecipient> &recipient) override 109 bool RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) override 119 sptr<IRemoteBroker> AsInterface() override 153 static inline sptr<MockNetIRemoteObject> remoteObj_ = nullptr; 154 static inline sptr<INetStatsCallback> callback_ = nullptr; 753 sptr<NetStatsNetwork> network = new (std::nothrow) NetStatsNetwork(); in HWTEST_F() 767 sptr<NetStatsNetwork> network = new (std::nothrow) NetStatsNetwork(); in HWTEST_F() 781 sptr<NetStatsNetwork> network = new (std::nothrow) NetStatsNetwork(); in HWTEST_F() 795 sptr<NetStatsNetwork> network = new (std::nothrow) NetStatsNetwork(); in HWTEST_F() 808 sptr<NetStatsNetwor in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/app_mgr_proxy_test/ |
H A D | app_mgr_proxy_test.cpp | 81 sptr<MockAppMgrService> mockAppMgrService_; 82 sptr<AppMgrProxy> appMgrProxy_; 206 sptr<IQuickFixCallback> callback = new QuickFixCallbackImpl(); in HWTEST_F() 229 sptr<IQuickFixCallback> callback = new QuickFixCallbackImpl(); in HWTEST_F() 252 sptr<IQuickFixCallback> callback = new QuickFixCallbackImpl(); in HWTEST_F() 432 sptr<IAbilityForegroundStateObserver> observer = new MockAbilityForegroundStateObserverStub(); in HWTEST_F() 449 sptr<IAbilityForegroundStateObserver> observer = nullptr; in HWTEST_F() 461 sptr<IAbilityForegroundStateObserver> observer = new MockAbilityForegroundStateObserverStub(); in HWTEST_F() 478 sptr<IAbilityForegroundStateObserver> observer = nullptr; in HWTEST_F() 491 sptr<IAppForegroundStateObserve in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/data_ability/ |
H A D | data_ability_manager.cpp | 43 sptr<IAbilityScheduler> DataAbilityManager::Acquire( in Acquire() 44 const AbilityRequest &abilityRequest, bool tryBind, const sptr<IRemoteObject> &client, bool isNotHap) in Acquire() 122 const sptr<IAbilityScheduler> &scheduler, const sptr<IRemoteObject> &client, bool isNotHap) in Release() 177 bool DataAbilityManager::ContainsDataAbility(const sptr<IAbilityScheduler> &scheduler) in ContainsDataAbility() 194 int DataAbilityManager::AttachAbilityThread(const sptr<IAbilityScheduler> &scheduler, const sptr<IRemoteObject> &token) in AttachAbilityThread() 245 int DataAbilityManager::AbilityTransitionDone(const sptr<IRemoteObject> &token, int state) in AbilityTransitionDone() 287 void DataAbilityManager::OnAbilityRequestDone(const sptr<IRemoteObject> &token, const int32_t state) in OnAbilityRequestDone() 393 std::shared_ptr<AbilityRecord> DataAbilityManager::GetAbilityRecordByToken(const sptr<IRemoteObjec [all...] |
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hcodec.h | 41 sptr<Surface> CreateInputSurface() override; 42 int32_t SetInputSurface(sptr<Surface> surface) override; 43 int32_t SetOutputSurface(sptr<Surface> surface) override; 137 sptr<SurfaceBuffer> surfaceBuffer; 192 virtual sptr<Surface> OnCreateInputSurface() { return nullptr; } in OnCreateInputSurface() 193 virtual int32_t OnSetInputSurface(sptr<Surface> &inputSurface) { return AVCS_ERR_UNSUPPORT; } in OnSetInputSurface() 207 const sptr<SurfaceBuffer>& surfaceBuffer); 217 bool WaitFence(const sptr<SyncFence>& fence); 219 const sptr<SurfaceBuffer>& surfaceBuffer, int64_t pts, uint32_t flag); 229 bool CheckBufPixFmt(const sptr<SurfaceBuffe in RepeatIfNecessary() [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/spatialization/ |
H A D | audio_spatialization_service.cpp | 42 static sptr<IStandardAudioService> g_adProxy = nullptr; 102 const sptr<IStandardAudioService> AudioSpatializationService::GetAudioServerProxy() in GetAudioServerProxy() 112 sptr<IRemoteObject> object = samgr->GetSystemAbility(AUDIO_DISTRIBUTED_SERVICE_ID); in GetAudioServerProxy() 120 const sptr<IStandardAudioService> gsp = g_adProxy; in GetAudioServerProxy() 162 int32_t AudioSpatializationService::SetSpatializationEnabled(const sptr<AudioDeviceDescriptor> &selectedAudioDevice, in SetSpatializationEnabled() 222 int32_t AudioSpatializationService::SetHeadTrackingEnabled(const sptr<AudioDeviceDescriptor> &selectedAudioDevice, in SetHeadTrackingEnabled() 252 void AudioSpatializationService::HandleSpatializationEnabledChange(const sptr<AudioDeviceDescriptor> in HandleSpatializationEnabledChange() 269 void AudioSpatializationService::HandleHeadTrackingEnabledChange(const sptr<AudioDeviceDescriptor> &selectedAudioDevice, in HandleHeadTrackingEnabledChange() 353 const StreamUsage streamUsage, const sptr<IRemoteObject> &object) in RegisterSpatializationStateEventListener() 358 sptr<IStandardSpatializationStateChangeListene in RegisterSpatializationStateEventListener() [all...] |
/foundation/communication/ipc/services/dbinder/test/unittest/ |
H A D | dbinder_service_stub_unittest.cpp | 244 sptr<DBinderService> dBinderService = DBinderService::GetInstance(); in HWTEST_F() 293 sptr<DBinderService> dBinderService = DBinderService::GetInstance(); in HWTEST_F() 486 sptr<IPCObjectStub> callbackStub = new (std::nothrow) IPCObjectStub(u"testStub"); in HWTEST_F() 507 sptr<IPCObjectStub> callbackStub = new (std::nothrow) IPCObjectStub(u"testStub"); in HWTEST_F() 528 sptr<IPCObjectProxy> callbackProxy = new (std::nothrow) IPCObjectProxy(0); in HWTEST_F() 549 sptr<IPCObjectProxy> callbackProxy = new (std::nothrow) IPCObjectProxy(0); in HWTEST_F() 587 sptr<IPCObjectProxy> callbackProxy = new (std::nothrow) IPCObjectProxy(0); in HWTEST_F() 608 sptr<IPCObjectProxy> callbackProxy = new (std::nothrow) IPCObjectProxy(0); in HWTEST_F() 629 sptr<IPCObjectStub> callbackStub = new (std::nothrow) IPCObjectStub(u"testStub"); in HWTEST_F() 650 sptr<IPCObjectStu in HWTEST_F() [all...] |
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/test/unittest/common/cameraoperator/ |
H A D | dcamera_client_test.cpp | 356 sptr<IConsumerSurface> videoSurface = IConsumerSurface::Create(); in HWTEST_F() 357 sptr<IBufferConsumerListener> videoListener(new DCameraClientTestVideoSurfaceListener()); in HWTEST_F() 368 sptr<IBufferProducer> bp = videoSurface->GetProducer(); in HWTEST_F() 369 sptr<Surface> pSurface = Surface::CreateSurfaceAsProducer(bp); in HWTEST_F() 417 sptr<IConsumerSurface> videoSurface = IConsumerSurface::Create(); in HWTEST_F() 418 sptr<IBufferConsumerListener> videoListener(new DCameraClientTestVideoSurfaceListener()); in HWTEST_F() 433 sptr<IBufferProducer> bp = videoSurface->GetProducer(); in HWTEST_F() 434 sptr<Surface> pSurface = Surface::CreateSurfaceAsProducer(bp); in HWTEST_F() 612 sptr<IConsumerSurface> videoSurface = IConsumerSurface::Create(); in HWTEST_F() 613 sptr<IBufferConsumerListene in HWTEST_F() [all...] |
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | session_stub_test.cpp | 48 sptr<SessionStub> session_ = nullptr;
124 sptr<IRemoteObjectMocker> iRemoteObjectMocker = new IRemoteObjectMocker();
in HWTEST_F() 213 sptr<IRemoteObjectMocker> iRemoteObjectMocker = new IRemoteObjectMocker();
in HWTEST_F() 260 sptr<IRemoteObjectMocker> iRemoteObjectMocker = new IRemoteObjectMocker();
in HWTEST_F() 308 sptr<IRemoteObjectMocker> iRemoteObjectMocker = new IRemoteObjectMocker();
in HWTEST_F() 355 sptr<IRemoteObjectMocker> iRemoteObjectMocker = new IRemoteObjectMocker();
in HWTEST_F() 393 sptr<IRemoteObjectMocker> iRemoteObjectMocker = new IRemoteObjectMocker();
in HWTEST_F() 460 sptr<IRemoteObjectMocker> iRemoteObjectMocker = new IRemoteObjectMocker();
in HWTEST_F() 476 sptr<IRemoteObjectMocker> iRemoteObjectMocker = new IRemoteObjectMocker();
in HWTEST_F() 492 sptr<IRemoteObjectMocke in HWTEST_F() [all...] |
/third_party/musl/src/crypt/ |
H A D | crypt_blowfish.c | 378 const unsigned char *sptr = (const unsigned char *)src; in BF_decode() local 382 BF_safe_atoi64(c1, *sptr++); in BF_decode() 383 BF_safe_atoi64(c2, *sptr++); in BF_decode() 387 BF_safe_atoi64(c3, *sptr++); in BF_decode() 391 BF_safe_atoi64(c4, *sptr++); in BF_decode() 400 const unsigned char *sptr = (const unsigned char *)src; in BF_encode() local 401 const unsigned char *end = sptr + size; in BF_encode() 406 c1 = *sptr++; in BF_encode() 409 if (sptr >= end) { in BF_encode() 414 c2 = *sptr in BF_encode() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_proxy.h | 36 explicit BundleMgrProxy(const sptr<IRemoteObject> &impl); 325 AbilityInfo &abilityInfo, const sptr<IRemoteObject> &callBack) override; 333 virtual bool SilentInstall(const Want &want, int32_t userId, const sptr<IRemoteObject> &callBack) override; 527 const std::string &bundleName, const sptr<ICleanCacheCallback> cleanCacheCallback, 543 virtual bool RegisterBundleStatusCallback(const sptr<IBundleStatusCallback> &bundleStatusCallback) override; 545 virtual bool RegisterBundleEventCallback(const sptr<IBundleEventCallback> &bundleEventCallback) override; 547 virtual bool UnregisterBundleEventCallback(const sptr<IBundleEventCallback> &bundleEventCallback) override; 553 virtual bool ClearBundleStatusCallback(const sptr<IBundleStatusCallback> &bundleStatusCallback) override; 670 virtual sptr<IBundleInstaller> GetBundleInstaller() override; 675 virtual sptr<IBundleUserMg [all...] |
/foundation/ability/form_fwk/services/src/ |
H A D | form_mgr_adapter.cpp | 128 const sptr<IRemoteObject> &callerToken, FormJsInfo &formJsInfo) in AddForm() 306 const sptr<IRemoteObject> &callerToken, FormJsInfo &formJsInfo, const FormItemInfo &formItemInfo) in AllotForm() 453 int FormMgrAdapter::DeleteForm(const int64_t formId, const sptr<IRemoteObject> &callerToken) in DeleteForm() 493 int FormMgrAdapter::DeleteCommonForm(const int64_t formId, const sptr<IRemoteObject> &callerToken) in DeleteCommonForm() 529 int FormMgrAdapter::ReleaseForm(const int64_t formId, const sptr<IRemoteObject> &callerToken, const bool delCache) in ReleaseForm() 579 ErrCode FormMgrAdapter::HandleReleaseForm(const int64_t formId, const sptr<IRemoteObject> &callerToken) in HandleReleaseForm() 606 ErrCode FormMgrAdapter::HandleDeleteForm(const int64_t formId, const sptr<IRemoteObject> &callerToken) in HandleDeleteForm() 646 ErrCode FormMgrAdapter::HandleDeleteTempForm(const int64_t formId, const sptr<IRemoteObject> &callerToken) in HandleDeleteTempForm() 792 int FormMgrAdapter::RequestForm(const int64_t formId, const sptr<IRemoteObject> &callerToken, const Want &want) in RequestForm() 827 const sptr<IRemoteObjec in NotifyWhetherVisibleForms() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/scene_board/ |
H A D | ui_ability_lifecycle_manager.cpp | 69 auto g_deleteLifecycleEventTask = [](const sptr<Token> &token, FreezeUtil::TimeoutState state) { 78 int UIAbilityLifecycleManager::StartUIAbility(AbilityRequest &abilityRequest, sptr<SessionInfo> sessionInfo, in StartUIAbility() 118 sptr<SessionInfo> sessionInfo, bool &isColdStart) in GenerateAbilityRecord() 155 bool UIAbilityLifecycleManager::CheckSessionInfo(sptr<SessionInfo> sessionInfo) const in CheckSessionInfo() 171 sptr<SessionInfo> sessionInfo) const in CreateAbilityRecord() 190 void UIAbilityLifecycleManager::AddCallerRecord(AbilityRequest &abilityRequest, sptr<SessionInfo> sessionInfo, in AddCallerRecord() 236 int UIAbilityLifecycleManager::AttachAbilityThread(const sptr<IAbilityScheduler> &scheduler, in AttachAbilityThread() 237 const sptr<IRemoteObject> &token) in AttachAbilityThread() 284 void UIAbilityLifecycleManager::OnAbilityRequestDone(const sptr<IRemoteObject> &token, int32_t state) const in OnAbilityRequestDone() 306 int UIAbilityLifecycleManager::AbilityTransactionDone(const sptr<IRemoteObjec [all...] |
/foundation/CastEngine/castengine_cast_framework/service/src/session/include/ |
H A D | cast_session_impl_class.h | 64 int32_t RegisterListener(sptr<ICastSessionListenerImpl> listener) override; 74 int32_t CreateMirrorPlayer(sptr<IMirrorPlayerImpl> &mirrorPlayer) override; 75 int32_t CreateStreamPlayer(sptr<IStreamPlayerIpc> &streamPlayer) override; 90 int32_t SetSurface(sptr<IBufferProducer> producer); 192 sptr<IMirrorPlayerImpl> MirrorPlayerGetter(); 207 void OnEventInner(sptr<CastSessionImpl> session, EventId eventId, const std::string &jsonParam); 225 std::map<pid_t, sptr<ICastSessionListenerImpl>> listeners_; 226 sptr<IMirrorPlayerImpl> mirrorPlayer_;
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | module_running_record.cpp | 56 const sptr<IRemoteObject> &token) const in GetAbilityRunningRecordByToken() 70 std::shared_ptr<AbilityRunningRecord> ModuleRunningRecord::AddAbility(sptr<IRemoteObject> token, in AddAbility() 95 bool ModuleRunningRecord::IsLastAbilityRecord(const sptr<IRemoteObject> &token) in IsLastAbilityRecord() 133 const std::map<const sptr<IRemoteObject>, std::shared_ptr<AbilityRunningRecord>> ModuleRunningRecord::GetAbilities() in GetAbilities() 141 const sptr<IRemoteObject> &token) const in GetAbilityByTerminateLists() 234 const sptr<IRemoteObject> &token, const bool isForce) in TerminateAbility() 291 void ModuleRunningRecord::AbilityTerminated(const sptr<IRemoteObject> &token) in AbilityTerminated() 305 bool ModuleRunningRecord::RemoveTerminateAbilityTimeoutTask(const sptr<IRemoteObject>& token) const in RemoveTerminateAbilityTimeoutTask()
|
/foundation/ability/ability_runtime/test/unittest/connection_state_manager_test/ |
H A D | connection_state_manager_test.cpp | 43 sptr<IAbilityConnection> callback_ {nullptr}; 50 const AppExecFwk::ElementName& element, const sptr<IRemoteObject>& remoteObject, int resultCode) override 54 sptr<IRemoteObject> AsObject() override 89 sptr<IConnectionObserver> observer = nullptr; in HWTEST_F() 104 sptr<IConnectionObserver> observer = nullptr; in HWTEST_F() 120 sptr<IConnectionObserver> observer = nullptr; in HWTEST_F() 135 sptr<IConnectionObserver> observer = nullptr; in HWTEST_F() 709 sptr<IRemoteObject> abilityToken; in HWTEST_F()
|
/foundation/ability/ability_runtime/frameworks/js/napi/app/js_app_manager/ |
H A D | js_app_state_observer.cpp | 43 sptr<JSAppStateObserver> jsObserverSptr = jsObserver.promote(); in OnForegroundApplicationChanged() 78 sptr<JSAppStateObserver> jsObserverSptr = jsObserver.promote(); in OnAbilityStateChanged() 112 sptr<JSAppStateObserver> jsObserverSptr = jsObserver.promote(); in OnExtensionStateChanged() 146 sptr<JSAppStateObserver> jsObserverSptr = jsObserver.promote(); in OnProcessCreated() 180 sptr<JSAppStateObserver> jsObserverSptr = jsObserver.promote(); in OnProcessStateChanged() 214 sptr<JSAppStateObserver> jsObserverSptr = jsObserver.promote(); in OnProcessDied() 249 sptr<JSAppStateObserver> jsObserverSptr = jsObserver.promote(); in OnAppStarted() 289 sptr<JSAppStateObserver> jsObserverSptr = jsObserver.promote(); in OnAppStopped()
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_ability_runtime_test/ |
H A D | local_call_record_ut_test.cpp | 48 OHOS::sptr<OHOS::IRemoteObject> abilityObject = new (std::nothrow) MockServiceAbilityManagerService(); in SetUpTestCase() 77 sptr<IRemoteObject> call = new (std::nothrow) MockServiceAbilityManagerService(); in HWTEST_F() 223 callback->SetCallBack([](const sptr<IRemoteObject>&) {}); in HWTEST_F() 289 callback->SetCallBack([](const sptr<IRemoteObject>&) {}); in HWTEST_F() 423 sptr<IRemoteObject> remote = new (std::nothrow) MockServiceAbilityManagerService(); in HWTEST_F() 438 sptr<IRemoteObject> remote = nullptr; in HWTEST_F() 452 sptr<IRemoteObject> remote = new (std::nothrow) MockServiceAbilityManagerService(); in HWTEST_F() 492 sptr<IRemoteObject> connect = new (std::nothrow) MockServiceAbilityManagerService(); in HWTEST_F()
|