Home
last modified time | relevance | path

Searched refs:bytesCopied (Results 1 – 2 of 2) sorted by relevance

/system/chre/platform/tests/
Dlog_buffer_test.cc58 size_t bytesCopied = in TEST() local
61 EXPECT_EQ(bytesCopied, strlen(testLogStr) + LogBuffer::kLogDataOffset + 1); in TEST()
79 size_t bytesCopied = in TEST() local
82 EXPECT_EQ(bytesCopied, strlen(testLogStr) + strlen(testLogStr2) + in TEST()
102 size_t bytesCopied = in TEST() local
105 EXPECT_EQ(bytesCopied, 0); in TEST()
120 size_t bytesCopied = in TEST() local
125 EXPECT_EQ(bytesCopied, 0); in TEST()
144 size_t bytesCopied = in TEST() local
151 EXPECT_EQ(bytesCopied, LogBuffer::kLogDataOffset + 100 + 1); in TEST()
[all …]
/system/chre/platform/shared/
Dlog_buffer.cc116 size_t bytesCopied; in transferTo() local
124 bytesCopied = copyLogsLocked(buffer.mBufferData, buffer.mBufferMaxSize, in transferTo()
129 buffer.mBufferDataTailIndex = bytesCopied % buffer.mBufferMaxSize; in transferTo()
130 buffer.mBufferDataSize = bytesCopied; in transferTo()