/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/ |
D | TestDrive.java | 89 int atomId = Integer.valueOf(args[i]); in main() local 90 if (Atom.getDescriptor().findFieldByNumber(atomId) == null) { in main() 94 trackedAtoms.add(atomId); in main() 169 for (int atomId : atomIds) { in createConfig() 170 if (isPulledAtom(atomId)) { in createConfig() 171 builder.addAtomMatcher(createAtomMatcher(atomId, atomMatcherId)); in createConfig() 188 builder.addAtomMatcher(createAtomMatcher(atomId, atomMatcherId)); in createConfig() 196 private static AtomMatcher createAtomMatcher(int atomId, long matcherId) { in createAtomMatcher() argument 200 .setSimpleAtomMatcher(SimpleAtomMatcher.newBuilder().setAtomId(atomId)); in createAtomMatcher() 225 private static boolean isPulledAtom(int atomId) { in isPulledAtom() argument [all …]
|
/frameworks/base/cmds/statsd/src/ |
D | stats_log_util.h | 94 int64_t truncateTimestampIfNecessary(int atomId, int64_t timestampNs); 96 inline bool isVendorPulledAtom(int atomId) { in isVendorPulledAtom() argument 97 return atomId >= StatsdStats::kVendorPulledAtomStartTag && atomId < StatsdStats::kMaxAtomTag; in isVendorPulledAtom()
|
D | stats_log_util.cpp | 544 int64_t truncateTimestampIfNecessary(int atomId, int64_t timestampNs) { in truncateTimestampIfNecessary() argument 545 if (AtomsInfo::kTruncatingTimestampAtomBlackList.find(atomId) != in truncateTimestampIfNecessary() 547 (atomId >= StatsdStats::kTimestampTruncationStartTag && in truncateTimestampIfNecessary() 548 atomId <= StatsdStats::kTimestampTruncationEndTag)) { in truncateTimestampIfNecessary()
|
/frameworks/base/cmds/statsd/tests/ |
D | statsd_test_util.h | 33 AtomMatcher CreateSimpleAtomMatcher(const string& name, int atomId); 111 FieldMatcher CreateDimensions(const int atomId, const std::vector<int>& fields); 114 FieldMatcher CreateAttributionUidAndTagDimensions(const int atomId, 118 FieldMatcher CreateAttributionUidDimensions(const int atomId, 191 void ValidateUidDimension(const DimensionsValue& value, int node_idx, int atomId, int uid); 192 void ValidateAttributionUidDimension(const DimensionsValue& value, int atomId, int uid); 194 const DimensionsValue& value, int atomId, int uid, const std::string& tag); 196 const DimensionsValue& value, int node_idx, int atomId, int uid, const std::string& tag);
|
D | statsd_test_util.cpp | 22 AtomMatcher CreateSimpleAtomMatcher(const string& name, int atomId) { in CreateSimpleAtomMatcher() argument 26 simple_atom_matcher->set_atom_id(atomId); in CreateSimpleAtomMatcher() 259 FieldMatcher CreateAttributionUidDimensions(const int atomId, in CreateAttributionUidDimensions() argument 262 dimensions.set_field(atomId); in CreateAttributionUidDimensions() 272 FieldMatcher CreateAttributionUidAndTagDimensions(const int atomId, in CreateAttributionUidAndTagDimensions() argument 275 dimensions.set_field(atomId); in CreateAttributionUidAndTagDimensions() 286 FieldMatcher CreateDimensions(const int atomId, const std::vector<int>& fields) { in CreateDimensions() argument 288 dimensions.set_field(atomId); in CreateDimensions() 488 void ValidateAttributionUidDimension(const DimensionsValue& value, int atomId, int uid) { in ValidateAttributionUidDimension() argument 489 EXPECT_EQ(value.field(), atomId); in ValidateAttributionUidDimension() [all …]
|
/frameworks/base/cmds/statsd/benchmark/ |
D | metric_util.h | 28 AtomMatcher CreateSimpleAtomMatcher(const string& name, int atomId); 85 FieldMatcher CreateDimensions(const int atomId, const std::vector<int>& fields); 88 FieldMatcher CreateAttributionUidAndTagDimensions(const int atomId, 92 FieldMatcher CreateAttributionUidDimensions(const int atomId,
|
D | metric_util.cpp | 21 AtomMatcher CreateSimpleAtomMatcher(const string& name, int atomId) { in CreateSimpleAtomMatcher() argument 25 simple_atom_matcher->set_atom_id(atomId); in CreateSimpleAtomMatcher() 212 FieldMatcher CreateAttributionUidDimensions(const int atomId, in CreateAttributionUidDimensions() argument 215 dimensions.set_field(atomId); in CreateAttributionUidDimensions() 225 FieldMatcher CreateAttributionUidAndTagDimensions(const int atomId, in CreateAttributionUidAndTagDimensions() argument 228 dimensions.set_field(atomId); in CreateAttributionUidAndTagDimensions() 239 FieldMatcher CreateDimensions(const int atomId, const std::vector<int>& fields) { in CreateDimensions() argument 241 dimensions.set_field(atomId); in CreateDimensions()
|
/frameworks/base/cmds/statsd/src/guardrail/ |
D | StatsdStats.h | 282 void noteAtomLogged(int atomId, int32_t timeSec); 366 void notePullFailed(int atomId); 371 void noteStatsCompanionPullFailed(int atomId); 378 void noteStatsCompanionPullBinderTransactionFailed(int atomId); 383 void noteEmptyData(int atomId); 390 void notePullerCallbackRegistrationChanged(int atomId, bool registered);
|
D | StatsdStats.cpp | 448 void StatsdStats::noteAtomLogged(int atomId, int32_t timeSec) { in noteAtomLogged() argument 451 if (atomId <= android::util::kMaxPushedAtomId) { in noteAtomLogged() 452 mPushedAtomStats[atomId]++; in noteAtomLogged() 455 mNonPlatformPushedAtomStats[atomId]++; in noteAtomLogged() 469 void StatsdStats::notePullFailed(int atomId) { in notePullFailed() argument 471 mPulledAtomStats[atomId].pullFailed++; in notePullFailed() 474 void StatsdStats::noteStatsCompanionPullFailed(int atomId) { in noteStatsCompanionPullFailed() argument 476 mPulledAtomStats[atomId].statsCompanionPullFailed++; in noteStatsCompanionPullFailed() 479 void StatsdStats::noteStatsCompanionPullBinderTransactionFailed(int atomId) { in noteStatsCompanionPullBinderTransactionFailed() argument 481 mPulledAtomStats[atomId].statsCompanionPullBinderTransactionFailed++; in noteStatsCompanionPullBinderTransactionFailed() [all …]
|
/frameworks/base/core/jni/ |
D | android_util_StatsLog.cpp | 31 jint atomId) { in android_util_StatsLog_write() argument 45 write_buffer_to_statsd((void*) bufferArray, size, atomId); in android_util_StatsLog_write()
|
/frameworks/base/core/java/com/android/internal/car/ |
D | ICarStatsService.aidl | 30 StatsLogEventWrapper[] pullData(int atomId); in pullData() argument
|
/frameworks/base/core/java/android/util/ |
D | StatsEvent.java | 226 private StatsEvent(final int atomId, @Nullable final Buffer buffer, in StatsEvent() argument 228 mAtomId = atomId; in StatsEvent() 360 public Builder setAtomId(final int atomId) { in setAtomId() argument 361 mAtomId = atomId; in setAtomId()
|
D | StatsLog.java | 247 private static native void writeImpl(@NonNull byte[] buffer, int size, int atomId); in writeImpl() argument
|
/frameworks/hardware/interfaces/stats/1.0/ |
D | types.hal | 212 * .atomId = 100000, 233 int32_t atomId;
|
/frameworks/hardware/interfaces/stats/1.0/vts/functional/ |
D | VtsHalStatsV1_0TargetTest.cpp | 143 VendorAtom atom = {.reverseDomainName = "com.google.pixel", .atomId = 100001, .values = values}; in TEST_P()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | GaugeMetricProducer.h | 63 const int pullTagId, const int triggerAtomId, const int atomId,
|
D | GaugeMetricProducer.cpp | 73 const int atomId, const int64_t timeBaseNs, const int64_t startTimeNs, in GaugeMetricProducer() argument 81 mAtomId(atomId), in GaugeMetricProducer()
|
/frameworks/hardware/interfaces/stats/1.0/test_client/ |
D | StatsClient.cpp | 178 .reverseDomainName = "com.google.pixel", .atomId = 100001, .values = values}; in main()
|