Home
last modified time | relevance | path

Searched refs:ParseValue (Results 1 - 9 of 9) sorted by relevance

/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_parser.cpp37 int32_t BundleParser::ParseValue(const cJSON *object, const char *key, int32_t defaultValue) in ParseValue() function in OHOS::BundleParser
51 char *BundleParser::ParseValue(const cJSON *object, const char *key) in ParseValue() function in OHOS::BundleParser
65 cJSON *BundleParser::ParseValue(const cJSON *object, const char *key, cJSON *defaultValue) in ParseValue() function in OHOS::BundleParser
142 char *name = ParseValue(object, PROFILE_KEY_REQPERMISSIONS_NAME); in SetReqPermission()
143 char *desc = ParseValue(object, PROFILE_KEY_REQPERMISSIONS_REASON); in SetReqPermission()
160 cJSON *usedSceneObject = ParseValue(object, PROFILE_KEY_REQPERMISSIONS_USEDSCENE, nullptr); in SetReqPermission()
161 char *when = ParseValue(usedSceneObject, PROFILE_KEY_REQPERMISSIONS_WHEN); in SetReqPermission()
205 *bundleName = Utils::Strdup(ParseValue(appObject, PROFILE_KEY_BUNDLENAME)); in ParseBundleParam()
211 cJSON *object = ParseValue(appObject, PROFILE_KEY_VERSION, nullptr); in ParseBundleParam()
217 versionCode = ParseValue(objec in ParseBundleParam()
[all...]
H A Dgt_bundle_parser.cpp47 int32_t GtBundleParser::ParseValue(const cJSON *object, const char *key, int32_t defaultValue) in ParseValue() function in OHOS::GtBundleParser
61 char *GtBundleParser::ParseValue(const cJSON *object, const char *key) in ParseValue() function in OHOS::GtBundleParser
75 cJSON *GtBundleParser::ParseValue(const cJSON *object, const char *key, cJSON *defaultValue) in ParseValue() function in OHOS::GtBundleParser
129 *bundleName = Utils::Strdup(ParseValue(appObject, PROFILE_KEY_BUNDLENAME)); in ParseBundleAttr()
135 cJSON *object = ParseValue(appObject, PROFILE_KEY_VERSION, nullptr); in ParseBundleAttr()
141 versionCode = ParseValue(object, PROFILE_KEY_VERSION_CODE, -1); in ParseBundleAttr()
196 bundleProfile.bundleName = ParseValue(appObject, PROFILE_KEY_BUNDLENAME); in ParseJsonInfo()
204 bundleProfile.vendor = ParseValue(appObject, PROFILE_KEY_VENDOR); in ParseJsonInfo()
208 cJSON *object = ParseValue(appObject, PROFILE_KEY_VERSION, nullptr); in ParseJsonInfo()
209 bundleProfile.profileVersion.versionName = ParseValue(objec in ParseJsonInfo()
[all...]
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dgt_bundle_parser.h56 static char *ParseValue(const cJSON *object, const char *key);
57 static int32_t ParseValue(const cJSON *object, const char *key, int32_t defaultValue);
58 static cJSON *ParseValue(const cJSON *object, const char *key, cJSON *defaultValue);
H A Dbundle_parser.h61 static char *ParseValue(const cJSON *object, const char *key);
62 static int32_t ParseValue(const cJSON *object, const char *key, int32_t defaultValue);
63 static cJSON *ParseValue(const cJSON *object, const char *key, cJSON *defaultValue);
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/
H A Dcgroup_event_handler.cpp655 if (!ParseValue(keyTid, "tid", payload) || !ParseValue(role, "role", payload)) { in HandleReportKeyThread()
695 if (!ParseValue(windowId, "windowId", payload) || !ParseValue(state, "state", payload) || in HandleReportWindowState()
696 !ParseValue(nowSerialNum, "serialNum", payload)) { in HandleReportWindowState()
787 if (!ParseValue(uid, "uid", payload) || !ParseValue(pid, "clientPid", payload)) { in HandleReportWebviewAudioState()
826 if (!ParseValue(uid, "uid", payload) || !ParseValue(pid, "pid", payload)) { in HandleReportRunningLockEvent()
862 if (!ParseValue(ui in HandleReportHisysEvent()
1126 bool CgroupEventHandler::ParseValue(int32_t& value, const char* name, ParseValue() function in OHOS::CgroupEventHandler
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched_executor/services/resschedexemgr/include/
H A Dres_sched_exe_mgr.h75 bool ParseValue(int32_t& value, const char* name, const nlohmann::json& payload);
/foundation/resourceschedule/resource_schedule_service/ressched_executor/services/resschedexemgr/src/
H A Dres_sched_exe_mgr.cpp164 if (!(ParseValue(tid, "tid", payload)) || !(ParseValue(policy, "policy", payload))) { in HandleRequestForCgroup()
165 RSSEXE_LOGE("%{public}s : ParseValue failed", __func__); in HandleRequestForCgroup()
193 bool ResSchedExeMgr::ParseValue(int32_t& value, const char* name, const nlohmann::json& payload) in ParseValue() function in OHOS::ResourceSchedule::ResSchedExeMgr
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_web_controller.cpp86 std::shared_ptr<WebJSValue> ParseValue(const JSRef<JSVal>& resultValue, std::shared_ptr<WebJSValue> webviewValue) in ParseValue() function
89 TAG_LOGE(AceLogTag::ACE_WEB, "ParseValue: webviewValue or resultValue is null"); in ParseValue()
111 webviewValue->AddListValue(*ParseValue(value, nVal)); in ParseValue()
125 ParseValue(key, nwebKeyTmp); in ParseValue()
126 ParseValue(property, nwebValueTmp); in ParseValue()
130 TAG_LOGE(AceLogTag::ACE_WEB, "ParseValue: object is not supported"); in ParseValue()
306 return ParseValue(result, jsResult); in GetJavaScriptResult()
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/include/
H A Dcgroup_event_handler.h85 bool ParseValue(int32_t& value, const char* name, const nlohmann::json& payload);

Completed in 8 milliseconds