Home
last modified time | relevance | path

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

/base/powermgr/battery_manager/frameworks/native/test/unittest/src/
Dbattery_client_death_recipient_test.cpp49 std::shared_ptr<IRemoteObject::DeathRecipient> deathRecipient = variable
51 EXPECT_NE(deathRecipient, nullptr);
52 deathRecipient->OnRemoteDied(remoteObj);
80 std::shared_ptr<IRemoteObject::DeathRecipient> deathRecipient = variable
82 EXPECT_NE(deathRecipient, nullptr);
83 deathRecipient->OnRemoteDied(remoteObj);
84 deathRecipient = nullptr;
/base/powermgr/thermal_manager/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);
Dthermal_observer_test.cpp143 std::shared_ptr<IRemoteObject::DeathRecipient> deathRecipient = variable
146 EXPECT_NE(deathRecipient, nullptr);
147 deathRecipient->OnRemoteDied(remoteObj);
151 deathRecipient->OnRemoteDied(sptrRemoteObj);
161 std::shared_ptr<IRemoteObject::DeathRecipient> deathRecipient = variable
164 EXPECT_NE(deathRecipient, nullptr);
165 deathRecipient->OnRemoteDied(remoteObj);
169 deathRecipient->OnRemoteDied(sptrRemoteObj);
Dthermal_action_test.cpp127 std::shared_ptr<IRemoteObject::DeathRecipient> deathRecipient = variable
130 EXPECT_NE(deathRecipient, nullptr);
131 deathRecipient->OnRemoteDied(remoteObj);
135 deathRecipient->OnRemoteDied(sptrRemoteObj);
/base/powermgr/power_manager/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/display_manager/test/unittest/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_statistics/test/unittest/src/clienttest/
Dstats_service_death_test.cpp47 std::shared_ptr<IRemoteObject::DeathRecipient> deathRecipient = variable
50 EXPECT_NE(deathRecipient, nullptr);
51 deathRecipient->OnRemoteDied(remoteObj);
/base/inputmethod/imf/test/fuzztest/perusersession_fuzzer/
Dperusersession_fuzzer.cpp63 auto deathRecipient = new (std::nothrow) InputDeathRecipient(); in InitializeClientInfo() local
64 if (deathRecipient == nullptr) { in InitializeClientInfo()
69 clientInfo = { .userID = MAIN_USER_ID, .client = clientStub, .deathRecipient = deathRecipient }; in InitializeClientInfo()
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
Dinput_client_info.h38 sptr<InputDeathRecipient> deathRecipient; // death recipient of client member
/base/inputmethod/imf/services/src/
Dperuser_session.cpp69 info->deathRecipient->SetDeathRecipient( in AddClient()
76 if (!obj->AddDeathRecipient(info->deathRecipient)) { in AddClient()
124 if (clientInfo->deathRecipient != nullptr) { in RemoveClient()
126 client->RemoveDeathRecipient(clientInfo->deathRecipient); in RemoveClient()
127 clientInfo->deathRecipient = nullptr; in RemoveClient()
682 remoteClient->RemoveDeathRecipient(info->deathRecipient); in OnUpdateListenEventFlag()
683 info->deathRecipient = nullptr; in OnUpdateListenEventFlag()
Dinput_method_system_ability.cpp233 auto deathRecipient = new (std::nothrow) InputDeathRecipient(); in GenerateClientInfo() local
234 if (deathRecipient == nullptr) { in GenerateClientInfo()
241 clientInfo.deathRecipient = deathRecipient; in GenerateClientInfo()
/base/hiviewdfx/hisysevent/test/moduletest/common/
Dhisysevent_adapter_native_test.cpp530 auto deathRecipient = proxy.GetCallbackDeathRecipient(); variable
531 ASSERT_TRUE(deathRecipient != nullptr);
532 if (deathRecipient != nullptr) {
533 deathRecipient->OnRemoteDied(nullptr);
534 ASSERT_TRUE(deathRecipient->GetEventListener() != nullptr);
/base/account/os_account/services/accountmgr/src/domain_account/
Dinner_domain_account_manager.cpp104 auto deathRecipient = GetDeathRecipient(); in RegisterPlugin() local
105 if ((deathRecipient == nullptr) || (!plugin->AsObject()->AddDeathRecipient(deathRecipient))) { in RegisterPlugin()
/base/print/print_fwk/test/unittest/service_test/
Dprint_service_ability_test.cpp85 sptr<IRemoteObject::DeathRecipient> deathRecipient = nullptr; member in OHOS::Print::PrintServiceAbilityTest
241 deathRecipient = recipient; in CreatePrintServiceHelper()