Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/packages/
DUidMap.cpp177 mChanges.emplace_back(false, timestamp, appName, uid, versionCode, prevVersion); in updateApp()
181 StatsdStats::getInstance().setUidMapChanges(mChanges.size()); in updateApp()
201 if (mChanges.size() > 0) { in ensureBytesUsedBelowLimit()
203 mChanges.pop_front(); in ensureBytesUsedBelowLimit()
243 mChanges.emplace_back(true, timestamp, app, uid, 0, prevVersion); in removeApp()
247 StatsdStats::getInstance().setUidMapChanges(mChanges.size()); in removeApp()
295 mChanges.clear(); in clearOutput()
322 for (const ChangeRecord& record : mChanges) { in appendUidMap()
376 for (auto it_changes = mChanges.begin(); it_changes != mChanges.end();) { in appendUidMap()
379 it_changes = mChanges.erase(it_changes); in appendUidMap()
[all …]
DUidMap.h167 std::list<ChangeRecord> mChanges; variable
/frameworks/base/cmds/statsd/tests/
DUidMap_test.cpp298 EXPECT_EQ(1U, m.mChanges.size()); in TEST()
304 EXPECT_EQ(1U, m.mChanges.size()); in TEST()
308 EXPECT_EQ(2U, m.mChanges.size()); in TEST()
316 EXPECT_EQ(2U, m.mChanges.size()); in TEST()
324 EXPECT_EQ(0U, m.mChanges.size()); in TEST()
373 EXPECT_EQ(1U, m.mChanges.size()); in TEST()
378 EXPECT_EQ(1U, m.mChanges.size()); in TEST()