Home
last modified time | relevance | path

Searched refs:mBytesUsed (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DByteArrayRingBuffer.java27 private int mBytesUsed; field in ByteArrayRingBuffer
40 mBytesUsed = 0; in ByteArrayRingBuffer()
54 if (mBytesUsed + newData.length > mMaxBytes) { in appendBuffer()
59 mBytesUsed += newData.length; in appendBuffer()
90 int newBytesUsed = mBytesUsed; in pruneToSize()
97 mBytesUsed = newBytesUsed; in pruneToSize()
/frameworks/base/cmds/statsd/src/packages/
DUidMap.cpp68 UidMap::UidMap() : mBytesUsed(0) {} in UidMap()
148 StatsdStats::getInstance().setCurrentUidMapMemory(mBytesUsed); in updateMap()
195 mBytesUsed += kBytesChangeRecord; in updateApp()
197 StatsdStats::getInstance().setCurrentUidMapMemory(mBytesUsed); in updateApp()
214 while (mBytesUsed > limit) { in ensureBytesUsedBelowLimit()
215 ALOGI("Bytes used %zu is above limit %zu, need to delete something", mBytesUsed, limit); in ensureBytesUsedBelowLimit()
217 mBytesUsed -= kBytesChangeRecord; in ensureBytesUsedBelowLimit()
248 mBytesUsed += kBytesChangeRecord; in removeApp()
250 StatsdStats::getInstance().setCurrentUidMapMemory(mBytesUsed); in removeApp()
295 mBytesUsed = 0; in clearOutput()
[all …]
DUidMap.h214 size_t mBytesUsed; variable
/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.h109 size_t byteSize() const { return sizeof(*this) + mBytesUsed; } in byteSize()
116 const size_t mBytesUsed; variable
DAnimatedImageDrawable.cpp32 : mSkAnimatedImage(std::move(animatedImage)), mBytesUsed(bytesUsed) { in AnimatedImageDrawable()
/frameworks/base/cmds/statsd/tests/
DUidMap_test.cpp362 size_t startBytes = m.mBytesUsed; in TEST()
380 size_t prevBytes = m.mBytesUsed; in TEST()
383 EXPECT_TRUE(m.mBytesUsed < prevBytes); in TEST()
393 size_t startBytes = m.mBytesUsed; in TEST()