Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/packages/
DUidMap.cpp200 mChanges.emplace_back(false, timestamp, appName, uid, versionCode, newVersionString, in updateApp()
205 StatsdStats::getInstance().setUidMapChanges(mChanges.size()); in updateApp()
225 if (mChanges.size() > 0) { in ensureBytesUsedBelowLimit()
227 mChanges.pop_front(); in ensureBytesUsedBelowLimit()
269 mChanges.emplace_back(true, timestamp, app, uid, 0, "", prevVersion, prevVersionString); in removeApp()
273 StatsdStats::getInstance().setUidMapChanges(mChanges.size()); in removeApp()
321 mChanges.clear(); in clearOutput()
404 for (const ChangeRecord& record : mChanges) { in appendUidMap()
456 for (auto it_changes = mChanges.begin(); it_changes != mChanges.end();) { in appendUidMap()
459 it_changes = mChanges.erase(it_changes); in appendUidMap()
[all …]
DUidMap.h193 std::list<ChangeRecord> mChanges; variable
/frameworks/base/cmds/statsd/tests/
DUidMap_test.cpp333 EXPECT_EQ(1U, m.mChanges.size()); in TEST()
339 EXPECT_EQ(1U, m.mChanges.size()); in TEST()
343 EXPECT_EQ(2U, m.mChanges.size()); in TEST()
351 EXPECT_EQ(2U, m.mChanges.size()); in TEST()
359 EXPECT_EQ(0U, m.mChanges.size()); in TEST()
417 EXPECT_EQ(1U, m.mChanges.size()); in TEST()
423 EXPECT_EQ(1U, m.mChanges.size()); in TEST()