OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:simplepredicate
(Results
1 - 18
of
18
) sorted by null
/frameworks/base/cmds/statsd/tests/condition/
StateTracker_test.cpp
35
SimplePredicate
getUidProcStatePredicate() {
36
SimplePredicate
simplePredicate
;
37
simplePredicate
.set_start(StringToId("UidProcState"));
39
simplePredicate
.mutable_dimensions()->set_field(kUidProcTag);
40
simplePredicate
.mutable_dimensions()->add_child()->set_field(1);
41
simplePredicate
.mutable_dimensions()->add_child()->set_field(2);
43
simplePredicate
.set_count_nesting(false);
44
return
simplePredicate
;
SimpleConditionTracker_test.cpp
40
SimplePredicate
getWakeLockHeldCondition(bool countNesting, bool defaultFalse,
42
SimplePredicate
simplePredicate
;
43
simplePredicate
.set_start(StringToId("WAKE_LOCK_ACQUIRE"));
44
simplePredicate
.set_stop(StringToId("WAKE_LOCK_RELEASE"));
45
simplePredicate
.set_stop_all(StringToId("RELEASE_ALL"));
47
simplePredicate
.mutable_dimensions()->set_field(TAG_ID);
48
simplePredicate
.mutable_dimensions()->add_child()->set_field(ATTRIBUTION_NODE_FIELD_ID);
49
simplePredicate
.mutable_dimensions()->mutable_child(0)->set_position(position);
50
simplePredicate
.mutable_dimensions()->mutable_child(0)->add_child()->set_field
[
all
...]
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DurationMetricsTests.java
27
import com.android.internal.os.StatsdConfigProto.
SimplePredicate
;
60
SimplePredicate
simplePredicate
=
SimplePredicate
.newBuilder()
66
.setSimplePredicate(
simplePredicate
)
120
SimplePredicate
simplePredicateA =
SimplePredicate
.newBuilder()
140
.setSimplePredicate(
SimplePredicate
.newBuilder()
GaugeMetricsTests.java
27
import com.android.internal.os.StatsdConfigProto.
SimplePredicate
;
58
SimplePredicate
simplePredicate
=
SimplePredicate
.newBuilder()
64
.setSimplePredicate(
simplePredicate
)
ValueMetricsTests.java
40
import com.android.internal.os.StatsdConfigProto.
SimplePredicate
;
141
.setSimplePredicate(
SimplePredicate
.newBuilder()
219
.setSimplePredicate(
SimplePredicate
.newBuilder()
CountMetricsTests.java
83
.setSimplePredicate(StatsdConfigProto.
SimplePredicate
.newBuilder()
/frameworks/base/cmds/statsd/src/condition/
SimpleConditionTracker.cpp
35
const
SimplePredicate
&
simplePredicate
,
39
mCountNesting =
simplePredicate
.count_nesting();
41
if (
simplePredicate
.has_start()) {
42
auto pair = trackerNameIndexMap.find(
simplePredicate
.start());
44
ALOGW("Start matcher %lld not found in the config", (long long)
simplePredicate
.start());
53
if (
simplePredicate
.has_stop()) {
54
auto pair = trackerNameIndexMap.find(
simplePredicate
.stop());
56
ALOGW("Stop matcher %lld not found in the config", (long long)
simplePredicate
.stop());
65
if (
simplePredicate
.has_stop_all())
[
all
...]
StateTracker.cpp
31
const
SimplePredicate
&
simplePredicate
,
35
if (
simplePredicate
.has_start()) {
36
auto pair = trackerNameIndexMap.find(
simplePredicate
.start());
38
ALOGW("Start matcher %lld not found in the config", (long long)
simplePredicate
.start());
48
if (
simplePredicate
.has_dimensions()) {
49
translateFieldMatcher(
simplePredicate
.dimensions(), &mOutputDimensions);
62
if (
simplePredicate
.initial_value() == SimplePredicate_InitialValue_FALSE) {
SimpleConditionTracker.h
33
const
SimplePredicate
&
simplePredicate
,
StateTracker.h
31
const
SimplePredicate
&
simplePredicate
,
/frameworks/base/cmds/statsd/src/metrics/
metrics_manager_util.cpp
163
* A StateTracker is built from a
SimplePredicate
which has only "start", and no "stop"
169
bool isStateTracker(const
SimplePredicate
&
simplePredicate
, vector<Matcher>* primaryKeys) {
171
if (!
simplePredicate
.has_stop() &&
simplePredicate
.has_dimensions()) {
174
simplePredicate
.dimensions().field());
180
translateFieldMatcher(
simplePredicate
.dimensions(), &dimensions);
339
const auto&
simplePredicate
= durationWhat.simple_predicate();
341
bool nesting =
simplePredicate
.count_nesting();
344
if (!
simplePredicate
.has_start() |
[
all
...]
metrics_manager_util.h
114
bool isStateTracker(const
SimplePredicate
&
simplePredicate
, std::vector<Matcher>* primaryKeys);
/frameworks/base/cmds/statsd/tests/
MetricsManager_test.cpp
257
SimplePredicate
*
simplePredicate
= condition->mutable_simple_predicate();
258
simplePredicate
->set_start(StringToId("SCREEN_IS_ON"));
259
simplePredicate
->set_stop(StringToId("SCREEN_IS_OFF"));
/frameworks/base/cmds/statsd/src/
statsd_config.proto
122
message
SimplePredicate
{
150
SimplePredicate
simple_predicate = 2;
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
ConfigFactory.java
31
import com.android.internal.os.StatsdConfigProto.
SimplePredicate
;
286
SimplePredicate
.Builder sc = template.getSimplePredicate().toBuilder()
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/
ValidationTests.java
38
import com.android.internal.os.StatsdConfigProto.
SimplePredicate
;
493
.setSimplePredicate(
SimplePredicate
.newBuilder()
541
.setSimplePredicate(
SimplePredicate
.newBuilder()
622
.setSimplePredicate(
SimplePredicate
.newBuilder()
[
all
...]
/cts/hostsidetests/statsd/src/android/cts/statsd/alert/
AnomalyDetectionTests.java
139
.setSimplePredicate(StatsdConfigProto.
SimplePredicate
.newBuilder()
204
.setSimplePredicate(StatsdConfigProto.
SimplePredicate
.newBuilder()
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
AtomTestCase.java
31
import com.android.internal.os.StatsdConfigProto.
SimplePredicate
;
349
.setSimplePredicate(
SimplePredicate
.newBuilder()
Completed in 2050 milliseconds