Home
last modified time | relevance | path

Searched refs:atomId (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityLoggerFake.java29 public int atomId; field in ChooserActivityLoggerFake.CallRecord
49 CallRecord(int atomId, UiEventLogger.UiEventEnum eventId, in CallRecord() argument
51 this.atomId = atomId; in CallRecord()
57 CallRecord(int atomId, String packageName, InstanceId instanceId, String mimeType, in CallRecord() argument
60 this.atomId = atomId; in CallRecord()
71 CallRecord(int atomId, String packageName, InstanceId instanceId, int targetType, in CallRecord() argument
73 this.atomId = atomId; in CallRecord()
103 (call.atomId == FrameworkStatsLog.UI_EVENT_REPORTED) in removeCallsForUiEventsOfType()
DChooserActivityTest.java820 assertThat(logger.get(1).atomId, is(FrameworkStatsLog.SHARESHEET_STARTED)); in testNearbyShareLogging()
843 assertThat(logger.get(5).atomId, is(FrameworkStatsLog.RANKING_SELECTED)); in testNearbyShareLogging()
891 assertThat(logger.get(1).atomId, is(FrameworkStatsLog.SHARESHEET_STARTED)); in testEditImageLogs()
914 assertThat(logger.get(5).atomId, is(FrameworkStatsLog.RANKING_SELECTED)); in testEditImageLogs()
2139 assertThat(logger.get(1).atomId, is(FrameworkStatsLog.SHARESHEET_STARTED)); in testAppTargetLogging()
2162 assertThat(logger.get(5).atomId, is(FrameworkStatsLog.RANKING_SELECTED)); in testAppTargetLogging()
2238 assertThat(logger.get(0).atomId, is(FrameworkStatsLog.UI_EVENT_REPORTED)); in testDirectTargetLogging()
2242 assertThat(logger.get(1).atomId, is(FrameworkStatsLog.SHARESHEET_STARTED)); in testDirectTargetLogging()
2252 assertThat(logger.get(2).atomId, is(FrameworkStatsLog.UI_EVENT_REPORTED)); in testDirectTargetLogging()
2258 assertThat(logger.get(5).atomId, is(FrameworkStatsLog.RANKING_SELECTED)); in testDirectTargetLogging()
[all …]
/frameworks/proto_logging/stats/stats_log_api_gen/
DCollation.h117 const int atomId; member
121 inline Annotation(AnnotationId annotationId, int atomId, AnnotationType type, in Annotation()
123 : annotationId(annotationId), atomId(atomId), type(type), value(value) { in Annotation()
129 return atomId == that.atomId ? annotationId < that.annotationId : atomId < that.atomId;
Dtest_collation.cpp299 EXPECT_EQ(1, annotation->atomId); in TEST()
314 EXPECT_EQ(3, annotation->atomId); in TEST()
369 EXPECT_EQ(1, annotation->atomId); in TEST()
384 EXPECT_EQ(3, annotation->atomId); in TEST()
494 EXPECT_EQ(9999, annotation->atomId); in TEST()
DCollation.cpp454 const int atomId = atomField->number(); in getAtomType() local
455 if ((atomId >= PLATFORM_PULLED_ATOMS_START && atomId <= PLATFORM_PULLED_ATOMS_END) in getAtomType()
456 || (atomId >= VENDOR_PULLED_ATOMS_START && atomId <= VENDOR_PULLED_ATOMS_END)) { in getAtomType()
/frameworks/base/services/core/java/com/android/server/stats/bootstrap/
DStatsBootstrapAtomService.java40 if (atom.atomId < 1 || atom.atomId >= 10000) { in reportBootstrapAtom()
41 Slog.e(TAG, "Atom ID " + atom.atomId + " is not a valid atom ID"); in reportBootstrapAtom()
44 StatsEvent.Builder builder = StatsEvent.newBuilder().setAtomId(atom.atomId); in reportBootstrapAtom()
67 + " when logging atom " + atom.atomId); in reportBootstrapAtom()
/frameworks/native/services/stats/
DStatsAidl.cpp34 if (vendorAtom.atomId < 100000 || vendorAtom.atomId >= 200000) { in reportVendorAtom()
35 ALOGE("Atom ID %ld is not a valid vendor atom ID", (long) vendorAtom.atomId); in reportVendorAtom()
45 AStatsEvent_setAtomId(event, vendorAtom.atomId); in reportVendorAtom()
DStatsHal.cpp116 if (vendorAtom.atomId < 100000 || vendorAtom.atomId >= 200000) { in reportVendorAtom()
117 ALOGE("Atom ID %ld is not a valid vendor atom ID", (long) vendorAtom.atomId); in reportVendorAtom()
125 AStatsEvent_setAtomId(event, vendorAtom.atomId); in reportVendorAtom()
/frameworks/hardware/interfaces/stats/aidl/vts/functional/
DVtsHalStatsTargetTest.cpp57 VendorAtom atom = {.reverseDomainName = "", .atomId = 100001, .values = values}; in TEST_P()
78 VendorAtom atom = {.reverseDomainName = "", .atomId = 1000, .values = values}; in TEST_P()
99 VendorAtom atom = {.reverseDomainName = "", .atomId = 300001, .values = values}; in TEST_P()
121 .atomId = 100001, in TEST_P()
/frameworks/base/services/core/java/com/android/server/notification/
DSysUiStatsEvent.java37 public Builder setAtomId(int atomId) { in setAtomId() argument
38 mBuilder.setAtomId(atomId); in setAtomId()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DWrappedSysUiStatsEvent.java47 public Builder setAtomId(int atomId) { in setAtomId() argument
48 mAtomId = atomId; in setAtomId()
49 super.setAtomId(atomId); in setAtomId()
/frameworks/base/core/java/android/os/
DStatsBootstrapAtom.aidl29 int atomId;
/frameworks/hardware/interfaces/stats/aidl/aidl_api/android.frameworks.stats/current/android/frameworks/stats/
DVendorAtom.aidl38 int atomId;
/frameworks/hardware/interfaces/stats/aidl/aidl_api/android.frameworks.stats/1/android/frameworks/stats/
DVendorAtom.aidl38 int atomId;
/frameworks/hardware/interfaces/stats/aidl/android/frameworks/stats/
DVendorAtom.aidl48 int atomId;
/frameworks/hardware/interfaces/stats/aidl/test_client/
DAidlStatsClient.cpp83 .reverseDomainName = "", .atomId = 100001, .values = values}; in main()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.h48 virtual bool onPullAtom(const int atomId, std::string* pulledData) = 0;
245 bool onPullAtom(const int atomId, std::string* pulledData) override;
DTimeStats.cpp246 bool TimeStats::onPullAtom(const int atomId, std::string* pulledData) { in onPullAtom() argument
248 if (atomId == 10062) { // SURFACEFLINGER_STATS_GLOBAL_INFO in onPullAtom()
250 } else if (atomId == 10063) { // SURFACEFLINGER_STATS_LAYER_INFO in onPullAtom()
/frameworks/hardware/interfaces/stats/1.0/vts/functional/
DVtsHalStatsV1_0TargetTest.cpp143 VendorAtom atom = {.reverseDomainName = "", .atomId = 100001, .values = values}; in TEST_P()
/frameworks/hardware/interfaces/stats/1.0/
Dtypes.hal212 * .atomId = 100000,
233 int32_t atomId;
/frameworks/hardware/interfaces/stats/1.0/test_client/
DStatsClient.cpp184 .reverseDomainName = "", .atomId = 100001, .values = values}; in main()
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h207 virtual status_t onPullAtom(const int32_t atomId, std::string* outData, bool* success) = 0;
/frameworks/native/libs/gui/
DISurfaceComposer.cpp370 status_t onPullAtom(const int32_t atomId, std::string* pulledData, bool* success) { in onPullAtom() argument
373 SAFE_PARCEL(data.writeInt32, atomId); in onPullAtom()
1705 int32_t atomId = 0; in onTransact() local
1706 SAFE_PARCEL(data.readInt32, &atomId); in onTransact()
1710 status_t err = onPullAtom(atomId, &pulledData, &success); in onTransact()
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_fuzzers_utils.h432 const int32_t atomId = fdp->ConsumeIntegral<uint8_t>(); in onPullAtom() local
435 mFlinger->onPullAtom(atomId, &pulledData, &success); in onPullAtom()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DMetricsCollector.java688 private void registerAtom(int atomId) { in registerAtom() argument
689 mStatsManager.setPullAtomCallback(atomId, /* metadata= */ null, in registerAtom()

12