Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/external/
Dpuller_util_test.cpp43 int hostUid = 20; variable
72 event->write(hostUid); in TEST()
80 .WillRepeatedly(Return(hostUid)); in TEST()
104 event->write(hostUid); in TEST()
112 event->write(hostUid); in TEST()
120 .WillRepeatedly(Return(hostUid)); in TEST()
138 event->write(hostUid); in TEST()
146 event->write(hostUid); in TEST()
154 .WillRepeatedly(Return(hostUid)); in TEST()
174 event->write(hostUid); in TEST()
[all …]
/frameworks/base/cmds/statsd/src/external/
Dpuller_util.cpp144 const int hostUid = uidMap->getHostUidOrSelf(uid); in mergeIsolatedUidsToHostUid() local
146 if (hostUid != uid) { in mergeIsolatedUidsToHostUid()
147 (*valueList)[0].mValue.setInt(hostUid); in mergeIsolatedUidsToHostUid()
149 if (hostPosition.find(hostUid) == hostPosition.end()) { in mergeIsolatedUidsToHostUid()
150 hostPosition[hostUid].push_back(i); in mergeIsolatedUidsToHostUid()
152 if (tryMerge(data, i, hostPosition[hostUid], nonAdditiveFields, additiveFields)) { in mergeIsolatedUidsToHostUid()
155 hostPosition[hostUid].push_back(i); in mergeIsolatedUidsToHostUid()
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.cpp110 void updateUid(Value* value, int hostUid) { in updateUid() argument
112 if (uid != hostUid) { in updateUid()
113 value->setInt(hostUid); in updateUid()
125 const int hostUid = mUidMap->getHostUidOrSelf(value.mValue.int_value); in mapIsolatedUidToHostUidIfNecessaryLocked() local
126 updateUid(&value.mValue, hostUid); in mapIsolatedUidToHostUidIfNecessaryLocked()
137 const int hostUid = mUidMap->getHostUidOrSelf(value.int_value); in mapIsolatedUidToHostUidIfNecessaryLocked() local
138 updateUid(&value, hostUid); in mapIsolatedUidToHostUidIfNecessaryLocked()
/frameworks/base/cmds/statsd/benchmark/
Dmetric_util.h145 int isolatedUid, int hostUid, bool is_create, uint64_t timestampNs);
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.h176 int isolatedUid, int hostUid, bool is_create, uint64_t timestampNs);
Dstatsd_test_util.cpp442 int isolatedUid, int hostUid, bool is_create, uint64_t timestampNs) { in CreateIsolatedUidChangedEvent() argument
445 logEvent->write(hostUid); in CreateIsolatedUidChangedEvent()