/base/powermgr/battery_manager/frameworks/native/test/unittest/src/ |
D | battery_client_death_recipient_test.cpp | 49 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/ |
D | thermal_service_death_test.cpp | 38 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);
|
D | thermal_observer_test.cpp | 143 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);
|
D | thermal_action_test.cpp | 127 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/ |
D | power_mgr_service_death_test.cpp | 38 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/ |
D | display_service_death_test.cpp | 38 std::shared_ptr<IRemoteObject::DeathRecipient> deathRecipient = variable 40 EXPECT_NE(deathRecipient, nullptr); 42 deathRecipient->OnRemoteDied(remoteObj);
|
/base/powermgr/battery_statistics/test/unittest/src/clienttest/ |
D | stats_service_death_test.cpp | 47 std::shared_ptr<IRemoteObject::DeathRecipient> deathRecipient = variable 50 EXPECT_NE(deathRecipient, nullptr); 51 deathRecipient->OnRemoteDied(remoteObj);
|
/base/inputmethod/imf/test/fuzztest/perusersession_fuzzer/ |
D | perusersession_fuzzer.cpp | 63 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/ |
D | input_client_info.h | 38 sptr<InputDeathRecipient> deathRecipient; // death recipient of client member
|
/base/inputmethod/imf/services/src/ |
D | peruser_session.cpp | 69 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()
|
D | input_method_system_ability.cpp | 233 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/ |
D | hisysevent_adapter_native_test.cpp | 530 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/ |
D | inner_domain_account_manager.cpp | 104 auto deathRecipient = GetDeathRecipient(); in RegisterPlugin() local 105 if ((deathRecipient == nullptr) || (!plugin->AsObject()->AddDeathRecipient(deathRecipient))) { in RegisterPlugin()
|
/base/print/print_fwk/test/unittest/service_test/ |
D | print_service_ability_test.cpp | 85 sptr<IRemoteObject::DeathRecipient> deathRecipient = nullptr; member in OHOS::Print::PrintServiceAbilityTest 241 deathRecipient = recipient; in CreatePrintServiceHelper()
|