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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DByteArrayRingBuffer.java27 private int mBytesUsed; field in class:ByteArrayRingBuffer
40 mBytesUsed = 0;
54 if (mBytesUsed + newData.length > mMaxBytes) {
59 mBytesUsed += newData.length;
90 int newBytesUsed = mBytesUsed;
97 mBytesUsed = newBytesUsed;
/frameworks/base/cmds/statsd/src/packages/
H A DUidMap.cpp64 UidMap::UidMap() : mBytesUsed(0) {}
136 StatsdStats::getInstance().setCurrentUidMapMemory(mBytesUsed);
178 mBytesUsed += kBytesChangeRecord;
180 StatsdStats::getInstance().setCurrentUidMapMemory(mBytesUsed);
199 while (mBytesUsed > limit) {
200 ALOGI("Bytes used %zu is above limit %zu, need to delete something", mBytesUsed, limit);
202 mBytesUsed -= kBytesChangeRecord;
244 mBytesUsed += kBytesChangeRecord;
246 StatsdStats::getInstance().setCurrentUidMapMemory(mBytesUsed);
298 mBytesUsed
[all...]
H A DUidMap.h193 size_t mBytesUsed; member in class:android::os::statsd::UidMap
/frameworks/base/libs/hwui/hwui/
H A DAnimatedImageDrawable.h110 return sizeof(this) + mBytesUsed;
118 const size_t mBytesUsed; member in class:android::AnimatedImageDrawable
H A DAnimatedImageDrawable.cpp29 : mSkAnimatedImage(std::move(animatedImage)), mBytesUsed(bytesUsed) {
/frameworks/base/cmds/statsd/tests/
H A DUidMap_test.cpp333 size_t startBytes = m.mBytesUsed;
347 size_t prevBytes = m.mBytesUsed;
350 EXPECT_TRUE(m.mBytesUsed < prevBytes);
360 size_t startBytes = m.mBytesUsed;

Completed in 53 milliseconds