/base/startup/appspawn_lite/services/src/ |
D | appspawn_message.c | 107 cJSON* capItem = cJSON_GetObjectItem(curItem, "capability"); in GetCaps() 169 cJSON* bundleNameItem = cJSON_GetObjectItem(rootJ, "bundleName"); in SplitMessage() 177 cJSON* identityIDItem = cJSON_GetObjectItem(rootJ, "identityID"); in SplitMessage() 185 cJSON* uIDItem = cJSON_GetObjectItem(rootJ, "uID"); in SplitMessage() 186 cJSON* gIDItem = cJSON_GetObjectItem(rootJ, "gID"); in SplitMessage()
|
/base/startup/appspawn/lite/ |
D | appspawn_message.c | 108 cJSON *capItem = cJSON_GetObjectItem(curItem, "capability"); in GetCaps() 171 cJSON *bundleNameItem = cJSON_GetObjectItem(rootJ, "bundleName"); in SplitMessage() 179 cJSON *identityIDItem = cJSON_GetObjectItem(rootJ, "identityID"); in SplitMessage() 187 cJSON *uIDItem = cJSON_GetObjectItem(rootJ, "uID"); in SplitMessage() 188 cJSON *gIDItem = cJSON_GetObjectItem(rootJ, "gID"); in SplitMessage()
|
/base/update/updater/services/updater_binary/ |
D | update_partitions.cpp | 36 cJSON* partitions = cJSON_GetObjectItem(root, "Partition"); in ParsePartitionInfo() 54 cJSON* item = cJSON_GetObjectItem(thisPartition, "start"); in ParsePartitionInfo() 58 item = cJSON_GetObjectItem(thisPartition, "length"); in ParsePartitionInfo() 64 item = cJSON_GetObjectItem(thisPartition, "partName"); in ParsePartitionInfo() 68 item = cJSON_GetObjectItem(thisPartition, "fsType"); in ParsePartitionInfo()
|
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
D | app_provision.c | 36 cJSON *jsonObj = cJSON_GetObjectItem(root, tag); in GetStringTag() 76 cJSON *jsonObj = cJSON_GetObjectItem(root, tag); in GetStringArrayTag() 122 cJSON *jsonObj = cJSON_GetObjectItem(root, "validity"); in GetProfValidity() 128 cJSON *notBefore = cJSON_GetObjectItem(jsonObj, "not-before"); in GetProfValidity() 135 cJSON *notAfter = cJSON_GetObjectItem(jsonObj, "not-after"); in GetProfValidity() 146 cJSON *jsonObj = cJSON_GetObjectItem(root, "bundle-info"); in GetProfBundleInfo() 182 cJSON *jsonObj = cJSON_GetObjectItem(root, "permissions"); in GetProfPermission() 194 cJSON *jsonObj = cJSON_GetObjectItem(root, "debug-info"); in GetProfDebugInfo() 290 cJSON *jsonObj = cJSON_GetObjectItem(root, "version-code"); in ParseProfile()
|
/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
D | nativetoken_json_oper.c | 33 cJSON *processNameJson = cJSON_GetObjectItem(cjsonItem, PROCESS_KEY_NAME); in GetProcessNameFromJson() 49 cJSON *tokenIdJson = cJSON_GetObjectItem(cjsonItem, TOKENID_KEY_NAME); in GetTokenIdFromJson() 67 cJSON *aplJson = cJSON_GetObjectItem(cjsonItem, APL_KEY_NAME); in GetAplFromJson() 83 cJSON *strArrJson = cJSON_GetObjectItem(cjsonItem, attr->strKey); in GetInfoArrFromJson() 228 if (cJSON_GetObjectItem(record, strKey) != NULL) { in UpdateStrArrayType() 286 cJSON *processNameJson = cJSON_GetObjectItem(cjsonItem, PROCESS_KEY_NAME); in UpdateGoalItemFromRecord()
|
/base/startup/init/test/unittest/init/ |
D | service_unittest.cpp | 60 cJSON *serviceItem = cJSON_GetObjectItem(jobItem, "services"); 82 cJSON *serviceItem = cJSON_GetObjectItem(jobItem, "services"); 125 cJSON *serviceItem = cJSON_GetObjectItem(jobItem, "services"); 184 cJSON *serviceItem = cJSON_GetObjectItem(jobItem, "services"); 255 cJSON *serviceItem = cJSON_GetObjectItem(jobItem, "services"); 266 serviceItem = cJSON_GetObjectItem(jobItem, "services");
|
D | cmds_unittest.cpp | 247 cJSON *cmdsItem = cJSON_GetObjectItem(jobItem, "jobs"); 257 cJSON *cmdsItem2 = cJSON_GetObjectItem(cmdsItem1, "cmds");
|
D | group_unittest.cpp | 324 cJSON *serviceItem = cJSON_GetObjectItem(jobItem, "services");
|
/base/startup/init/services/modules/selinux/ |
D | selinux_static.c | 30 …char *fieldStr = cJSON_GetStringValue(cJSON_GetObjectItem(serviceParseCtx->serviceNode, SECON_STR_… in ServiceParseSelinuxHook()
|
/base/startup/init/services/init/lite/ |
D | init_jobs.c | 50 char *jobNameStr = cJSON_GetStringValue(cJSON_GetObjectItem(jobItem, "name")); in GetJobName() 71 cJSON *cmdsItem = cJSON_GetObjectItem(jobItem, CMDS_ARR_NAME_IN_JSON); in ParseJob()
|
/base/startup/init/interfaces/innerkits/sandbox/ |
D | sandbox.c | 227 char *srcPath = cJSON_GetStringValue(cJSON_GetObjectItem(item, SANDBOX_SOURCE)); in AddMountInfoToSandbox() 229 char *dstPath = cJSON_GetStringValue(cJSON_GetObjectItem(item, SANDBOX_TARGET)); in AddMountInfoToSandbox() 231 cJSON *obj = cJSON_GetObjectItem(item, SANDBOX_FLAGS); in AddMountInfoToSandbox() 246 obj = cJSON_GetObjectItem(item, SANDBOX_IGNORE_ERRORS); in AddMountInfoToSandbox() 269 char *target = cJSON_GetStringValue(cJSON_GetObjectItem(item, SANDBOX_SYMLINK_TARGET)); in AddSymbolLinksToSandbox() 271 char *name = cJSON_GetStringValue(cJSON_GetObjectItem(item, SANDBOX_SYMLINK_NAME)); in AddSymbolLinksToSandbox() 287 cJSON *obj = cJSON_GetObjectItem(root, itemName); in GetSandboxInfo() 317 cJSON *sandboxRoot = cJSON_GetObjectItem(root, SANDBOX_ROOT_TAG); in ParseSandboxConfig()
|
/base/update/updateservice/services/engine/src/ |
D | update_service.cpp | 680 cJSON *item = cJSON_GetObjectItem(root, "searchStatus"); in ParseJsonFile() 684 item = cJSON_GetObjectItem(root, "errMsg"); in ParseJsonFile() 688 cJSON *results = cJSON_GetObjectItem(root, "checkResults"); in ParseJsonFile() 693 cJSON *descriptInfo = cJSON_GetObjectItem(root, "descriptInfo"); in ParseJsonFile() 714 cJSON *item = cJSON_GetObjectItem(result, "versionName"); in ReadCheckVersionResult() 718 item = cJSON_GetObjectItem(result, "versionCode"); in ReadCheckVersionResult() 722 item = cJSON_GetObjectItem(result, "verifyInfo"); in ReadCheckVersionResult() 726 item = cJSON_GetObjectItem(result, "size"); in ReadCheckVersionResult() 730 item = cJSON_GetObjectItem(result, "packageType"); in ReadCheckVersionResult() 734 item = cJSON_GetObjectItem(result, "url"); in ReadCheckVersionResult() [all …]
|
/base/security/device_security_level/baselib/utils/src/ |
D | utils_json.c | 79 cJSON *objValue = cJSON_GetObjectItem(handle, field); in GetJsonFieldIntArray() 137 return cJSON_GetObjectItem((cJSON *)handle, field); in GetJsonFieldJson()
|
/base/startup/init/services/init/ |
D | init_service_manager.c | 173 char *fieldStr = cJSON_GetStringValue(cJSON_GetObjectItem(json, name)); in GetStringValue() 193 cJSON *obj = cJSON_GetObjectItem(argJson, name); in GetServiceArgs() 299 cJSON *filedJ = cJSON_GetObjectItem(curArrItem, attrName); in GetServiceAttr() 546 cJSON *item = cJSON_GetObjectItem(curArrItem, "ondemand"); in GetServiceOnDemand() 594 char *value = cJSON_GetStringValue(cJSON_GetObjectItem(json, "start-mode")); in GetServiceMode() 599 value = cJSON_GetStringValue(cJSON_GetObjectItem(json, "end-mode")); in GetServiceMode() 613 char *jobName = cJSON_GetStringValue(cJSON_GetObjectItem(json, jobTypes[i])); in GetServiceJobs() 632 cJSON *arrItem = cJSON_GetObjectItem(curArrItem, attrName); in GetCritical() 683 cJSON *obj = cJSON_GetObjectItem(argJson, name); in GetCpuArgs() 714 cJSON *item = cJSON_GetObjectItem(curItem, "sandbox"); in GetServiceSandbox() [all …]
|
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/include/ |
D | cJSON.h | 54 cJSON* cJSON_GetObjectItem(const cJSON* const object, const char* const string);
|
/base/startup/init/test/unittest/lite/ |
D | cmd_func_test.cpp | 609 char *nameStr = cJSON_GetStringValue(cJSON_GetObjectItem(curItem, "name")); in CheckService() 616 cJSON *pathArgsItem = cJSON_GetObjectItem(curItem, "path"); in CheckService() 633 cJSON *filedJ = cJSON_GetObjectItem(curItem, "uid"); in CheckService() 637 filedJ = cJSON_GetObjectItem(curItem, "gid"); in CheckService() 641 filedJ = cJSON_GetObjectItem(curItem, "once"); in CheckService() 644 filedJ = cJSON_GetObjectItem(curItem, "importance"); in CheckService() 647 filedJ = cJSON_GetObjectItem(curItem, "caps"); in CheckService() 729 cJSON *cmdsItem = cJSON_GetObjectItem(jobItem, CMDS_ARR_NAME_IN_JSON.c_str()); in CheckJob() 761 char *jobNameStr = cJSON_GetStringValue(cJSON_GetObjectItem(jobItem, "name")); in CheckJobs()
|
/base/startup/init/services/param/trigger/ |
D | trigger_processor.c | 225 char *name = cJSON_GetStringValue(cJSON_GetObjectItem(triggerItem, "name")); in ParseTrigger_() 227 char *condition = cJSON_GetStringValue(cJSON_GetObjectItem(triggerItem, "condition")); in ParseTrigger_() 240 cJSON *cmdItems = cJSON_GetObjectItem(triggerItem, CMDS_ARR_NAME_IN_JSON); in ParseTrigger_() 279 ParseJobHookExecute(cJSON_GetStringValue(cJSON_GetObjectItem(item, "name")), item); in ParseTriggerConfig()
|
/base/security/permission_lite/services/pms_client/ |
D | perm_client.c | 212 cJSON *array = cJSON_GetObjectItem(root, FIELD_PERMISSION); in ParsePermissions() 231 cJSON *itemName = cJSON_GetObjectItem(object, FIELD_NAME); in ParsePermissions() 232 cJSON *itemDesc = cJSON_GetObjectItem(object, FIELD_DESC); in ParsePermissions() 233 cJSON *itemGranted = cJSON_GetObjectItem(object, FIELD_IS_GRANTED); in ParsePermissions()
|
/base/sensors/miscdevice/utils/src/ |
D | json_parser.cpp | 56 return cJSON_GetObjectItem(json, key.c_str()); in GetObjectItem()
|
/base/security/permission_lite/services/pms/src/ |
D | pms_impl.c | 146 cJSON *itemName = cJSON_GetObjectItem(object, FIELD_NAME); in ParseFixedPermissionsItem() 147 cJSON *itemDesc = cJSON_GetObjectItem(object, FIELD_DESC); in ParseFixedPermissionsItem() 148 cJSON *itemGranted = cJSON_GetObjectItem(object, FIELD_IS_GRANTED); in ParseFixedPermissionsItem() 165 cJSON *itemFlags = cJSON_GetObjectItem(object, FIELD_FLAGS); in ParseNewPermissionsItem() 181 cJSON *array = cJSON_GetObjectItem(root, FIELD_PERMISSION); in ParsePermissions()
|
/base/security/device_auth/frameworks/deviceauth_lite/source/json/ |
D | jsonutil.c | 39 return cJSON_GetObjectItem((cJSON *)parent, field); in get_json_obj()
|
/base/msdp/device_status/libs/src/ |
D | devicestatus_data_parse.cpp | 62 cJSON* mockarray = cJSON_GetObjectItem(parser.json_, DeviceStatusJson[type].json.c_str()); in DataInit()
|
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/src/ |
D | cJSON.c | 54 cJSON* cJSON_GetObjectItem(const cJSON* const object, const char* const string) in cJSON_GetObjectItem() function
|
/base/startup/init/services/modules/bootevent/ |
D | bootevent.c | 267 cJSON *bootEvents = cJSON_GetObjectItem(serviceParseCtx->serviceNode, BOOT_EVENT_FIELD_NAME); in ServiceParseBootEventHook()
|