OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:gaugemetric
(Results
1 - 16
of
16
) sorted by null
/frameworks/base/cmds/statsd/tests/e2e/
GaugeMetric_e2e_push_test.cpp
31
StatsdConfig CreateStatsdConfigForPushedEvent(const
GaugeMetric
::SamplingType sampling_type) {
45
auto
gaugeMetric
= config.add_gauge_metric();
46
gaugeMetric
->set_id(123456);
47
gaugeMetric
->set_what(atomMatcher.id());
48
gaugeMetric
->set_condition(isInBackgroundPredicate.id());
49
gaugeMetric
->mutable_gauge_fields_filter()->set_include_all(false);
50
gaugeMetric
->set_sampling_type(sampling_type);
51
auto fieldMatcher =
gaugeMetric
->mutable_gauge_fields_filter()->mutable_fields();
56
*
gaugeMetric
->mutable_dimensions_in_what() =
58
gaugeMetric
->set_bucket(FIVE_MINUTES)
[
all
...]
GaugeMetric_e2e_pull_test.cpp
31
StatsdConfig CreateStatsdConfig(const
GaugeMetric
::SamplingType sampling_type) {
42
auto
gaugeMetric
= config.add_gauge_metric();
43
gaugeMetric
->set_id(123456);
44
gaugeMetric
->set_what(temperatureAtomMatcher.id());
45
gaugeMetric
->set_condition(screenIsOffPredicate.id());
46
gaugeMetric
->set_sampling_type(sampling_type);
47
gaugeMetric
->mutable_gauge_fields_filter()->set_include_all(true);
48
*
gaugeMetric
->mutable_dimensions_in_what() =
50
gaugeMetric
->set_bucket(FIVE_MINUTES);
58
auto config = CreateStatsdConfig(
GaugeMetric
::RANDOM_ONE_SAMPLE)
[
all
...]
PartialBucket_e2e_test.cpp
100
auto
gaugeMetric
= config.add_gauge_metric();
101
gaugeMetric
->set_id(123456);
102
gaugeMetric
->set_what(temperatureAtomMatcher.id());
103
gaugeMetric
->mutable_gauge_fields_filter()->set_include_all(true);
104
*
gaugeMetric
->mutable_dimensions_in_what() =
106
gaugeMetric
->set_bucket(FIVE_MINUTES);
107
gaugeMetric
->set_min_bucket_size_nanos(minTime);
/frameworks/base/cmds/statsd/src/metrics/
GaugeMetricProducer.h
59
GaugeMetricProducer(const ConfigKey& key, const
GaugeMetric
&
gaugeMetric
,
68
//
GaugeMetric
needs to immediately trigger another pull when we create the partial bucket.
98
GaugeMetricProducer(const ConfigKey& key, const
GaugeMetric
&
gaugeMetric
,
153
GaugeMetric
::SamplingType mSamplingType;
GaugeMetricProducer.cpp
71
GaugeMetricProducer::GaugeMetricProducer(const ConfigKey& key, const
GaugeMetric
& metric,
129
if (mPullTagId != -1 && mSamplingType ==
GaugeMetric
::RANDOM_ONE_SAMPLE) {
140
GaugeMetricProducer::GaugeMetricProducer(const ConfigKey& key, const
GaugeMetric
& metric,
150
if (mPullTagId != -1 && mSamplingType ==
GaugeMetric
::RANDOM_ONE_SAMPLE) {
161
fprintf(out, "
GaugeMetric
%lld dimension size %lu\n", (long long)mMetricId,
319
case
GaugeMetric
::RANDOM_ONE_SAMPLE: {
323
case
GaugeMetric
::ALL_CONDITION_CHANGES: {
327
case
GaugeMetric
::CONDITION_CHANGE_TO_TRUE: {
351
VLOG("
GaugeMetric
%lld onConditionChanged", (long long)mMetricId);
362
VLOG("
GaugeMetric
%lld onSlicedConditionMayChange overall condition %d", (long long)mMetricId
[
all
...]
metrics_manager_util.cpp
476
const
GaugeMetric
& metric = config.gauge_metric(i);
478
ALOGW("cannot find \"what\" in
GaugeMetric
\"%lld\"", (long long)metric.id());
485
ALOGW("Incorrect field filter setting in
GaugeMetric
%lld", (long long)metric.id());
491
ALOGW("Incorrect field filter setting in
GaugeMetric
%lld", (long long)metric.id());
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
ConfigFactory.java
27
import com.android.internal.os.StatsdConfigProto.
GaugeMetric
;
125
for (
GaugeMetric
metric : mTemplate.getGaugeMetricList()) {
229
* Creates a {@link
GaugeMetric
} based on the template. Makes sure that all names are appended
232
private void addGaugeMetric(
GaugeMetric
template, int suffix, TimeUnit bucket,
234
GaugeMetric
.Builder metric = template.toBuilder()
SequencePusher.java
29
* <li> BatteryLevelChanged - For EventMetric, CountMetric and
GaugeMetric
(no dimensions).
LoadtestActivity.java
211
* Whether to include
GaugeMetric
in the config.
/frameworks/base/cmds/statsd/tests/metrics/
GaugeMetricProducer_test.cpp
51
GaugeMetric
metric;
132
GaugeMetric
metric;
205
GaugeMetric
metric;
273
GaugeMetric
metric;
345
GaugeMetric
metric;
429
GaugeMetric
metric;
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
GaugeMetricsTests.java
68
// Add
GaugeMetric
.
72
StatsdConfigProto.
GaugeMetric
.newBuilder()
ValueMetricsTests.java
37
import com.android.internal.os.StatsdConfigProto.
GaugeMetric
;
/frameworks/base/cmds/statsd/src/
statsd_config.proto
217
message
GaugeMetric
{
341
repeated
GaugeMetric
gauge_metric = 5;
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
AtomTestCase.java
28
import com.android.internal.os.StatsdConfigProto.
GaugeMetric
;
355
GaugeMetric
.Builder
gaugeMetric
=
GaugeMetric
.newBuilder()
359
.setSamplingType(
GaugeMetric
.SamplingType.ALL_CONDITION_CHANGES)
363
gaugeMetric
.setDimensionsInWhat(dimension.build());
365
conf.addGaugeMetric(
gaugeMetric
.build());
HostAtomTests.java
30
import com.android.internal.os.StatsdConfigProto.
GaugeMetric
;
/cts/hostsidetests/statsd/src/android/cts/statsd/alert/
AnomalyDetectionTests.java
26
import com.android.internal.os.StatsdConfigProto.
GaugeMetric
;
327
.addGaugeMetric(
GaugeMetric
.newBuilder()
Completed in 331 milliseconds