OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MetricsManager
(Results
1 - 6
of
6
) sorted by null
/frameworks/base/cmds/statsd/src/metrics/
MetricsManager.cpp
18
#include "
MetricsManager
.h"
57
MetricsManager
::
MetricsManager
(const ConfigKey& key, const StatsdConfig& config,
123
MetricsManager
::~
MetricsManager
() {
124
VLOG("~
MetricsManager
()");
127
void
MetricsManager
::initLogSourceWhiteList() {
143
bool
MetricsManager
::isConfigValid() const {
147
void
MetricsManager
::notifyAppUpgrade(const int64_t& eventTimeNs, const string& apk, const int uid,
154
// UID<->pkg inside
MetricsManager
to reduce the memory usage
[
all
...]
MetricsManager.h
36
// A
MetricsManager
is responsible for managing metrics from one single config source.
37
class
MetricsManager
: public PackageInfoListener {
39
MetricsManager
(const ConfigKey& configKey, const StatsdConfig& config,
44
virtual ~
MetricsManager
();
91
// has not yet dumped any reports, this is the time the
metricsmanager
was initialized.
153
//
MetricsManager
. There are relationships between them, and the relationships are denoted by
/frameworks/base/cmds/statsd/src/
StatsLogProcessor.h
22
#include "metrics/
MetricsManager
.h"
69
/* Tells
MetricsManager
that the alarms in alarmSet have fired. Modifies anomaly alarmSet. */
74
/* Tells
MetricsManager
that the alarms in alarmSet have fired. Modifies periodic alarmSet. */
117
std::unordered_map<ConfigKey, sp<
MetricsManager
>> mMetricsManagers;
152
MetricsManager
&
metricsManager
);
StatsLogProcessor.cpp
61
// const int FIELD_ID_METRICS = 1; // written in
MetricsManager
.cpp
268
sp<
MetricsManager
> newMetricsManager =
269
new
MetricsManager
(key, config, mTimeBaseNs, timestampNs, mUidMap,
274
// We have to add listener after the
MetricsManager
is constructed because it's
299
fprintf(out, "
MetricsManager
count: %lu\n", (unsigned long)mMetricsManagers.size());
300
for (auto
metricsManager
: mMetricsManagers) {
301
metricsManager
.second->dumpStates(out, verbose);
461
int64_t timestampNs, const ConfigKey& key,
MetricsManager
&
metricsManager
) {
470
size_t totalBytes =
metricsManager
.byteSize()
[
all
...]
/frameworks/base/cmds/statsd/tests/
StatsLogProcessor_test.cpp
43
* Mock
MetricsManager
(ByteSize() is called).
45
class MockMetricsManager : public
MetricsManager
{
47
MockMetricsManager() :
MetricsManager
(
/frameworks/base/cmds/statsd/
Android.mk
59
src/metrics/
MetricsManager
.cpp \
Completed in 77 milliseconds