Home
last modified time | relevance | path

Searched refs:dataLen (Results 1 – 9 of 9) sorted by relevance

/system/libfmq/tests/
Dfmq_unit_tests.cpp143 const size_t dataLen = 64; in ReaderThreadBlocking() local
144 uint8_t data[dataLen]; in ReaderThreadBlocking()
160 if ((efState & kFmqNotEmpty) && fmq->read(data, dataLen)) { in ReaderThreadBlocking()
178 const size_t dataLen = 64; in ReaderThreadBlocking2() local
179 uint8_t data[dataLen]; in ReaderThreadBlocking2()
185 dataLen, in ReaderThreadBlocking2()
213 const size_t dataLen = 64; in TEST_F() local
214 uint8_t data[dataLen] = {0}; in TEST_F()
233 ASSERT_TRUE(mQueue->write(data, dataLen)); in TEST_F()
249 const size_t dataLen = 64; in TEST_F() local
[all …]
Dmsgq_test_client.cpp145 const size_t dataLen = 16; in TEST_F() local
177 ASSERT_LT(dataLen, numMessagesMax); in TEST_F()
178 ret = testService->requestWriteFmqUnsync(dataLen); in TEST_F()
183 ASSERT_TRUE(queue->read(&readData[0], dataLen)); in TEST_F()
184 ASSERT_TRUE(verifyData(&readData[0], dataLen)); in TEST_F()
208 std::vector<uint16_t> readData(dataLen); in TEST_F()
209 ASSERT_FALSE(queue->read(&readData[0], dataLen)); in TEST_F()
215 auto ret = testService->requestWriteFmqUnsync(dataLen); in TEST_F()
220 ASSERT_TRUE(queue->read(&readData[0], dataLen)); in TEST_F()
221 ASSERT_TRUE(verifyData(&readData[0], dataLen)); in TEST_F()
[all …]
/system/connectivity/wifilogd/tests/
Dprotocol_unittest.cpp39 uint16_t dataLen = 7; in TEST() local
41 AsciiMessage().set_tag_len(tagLen).set_data_len(dataLen); in TEST()
43 EXPECT_EQ(dataLen, ascii_message_header.data_len); in TEST()
49 uint16_t dataLen = 7; in TEST() local
52 ascii_message_header.set_data_len(dataLen); in TEST()
54 EXPECT_EQ(dataLen, ascii_message_header.data_len); in TEST()
/system/core/liblog/include/log/
Dlog_safetynet.h28 #define android_errorWriteWithInfoLog(tag, subTag, uid, data, dataLen) \ argument
29 __android_log_error_write(tag, subTag, uid, data, dataLen)
32 const char* data, uint32_t dataLen);
/system/core/liblog/include_vndk/log/
Dlog_safetynet.h28 #define android_errorWriteWithInfoLog(tag, subTag, uid, data, dataLen) \ argument
29 __android_log_error_write(tag, subTag, uid, data, dataLen)
32 const char* data, uint32_t dataLen);
/system/core/liblog/
Dlog_event_write.cpp26 uint32_t dataLen) { in __android_log_error_write() argument
29 if (subTag && (data || !dataLen)) { in __android_log_error_write()
38 ret = android_log_write_string8_len(ctx, data, dataLen); in __android_log_error_write()
/system/bt/linux_include/log/
Dlog.h30 uint32_t dataLen) { in android_errorWriteWithInfoLog() argument
/system/core/libcutils/
Dashmem_test.cpp59 void FillData(uint8_t* data, size_t dataLen) { in FillData() argument
60 for (size_t i = 0; i < dataLen; i++) { in FillData()
/system/netd/server/
DXfrmController.cpp186 size_t dataLen = valueSize; in fillNlAttr() local
187 int padLength = NLMSG_ALIGN(dataLen) - dataLen; in fillNlAttr()
188 nlAttr->nla_len = (__u16)(dataLen + sizeof(nlattr)); in fillNlAttr()