Home
last modified time | relevance | path

Searched refs:dmsDeath_ (Results 1 - 8 of 8) sorted by relevance

/foundation/window/window_manager/dm_lite/test/unittest/
H A Ddisplay_manager_adapter_lite_test.cpp56 sptr<IRemoteObject::DeathRecipient> dmsDeath_ = nullptr; in HWTEST_F() local
57 dmsDeath_ = new(std::nothrow) DMSDeathRecipientLite(SingletonContainer::Get<DisplayManagerAdapterLite>()); in HWTEST_F()
58 dmsDeath_->OnRemoteDied(nullptr); in HWTEST_F()
59 ASSERT_NE(dmsDeath_, nullptr); in HWTEST_F()
69 sptr<IRemoteObject::DeathRecipient> dmsDeath_ = nullptr; in HWTEST_F() local
70 dmsDeath_ = new(std::nothrow) DMSDeathRecipientLite(SingletonContainer::Get<DisplayManagerAdapterLite>()); in HWTEST_F()
75 dmsDeath_->OnRemoteDied(wptrDeath); in HWTEST_F()
76 ASSERT_NE(dmsDeath_, nullptr); in HWTEST_F()
/foundation/window/window_manager/dm_lite/src/
H A Ddisplay_manager_adapter_lite.cpp82 dmsDeath_ = new(std::nothrow) DMSDeathRecipientLite(*this); in InitDMSProxy()
83 if (dmsDeath_ == nullptr) { in InitDMSProxy()
87 if (remoteObject->IsProxyObject() && !remoteObject->AddDeathRecipient(dmsDeath_)) { in InitDMSProxy()
299 displayManagerServiceProxy_->AsObject()->RemoveDeathRecipient(dmsDeath_); in Clear()
/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_manager_adapter_test.cpp215 sptr<IRemoteObject::DeathRecipient> dmsDeath_ = nullptr; in HWTEST_F() local
216 dmsDeath_ = new(std::nothrow) DMSDeathRecipient(SingletonContainer::Get<ScreenManagerAdapter>()); in HWTEST_F()
217 dmsDeath_->OnRemoteDied(nullptr); in HWTEST_F()
218 EXPECT_NE(nullptr, dmsDeath_); in HWTEST_F()
228 sptr<IRemoteObject::DeathRecipient> dmsDeath_ = nullptr; in HWTEST_F() local
229 dmsDeath_ = new(std::nothrow) DMSDeathRecipient(SingletonContainer::Get<ScreenManagerAdapter>()); in HWTEST_F()
233 dmsDeath_->OnRemoteDied(wptrDeath); in HWTEST_F()
234 EXPECT_NE(nullptr, dmsDeath_); in HWTEST_F()
/foundation/window/window_manager/window_scene/session_manager/src/
H A Ddistributed_client.cpp57 dmsDeath_ = sptr<DmsDeathRecipient>::MakeSptr(); in ConnectDistributedSchedLocked()
58 if (proxy->IsProxyObject() && !proxy->AddDeathRecipient(dmsDeath_)) { in ConnectDistributedSchedLocked()
71 dmsDeath_ = nullptr; in ClearDmsProxy()
/foundation/window/window_manager/window_scene/session_manager/include/
H A Ddistributed_client.h70 sptr<DmsDeathRecipient> dmsDeath_ = nullptr; member in OHOS::Rosen::DistributedClient
/foundation/window/window_manager/dm_lite/include/
H A Ddisplay_manager_adapter_lite.h41 sptr<IRemoteObject::DeathRecipient> dmsDeath_ = nullptr; member in OHOS::Rosen::BaseAdapterLite
/foundation/window/window_manager/dm/src/
H A Ddisplay_manager_adapter.cpp420 dmsDeath_ = new(std::nothrow) DMSDeathRecipient(*this); in InitDMSProxy()
421 if (dmsDeath_ == nullptr) { in InitDMSProxy()
425 if (remoteObject->IsProxyObject() && !remoteObject->AddDeathRecipient(dmsDeath_)) { in InitDMSProxy()
471 displayManagerServiceProxy_->AsObject()->RemoveDeathRecipient(dmsDeath_); in Clear()
/foundation/window/window_manager/dm/include/
H A Ddisplay_manager_adapter.h44 sptr<IRemoteObject::DeathRecipient> dmsDeath_ = nullptr; member in OHOS::Rosen::BaseAdapter

Completed in 7 milliseconds