Home
last modified time | relevance | path

Searched refs:GetJsonObjectNumber16Item (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/ble/mock/
H A Dconnection_ble_manager_mock.cpp205 bool GetJsonObjectNumber16Item(const cJSON *json, const char * const str, uint16_t *target) in GetJsonObjectNumber16Item() function
207 return GetConnectionBleInterface()->GetJsonObjectNumber16Item(json, str, target); in GetJsonObjectNumber16Item()
H A Dconnection_ble_manager_mock.h73 …virtual bool GetJsonObjectNumber16Item(const cJSON *json, const char * const str, uint16_t *target…
123 …bool, GetJsonObjectNumber16Item, (const cJSON *json, const char * const str, uint16_t *target), (o…
/ohos5.0/foundation/communication/dsoftbus/tests/core/common/json_utils/fuzztest/jsonutils_fuzzer/
H A Djsonutils_fuzzer.cpp39 GetJsonObjectNumber16Item(object, data, &ageU16); in DoJsonUtilsFuzz()
/ohos5.0/foundation/communication/dsoftbus/core/common/include/
H A Dsoftbus_json_utils.h34 bool GetJsonObjectNumber16Item(const cJSON *json, const char * const string, uint16_t *target);
/ohos5.0/foundation/communication/dsoftbus/tests/core/common/json_utils/uttest/
H A Dsoftbus_json_utils_test.cpp349 ret = GetJsonObjectNumber16Item(nullptr, JSON_KEY1, &target);
351 ret = GetJsonObjectNumber16Item(json, nullptr, &target);
353 ret = GetJsonObjectNumber16Item(json, JSON_KEY1, nullptr);
355 ret = GetJsonObjectNumber16Item(json, JSON_KEY1, &target);
/ohos5.0/foundation/communication/dsoftbus/core/transmission/common/src/
H A Dsoftbus_message_open_channel.c174 if (!GetJsonObjectNumber16Item(json, FIRST_DATA_SIZE, &(appInfo->fastTransDataSize))) { in UnpackFirstData()
373 if (!GetJsonObjectNumber16Item(msg, FIRST_DATA_SIZE, fastDataSize)) { in UnpackReply()
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/ble/
H A Dconnection_ble_manager_test.cpp822 EXPECT_CALL(bleMock, GetJsonObjectNumber16Item).WillOnce(Return(false));
830 EXPECT_CALL(bleMock, GetJsonObjectNumber16Item).WillOnce(Return(true));
869 EXPECT_CALL(bleMock, GetJsonObjectNumber16Item).WillRepeatedly(Return(false));
/ohos5.0/foundation/communication/dsoftbus/core/common/json_utils/
H A Dsoftbus_json_utils.c119 bool GetJsonObjectNumber16Item(const cJSON *json, const char * const string, uint16_t *target) in GetJsonObjectNumber16Item() function
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_message.c669 !GetJsonObjectNumber16Item(root, JSON_KEY_FIRST_DATA_SIZE, fastDataSize) || in TransProxyUnpackHandshakeAckMsg()
691 if (!GetJsonObjectNumber16Item(root, JSON_KEY_FIRST_DATA_SIZE, &(appInfo->fastTransDataSize))) { in UnpackPackHandshakeMsgForFastData()
/ohos5.0/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_connection.c481 if (!GetJsonObjectNumber16Item(json, CTRL_MSG_KEY_CHALLENGE, &challengeCode)) { in ConnBleOnReferenceRequest()