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.cpp72 UidMap::UidMap() : mBytesUsed(0) {} in UidMap()
152 StatsdStats::getInstance().setCurrentUidMapMemory(mBytesUsed); in updateMap()
202 mBytesUsed += kBytesChangeRecord; in updateApp()
204 StatsdStats::getInstance().setCurrentUidMapMemory(mBytesUsed); in updateApp()
223 while (mBytesUsed > limit) { in ensureBytesUsedBelowLimit()
224 ALOGI("Bytes used %zu is above limit %zu, need to delete something", mBytesUsed, limit); in ensureBytesUsedBelowLimit()
226 mBytesUsed -= kBytesChangeRecord; in ensureBytesUsedBelowLimit()
270 mBytesUsed += kBytesChangeRecord; in removeApp()
272 StatsdStats::getInstance().setCurrentUidMapMemory(mBytesUsed); in removeApp()
324 mBytesUsed = 0; in clearOutput()
[all …]
DUidMap.h219 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.cpp30 : mSkAnimatedImage(std::move(animatedImage)), mBytesUsed(bytesUsed) { in AnimatedImageDrawable()
/frameworks/base/cmds/statsd/tests/
DUidMap_test.cpp368 size_t startBytes = m.mBytesUsed; in TEST()
386 size_t prevBytes = m.mBytesUsed; in TEST()
389 EXPECT_TRUE(m.mBytesUsed < prevBytes); in TEST()
399 size_t startBytes = m.mBytesUsed; in TEST()