/foundation/resourceschedule/resource_schedule_service/ressched/plugins/socperf_plugin/test/fuzztest/socperfplugin_fuzzer/ |
H A D | socperfplugin_fuzzer.cpp | 38 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_WINDOW_FOCUS, value, in TestWindowFocus() local 40 SocPerfPlugin::GetInstance().DispatchResource(resData); in TestWindowFocus() 47 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_CLICK_RECOGNIZE, value, in TestClickRecognize() local 49 SocPerfPlugin::GetInstance().DispatchResource(resData); in TestClickRecognize() 56 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_LOAD_PAGE, value, in TestLoadPage() local 58 SocPerfPlugin::GetInstance().DispatchResource(resData); in TestLoadPage() 65 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_SLIDE_RECOGNIZE, value, in TestSlideRecognize() local 67 SocPerfPlugin::GetInstance().DispatchResource(resData); in TestSlideRecognize() 74 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_WEB_GESTURE, value, in TestWebGesture() local 76 SocPerfPlugin::GetInstance().DispatchResource(resData); in TestWebGesture() 83 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_POP_PAGE, value, TestPopPage() local 92 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_APP_ABILITY_START, value, TestAppAbilityStart() local 101 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_RESIZE_WINDOW, value, TestResizeWindow() local 110 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_MOVE_WINDOW, value, TestMoveWindow() local 119 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_SHOW_REMOTE_ANIMATION, value, TestShowRemoteAnimation() local 128 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_DRAG_STATUS_BAR, value, TestDragStatusBar() local 137 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_WEB_GESTURE_MOVE, value, TestWebGestureMove() local 146 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_WEB_SLIDE_NORMAL, value, TestWebSlideNormal() local 155 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_LOAD_URL, value, TestLoadUrl() local 164 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_MOUSEWHEEL, value, TestMouseWheel() local 173 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_APP_STATE_CHANGE, value, TestAppStateChange() local 192 const std::shared_ptr<ResData>& resData = std::make_shared<ResData>(resType, value, nullptr); TestUseBySo() local [all...] |
/foundation/arkui/ace_engine/frameworks/base/base64/ |
H A D | base64_util.cpp | 31 sk_sp<SkData> resData = SkData::MakeUninitialized(outputLen); in Decode() local 32 void* output = resData->writable_data(); in Decode() 37 dst.assign(static_cast<const char*>(resData->data()), resData->size()); in Decode()
|
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/ |
H A D | plugin_mgr.cpp | 353 int32_t PluginMgr::GetExtTypeByResPayload(const std::shared_ptr<ResData>& resData)
in GetExtTypeByResPayload() argument 355 if (!resData || resData->resType != ResType::RES_TYPE_KEY_PERF_SCENE) {
in GetExtTypeByResPayload() 358 auto payload = resData->payload;
in GetExtTypeByResPayload() 394 std::string PluginMgr::BuildDispatchTrace(const std::shared_ptr<ResData>& resData, std::string& libNameAll,
in BuildDispatchTrace() argument 409 string resTypeString = GetStrFromResTypeStrMap(resData->resType);
in BuildDispatchTrace() 410 trace_str.append(" PluginMgr ,resType[").append(std::to_string(resData->resType)).append("]");
in BuildDispatchTrace() 412 trace_str.append(",value[").append(std::to_string(resData->value)).append("]");
in BuildDispatchTrace() 417 void PluginMgr::DispatchResource(const std::shared_ptr<ResData>& resData)
in DispatchResource() argument 423 if (!resData) {
in DispatchResource() 456 DeliverResource(const std::shared_ptr<ResData>& resData) DeliverResource() argument 700 DispatchResourceToPluginSync(const std::list<std::string>& pluginList, const std::shared_ptr<ResData>& resData) DispatchResourceToPluginSync() argument 751 DispatchResourceToPluginAsync(const std::list<std::string>& pluginList, const std::shared_ptr<ResData>& resData) DispatchResourceToPluginAsync() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | gpu_resource_util_gles.cpp | 37 if (const void* resData = glesBuffer.MapMemory(); resData) { in CopyGpuBufferGLES() 39 CloneData(byteArray.GetData().data(), byteArray.GetData().size_bytes(), (const uint8_t*)resData, desc.byteSize); in CopyGpuBufferGLES()
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/ |
H A D | sched_controller.cpp | 149 void SchedController::DispatchResource(const std::shared_ptr<ResData>& resData) in DispatchResource() argument 156 auto iter = dispatchResFuncMap_.find(resData->resType); in DispatchResource() 158 DispatchOtherResource(resData->resType, resData->value, resData->payload); in DispatchResource() 161 handler->PostTask([func = iter->second, handler, resData] { in DispatchResource() 162 func(handler, resData->resType, resData->value, resData->payload); in DispatchResource() 164 DispatchOtherResource(resData in DispatchResource() 601 OnDispatchResource(const std::shared_ptr<ResData>& resData) OnDispatchResource() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | gpu_resource_util_vk.cpp | 38 if (const void* resData = vkBuffer.MapMemory(); resData) { in CopyGpuBufferVk() 40 CloneData(byteArray.GetData().data(), byteArray.GetData().size_bytes(), (const uint8_t*)resData, desc.byteSize); in CopyGpuBufferVk()
|
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/include/ |
H A D | plugin_mgr.h | 111 * @param resData Reported resource data.
113 void DispatchResource(const std::shared_ptr<ResData>& resData);
118 * @param resData Reported resource data.
120 int32_t DeliverResource(const std::shared_ptr<ResData>& resData);
224 const std::shared_ptr<ResData>& resData);
227 const std::shared_ptr<ResData>& resData);
239 std::string BuildDispatchTrace(const std::shared_ptr<ResData>& resData, std::string& libNameAll,
242 int32_t GetExtTypeByResPayload(const std::shared_ptr<ResData>& resData);
|
/foundation/resourceschedule/device_standby/interfaces/innerkits/src/ |
H A D | standby_service_client.cpp | 129 ErrCode StandbyServiceClient::HandleEvent(const std::shared_ptr<ResData> &resData) in HandleEvent() argument 132 std::string sceneInfo = resData->payload.dump(); in HandleEvent() 137 return standbyServiceProxy_->HandleEvent(resData->resType, resData->value, sceneInfo); in HandleEvent()
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/device_standby_plugin/test/fuzztest/devicestandbyplugin_fuzzer/ |
H A D | devicestandbyplugin_fuzzer.cpp | 100 std::shared_ptr<ResData> resData = std::make_shared<ResData>(resType, appStartType, nullptr); in DeviceStandbyPluginFuzzTest() local 103 DeviceStandbyPlugin::GetInstance().DispatchResource(resData); in DeviceStandbyPluginFuzzTest()
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/device_standby_plugin/include/ |
H A D | device_standby_plugin.h | 36 void DispatchResource(const std::shared_ptr<ResData>& resData) override;
|
/foundation/resourceschedule/resource_schedule_service/ressched/test/unittest/src/ |
H A D | plugin_mgr_test.cpp | 516 std::shared_ptr<ResData> resData =
in HWTEST_F() local 518 SocPerfPlugin::GetInstance().HandleLoadPage(resData);
in HWTEST_F() 519 resData->value = ResType::LoadPageType::LOAD_PAGE_COMPLETE;
in HWTEST_F() 520 SocPerfPlugin::GetInstance().HandleLoadPage(resData);
in HWTEST_F() 538 std::shared_ptr<ResData> resData =
in HWTEST_F() local 541 SocPerfPlugin::GetInstance().HandleRemoteAnimation(resData);
in HWTEST_F() 543 resData->value = ResType::ShowRemoteAnimationStatus::ANIMATION_END;
in HWTEST_F() 544 SocPerfPlugin::GetInstance().HandleRemoteAnimation(resData);
in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | js_message_dispatcher.h | 41 const std::string& group, std::vector<uint8_t>&& data, uint8_t** resData, int64_t& position) const = 0;
|
/foundation/resourceschedule/resource_schedule_service/ressched_executor/plugins/socperf_executor_plugin/framework/include/ |
H A D | socperf_executor_plugin.h | 32 void DispatchResource(const std::shared_ptr<ResData>& resData) override;
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/frame_aware_plugin/include/ |
H A D | frame_aware_plugin.h | 39 void DispatchResource(const std::shared_ptr<ResData>& resData) override;
|
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/ |
H A D | standby_service_client.h | 149 * @param resData event data. 152 ErrCode HandleEvent(const std::shared_ptr<ResData> &resData);
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/include/ |
H A D | sched_controller.h | 59 void DispatchResource(const std::shared_ptr<ResData>& resData) override;
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/socperf_plugin/include/ |
H A D | socperf_plugin.h | 35 void DispatchResource(const std::shared_ptr<ResData>& resData) override;
|
/foundation/resourceschedule/resource_schedule_service/ressched_executor/services/resschedexemgr/src/ |
H A D | res_sched_exe_mgr.cpp | 81 auto resData = std::make_shared<ResData>(resType, value, payload, reply); in SendRequestSync() local 82 int32_t ret = PluginMgr::GetInstance().DeliverResource(resData); in SendRequestSync()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_declarative_group_js_bridge.cpp | 193 uint8_t* resData = nullptr; in ProcessJsRequestSync() local 196 dispatcher->DispatchSync(strGroupName, std::move(encodeBuf), &resData, position); in ProcessJsRequestSync() 200 std::vector<uint8_t> messageData = std::vector<uint8_t>(resData, resData + position); in ProcessJsRequestSync()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_group_js_bridge.cpp | 307 uint8_t* resData = nullptr; in ProcessJsRequestSync() local 310 dispatcher->DispatchSync(strGroupName, std::move(encodeBuf), &resData, position); in ProcessJsRequestSync() 315 std::vector<uint8_t> messageData = std::vector<uint8_t>(resData, resData + position); in ProcessJsRequestSync()
|
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/src/ |
H A D | client_trans_proxy_file_helper.c | 300 AckResponseData *resData = (AckResponseData *)data; in AckResponseDataHandle() local 301 uint32_t startSeq = resData->startSeq; in AckResponseDataHandle() 302 uint32_t seqResult = resData->seqResult; in AckResponseDataHandle()
|
/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_loader.cpp | 529 auto resData = std::make_shared<RSData>(); in LoadImageData() local 530 resData->BuildUninitialized(outputLen); in LoadImageData() 531 void* output = resData->WritableData(); in LoadImageData() 547 return resData; in LoadImageData()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | dialog_container.h | 131 const std::string& group, std::vector<uint8_t>&& data, uint8_t** resData, int64_t& position) const override
|
H A D | ace_container.h | 297 const std::string& group, std::vector<uint8_t>&& data, uint8_t** resData, int64_t& position) const override
|
/foundation/arkui/ace_engine/adapter/preview/entrance/ |
H A D | ace_container.h | 207 const std::string& group, std::vector<uint8_t>&& data, uint8_t** resData, int64_t& position) const override
|