Searched refs:GetStringFromJsonObj (Results 1 – 5 of 5) sorted by relevance
/base/startup/appspawn/util/include/ |
D | json_utils.h | 34 __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/ |
D | sandbox_load.c | 176 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/ |
D | appspawn_test_cmder.cpp | 168 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/ |
D | app_spawn_module_interface_test.cpp | 378 …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/ |
D | appspawn_mount_permission.c | 53 char *name = GetStringFromJsonObj(json, "name"); in ParseAppSandboxConfig()
|