Home
last modified time | relevance | path

Searched refs:extInfo (Results 1 - 25 of 41) sorted by relevance

12

/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/src/
H A Dres_sched_event_listener_stub.cpp30 std::unordered_map<std::string, std::string> StringToStringJsonObj(const std::string& extInfo) in StringToStringJsonObj() argument
34 if (extInfo.empty()) { in StringToStringJsonObj()
37 nlohmann::json jsonTmp = nlohmann::json::parse(extInfo, nullptr, false); in StringToStringJsonObj()
39 RESSCHED_LOGE("%{public}s parse extInfo to json failed: %{public}s.", __func__, extInfo.c_str()); in StringToStringJsonObj()
43 RESSCHED_LOGD("%{public}s extInfo converted result is not a jsonObj: %{public}s.", in StringToStringJsonObj()
44 __func__, extInfo.c_str()); in StringToStringJsonObj()
71 std::string extInfo; in OnReceiveEventInner() local
72 int32_t ret = ParseAndCheckEventParcel(data, eventType, eventValue, listenerGroup, extInfo); in OnReceiveEventInner()
77 OnReceiveEvent(eventType, eventValue, listenerGroup, StringToStringJsonObj(extInfo)); in OnReceiveEventInner()
81 ParseAndCheckEventParcel(MessageParcel& data, uint32_t& eventType, uint32_t& eventValue, uint32_t& listenerGroup, std::string& extInfo) ParseAndCheckEventParcel() argument
[all...]
H A Dres_sched_event_listener_proxy.cpp30 const nlohmann::json& extInfo) in OnReceiveEvent()
36 error = WriteParcelForReceiveEvent(eventType, eventValue, listenerGroup, extInfo, data); in OnReceiveEvent()
51 const uint32_t eventValue, const uint32_t listenerGroup, const nlohmann::json& extInfo, MessageParcel& data) in WriteParcelForReceiveEvent()
58 WRITE_PARCEL(data, String, extInfo.dump(-1, ' ', false, nlohmann::detail::error_handler_t::replace), in WriteParcelForReceiveEvent()
29 OnReceiveEvent(uint32_t eventType, uint32_t eventValue, uint32_t listenerGroup, const nlohmann::json& extInfo) OnReceiveEvent() argument
50 WriteParcelForReceiveEvent(const uint32_t eventType, const uint32_t eventValue, const uint32_t listenerGroup, const nlohmann::json& extInfo, MessageParcel& data) WriteParcelForReceiveEvent() argument
/foundation/graphic/graphic_2d/rosen/modules/ressched/test/unittest/
H A Dressched_event_listener_test.cpp46 std::unordered_map<std::string, std::string> extInfo; in HWTEST_F() local
48 ResourceSchedule::ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_START, extInfo); in HWTEST_F()
52 ResourceSchedule::ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_STOP, extInfo); in HWTEST_F()
56 ResourceSchedule::ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_START, extInfo); in HWTEST_F()
60 -1, extInfo); in HWTEST_F()
64 ResourceSchedule::ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_STOP, extInfo); in HWTEST_F()
78 std::unordered_map<std::string, std::string> extInfo; in HWTEST_F() local
80 ResourceSchedule::ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_START, extInfo); in HWTEST_F()
84 ResourceSchedule::ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_START, extInfo); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_frame_rate_range.h110 std::string extInfo = ""; in GetExtInfo() local
113 extInfo = "RS_ANIMATION"; in GetExtInfo()
116 extInfo = "UI_ANIMATION"; in GetExtInfo()
119 extInfo = "DISPLAY_SYNC"; in GetExtInfo()
122 extInfo = "ACE_COMPONENT"; in GetExtInfo()
125 extInfo = "DISPLAY_SOLOIST"; in GetExtInfo()
131 extInfo += "FIRST_FRAME"; in GetExtInfo()
133 return extInfo + (isEnergyAssurance_ ? "_ENERGY_ASSURANCE" : ""); in GetExtInfo()
/foundation/resourceschedule/resource_schedule_service/ressched/scene_recognize/src/
H A Dslide_recognizer.cpp40 nlohmann::json extInfo;
42 ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_STOP, extInfo);
93 nlohmann::json extInfo; in HandleSlideOFFEvent() local
95 ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_STOP, extInfo); in HandleSlideOFFEvent()
112 nlohmann::json extInfo; in HandleSlideDetecting() local
114 ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_START, extInfo); in HandleSlideDetecting()
130 nlohmann::json extInfo; in HandleListFlingStart() local
132 ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_START, extInfo); in HandleListFlingStart()
160 nlohmann::json extInfo; in HandleSendFrameEvent() local
162 ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_STOP, extInfo); in HandleSendFrameEvent()
200 nlohmann::json extInfo; HandleClickEvent() local
[all...]
/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/src/
H A Drs_graphic_test.cpp37 const auto& extInfo = ::OHOS::Rosen::TestDefManager::Instance().GetTestInfo( in ShouldRunCurrentTest() local
40 if (!extInfo) { in ShouldRunCurrentTest()
45 if (!params.filterTestTypes.empty() && params.filterTestTypes.count(extInfo->testType) == 0) { in ShouldRunCurrentTest()
49 if (params.runTestMode != RSGraphicTestMode::ALL && extInfo->testMode != params.runTestMode) { in ShouldRunCurrentTest()
100 const auto& extInfo = ::OHOS::Rosen::TestDefManager::Instance().GetTestInfo( in TearDown() local
103 if (extInfo) { in TearDown()
104 isManualTest = (extInfo->testMode == RSGraphicTestMode::MANUAL); in TearDown()
115 std::string filename = GetImageSavePath(extInfo->filePath); in TearDown()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_overloads.cpp486 UniformExtInfo extInfo(1); in Uniform1fv()
487 bool succ = extInfo.GetUniformExtInfo(env, funcArg, NARG_POS::THIRD); in Uniform1fv()
493 funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND], &extInfo); in Uniform1fv()
507 UniformExtInfo extInfo(WebGLArg::UNIFORM_2V_REQUIRE_MIN_SIZE); in Uniform2fv()
508 bool succ = extInfo.GetUniformExtInfo(env, funcArg, NARG_POS::THIRD); in Uniform2fv()
513 funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND], &extInfo); in Uniform2fv()
527 UniformExtInfo extInfo(WebGLArg::UNIFORM_3V_REQUIRE_MIN_SIZE); in Uniform3fv()
528 bool succ = extInfo.GetUniformExtInfo(env, funcArg, NARG_POS::THIRD); in Uniform3fv()
533 funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND], &extInfo); in Uniform3fv()
547 UniformExtInfo extInfo(WebGLAr in Uniform4fv()
[all...]
H A Dwebgl2_rendering_context_base.cpp1780 UniformExtInfo extInfo(WebGLArg::UNIFORM_1V_REQUIRE_MIN_SIZE); in Uniform1uiv()
1781 bool succ = extInfo.GetUniformExtInfo(env, funcArg, NARG_POS::THIRD); in Uniform1uiv()
1783 env, funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND], &extInfo); in Uniform1uiv()
1797 UniformExtInfo extInfo(WebGLArg::UNIFORM_2V_REQUIRE_MIN_SIZE); in Uniform2uiv()
1798 bool succ = extInfo.GetUniformExtInfo(env, funcArg, NARG_POS::THIRD); in Uniform2uiv()
1800 env, funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND], &extInfo); in Uniform2uiv()
1814 UniformExtInfo extInfo(WebGLArg::UNIFORM_3V_REQUIRE_MIN_SIZE); in Uniform3uiv()
1815 bool succ = extInfo.GetUniformExtInfo(env, funcArg, NARG_POS::THIRD); in Uniform3uiv()
1817 env, funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND], &extInfo); in Uniform3uiv()
1831 UniformExtInfo extInfo(WebGLAr in Uniform4uiv()
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/
H A Devent_listener_mgr.cpp122 void EventListenerMgr::SendEvent(uint32_t eventType, uint32_t eventValue, const nlohmann::json &extInfo, in SendEvent() argument
135 SendEventLock(eventType, eventValue, extInfo, listenerGroup); in SendEvent()
154 void EventListenerMgr::SendEventLock(uint32_t eventType, uint32_t eventValue, const nlohmann::json& extInfo, in SendEventLock() argument
171 HandleSendEvent(listenerArray, eventType, eventValue, extInfo, listenerGroup); in SendEventLock()
190 uint32_t eventType, uint32_t eventValue, const nlohmann::json &extInfo, uint32_t listenerGroup) in HandleSendEvent()
192 auto func = [listenerVec, eventType, eventValue, extInfo, listenerGroup] () { in HandleSendEvent()
198 proxy->OnReceiveEvent(eventType, eventValue, listenerGroup, extInfo); in HandleSendEvent()
189 HandleSendEvent(std::vector<sptr<IRemoteObject>>& listenerVec, uint32_t eventType, uint32_t eventValue, const nlohmann::json &extInfo, uint32_t listenerGroup) HandleSendEvent() argument
/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/
H A Dsvc_session_manager_ex_test.cpp211 BackupExtInfo extInfo {}; in HWTEST_F()
212 extInfo.schedAction = BConstants::ServiceSchedAction::WAIT; in HWTEST_F()
213 extInfo.backUpConnection = nullptr; in HWTEST_F()
215 sessionManagerPtr_->impl_.backupExtNameMap[BUNDLE_NAME] = extInfo; in HWTEST_F()
266 BackupExtInfo extInfo {}; in HWTEST_F()
267 extInfo.schedAction = BConstants::ServiceSchedAction::WAIT; in HWTEST_F()
268 extInfo.backUpConnection = sptr(new SvcBackupConnection(nullptr, nullptr, BUNDLE_NAME));; in HWTEST_F()
270 sessionManagerPtr_->impl_.backupExtNameMap[BUNDLE_NAME] = extInfo; in HWTEST_F()
H A Dservice_test.cpp583 BackupExtInfo extInfo {}; in HWTEST_F()
587 extInfo.backUpConnection = sptr(new SvcBackupConnection(callDied, callConnected, bundleNameIndexInfo)); in HWTEST_F()
588 extInfo.schedAction = BConstants::ServiceSchedAction::RUNNING; in HWTEST_F()
589 impl_.backupExtNameMap[BUNDLE_NAME] = extInfo; in HWTEST_F()
650 BackupExtInfo extInfo {}; in HWTEST_F()
651 extInfo.backUpConnection = nullptr; in HWTEST_F()
652 extInfo.versionName = "0.0.0.0-0.0.0.0"; in HWTEST_F()
654 impl_.backupExtNameMap[BUNDLE_NAME] = extInfo; in HWTEST_F()
664 impl_.backupExtNameMap[bundleName] = extInfo; in HWTEST_F()
726 BackupExtInfo extInfo {}; in HWTEST_F()
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/include/
H A Devent_listener_mgr.h50 void SendEvent(uint32_t eventType, uint32_t eventValue, const nlohmann::json &extInfo,
57 void SendEventLock(uint32_t eventType, uint32_t eventValue, const nlohmann::json &extInfo,
60 uint32_t eventType, uint32_t eventValue, const nlohmann::json &extInfo, uint32_t listenerGroup);
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/include/
H A Dres_sched_event_listener_proxy.h32 const nlohmann::json& extInfo) override;
36 const uint32_t eventValue, const uint32_t listenerGroup, const nlohmann::json& extInfo, MessageParcel& data);
H A Dires_sched_event_listener.h33 * @param extInfo Indicates the extra info.
36 uint32_t listenerGroup, const nlohmann::json& extInfo) = 0;
H A Dres_sched_event_listener.h31 std::unordered_map<std::string, std::string> extInfo) = 0;
H A Dres_sched_event_listener_stub.h38 uint32_t& eventValue, uint32_t& listenerGroup, std::string& extInfo);
/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhstream_common.cpp253 for (auto& extInfo : curStreamInfo.extendedStreamInfos) { in DumpStreamInfo()
254 auto bufferQueue = extInfo.bufferQueue; in DumpStreamInfo()
255 infoDumper.Msg("type:" + std::to_string(static_cast<int32_t>(extInfo.type)) + in DumpStreamInfo()
256 " width:" + std::to_string(static_cast<int32_t>(extInfo.width)) + in DumpStreamInfo()
257 " height:" + std::to_string(static_cast<int32_t>(extInfo.height)) + in DumpStreamInfo()
258 " format:" + std::to_string(static_cast<int32_t>(extInfo.format)) + in DumpStreamInfo()
259 " dataspace:" + std::to_string(static_cast<int32_t>(extInfo.dataspace)) + in DumpStreamInfo()
/foundation/resourceschedule/resource_schedule_service/ressched/test/unittest/src/
H A Devent_listener_mgr_test.cpp36 void OnReceiveEvent(uint32_t eventType, uint32_t eventValue, uint32_t listenerGroup, const nlohmann::json& extInfo) in OnReceiveEvent() argument
82 nlohmann::json extInfo; in HWTEST_F() local
84 ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_START, extInfo); in HWTEST_F()
103 nlohmann::json extInfo; in HWTEST_F() local
109 ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_STOP, extInfo); in HWTEST_F()
329 nlohmann::json extInfo; in HWTEST_F() local
331 ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_STOP, extInfo); in HWTEST_F()
H A Dres_sched_client_test.cpp93 std::unordered_map<std::string, std::string> extInfo) override
273 nlohmann::json extInfo; in HWTEST_F() local
276 ResType::EventListenerGroup::LISTENER_GROUP_COMMON, extInfo); in HWTEST_F()
302 nlohmann::json extInfo; in HWTEST_F() local
305 ResType::EventListenerGroup::LISTENER_GROUP_COMMON, extInfo); in HWTEST_F()
/foundation/filemanagement/app_file_service/tests/mock/module_ipc/src/
H A Dsa_backup_connection_mock.cpp21 ErrCode SABackupConnection::ConnectBackupSAExt(std::string bundleName, std::string extension, std::string extInfo) in ConnectBackupSAExt() argument
23 return BSABackupConnection::saConnect->ConnectBackupSAExt(bundleName, extension, extInfo); in ConnectBackupSAExt()
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/frame_rate_manager/
H A Dhgm_frame_rate_manager.h76 std::string extInfo = ""; member
83 this->extInfo = other.extInfo; in Merge()
97 str << "EXT_INFO:" << extInfo << ";"; in ToString() local
107 this->extInfo == other.extInfo && this->pid == other.pid && this->bundleName == other.bundleName; in operator ==()
/foundation/bundlemanager/ecological_rule_manager/test/unittest/
H A Decological_rule_mgr_service_client_test.cpp115 ExtensionAbilityInfo extInfo; in HWTEST_F() local
116 extInfos.push_back(extInfo); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/ressched/include/
H A Dressched_event_listener.h30 std::unordered_map<std::string, std::string> extInfo) override;
/foundation/filemanagement/app_file_service/tests/mock/module_ipc/
H A Dsvc_session_manager_mock.cpp199 void SvcSessionManager::SetBackupExtInfo(const string &bundleName, const string &extInfo) in SetBackupExtInfo() argument
205 it->second.extInfo = extInfo; in SetBackupExtInfo()
214 return it->second.extInfo; in GetBackupExtInfo()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp181 uint8_t expandNums; // groupNum of TLV extInfo
3083 static bool GetExtInfoForPixelAstc(AstcExtendInfo &extInfo, unique_ptr<PixelAstc> &pixelAstc)
3086 for (uint8_t idx = 0; idx < extInfo.extendNums; idx++) {
3087 switch (static_cast<AstcExtendInfoType>(extInfo.extendInfoType[idx])) {
3089 colorSpace = *extInfo.extendInfoValue[idx];
3107 AstcExtendInfo extInfo = {0};
3109 (memset_s(&extInfo, sizeof(AstcExtendInfo), 0, sizeof(AstcExtendInfo)) != 0);
3114 extInfo.extendBufferSumBytes = GetDataSize(extInfoBuf);
3115 if (extInfo.extendBufferSumBytes + astcSize + ASTC_EXTEND_INFO_SIZE_DEFINITION_LENGTH != fileSize) {
3120 int32_t leftBytes = static_cast<int32_t>(extInfo
[all...]

Completed in 19 milliseconds

12