Home
last modified time | relevance | path

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

/foundation/resourceschedule/device_standby/frameworks/src/
H A Dstandby_service_stub.cpp28 ErrCode StandbyServiceStub::OnRemoteRequest(uint32_t code, in OnRemoteRequest()
31 if (StandbyServiceStub::GetDescriptor() != data.ReadInterfaceToken()) { in OnRemoteRequest()
32 STANDBYSERVICE_LOGE("StandbyServiceStub: Local descriptor not match remote."); in OnRemoteRequest()
82 ErrCode StandbyServiceStub::HandleSubscribeStandbyCallback(MessageParcel& data, MessageParcel& reply) in HandleSubscribeStandbyCallback()
105 ErrCode StandbyServiceStub::HandleReportWorkSchedulerStatus(MessageParcel& data, MessageParcel& reply) in HandleReportWorkSchedulerStatus()
122 ErrCode StandbyServiceStub::HandleGetRestrictList(MessageParcel& data, MessageParcel& reply) in HandleGetRestrictList()
148 ErrCode StandbyServiceStub::HandleIsStrategyEnabled(MessageParcel& data, MessageParcel& reply) in HandleIsStrategyEnabled()
168 ErrCode StandbyServiceStub::HandleUnsubscribeStandbyCallback(MessageParcel& data, MessageParcel& reply) in HandleUnsubscribeStandbyCallback()
184 ErrCode StandbyServiceStub::HandleApplyAllowResource(MessageParcel& data, MessageParcel& reply) in HandleApplyAllowResource()
199 ErrCode StandbyServiceStub
[all...]
/foundation/resourceschedule/device_standby/frameworks/include/
H A Dstandby_service_stub.h28 class StandbyServiceStub : public IRemoteStub<IStandbyService> { class
30 StandbyServiceStub(bool serialInvokeFlag = false) : IRemoteStub(serialInvokeFlag) {}; in StandbyServiceStub() function in OHOS::DevStandbyMgr::StandbyServiceStub
31 ~StandbyServiceStub() override = default;
32 DISALLOW_COPY_AND_MOVE(StandbyServiceStub);
47 std::function<ErrCode(StandbyServiceStub*, MessageParcel&, MessageParcel&)>> interfaces_;
/foundation/resourceschedule/device_standby/services/core/include/
H A Dstandby_service.h40 class StandbyService final : public SystemAbility, public StandbyServiceStub {
/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_service_unit_test.cpp947 StandbyService::GetInstance()->OnRemoteRequest(StandbyServiceStub::SUBSCRIBE_STANDBY_CALLBACK, data, reply, option); in HWMTEST_F()
948 StandbyService::GetInstance()->OnRemoteRequest(StandbyServiceStub::UNSUBSCRIBE_STANDBY_CALLBACK, in HWMTEST_F()
950 StandbyService::GetInstance()->OnRemoteRequest(StandbyServiceStub::APPLY_ALLOW_RESOURCE, data, reply, option); in HWMTEST_F()
951 StandbyService::GetInstance()->OnRemoteRequest(StandbyServiceStub::UNAPPLY_ALLOW_RESOURCE, data, reply, option); in HWMTEST_F()
952 StandbyService::GetInstance()->OnRemoteRequest(StandbyServiceStub::GET_ALLOW_LIST, data, reply, option); in HWMTEST_F()
953 StandbyService::GetInstance()->OnRemoteRequest(StandbyServiceStub::IS_DEVICE_IN_STANDBY, data, reply, option); in HWMTEST_F()
955 StandbyServiceStub::REPORT_WORK_SCHEDULER_STATUS, data, reply, option); in HWMTEST_F()
956 auto ret = StandbyService::GetInstance()->OnRemoteRequest(StandbyServiceStub::REPORT_WORK_SCHEDULER_STATUS + 1, in HWMTEST_F()

Completed in 4 milliseconds