Home
last modified time | relevance | path

Searched refs:MAX_MESSAGE_LEN (Results 1 - 8 of 8) sorted by relevance

/foundation/distributedhardware/distributed_hardware_fwk/interfaces/inner_kits/src/ipc/
H A Dpublisher_listener_stub.cpp48 if (message.empty() || message.size() > MAX_MESSAGE_LEN) { in OnRemoteRequest()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/lowlatency/lowlatencylistener/src/
H A Dlow_latency_listener_test.cpp138 uint32_t MAX_MESSAGE_LEN = 40 * 1024 * 1024; in HWTEST_F() local
139 message.resize(MAX_MESSAGE_LEN); in HWTEST_F()
/foundation/distributedhardware/device_manager/common/src/
H A Ddm_anonymous.cpp22 constexpr uint32_t MAX_MESSAGE_LEN = 40 * 1024 * 1024; member
89 bool res = jsonObj.contains(key) && jsonObj[key].is_string() && jsonObj[key].size() <= MAX_MESSAGE_LEN; in IsString()
188 if (srcData == nullptr || srcLen == 0 || srcLen >= MAX_MESSAGE_LEN) { in ConvertCharArray2String()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/dbadapter/src/
H A Ddb_adapter_test.cpp443 uint32_t MAX_MESSAGE_LEN = 40 * 1024 * 1024 +1 ; in HWTEST_F() local
445 key.resize(MAX_MESSAGE_LEN); in HWTEST_F()
477 uint32_t MAX_MESSAGE_LEN = 40 * 1024 * 1024 + 1; in HWTEST_F() local
480 value.resize(MAX_MESSAGE_LEN); in HWTEST_F()
/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_dm_anonymous.cpp397 constexpr uint32_t MAX_MESSAGE_LEN = 40 * 1024 * 1024; in HWTEST_F() local
402 ret = ConvertCharArray2String(srcData, MAX_MESSAGE_LEN + 1); in HWTEST_F()
405 ret = ConvertCharArray2String(srcData2, MAX_MESSAGE_LEN + 1); in HWTEST_F()
/foundation/distributedhardware/distributed_hardware_fwk/common/utils/include/
H A Dconstants.h27 constexpr uint32_t MAX_MESSAGE_LEN = 40 * 1024 * 1024; member
/foundation/distributedhardware/distributed_hardware_fwk/interfaces/inner_kits/test/unittest/common/distributedhardwarefwkkit/src/
H A Ddistributed_hardware_fwk_kit_test.cpp178 uint32_t MAX_MESSAGE_LEN = 40 * 1024 * 1024 + 10; in HWTEST_F() local
179 message.resize(MAX_MESSAGE_LEN); in HWTEST_F()
/foundation/distributedhardware/distributed_hardware_fwk/utils/src/
H A Ddh_utils_tool.cpp214 return (strlen(value->valuestring) > MIN_MESSAGE_LEN && strlen(value->valuestring) <= MAX_MESSAGE_LEN); in IsString()
306 if (inputMessage.empty() || inputMessage.length() > MAX_MESSAGE_LEN) { in IsMessageLengthValid()
307 DHLOGE("On parameter error, maybe empty or beyond MAX_MESSAGE_LEN!"); in IsMessageLengthValid()

Completed in 5 milliseconds