Home
last modified time | relevance | path

Searched refs:GetStringFromJsonObj (Results 1 – 5 of 5) sorted by relevance

/base/startup/appspawn/util/include/
Djson_utils.h34 __attribute__((always_inline)) inline char *GetStringFromJsonObj(const cJSON *json, const char *key) in GetStringFromJsonObj() function
46 char *value = GetStringFromJsonObj(json, key); in GetBoolValueFromJsonObj()
/base/startup/appspawn/modules/sandbox/
Dsandbox_load.c176 char *modeStrs = GetStringFromJsonObj(config, "dest-mode"); in GetChmodFromJson()
186 char *flagStr = GetStringFromJsonObj(config, "name"); in GetFlagIndexFromJson()
207 char *srcPath = GetStringFromJsonObj(config, "src-path"); in DecodeMountPathConfig()
208 char *dstPath = GetStringFromJsonObj(config, "sandbox-path"); in DecodeMountPathConfig()
229 sandboxNode->category = GetMountCategory(GetStringFromJsonObj(config, "category")); in DecodeMountPathConfig()
230 const char *value = GetStringFromJsonObj(config, "app-apl-name"); in DecodeMountPathConfig()
264 const char *target = GetStringFromJsonObj(config, "target-name"); in DecodeSymbolLinksConfig()
265 const char *linkName = GetStringFromJsonObj(config, "link-name"); in DecodeSymbolLinksConfig()
499 char *name = GetStringFromJsonObj(groupConfig, "name"); in ParseNameGroup()
573 char *name = GetStringFromJsonObj(json, "name"); in ParseConditionalConfig()
[all …]
/base/startup/appspawn/test/moduletest/
Dappspawn_test_cmder.cpp168 char *bundleName = GetStringFromJsonObj(config, "bundle-name"); in AddBundleInfoFromJson()
183 char *userName = GetStringFromJsonObj(config, "user-name"); in AddDacInfoFromJson()
217 char *apl = GetStringFromJsonObj(config, "apl"); in AddDomainInfoFromJson()
233 char *name = GetStringFromJsonObj(config, "name"); in AddExtTlv()
234 char *value = GetStringFromJsonObj(config, "value"); in AddExtTlv()
281 std::string ownerId = GetStringFromJsonObj(appInfoConfig, "owner-id"); in BuildMsgFromJson()
287 std::string renderCmd = GetStringFromJsonObj(appInfoConfig, "render-cmd"); in BuildMsgFromJson()
312 const char *msgType = GetStringFromJsonObj(json, "msg-type"); in GetMsgTypeFromJson()
354 processName_ = GetStringFromJsonObj(appInfoConfig_, "process-name"); in CreateMsg()
/base/startup/appspawn/test/unittest/app_spawn_standard_test/
Dapp_spawn_module_interface_test.cpp378 …char *tmp = GetStringFromJsonObj(cJSON_GetObjectItemCaseSensitive(json, "global"), "sandbox-root");
380 tmp = GetStringFromJsonObj(cJSON_GetObjectItemCaseSensitive(json, "global"), nullptr);
382 tmp = GetStringFromJsonObj(nullptr, "sandbox-root");
384 tmp = GetStringFromJsonObj(nullptr, nullptr);
/base/startup/appspawn/interfaces/innerkits_new/permission/
Dappspawn_mount_permission.c53 char *name = GetStringFromJsonObj(json, "name"); in ParseAppSandboxConfig()