Home
last modified time | relevance | path

Searched refs:kMaxSize (Results 1 – 3 of 3) sorted by relevance

/system/logging/logd/
DSerializedLogBufferTest.cpp128 const size_t kMaxSize = kLogBufferMinSize; in TEST() local
133 ClearLogsByUid(chunks, kClearUid, kMaxSize, LOG_ID_MAIN, nullptr); in TEST()
136 ClearLogsByUid(chunks, kClearUid, kMaxSize, LOG_ID_MAIN, nullptr); in TEST()
144 const size_t kMaxSize = kLogBufferMinSize; in TEST() local
156 chunks.emplace_back(CreateChunk(kMaxSize, entries, false)); in TEST()
160 expected_chunks.push_back(CreateChunk(kMaxSize, entries, false)); in TEST()
162 ClearLogsByUid(chunks, kClearUid, kMaxSize, LOG_ID_MAIN, nullptr); in TEST()
167 ClearLogsByUid(chunks, kClearUid, kMaxSize, LOG_ID_MAIN, nullptr); in TEST()
187 const size_t kMaxSize = kLogBufferMinSize; in TEST() local
204 chunks.emplace_back(CreateChunk(kMaxSize, entries, false)); in TEST()
[all …]
/system/nvram/messages/tests/
Dio_test.cpp44 memset(buffer, 0xff, kMaxSize); in Advance()
45 const size_t size = kSizes[index_] < kMaxSize ? kSizes[index_] : kMaxSize; in Advance()
55 static constexpr size_t kMaxSize = 256; member in nvram::__anon5e231b3c0111::TestInputStreamBuffer
58 uint8_t buffer[kMaxSize];
207 memset(buffer, 0xff, kMaxSize); in Advance()
208 const size_t size = kSizes[index_] < kMaxSize ? kSizes[index_] : kMaxSize; in Advance()
216 static constexpr size_t kMaxSize = 256; member in nvram::__anon5e231b3c0211::TestOutputStreamBuffer
219 uint8_t buffer[kMaxSize];
/system/core/init/fuzzer/
Dinit_ueventHandler_fuzzer.cpp28 constexpr int32_t kMaxSize = 1000; variable
39 for (int32_t idx = 0; idx < fdp->ConsumeIntegralInRange(kMinSize, kMaxSize); ++idx) { in MakeFile()
86 idx < fdp.ConsumeIntegralInRange<size_t>(kMinSize, kMaxSize); ++idx) { in LLVMFuzzerTestOneInput()
96 idx < fdp.ConsumeIntegralInRange<size_t>(kMinSize, kMaxSize); ++idx) { in LLVMFuzzerTestOneInput()