Home
last modified time | relevance | path

Searched refs:cJSON_CreateString (Results 1 – 9 of 9) sorted by relevance

/base/startup/init/test/unittest/init/
Dsandbox_unittest.cpp99 cJSON_AddItemToObject(mJsonSandbox, SANDBOX_CONFIG[0], cJSON_CreateString(SANDBOX_ROOT[0])); in MakeSandboxJson()
105 cJSON_AddItemToArray(mJsonMtBdPthItmSdxFlg, cJSON_CreateString(SANDBOX_FLAGS[i])); in MakeSandboxJson()
115 … cJSON_AddItemToObject(mJsonMtBdPth_Itm, MOUNT_BIND_PATHS[0], cJSON_CreateString(APP_PATHS[i])); in MakeSandboxJson()
116 … cJSON_AddItemToObject(mJsonMtBdPth_Itm, MOUNT_BIND_PATHS[1], cJSON_CreateString(APP_PATHS[i])); in MakeSandboxJson()
124 …cJSON_AddItemToObject(mJsonMtBdFlItm, SANDBOX_CONFIG[1], cJSON_CreateString("/data/init_ut/testsan… in MakeSandboxJson()
131 … cJSON_AddItemToObject(mJsonSymLk_Itm, SYMBOL_LINKS[0], cJSON_CreateString(APP_PATHS[i])); in MakeSandboxJson()
132 … cJSON_AddItemToObject(mJsonSymLk_Itm, SYMBOL_LINKS[1], cJSON_CreateString(APP_PATHS[i])); in MakeSandboxJson()
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/include/
DcJSON.h60 cJSON* cJSON_CreateString(const char* string);
/base/security/access_token/interfaces/innerkits/nativetoken/src/
Dnativetoken_json_oper.c125 cJSON *item = cJSON_CreateString(strArray[i]); in AddStrArrayInfo()
143 cJSON *item = cJSON_CreateString(curr->processName); in SetNativeTokenJsonObject()
215 cJSON *item = cJSON_CreateString(strArr[i]); in UpdateStrArrayType()
/base/security/device_auth/frameworks/deviceauth_lite/source/json/
Djsonutil.c202 cJSON_AddItemToArray(objArr, cJSON_CreateString(value)); in add_string_to_array()
/base/msdp/device_status/services/interaction/coordination/src/
Dcoordination_softbus_adapter.cpp315 …cJSON_AddItemToObject(jsonStr, FI_SOFTBUS_KEY_LOCAL_DEVICE_ID, cJSON_CreateString(localNetworkId.c… in StartRemoteCoordination()
350 …cJSON_AddItemToObject(jsonStr, FI_SOFTBUS_KEY_START_DHID, cJSON_CreateString(startDeviceDhid.c_str… in StartRemoteCoordinationResult()
427 …cJSON_AddItemToObject(jsonStr, FI_SOFTBUS_KEY_LOCAL_DEVICE_ID, cJSON_CreateString(localNetworkId.c… in NotifyUnchainedResult()
478 …cJSON_AddItemToObject(jsonStr, FI_SOFTBUS_KEY_OTHER_DEVICE_ID, cJSON_CreateString(remoteNetworkId.… in StartCoordinationOtherResult()
/base/security/permission_lite/services/pms/src/
Dpms_impl.c255 cJSON_AddItemToObject(object, FIELD_NAME, cJSON_CreateString(permissions[i].name)); in SavePermissions()
256 cJSON_AddItemToObject(object, FIELD_DESC, cJSON_CreateString(permissions[i].desc)); in SavePermissions()
271 cJSON_AddItemToObject(object, FIELD_FLAGS, cJSON_CreateString(buf)); in SavePermissions()
/base/security/device_auth/common_lib/impl/src/
Djson_utils.c379 cJSON *strObj = cJSON_CreateString(string); in AddStringToArray()
404 cJSON *tmp = cJSON_CreateString(value); in AddStringToJson()
/base/security/device_auth/test/unittest/deviceauth/source/
Djson_utils_mock.c437 cJSON *strObj = cJSON_CreateString(string); in AddStringToArray()
462 cJSON *tmp = cJSON_CreateString(value); in AddStringToJson()
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/src/
DcJSON.c200 cJSON* cJSON_CreateString(const char *string) in cJSON_CreateString() function