Home
last modified time | relevance | path

Searched refs:extInfo (Results 1 – 25 of 84) sorted by relevance

1234

/ohos5.0/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()
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()
82 uint32_t& eventValue, uint32_t& listenerGroup, std::string& extInfo) in ParseAndCheckEventParcel() argument
92 READ_PARCEL(data, String, extInfo, ERR_RES_SCHED_PARCEL_ERROR, ResSchedEventListenerStub); in ParseAndCheckEventParcel()
H A Dres_sched_event_listener_proxy.cpp30 const nlohmann::json& extInfo) in OnReceiveEvent() argument
36 error = WriteParcelForReceiveEvent(eventType, eventValue, listenerGroup, extInfo, data); in OnReceiveEvent()
51 …const uint32_t eventValue, const uint32_t listenerGroup, const nlohmann::json& extInfo, MessagePar… in WriteParcelForReceiveEvent() argument
58 …WRITE_PARCEL(data, String, extInfo.dump(-1, ' ', false, nlohmann::detail::error_handler_t::replace… in WriteParcelForReceiveEvent()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/ressched/test/unittest/
H A Dressched_event_listener_test.cpp46 std::unordered_map<std::string, std::string> extInfo; variable
48 ResourceSchedule::ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_START, extInfo);
52 ResourceSchedule::ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_STOP, extInfo);
56 ResourceSchedule::ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_START, extInfo);
60 -1, extInfo);
64 ResourceSchedule::ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_STOP, extInfo);
78 std::unordered_map<std::string, std::string> extInfo; variable
80 ResourceSchedule::ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_START, extInfo);
84 ResourceSchedule::ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_START, extInfo);
/ohos5.0/base/inputmethod/imf/services/src/
H A Dime_info_inquirer.cpp441 if (extInfo == extInfos.end()) { in GetSubProperty()
443 extInfo = extInfos.begin(); in GetSubProperty()
446 … subProp.label = GetStringById(extInfo->bundleName, extInfo->moduleName, extInfo->labelId, userId); in GetSubProperty()
447 subProp.id = extInfo->name; in GetSubProperty()
449 subProp.iconId = extInfo->iconId; in GetSubProperty()
466 …subProperty.label = GetStringById(extInfo.bundleName, extInfo.moduleName, extInfo.labelId, userId); in ListInputMethodSubtype()
537 std::string resPath = extInfo.hapPath.empty() ? extInfo.resourcePath : extInfo.hapPath; in ListInputMethodSubtype()
581 auto iter = std::find_if(extInfo.metadata.begin(), extInfo.metadata.end(), in ParseSubtype()
733 return extInfo.bundleName == bundleName && extName == extInfo.name; in IsImeInstalled()
1011 tempExtInfos.insert({ extInfo.bundleName, { extInfo } }); in QueryFullImeInfo()
[all …]
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/scene_recognize/src/
H A Dslide_recognizer.cpp40 nlohmann::json extInfo; in __anon9c329c500202() local
42 ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_STOP, extInfo); in __anon9c329c500202()
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()
[all …]
/ohos5.0/base/startup/init/services/param/trigger/
H A Dtrigger_manager.c105 int ret = strcpy_s(node->name, strlen(extInfo->info.name) + 1, extInfo->info.name); in AddJobNode_()
118 PARAM_CHECK(extInfo != NULL && extInfo->addNode != NULL, return NULL, "extInfo is null"); in AddJobTrigger_()
126 int ret = extInfo->addNode(node, extInfo); in AddJobTrigger_()
129 if (extInfo->type == TRIGGER_BOOT) { in AddJobTrigger_()
180 PARAM_CHECK(extInfo != NULL && extInfo->addNode != NULL, return NULL, "extInfo is null"); in AddWatchTrigger_()
194 int ret = extInfo->addNode(node, extInfo); in AddWatchTrigger_()
197 if (extInfo->type == TRIGGER_PARAM_WAIT) { in AddWatchTrigger_()
278 TriggerExtInfo extInfo = {}; in UpdateJobTrigger() local
279 extInfo.info.name = (char *)name; in UpdateJobTrigger()
280 extInfo.type = type; in UpdateJobTrigger()
[all …]
/ohos5.0/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()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_overloads.cpp486 UniformExtInfo extInfo(1); in Uniform1fv() local
507 UniformExtInfo extInfo(WebGLArg::UNIFORM_2V_REQUIRE_MIN_SIZE); in Uniform2fv() local
527 UniformExtInfo extInfo(WebGLArg::UNIFORM_3V_REQUIRE_MIN_SIZE); in Uniform3fv() local
547 UniformExtInfo extInfo(WebGLArg::UNIFORM_4V_REQUIRE_MIN_SIZE); in Uniform4fv() local
567 UniformExtInfo extInfo(1); in Uniform1iv() local
568 extInfo.dimension = 1; in Uniform1iv()
588 UniformExtInfo extInfo(WebGLArg::UNIFORM_2V_REQUIRE_MIN_SIZE); in Uniform2iv() local
608 UniformExtInfo extInfo(WebGLArg::UNIFORM_3V_REQUIRE_MIN_SIZE); in Uniform3iv() local
628 UniformExtInfo extInfo(WebGLArg::UNIFORM_4V_REQUIRE_MIN_SIZE); in Uniform4iv() local
643 UniformExtInfo extInfo(WebGLArg::MATRIX_2X2_REQUIRE_MIN_SIZE); in UniformMatrix2fv() local
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_frame_rate_range.h106 std::string extInfo = ""; in GetExtInfo() local
109 extInfo = "RS_ANIMATION"; in GetExtInfo()
112 extInfo = "UI_ANIMATION"; in GetExtInfo()
115 extInfo = "DISPLAY_SYNC"; in GetExtInfo()
118 extInfo = "ACE_COMPONENT"; in GetExtInfo()
121 extInfo = "DISPLAY_SOLOIST"; in GetExtInfo()
126 return extInfo + (isEnergyAssurance_ ? "_ENERGY_ASSURANCE" : ""); in GetExtInfo()
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/
H A Devent_listener_mgr.cpp122 …EventListenerMgr::SendEvent(uint32_t eventType, uint32_t eventValue, const nlohmann::json &extInfo, in SendEvent() argument
135 SendEventLock(eventType, eventValue, extInfo, listenerGroup); in SendEvent()
154 …tListenerMgr::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() argument
192 auto func = [listenerVec, eventType, eventValue, extInfo, listenerGroup] () { in HandleSendEvent()
198 proxy->OnReceiveEvent(eventType, eventValue, listenerGroup, extInfo); in HandleSendEvent()
/ohos5.0/drivers/external_device_manager/services/native/driver_extension_manager/src/drivers_pkg_manager/
H A Ddriver_info.cpp26 string extInfo; in Serialize() local
31 this->driverInfoExt_->Serialize(extInfo); in Serialize()
42 cJSON_AddStringToObject(root, "ext_info", extInfo.c_str()); in Serialize()
119 string extInfo = GetStringValue(jsonObj, "ext_info"); in UnSerialize() local
120 int32_t ret = this->driverInfoExt_->UnSerialize(extInfo); in UnSerialize()
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/model/misc/dsoftbus/src/
H A Dsoftbus_lwip_monitor.c54 } extInfo; member
92 reportInfo.extInfo.status = args->status_changed.state; in NetifStatusCallback()
103 reportInfo.extInfo.status = NETIF_STATUS_UP; in NetifStatusCallback()
109 reportInfo.extInfo.status = NETIF_STATUS_DOWN; in NetifStatusCallback()
/ohos5.0/base/startup/appspawn/modules/sandbox/
H A Dsandbox_expand.c196 char *extInfo = (char *)(GetAppSpawnMsgExtInfo(context->message, name, &size)); in GetJsonObjFromProperty() local
197 if (size == 0 || extInfo == NULL) { in GetJsonObjFromProperty()
200 APPSPAWN_LOGV("Get json name %{public}s value %{public}s", name, extInfo); in GetJsonObjFromProperty()
201 cJSON *root = cJSON_Parse(extInfo); in GetJsonObjFromProperty()
202 …APPSPAWN_CHECK(root != NULL, return NULL, "Invalid ext info %{public}s for %{public}s", extInfo, n… in GetJsonObjFromProperty()
228 char *extInfo = (char *)GetAppSpawnMsgExtInfo(context->message, name, &size); in ProcessOverlayAppConfig() local
229 if (size == 0 || extInfo == NULL) { in ProcessOverlayAppConfig()
232 APPSPAWN_LOGV("ProcessOverlayAppConfig name %{public}s value %{public}s", name, extInfo); in ProcessOverlayAppConfig()
233 return SetOverlayAppSandboxConfig(context, extInfo); in ProcessOverlayAppConfig()
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/test/unittest/src/
H A Devent_listener_mgr_test.cpp36 …ent(uint32_t eventType, uint32_t eventValue, uint32_t listenerGroup, const nlohmann::json& extInfo) in OnReceiveEvent() argument
82 nlohmann::json extInfo; variable
84 ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_START, extInfo);
103 nlohmann::json extInfo; variable
109 ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_STOP, extInfo);
330 nlohmann::json extInfo; variable
332 ResType::EventValue::EVENT_VALUE_DRAW_FRAME_REPORT_STOP, extInfo);
H A Dres_sched_client_test.cpp92 std::unordered_map<std::string, std::string> extInfo) override in OnReceiveEvent() argument
272 nlohmann::json extInfo; variable
275 ResType::EventListenerGroup::LISTENER_GROUP_COMMON, extInfo);
301 nlohmann::json extInfo; variable
304 ResType::EventListenerGroup::LISTENER_GROUP_COMMON, extInfo);
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhstream_common.cpp253 for (auto& extInfo : curStreamInfo.extendedStreamInfos) { in DumpStreamInfo() local
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()
/ohos5.0/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);
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/
H A Dservice_test.cpp583 BackupExtInfo extInfo {}; variable
649 BackupExtInfo extInfo {}; variable
650 extInfo.backUpConnection = nullptr;
651 extInfo.versionName = "0.0.0.0-0.0.0.0";
725 BackupExtInfo extInfo {}; variable
1513 BackupExtInfo extInfo {}; variable
1514 extInfo.backUpConnection = nullptr;
1548 BackupExtInfo extInfo {}; variable
1549 extInfo.backUpConnection = nullptr;
1556 extInfo.saBackupConnection =
[all …]
/ohos5.0/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()
107 … this->extInfo == other.extInfo && this->pid == other.pid && this->bundleName == other.bundleName;
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
H A Dime_system_channel.cpp263 ExtensionAbilityInfo extInfo; in GetSmartMenuCfg() local
264 GetExtensionInfo(bundleInfo.extensionInfos, extInfo); in GetSmartMenuCfg()
266 if (!client.GetResConfigFile(extInfo, SMART_MENU_METADATA_NAME, profiles) || profiles.empty()) { in GetSmartMenuCfg()
274 ExtensionAbilityInfo &extInfo) in GetExtensionInfo() argument
280 extInfo = extensionInfos[i]; in GetExtensionInfo()
/ohos5.0/base/startup/init/services/param/linux/
H A Dparam_service.c184 static int32_t AddWatchNode(struct tagTriggerNode_ *trigger, const struct TriggerExtInfo_ *extInfo) in AddWatchNode() argument
187 if (extInfo != NULL && extInfo->stream != NULL) { in AddWatchNode()
188 watcher = (ParamWatcher *)ParamGetTaskUserData(extInfo->stream); in AddWatchNode()
191 if (extInfo->type == TRIGGER_PARAM_WAIT) { in AddWatchNode()
194 node->timeout = extInfo->info.waitInfo.timeout; in AddWatchNode()
195 node->stream = extInfo->stream; in AddWatchNode()
196 node->waitId = extInfo->info.waitInfo.waitId; in AddWatchNode()
201 node->watchId = extInfo->info.watchInfo.watchId; in AddWatchNode()
/ohos5.0/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, MessagePar…
/ohos5.0/base/inputmethod/imf/services/include/
H A Dime_info_inquirer.h134 …ListInputMethodSubtype(const int32_t userId, const OHOS::AppExecFwk::ExtensionAbilityInfo &extInfo,
139 const OHOS::AppExecFwk::ExtensionAbilityInfo &extInfo, SubProperty &subProp);
140 …int32_t ParseSubtype(const OHOS::AppExecFwk::ExtensionAbilityInfo &extInfo, std::vector<Subtype> &…
149 bool IsTempInputMethod(const OHOS::AppExecFwk::ExtensionAbilityInfo &extInfo);
/ohos5.0/foundation/bundlemanager/ecological_rule_manager/test/unittest/
H A Decological_rule_mgr_service_client_test.cpp115 ExtensionAbilityInfo extInfo; variable
116 extInfos.push_back(extInfo);
/ohos5.0/base/security/device_auth/services/frameworks/src/hiview_adapter/
H A Dhisysevent_adapter.cpp56 STR_EXT_INFO, ((eventData.extInfo != NULL) ? eventData.extInfo : STR_UNKNOWN)); in DevAuthReportCallEvent()

1234