Home
last modified time | relevance | path

Searched refs:sceneInfo (Results 1 - 10 of 10) sorted by relevance

/foundation/resourceschedule/device_standby/services/core/include/
H A Dstandby_service_impl.h115 ErrCode HandleCommonEvent(const uint32_t resType, const int64_t value, const std::string &sceneInfo);
181 void AppEventHandler(const uint32_t resType, const int64_t value, const std::string &sceneInfo);
182 void HandleCallStateChanged(const std::string &sceneInfo);
189 void HandleResourcesStateChanged(const int64_t value, const std::string &sceneInfo);
H A Dstandby_service.h65 ErrCode HandleEvent(const uint32_t resType, const int64_t value, const std::string &sceneInfo) override;
/foundation/resourceschedule/device_standby/frameworks/src/
H A Dstandby_service_stub.cpp318 std::string sceneInfo = ""; in HandleCommonEvent() local
319 if (!data.ReadString(sceneInfo)) { in HandleCommonEvent()
320 STANDBYSERVICE_LOGW("Failed to read sceneInfo"); in HandleCommonEvent()
323 return HandleEvent(resType, value, sceneInfo); in HandleCommonEvent()
/foundation/resourceschedule/device_standby/interfaces/innerkits/src/
H A Dstandby_service_client.cpp132 std::string sceneInfo = resData->payload.dump(); in HandleEvent() local
137 return standbyServiceProxy_->HandleEvent(resData->resType, resData->value, sceneInfo); in HandleEvent()
H A Dstandby_service_proxy.cpp471 ErrCode StandbyServiceProxy::HandleEvent(const uint32_t resType, const int64_t value, const std::string &sceneInfo) in HandleEvent() argument
481 if (!data.WriteUint32(resType) || !data.WriteInt64(value) || !data.WriteString(sceneInfo)) { in HandleEvent()
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
H A Dstandby_service_proxy.h134 * @param sceneInfo detail scene message, such as pid, uid and so on
137 ErrCode HandleEvent(const uint32_t resType, const int64_t value, const std::string &sceneInfo) override;
/foundation/resourceschedule/device_standby/frameworks/include/
H A Distandby_service.h151 * @param sceneInfo detail scene message, such as pid, uid and so on
154 virtual ErrCode HandleEvent(const uint32_t resType, const int64_t value, const std::string &sceneInfo) = 0;
/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service_impl.cpp957 void WEAK_FUNC StandbyServiceImpl::HandleCallStateChanged(const std::string &sceneInfo) in HandleCallStateChanged() argument
959 nlohmann::json payload = nlohmann::json::parse(sceneInfo, nullptr, false); in HandleCallStateChanged()
1040 void StandbyServiceImpl::HandleResourcesStateChanged(const int64_t value, const std::string &sceneInfo) in HandleResourcesStateChanged() argument
1047 nlohmann::json payload = nlohmann::json::parse(sceneInfo, nullptr, false); in HandleResourcesStateChanged()
1074 ErrCode StandbyServiceImpl::HandleCommonEvent(const uint32_t resType, const int64_t value, const std::string &sceneInfo) in HandleCommonEvent() argument
1076 STANDBYSERVICE_LOGI("HandleCommonEvent resType = %{public}u, value = %{public}lld, sceneInfo = %{public}s", in HandleCommonEvent()
1077 resType, (long long)(value), sceneInfo.c_str()); in HandleCommonEvent()
1095 HandleCallStateChanged(sceneInfo); in HandleCommonEvent()
1112 HandleResourcesStateChanged(value, sceneInfo); in HandleCommonEvent()
1115 AppEventHandler(resType, value, sceneInfo); in HandleCommonEvent()
1137 AppEventHandler(const uint32_t resType, const int64_t value, const std::string &sceneInfo) AppEventHandler() argument
[all...]
H A Dstandby_service.cpp367 const std::string &sceneInfo) in HandleEvent()
372 StandbyServiceImpl::GetInstance()->HandleCommonEvent(resType, value, sceneInfo); in HandleEvent()
366 HandleEvent(const uint32_t resType, const int64_t value, const std::string &sceneInfo) HandleEvent() argument
/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_service_unit_test.cpp1218 std::string sceneInfo = "{\"bundleName\":\"com.timeradjust.test\",\"pid\":5569," in HWTEST_F() local
1220 StandbyServiceImpl::GetInstance()->HandleResourcesStateChanged(value, sceneInfo); in HWTEST_F()
1222 StandbyServiceImpl::GetInstance()->HandleResourcesStateChanged(value, sceneInfo); in HWTEST_F()
1223 sceneInfo = "{\"bundleNameTest\":\"com.timeradjust.test\",\"pid\":5569," in HWTEST_F()
1225 StandbyServiceImpl::GetInstance()->HandleResourcesStateChanged(value, sceneInfo); in HWTEST_F()
1226 sceneInfo = "{\"bundleName\": 1,\"pid\":5569," in HWTEST_F()
1228 StandbyServiceImpl::GetInstance()->HandleResourcesStateChanged(value, sceneInfo); in HWTEST_F()
1229 sceneInfo = "{\"bundleName\":\"com.timeradjust.test\",\"pid\":\"com.timeradjust.test\"," in HWTEST_F()
1231 StandbyServiceImpl::GetInstance()->HandleResourcesStateChanged(value, sceneInfo); in HWTEST_F()

Completed in 8 milliseconds