Home
last modified time | relevance | path

Searched refs:StandbyServiceProxy (Results 1 - 4 of 4) sorted by relevance

/foundation/resourceschedule/device_standby/interfaces/innerkits/src/
H A Dstandby_service_proxy.cpp26 StandbyServiceProxy::StandbyServiceProxy(const sptr<IRemoteObject>& impl) in StandbyServiceProxy() function in OHOS::DevStandbyMgr::StandbyServiceProxy
28 StandbyServiceProxy::~StandbyServiceProxy() {} in ~StandbyServiceProxy()
30 ErrCode StandbyServiceProxy::SubscribeStandbyCallback(const sptr<IStandbyServiceSubscriber>& subscriber) in SubscribeStandbyCallback()
40 if (!data.WriteInterfaceToken(StandbyServiceProxy::GetDescriptor())) { in SubscribeStandbyCallback()
73 ErrCode StandbyServiceProxy::UnsubscribeStandbyCallback(const sptr<IStandbyServiceSubscriber>& subscriber) in UnsubscribeStandbyCallback()
83 if (!data.WriteInterfaceToken(StandbyServiceProxy::GetDescriptor())) { in UnsubscribeStandbyCallback()
109 ErrCode StandbyServiceProxy::ApplyAllowResource(const sptr<ResourceRequest>& resourceRequest) in ApplyAllowResource()
114 if (!data.WriteInterfaceToken(StandbyServiceProxy in ApplyAllowResource()
[all...]
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
H A Dstandby_service_proxy.h26 class StandbyServiceProxy final : public IRemoteProxy<IStandbyService> {
28 explicit StandbyServiceProxy(const sptr<IRemoteObject>& impl);
29 ~StandbyServiceProxy() override;
30 DISALLOW_COPY_AND_MOVE(StandbyServiceProxy);
151 static inline BrokerDelegator<StandbyServiceProxy> delegator_;
/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/
H A Dmock_standby_client_unit_test.cpp74 * @tc.desc: test StandbyServiceProxy.
81 sptr<StandbyServiceProxy> proxy = new (std::nothrow) StandbyServiceProxy(impl); in HWTEST_F()
H A Dstandby_client_unit_test.cpp184 * @tc.desc: test StandbyServiceProxy.
191 sptr<StandbyServiceProxy> proxy = new (std::nothrow) StandbyServiceProxy(impl); in HWTEST_F()

Completed in 3 milliseconds