Home
last modified time | relevance | path

Searched refs:staticBlockCount (Results 1 – 8 of 8) sorted by relevance

/system/chre/util/tests/
Dsynchronized_expandable_memory_pool_test.cc51 constexpr uint8_t staticBlockCount = 3; in TEST() local
53 testMemoryPool(staticBlockCount); in TEST()
56 ASSERT_EQ(testMemoryPool.getBlockCount(), staticBlockCount); in TEST()
79 constexpr uint8_t staticBlockCount = 2; in TEST() local
82 testMemoryPool(staticBlockCount); in TEST()
104 EXPECT_EQ(testMemoryPool.getBlockCount(), staticBlockCount); in TEST()
Dblocking_queue_test.cc80 constexpr uint8_t staticBlockCount = 2; in TEST() local
82 staticBlockCount); in TEST()
84 ASSERT_EQ(blockingQueue.block_count(), staticBlockCount); in TEST()
Dsegmented_queue_test.cc120 constexpr uint8_t staticBlockCount = 2; in TEST() local
122 staticBlockCount); in TEST()
124 EXPECT_EQ(segmentedQueue.block_count(), staticBlockCount); in TEST()
125 EXPECT_EQ(segmentedQueue.capacity(), staticBlockCount * blockSize); in TEST()
/system/chre/util/include/chre/util/
Dsynchronized_expandable_memory_pool_impl.h30 SynchronizedExpandableMemoryPool(size_t staticBlockCount) in SynchronizedExpandableMemoryPool() argument
31 : kStaticBlockCount(staticBlockCount) { in SynchronizedExpandableMemoryPool()
32 CHRE_ASSERT(staticBlockCount > 0); in SynchronizedExpandableMemoryPool()
33 CHRE_ASSERT(kMaxMemoryPoolCount >= staticBlockCount); in SynchronizedExpandableMemoryPool()
Dblocking_segmented_queue.h51 BlockingSegmentedQueue(size_t maxBlockCount, size_t staticBlockCount = 1)
52 : BlockingQueue(maxBlockCount, staticBlockCount) {} in BlockingQueue() argument
Dsynchronized_expandable_memory_pool.h56 SynchronizedExpandableMemoryPool(size_t staticBlockCount = 1);
Dsegmented_queue.h56 SegmentedQueue(size_t maxBlockCount, size_t staticBlockCount = 1);
Dsegmented_queue_impl.h31 size_t staticBlockCount) in SegmentedQueue() argument
32 : kMaxBlockCount(maxBlockCount), kStaticBlockCount(staticBlockCount) { in SegmentedQueue()