Searched refs:MSG_MAX_SIZE (Results 1 - 6 of 6) sorted by relevance
/foundation/distributedhardware/distributed_input/services/source/transport/test/sourcetransunittest/ |
H A D | distributed_input_sourcetrans_test.cpp | 493 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F() 505 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F() 523 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F() 536 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F() 550 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F() 571 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F() 593 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F() 612 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F() 630 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F() 660 std::string message(MSG_MAX_SIZE in HWTEST_F() [all...] |
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/ |
H A D | auth_message_processor.cpp | 25 const int32_t MSG_MAX_SIZE = 45 * 1024; member 85 int32_t thumbnailSlice = ((thumbnailSize / MSG_MAX_SIZE) + (thumbnailSize % MSG_MAX_SIZE) == 0 ? 0 : 1); in CreateAuthRequestMessage() 99 int32_t leftLen = thumbnailSize - idx * MSG_MAX_SIZE; in CreateAuthRequestMessage() 100 int32_t sliceLen = (leftLen > MSG_MAX_SIZE) ? MSG_MAX_SIZE : leftLen; in CreateAuthRequestMessage() 103 jsonObj[TAG_APP_THUMBNAIL] = authRequestContext_->appThumbnail.substr(idx * MSG_MAX_SIZE, sliceLen); in CreateAuthRequestMessage()
|
/foundation/distributedhardware/distributed_input/services/common/include/ |
H A D | dinput_softbus_define.h | 38 const int32_t MSG_MAX_SIZE = 45 * 1024; member
|
/foundation/distributedhardware/distributed_input/services/transportbase/src/ |
H A D | distributed_input_transport_base.cpp | 527 if (message.size() > MSG_MAX_SIZE) { in SendMsg() 528 DHLOGE("SendMessage error: message.size() > MSG_MAX_SIZE, msg size: %{public}zu", message.size()); in SendMsg() 531 uint8_t *buf = reinterpret_cast<uint8_t *>(calloc((MSG_MAX_SIZE), sizeof(uint8_t))); in SendMsg() 537 if (memcpy_s(buf, MSG_MAX_SIZE, reinterpret_cast<const uint8_t *>(message.c_str()), message.size()) != EOK) { in SendMsg()
|
/foundation/distributedhardware/distributed_input/services/transportbase/test/transbaseunittest/ |
H A D | distributed_input_transbase_test.cpp | 164 std::string message(MSG_MAX_SIZE + 1, 'a'); in HWTEST_F() 168 std::string messageData(MSG_MAX_SIZE - 1, 'a'); in HWTEST_F()
|
/foundation/communication/dsoftbus/core/frame/standard/init/src/ |
H A D | softbus_server_stub.cpp | 56 constexpr int32_t MSG_MAX_SIZE = 1024 * 2; member 1601 if (msgLen > MSG_MAX_SIZE || msgLen != strlen(msg)) { in SyncTrustedRelationShipInner()
|
Completed in 8 milliseconds