/ohos5.0/foundation/communication/dsoftbus/tests/core/common/json_utils/uttest/ |
H A D | softbus_json_utils_test.cpp | 73 cJSON *json = cJSON_CreateObject(); 88 cJSON *json = cJSON_CreateObject(); 102 cJSON *json = cJSON_CreateObject(); 117 cJSON *json = cJSON_CreateObject(); 134 cJSON *json = cJSON_CreateObject(); 150 cJSON *json = cJSON_CreateObject(); 173 cJSON *json = cJSON_CreateObject(); 210 cJSON *json = cJSON_CreateObject(); 225 cJSON *json = cJSON_CreateObject(); 239 cJSON *json = cJSON_CreateObject(); [all …]
|
/ohos5.0/foundation/multimodalinput/input/service/key_command/test/ |
H A D | key_command_handler_util_test.cpp | 89 cJSON *jsonData = cJSON_CreateObject(); 107 cJSON* jsonData = cJSON_CreateObject(); 123 cJSON* jsonData = cJSON_CreateObject(); 144 cJSON* jsonData = cJSON_CreateObject(); 161 cJSON* jsonData = cJSON_CreateObject(); 180 cJSON* jsonData = cJSON_CreateObject(); 259 cJSON *jsonData = cJSON_CreateObject(); 626 cJSON *json = cJSON_CreateObject(); 784 cJSON* params = cJSON_CreateObject(); 837 cJSON* param1 = cJSON_CreateObject(); [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/test/unittest/common/src/ |
H A D | histreamer_ability_querier_test.cpp | 212 cJSON *jsonObject = cJSON_CreateObject(); 237 cJSON *jsonObject = cJSON_CreateObject(); 259 cJSON *jsonObject = cJSON_CreateObject(); 281 cJSON *jsonObject = cJSON_CreateObject(); 338 jsonObject = cJSON_CreateObject(); 378 jsonObject = cJSON_CreateObject(); 410 jsonObject = cJSON_CreateObject(); 442 jsonObject = cJSON_CreateObject(); 487 jsonObject = cJSON_CreateObject(); 520 jsonObject = cJSON_CreateObject(); [all …]
|
/ohos5.0/foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/ |
H A D | netfirewall_default_rule_parser_test.cpp | 47 cJSON *json = cJSON_CreateObject(); 57 cJSON *root = cJSON_CreateObject(); 59 cJSON *ip = cJSON_CreateObject(); 74 cJSON *root = cJSON_CreateObject(); 76 cJSON *param = cJSON_CreateObject(); 88 cJSON *root = cJSON_CreateObject(); 89 cJSON *param = cJSON_CreateObject(); 100 cJSON *root = cJSON_CreateObject(); 112 cJSON *root = cJSON_CreateObject(); 124 cJSON *root = cJSON_CreateObject(); [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/componentloader/src/ |
H A D | component_loader_test.cpp | 338 cJSON *json = cJSON_CreateObject(); 358 cJSON *json = cJSON_CreateObject(); 379 cJSON *json = cJSON_CreateObject(); 401 cJSON *json = cJSON_CreateObject(); 424 cJSON *json = cJSON_CreateObject(); 448 cJSON *json = cJSON_CreateObject(); 473 cJSON *json = cJSON_CreateObject(); 499 cJSON *json = cJSON_CreateObject(); 526 cJSON *json = cJSON_CreateObject(); 554 cJSON *json = cJSON_CreateObject(); [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/utils/test/unittest/common/histreamer_ability_parser/ |
H A D | histreamer_ability_parser_test.cpp | 72 cJSON *json = cJSON_CreateObject(); 91 cJSON *json = cJSON_CreateObject(); 125 cJSON *jsonObject = cJSON_CreateObject(); 157 cJSON *jsonObject = cJSON_CreateObject(); 181 cJSON *jsonObject = cJSON_CreateObject(); 205 cJSON *jsonObject = cJSON_CreateObject(); 241 cJSON *jsonObject = cJSON_CreateObject(); 265 cJSON *jsonObject = cJSON_CreateObject(); 284 cJSON *jsonObject = cJSON_CreateObject(); 320 cJSON *jsonObject = cJSON_CreateObject(); [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/udp_negotiation/ |
H A D | trans_udp_negotiation_exchange_test.cpp | 91 cJSON *msg = cJSON_CreateObject(); 117 cJSON *msg = cJSON_CreateObject(); 125 msg = cJSON_CreateObject(); 133 msg = cJSON_CreateObject(); 153 cJSON *msg = cJSON_CreateObject(); 186 cJSON *msg = cJSON_CreateObject(); 196 msg = cJSON_CreateObject(); 220 cJSON *msg = cJSON_CreateObject(); 228 msg = cJSON_CreateObject(); 249 cJSON *msg = cJSON_CreateObject(); [all …]
|
/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_jsonutil/ |
H A D | b_jsonutil.cpp | 123 cJSON *info = cJSON_CreateObject(); in AddUnicastInfo() 212 cJSON *detail = cJSON_CreateObject(); in InsertBundleDetailInfo() 283 cJSON *info = cJSON_CreateObject(); in BuildExtensionErrInfo() 288 cJSON *errInfo = cJSON_CreateObject(); in BuildExtensionErrInfo() 312 cJSON *errJson = cJSON_CreateObject(); in BuildExtensionErrInfo() 349 cJSON *info = cJSON_CreateObject(); in BuildOnProcessRetInfo() 353 cJSON *processInfo = cJSON_CreateObject(); in BuildOnProcessRetInfo() 386 cJSON *info = cJSON_CreateObject(); in BuildOnProcessErrInfo() 390 cJSON *item = cJSON_CreateObject(); in BuildOnProcessErrInfo() 395 cJSON *errInfoJs = cJSON_CreateObject(); in BuildOnProcessErrInfo() [all …]
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | static_capability_loader_test.cpp | 228 cJSON *staticInfoJson = cJSON_CreateObject(); 246 cJSON *staticInfoJson = cJSON_CreateObject(); 265 cJSON *staticInfoJson = cJSON_CreateObject(); 286 cJSON *staticInfoJson = cJSON_CreateObject(); 323 cJSON *staticInfoJson = cJSON_CreateObject(); 342 cJSON *staticInfoJson = cJSON_CreateObject(); 372 cJSON *staticInfoJson = cJSON_CreateObject(); 386 cJSON *staticInfoJson = cJSON_CreateObject(); 401 cJSON *staticInfoJson = cJSON_CreateObject(); 416 cJSON *staticInfoJson = cJSON_CreateObject(); [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/statistics/instant/ |
H A D | wifi_statistic.cpp | 60 cJSON *staJson = cJSON_CreateObject(); in GetStaInfo() 89 cJSON *softApJson = cJSON_CreateObject(); in GetSoftApInfo() 110 cJSON *stationJson = cJSON_CreateObject(); in GetSoftApInfo() 132 cJSON *p2pJson = cJSON_CreateObject(); in GetP2PInfo() 143 cJSON *goJson = cJSON_CreateObject(); in GetP2PInfo() 155 cJSON *gcJson = cJSON_CreateObject(); in GetP2PInfo()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_input/daudio_input_test/ |
H A D | daudio_input_test.cpp | 138 cJSON *metaJson = cJSON_CreateObject(); 149 cJSON *metaJson1 = cJSON_CreateObject(); 160 cJSON *metaJson2 = cJSON_CreateObject(); 175 cJSON *metaJson3 = cJSON_CreateObject(); 186 cJSON *metaJson4 = cJSON_CreateObject(); 197 cJSON *metaJson5 = cJSON_CreateObject(); 240 cJSON *metaJson = cJSON_CreateObject(); 249 cJSON *metaJson1 = cJSON_CreateObject(); 326 cJSON *metaJson = cJSON_CreateObject(); 424 cJSON *msgJson = cJSON_CreateObject(); [all …]
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/ |
H A D | b_json_service_disposal_config_other_test.cpp | 94 … EXPECT_CALL(*cJsonMock, cJSON_CreateObject()).WillOnce(Return(reinterpret_cast<cJSON *>(&cjson))); 120 EXPECT_CALL(*cJsonMock, cJSON_CreateObject()).WillOnce(Return(nullptr)); 143 … EXPECT_CALL(*cJsonMock, cJSON_CreateObject()).WillOnce(Return(reinterpret_cast<cJSON *>(&cjson))); 170 … EXPECT_CALL(*cJsonMock, cJSON_CreateObject()).WillOnce(Return(reinterpret_cast<cJSON *>(&cjson))); 180 … EXPECT_CALL(*cJsonMock, cJSON_CreateObject()).WillOnce(Return(reinterpret_cast<cJSON *>(&cjson))); 210 … EXPECT_CALL(*cJsonMock, cJSON_CreateObject()).WillOnce(Return(reinterpret_cast<cJSON *>(&cjson)));
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/test/unittest/ |
H A D | av_sync_utils_test.cpp | 109 cJSON *cJsonObj = cJSON_CreateObject(); 118 cJSON *cJsonObj1 = cJSON_CreateObject(); 128 cJSON *cJsonObj2 = cJSON_CreateObject(); 139 cJSON *cJsonObj3 = cJSON_CreateObject();
|
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/event_export/task/export/ |
H A D | export_json_file_writer.cpp | 84 cJSON* header = cJSON_CreateObject(); in CreateHeaderJsonObj() 96 cJSON* manufacturer = cJSON_CreateObject(); in CreateManufacturerJsonObj() 108 cJSON* device = cJSON_CreateObject(); in CreateDeviceJsonObj() 122 cJSON* system = cJSON_CreateObject(); in CreateSystemObj() 135 cJSON* root = cJSON_CreateObject(); in CreateJsonObjectByVersion() 183 cJSON* anonymousJsonObj = cJSON_CreateObject(); in CreateEventsJsonArray() 304 cJSON* domainJsonObj = cJSON_CreateObject(); in Write() 309 cJSON* domainInfoJsonObj = cJSON_CreateObject(); in Write()
|
/ohos5.0/foundation/distributedhardware/distributed_audio/common/test/unittest/src/ |
H A D | daudio_utils_test.cpp | 163 jsonObj = cJSON_CreateObject(); 268 cJSON *jParam = cJSON_CreateObject(); 326 jsonObject = cJSON_CreateObject(); 332 cJSON *jsonObject1 = cJSON_CreateObject(); 350 jsonObject = cJSON_CreateObject(); 356 cJSON *jsonObject1 = cJSON_CreateObject(); 374 jsonObject = cJSON_CreateObject();
|
/ohos5.0/base/customization/enterprise_device_management/common/native/include/ |
H A D | cjson_check.h | 25 (obj) = cJSON_CreateObject(); \ 34 (obj) = cJSON_CreateObject(); \
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/ble/mock/ |
H A D | connection_ble_trans_mock.cpp | 55 cJSON *cJSON_CreateObject() in cJSON_CreateObject() function 57 return GetConnectionBleTransInterface()->cJSON_CreateObject(); in cJSON_CreateObject()
|
H A D | connection_ble_trans_mock.h | 33 virtual cJSON *cJSON_CreateObject() = 0; 46 MOCK_METHOD(cJSON *, cJSON_CreateObject, (), (override));
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/base/src/ |
H A D | dcamera_channel_info_cmd.cpp | 26 cJSON *rootValue = cJSON_CreateObject(); in Marshal() 34 cJSON *channelInfo = cJSON_CreateObject(); in Marshal() 49 cJSON *detail = cJSON_CreateObject(); in Marshal()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/src/ |
H A D | histreamer_ability_querier.cpp | 263 cJSON *audioEncoderInJson = cJSON_CreateObject(); in ToJson() 278 cJSON *audioEncoderOutJson = cJSON_CreateObject(); in ToJson() 473 cJSON *audioDecoderInJson = cJSON_CreateObject(); in ToJson() 488 cJSON *audioDecoderOutJson = cJSON_CreateObject(); in ToJson() 665 cJSON *videoEncoderInJson = cJSON_CreateObject(); in ToJson() 883 cJSON *videoDecoderInJson = cJSON_CreateObject(); in ToJson() 958 cJSON *jsonObj = cJSON_CreateObject(); in ToJson() 988 cJSON *jsonObject = cJSON_CreateObject(); in QueryAudioEncoderAbilityStr() 1015 cJSON *jsonObject = cJSON_CreateObject(); in QueryAudioDecoderAbilityStr() 1042 cJSON *jsonObject = cJSON_CreateObject(); in QueryVideoEncoderAbilityStr() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/auth_channel/ |
H A D | trans_auth_message_test.cpp | 65 cJSON *msg = cJSON_CreateObject(); 104 cJSON *msg = cJSON_CreateObject(); 167 cJSON *msg = cJSON_CreateObject();
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/lowlatency/lowlatencylistener/src/ |
H A D | low_latency_listener_test.cpp | 104 cJSON* json = cJSON_CreateObject(); 156 cJSON* json = cJSON_CreateObject(); 188 cJSON* json = cJSON_CreateObject();
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/handler/src/ |
H A D | dcamera_handler.cpp | 206 cJSON *root = cJSON_CreateObject(); in CreateMetaDHItem() 226 cJSON *root = cJSON_CreateObject(); in CreateDHItem() 251 cJSON *modeData = cJSON_CreateObject(); in CreateDHItem() 345 cJSON* formatphotoObj = cJSON_CreateObject(); in ConfigFormatphoto() 352 cJSON* resolutionObj = cJSON_CreateObject(); in ConfigFormatphoto() 379 cJSON* formatpreviewObj = cJSON_CreateObject(); in ConfigFormatvideo() 386 cJSON* resolutionObj = cJSON_CreateObject(); in ConfigFormatvideo()
|
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiomanager/test/unittest/sourcedevice/src/ |
H A D | daudio_source_dev_test.cpp | 328 cJSON *jParam = cJSON_CreateObject(); 426 cJSON *jParam = cJSON_CreateObject(); 438 cJSON *jParam1 = cJSON_CreateObject(); 489 cJSON *jParam = cJSON_CreateObject(); 611 cJSON *jParam = cJSON_CreateObject(); 653 cJSON *jParam = cJSON_CreateObject(); 676 cJSON *jParam = cJSON_CreateObject(); 704 cJSON *jParam = cJSON_CreateObject(); 742 cJSON *jParam = cJSON_CreateObject(); 765 cJSON *jParam = cJSON_CreateObject(); [all …]
|
/ohos5.0/base/startup/init/test/unittest/init/ |
H A D | sandbox_unittest.cpp | 82 cJSON *mJsonSandbox = cJSON_CreateObject(); // json file object in MakeSandboxJson() 87 cJSON *mJsonMtBdFlItm = cJSON_CreateObject(); // mount-bind-files items in MakeSandboxJson() 112 cJSON_AddItemToArray(mJsonMtBdPth, mJsonMtBdPth_Itm = cJSON_CreateObject()); in MakeSandboxJson() 130 cJSON_AddItemToArray(mJsonSymLk, mJsonSymLk_Itm = cJSON_CreateObject()); in MakeSandboxJson()
|