Searched refs:cJSON_CreateString (Results 1 – 9 of 9) sorted by relevance
/base/startup/init/test/unittest/init/ |
D | sandbox_unittest.cpp | 99 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/ |
D | cJSON.h | 60 cJSON* cJSON_CreateString(const char* string);
|
/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
D | nativetoken_json_oper.c | 125 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/ |
D | jsonutil.c | 202 cJSON_AddItemToArray(objArr, cJSON_CreateString(value)); in add_string_to_array()
|
/base/msdp/device_status/services/interaction/coordination/src/ |
D | coordination_softbus_adapter.cpp | 315 …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/ |
D | pms_impl.c | 255 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/ |
D | json_utils.c | 379 cJSON *strObj = cJSON_CreateString(string); in AddStringToArray() 404 cJSON *tmp = cJSON_CreateString(value); in AddStringToJson()
|
/base/security/device_auth/test/unittest/deviceauth/source/ |
D | json_utils_mock.c | 437 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/ |
D | cJSON.c | 200 cJSON* cJSON_CreateString(const char *string) in cJSON_CreateString() function
|