Home
last modified time | relevance | path

Searched refs:StandbyServiceSubscriberProxy (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/resourceschedule/device_standby/frameworks/src/
H A Dstandby_service_subscriber_proxy.cpp26 StandbyServiceSubscriberProxy::StandbyServiceSubscriberProxy(const sptr<IRemoteObject>& impl) in StandbyServiceSubscriberProxy() function in OHOS::DevStandbyMgr::StandbyServiceSubscriberProxy
28 StandbyServiceSubscriberProxy::~StandbyServiceSubscriberProxy() {} in ~StandbyServiceSubscriberProxy()
30 void StandbyServiceSubscriberProxy::OnDeviceIdleMode(bool napped, bool sleeping) in OnDeviceIdleMode()
38 if (!data.WriteInterfaceToken(StandbyServiceSubscriberProxy::GetDescriptor())) { in OnDeviceIdleMode()
57 void StandbyServiceSubscriberProxy::OnAllowListChanged(int32_t uid, const std::string& name, uint32… in OnAllowListChanged()
66 if (!data.WriteInterfaceToken(StandbyServiceSubscriberProxy::GetDescriptor())) { in OnAllowListChanged()
86 void StandbyServiceSubscriberProxy::OnPowerOverused(const std::string& module, uint32_t level) in OnPowerOverused()
94 if (!data.WriteInterfaceToken(StandbyServiceSubscriberProxy::GetDescriptor())) { in OnPowerOverused()
/ohos5.0/foundation/resourceschedule/device_standby/frameworks/include/
H A Dstandby_service_subscriber_proxy.h25 class StandbyServiceSubscriberProxy : public IRemoteProxy<IStandbyServiceSubscriber> {
27 StandbyServiceSubscriberProxy() = delete;
28 explicit StandbyServiceSubscriberProxy(const sptr<IRemoteObject>& impl);
29 ~StandbyServiceSubscriberProxy() override;
30 DISALLOW_COPY_AND_MOVE(StandbyServiceSubscriberProxy);
59 static inline BrokerDelegator<StandbyServiceSubscriberProxy> delegator_;
/ohos5.0/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/
H A Dstandby_client_unit_test.cpp219 …sptr<StandbyServiceSubscriberProxy> proxy = new (std::nothrow) StandbyServiceSubscriberProxy(impl);
220 sptr<StandbyServiceSubscriberProxy> nullSubscriber = nullptr;