Home
last modified time | relevance | path

Searched refs:dataJson (Results 1 - 4 of 4) sorted by relevance

/base/telephony/call_manager/services/distributed_call/src/distributed_communication/
H A Ddistributed_data_controller.cpp82 cJSON *dataJson = cJSON_GetObjectItem(msg, name.c_str()); in GetInt32Value() local
83 if (dataJson == nullptr || !cJSON_IsNumber(dataJson)) { in GetInt32Value()
87 value = static_cast<int32_t>(dataJson->valueint); in GetInt32Value()
93 cJSON *dataJson = cJSON_GetObjectItem(msg, name.c_str()); in GetStringValue() local
94 if (dataJson == nullptr || !cJSON_IsString(dataJson)) { in GetStringValue()
98 char *data = cJSON_GetStringValue(dataJson); in GetStringValue()
109 cJSON *dataJson = cJSON_GetObjectItem(msg, name.c_str()); in GetBoolValue() local
110 if (dataJson in GetBoolValue()
[all...]
/base/security/device_auth/test/unittest/deviceauth/source/
H A Ddeviceauth_func_test.cpp1792 CJson *dataJson = CreateJson(); in HWTEST_F() local
1793 ASSERT_NE(dataJson, nullptr); in HWTEST_F()
1794 char *dataStr = PackJsonToString(dataJson); in HWTEST_F()
1795 FreeJson(dataJson); in HWTEST_F()
1833 CJson *dataJson = CreateJson(); in HWTEST_F() local
1834 ASSERT_NE(dataJson, nullptr); in HWTEST_F()
1835 char *dataStr = PackJsonToString(dataJson); in HWTEST_F()
1836 FreeJson(dataJson); in HWTEST_F()
1855 CJson *dataJson = CreateJson(); in HWTEST_F() local
1856 ASSERT_NE(dataJson, nullpt in HWTEST_F()
[all...]
/base/security/device_auth/frameworks/src/
H A Dipc_service.c46 CJson *dataJson = CreateJsonFromString(data); in BindRequestIdWithAppId() local
47 if (dataJson == NULL) { in BindRequestIdWithAppId()
52 appId = GetStringFromJson(dataJson, FIELD_APP_ID); in BindRequestIdWithAppId()
55 FreeJson(dataJson); in BindRequestIdWithAppId()
58 (void)GetInt64FromJson(dataJson, FIELD_REQUEST_ID, &requestId); in BindRequestIdWithAppId()
60 FreeJson(dataJson); in BindRequestIdWithAppId()
/base/telephony/call_manager/test/unittest/distributed_communication_test/src/
H A Ddistributed_data_test.cpp378 cJSON *dataJson = cJSON_GetObjectItem(msg, name.c_str()); in HWTEST_F() local

Completed in 7 milliseconds