Searched refs:AddNumber16ToJsonObject (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/ble/mock/ |
H A D | connection_ble_trans_mock.cpp | 60 bool AddNumber16ToJsonObject(cJSON *json, const char *const string, uint16_t num) in AddNumber16ToJsonObject() function 62 return GetConnectionBleTransInterface()->AddNumber16ToJsonObject(json, string, num); in AddNumber16ToJsonObject()
|
H A D | connection_ble_trans_mock.h | 34 virtual bool AddNumber16ToJsonObject(cJSON *json, const char *const string, uint16_t num) = 0; 47 MOCK_METHOD(bool, AddNumber16ToJsonObject, (cJSON *, const char *const, uint16_t), (override));
|
/ohos5.0/foundation/communication/dsoftbus/core/common/include/ |
H A D | softbus_json_utils.h | 52 bool AddNumber16ToJsonObject(cJSON *json, const char * const string, uint16_t num);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/common/json_utils/uttest/ |
H A D | softbus_json_utils_test.cpp | 347 bool ret = AddNumber16ToJsonObject(json, JSON_KEY1, INPUT_NUM); 635 bool ret = AddNumber16ToJsonObject(nullptr, JSON_KEY1, INPUT_NUM); 637 ret = AddNumber16ToJsonObject(json, nullptr, INPUT_NUM); 639 ret = AddNumber16ToJsonObject(json, JSON_KEY1, INPUT_NUM);
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/common/src/ |
H A D | softbus_message_open_channel.c | 140 if (!AddNumber16ToJsonObject(json, FIRST_DATA_SIZE, appInfo->fastTransDataSize)) { in PackRequest() 328 if (!AddNumber16ToJsonObject(json, FIRST_DATA_SIZE, appInfo->fastTransDataSize)) { in PackReply()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/ble/ |
H A D | connection_ble_trans_test.cpp | 165 EXPECT_CALL(bleMock, AddNumber16ToJsonObject).WillRepeatedly(Return(true));
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/common/softbus_message_open_channel_test/ |
H A D | softbus_message_open_channel_test.cpp | 97 !AddNumber16ToJsonObject(msg, "FIRST_DATA_SIZE", appInfo->fastTransDataSize) || in TestTransAuthChannelMsgPack()
|
/ohos5.0/foundation/communication/dsoftbus/core/common/json_utils/ |
H A D | softbus_json_utils.c | 232 bool AddNumber16ToJsonObject(cJSON *json, const char * const string, uint16_t num) in AddNumber16ToJsonObject() function
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_message.c | 416 if (!AddNumber16ToJsonObject(root, JSON_KEY_FIRST_DATA_SIZE, appInfo->fastTransDataSize)) { in PackHandshakeMsgForFastData() 567 !AddNumber16ToJsonObject(root, JSON_KEY_FIRST_DATA_SIZE, appInfo->fastTransDataSize) || in TransProxyPackHandshakeAckMsg()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/ble/src/ |
H A D | softbus_conn_ble_trans.c | 425 !AddNumber16ToJsonObject(json, CTRL_MSG_KEY_CHALLENGE, ctx.challengeCode)) { in BleCtrlMsgSerializeByJson()
|