Home
last modified time | relevance | path

Searched refs:deathRecipient (Results 1 – 10 of 10) sorted by relevance

/base/powermgr/power_manager/services/native/test/unittest/src/
Dpower_mgr_service_death_test.cpp38 std::shared_ptr<IRemoteObject::DeathRecipient> deathRecipient = variable
41 EXPECT_NE(deathRecipient, nullptr);
42 deathRecipient->OnRemoteDied(remoteObj);
57 std::shared_ptr<IRemoteObject::DeathRecipient> deathRecipient = variable
59 EXPECT_NE(deathRecipient, nullptr);
62 deathRecipient->OnRemoteDied(sptrRemoteObj);
/base/powermgr/thermal_manager/services/native/test/unittest/src/
Dthermal_service_death_test.cpp38 std::shared_ptr<IRemoteObject::DeathRecipient> deathRecipient = variable
41 EXPECT_NE(deathRecipient, nullptr);
42 deathRecipient->OnRemoteDied(remoteObj);
57 std::shared_ptr<IRemoteObject::DeathRecipient> deathRecipient = variable
59 EXPECT_NE(deathRecipient, nullptr);
62 deathRecipient->OnRemoteDied(sptrRemoteObj);
/base/powermgr/battery_statistics/services/native/test/unittest/src/
Dstats_service_death_test.cpp37 std::shared_ptr<IRemoteObject::DeathRecipient> deathRecipient = variable
40 EXPECT_NE(deathRecipient, nullptr);
41 deathRecipient->OnRemoteDied(remoteObj);
/base/powermgr/display_manager/test/unittest/common/native/src/
Ddisplay_service_death_test.cpp38 std::shared_ptr<IRemoteObject::DeathRecipient> deathRecipient = variable
40 EXPECT_NE(deathRecipient, nullptr);
42 deathRecipient->OnRemoteDied(remoteObj);
/base/powermgr/battery_manager/frameworks/native/test/unittest/src/
Dbattery_client_death_recipient_test.cpp43 std::shared_ptr<IRemoteObject::DeathRecipient> deathRecipient = variable
45 EXPECT_NE(deathRecipient, nullptr);
46 deathRecipient->OnRemoteDied(remoteObj);
/base/account/os_account/services/accountmgr/src/domain_account/
Dinner_domain_account_manager.cpp35 auto deathRecipient = GetDeathRecipient(); in RegisterPlugin() local
36 if ((deathRecipient == nullptr) || (!plugin->AsObject()->AddDeathRecipient(deathRecipient))) { in RegisterPlugin()
/base/hiviewdfx/hisysevent/test/moduletest/common/
Dhisysevent_adapter_native_test.cpp421 auto deathRecipient = proxy.GetCallbackDeathRecipient(); variable
422 ASSERT_TRUE(deathRecipient != nullptr);
423 if (deathRecipient != nullptr) {
424 deathRecipient->OnRemoteDied(nullptr);
425 ASSERT_TRUE(deathRecipient->GetEventListener() != nullptr);
/base/inputmethod/imf/services/src/
Dperuser_session.cpp79 info->deathRecipient->SetDeathRecipient( in AddClient()
86 if (!obj->AddDeathRecipient(info->deathRecipient)) { in AddClient()
124 inputClient->RemoveDeathRecipient(clientInfo->deathRecipient); in RemoveClient()
125 clientInfo->deathRecipient = nullptr; in RemoveClient()
/base/inputmethod/imf/services/include/
Dperuser_session.h60 sptr<RemoteObjectDeathRecipient> deathRecipient; member
/base/update/updateservice/test/unittest/update_engine/
Dserver_unittest.cpp540 … sptr<IRemoteObject::DeathRecipient> deathRecipient = new UpdateServiceKitsImpl::DeathRecipient(); variable
541 EXPECT_NE(deathRecipient, nullptr);
542 deathRecipient->OnRemoteDied(remoteObj);