Home
last modified time | relevance | path

Searched refs:ThermalMgrDeathRecipient (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/powermgr/thermal_manager/test/common/include/
H A Dmock_thermal_mgr_client.h34 class ThermalMgrDeathRecipient : public IRemoteObject::DeathRecipient {
36 ThermalMgrDeathRecipient() = default;
37 ~ThermalMgrDeathRecipient() = default;
40 DISALLOW_COPY_AND_MOVE(ThermalMgrDeathRecipient);
/ohos5.0/base/powermgr/thermal_manager/interfaces/inner_api/native/include/
H A Dthermal_mgr_client.h49 class ThermalMgrDeathRecipient : public IRemoteObject::DeathRecipient {
51 explicit ThermalMgrDeathRecipient(ThermalMgrClient& client) : client_(client) {} in ThermalMgrDeathRecipient() function
52 ~ThermalMgrDeathRecipient() = default;
56 DISALLOW_COPY_AND_MOVE(ThermalMgrDeathRecipient);
/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_service_death_test.cpp41 std::make_shared<ThermalMgrClient::ThermalMgrDeathRecipient>(thermalClient);
62 std::make_shared<ThermalMgrClient::ThermalMgrDeathRecipient>(thermalClient);
/ohos5.0/base/powermgr/thermal_manager/test/common/src/
H A Dmock_thermal_mgr_client.cpp57 deathRecipient_ = sptr<IRemoteObject::DeathRecipient>(new ThermalMgrDeathRecipient()); in Connect()
85 void MockThermalMgrClient::ThermalMgrDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied()
/ohos5.0/base/powermgr/thermal_manager/frameworks/native/
H A Dthermal_mgr_client.cpp57 sptr<IRemoteObject::DeathRecipient> drt = new(std::nothrow) ThermalMgrDeathRecipient(*this); in Connect()
74 void ThermalMgrClient::ThermalMgrDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied()