/frameworks/base/services/core/jni/stats/ |
D | SurfaceFlingerPuller.cpp | 79 for (const auto& atom : atomList.atom()) { in parseGlobalInfoPull() local 82 optional<BytesField> frameDuration = getBytes(atom.frame_duration(), frameDurationStr); in parseGlobalInfoPull() 84 getBytes(atom.render_engine_timing(), renderEngineTimeStr); in parseGlobalInfoPull() 86 getBytes(atom.sf_deadline_misses(), deadlineMissesStr); in parseGlobalInfoPull() 88 getBytes(atom.sf_prediction_errors(), predictionErrorsStr); in parseGlobalInfoPull() 96 atom.total_frames(), atom.missed_frames(), in parseGlobalInfoPull() 97 atom.client_composition_frames(), atom.display_on_millis(), in parseGlobalInfoPull() 98 atom.animation_millis(), atom.event_connection_count(), in parseGlobalInfoPull() 100 atom.total_timeline_frames(), atom.total_janky_frames(), in parseGlobalInfoPull() 101 atom.total_janky_frames_with_long_cpu(), in parseGlobalInfoPull() [all …]
|
/frameworks/proto_logging/stats/stats_log_api_gen/test_java/src/com/android/test/statslogapigen/ |
D | VendorAtomCodeGenTest.java | 94 VendorAtom atom = funcWrapper.methodSignature(VendorAtomsLog.VENDOR_ATOM1, in testCreateVendorAtom1ApiGen() local 102 assertThat(atom.atomId).isEqualTo(VendorAtomsLog.VENDOR_ATOM1); in testCreateVendorAtom1ApiGen() 103 assertThat(atom.reverseDomainName).isEqualTo(kTestStringValue); in testCreateVendorAtom1ApiGen() 104 assertThat(atom.values.length).isEqualTo(8); in testCreateVendorAtom1ApiGen() 105 assertThat(atom.values[0].getIntValue()).isEqualTo( in testCreateVendorAtom1ApiGen() 107 assertThat(atom.values[1].getIntValue()).isEqualTo( in testCreateVendorAtom1ApiGen() 109 assertThat(atom.values[2].getIntValue()).isEqualTo(kTestIntValue); in testCreateVendorAtom1ApiGen() 110 assertThat(atom.values[3].getLongValue()).isEqualTo(kTestLongValue); in testCreateVendorAtom1ApiGen() 111 assertThat(atom.values[4].getFloatValue()).isEqualTo(kTestFloatValue); in testCreateVendorAtom1ApiGen() 112 assertThat(atom.values[5].getBoolValue()).isEqualTo(kTestBoolValue); in testCreateVendorAtom1ApiGen() [all …]
|
/frameworks/proto_logging/stats/stats_log_api_gen/ |
D | test_api_gen_vendor.cpp | 108 VendorAtom atom = func(VENDOR_ATOM1, kTestStringValue, VendorAtom1::TYPE_1, VendorAtom1::TYPE_2, in TEST() local 112 EXPECT_EQ(atom.atomId, VENDOR_ATOM1); in TEST() 113 EXPECT_EQ(atom.reverseDomainName, kTestStringValue); in TEST() 114 EXPECT_EQ(atom.values.size(), static_cast<size_t>(8)); in TEST() 115 EXPECT_EQ(atom.values[0].get<VendorAtomValue::intValue>(), VendorAtom1::TYPE_1); in TEST() 116 EXPECT_EQ(atom.values[1].get<VendorAtomValue::intValue>(), VendorAtom1::TYPE_2); in TEST() 117 EXPECT_EQ(atom.values[2].get<VendorAtomValue::intValue>(), kTestIntValue); in TEST() 118 EXPECT_EQ(atom.values[3].get<VendorAtomValue::longValue>(), kTestLongValue); in TEST() 119 EXPECT_EQ(atom.values[4].get<VendorAtomValue::floatValue>(), kTestFloatValue); in TEST() 120 EXPECT_EQ(atom.values[5].get<VendorAtomValue::boolValue>(), kTestBoolValue); in TEST() [all …]
|
D | Collation.cpp | 365 int collate_atom(const Descriptor& atom, AtomDecl& atomDecl, vector<java_type_t>& signature) { in collate_atom() argument 371 for (int j = 0; j < atom.field_count(); j++) { in collate_atom() 372 const FieldDescriptor* field = atom.field(j); in collate_atom() 395 std::string atomName = atom.name(); in collate_atom() 454 atom.name().c_str()); in collate_atom() 498 bool get_non_chained_node(const Descriptor& atom, AtomDecl& atomDecl, in get_non_chained_node() argument 503 for (int j = 0; j < atom.field_count(); j++) { in get_non_chained_node() 504 const FieldDescriptor& field = *atom.field(j); in get_non_chained_node() 601 const Descriptor& atom = *atomField.message_type(); in collate_from_field_descriptor() local 603 make_shared<AtomDecl>(atomField.number(), atomField.name(), atom.name(), atomType); in collate_from_field_descriptor() [all …]
|
D | test_external.proto | 211 // Restriction category on atom field 217 // The atom has only primary field but no exclusive state field. 229 // Having 2 exclusive state field in the atom means the atom is badly designed. 230 // E.g., putting bluetooth state and wifi state in the same atom. 349 // Restriction category on atom field 359 // Field restriction option on top level atom field 399 extensions 9999; // Pushed atom extension, ExtensionAtomPushed 401 extensions 99999; // Pulled atom extension, ExtensionAtomPulled
|
D | test.proto | 211 // Restriction category on atom field 217 // The atom has only primary field but no exclusive state field. 229 // Having 2 exclusive state field in the atom means the atom is badly designed. 230 // E.g., putting bluetooth state and wifi state in the same atom. 349 // Restriction category on atom field 359 // Field restriction option on top level atom field 399 extensions 9999; // Pushed atom extension, ExtensionAtomPushed 401 extensions 99999; // Pulled atom extension, ExtensionAtomPulled
|
/frameworks/hardware/interfaces/stats/aidl/vts/java/apps/vtsistatsapp/src/ |
D | VtsVendorAtomJavaTest.java | 78 VendorAtom atom = new VendorAtom(); in testReportVendorAtomInt() local 79 atom.atomId = TestVendorAtomId; in testReportVendorAtomInt() 80 atom.reverseDomainName = "com.test.domain"; in testReportVendorAtomInt() 81 atom.values = new VendorAtomValue[1]; in testReportVendorAtomInt() 82 atom.values[0] = VendorAtomValue.intValue(7); in testReportVendorAtomInt() 85 statsService.get().reportVendorAtom(atom); in testReportVendorAtomInt() 100 VendorAtom atom = new VendorAtom(); in testReportVendorAtomWrongId() local 101 atom.atomId = 1000; in testReportVendorAtomWrongId() 102 atom.reverseDomainName = "com.test.domain"; in testReportVendorAtomWrongId() 103 atom.values = new VendorAtomValue[1]; in testReportVendorAtomWrongId() [all …]
|
/frameworks/av/media/module/libmediatranscoding/tests/ |
D | TranscodingLogger_tests.cpp | 172 const SessionEndedAtom& atom = mLoggedAtoms.back(); in validateLatestAtom() local 174 EXPECT_EQ(atom.atomCode, android::media::stats::MEDIA_TRANSCODING_SESSION_ENDED); in validateLatestAtom() 175 EXPECT_EQ(atom.reason, static_cast<int>(reason)); in validateLatestAtom() 176 EXPECT_EQ(atom.callingUid, kDefaultCallingUid); in validateLatestAtom() 177 EXPECT_EQ(atom.status, status); in validateLatestAtom() 178 EXPECT_EQ(atom.srcWidth, kDefaultSrcWidth); in validateLatestAtom() 179 EXPECT_EQ(atom.srcHeight, kDefaultSrcHeight); in validateLatestAtom() 180 EXPECT_EQ(atom.srcMime, kDefaultSrcMime); in validateLatestAtom() 181 EXPECT_EQ(atom.srcProfile, kDefaultSrcProfile); in validateLatestAtom() 182 EXPECT_EQ(atom.srcLevel, kDefaultSrcLevel); in validateLatestAtom() [all …]
|
/frameworks/base/services/core/java/com/android/server/stats/bootstrap/ |
D | StatsBootstrapAtomService.java | 39 public void reportBootstrapAtom(StatsBootstrapAtom atom) { in reportBootstrapAtom() argument 40 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() 45 for (StatsBootstrapAtomValue value : atom.values) { in reportBootstrapAtom() 67 + " when logging atom " + atom.atomId); in reportBootstrapAtom()
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.cpp | 103 SurfaceflingerStatsGlobalInfo* atom = atomList.add_atom(); in populateGlobalAtom() local 104 atom->set_total_frames(mTimeStats.totalFramesLegacy); in populateGlobalAtom() 105 atom->set_missed_frames(mTimeStats.missedFramesLegacy); in populateGlobalAtom() 106 atom->set_client_composition_frames(mTimeStats.clientCompositionFramesLegacy); in populateGlobalAtom() 107 atom->set_display_on_millis(mTimeStats.displayOnTimeLegacy); in populateGlobalAtom() 108 atom->set_animation_millis(mTimeStats.presentToPresentLegacy.totalTime()); in populateGlobalAtom() 110 atom->set_event_connection_count(0); in populateGlobalAtom() 111 *atom->mutable_frame_duration() = in populateGlobalAtom() 113 *atom->mutable_render_engine_timing() = in populateGlobalAtom() 116 atom->set_total_timeline_frames(globalSlice.second.jankPayload.totalFrames); in populateGlobalAtom() [all …]
|
/frameworks/native/libs/input/tests/ |
D | MotionPredictorMetricsManager_test.cpp | 760 const AtomFields& atom = reportedAtomFields[i]; in TEST() local 762 EXPECT_EQ(deltaTimeBucketNanos / NANOS_PER_MILLIS, atom.deltaTimeBucketMilliseconds); in TEST() 764 EXPECT_EQ(0, atom.alongTrajectoryErrorMeanMillipixels); in TEST() 765 EXPECT_EQ(0, atom.alongTrajectoryErrorStdMillipixels); in TEST() 766 EXPECT_EQ(0, atom.offTrajectoryRmseMillipixels); in TEST() 767 EXPECT_EQ(0, atom.pressureRmseMilliunits); in TEST() 770 EXPECT_EQ(NO_DATA_SENTINEL, atom.highVelocityAlongTrajectoryRmse); in TEST() 771 EXPECT_EQ(NO_DATA_SENTINEL, atom.highVelocityOffTrajectoryRmse); in TEST() 774 EXPECT_EQ(0, atom.scaleInvariantAlongTrajectoryRmse); in TEST() 775 EXPECT_EQ(0, atom.scaleInvariantOffTrajectoryRmse); in TEST() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 1151 const android::surfaceflinger::SurfaceflingerStatsGlobalInfo& atom = atomList.atom(0); in TEST_F() local 1153 EXPECT_EQ(atom.total_frames(), TOTAL_FRAMES); in TEST_F() 1154 EXPECT_EQ(atom.missed_frames(), MISSED_FRAMES); in TEST_F() 1155 EXPECT_EQ(atom.client_composition_frames(), CLIENT_COMPOSITION_FRAMES); in TEST_F() 1157 EXPECT_EQ(atom.animation_millis(), 2); in TEST_F() 1158 EXPECT_THAT(atom.frame_duration(), HistogramEq(buildExpectedHistogram({2}, {1}))); in TEST_F() 1159 EXPECT_THAT(atom.render_engine_timing(), HistogramEq(buildExpectedHistogram({1, 2}, {1, 1}))); in TEST_F() 1160 EXPECT_EQ(atom.total_timeline_frames(), 9); in TEST_F() 1161 EXPECT_EQ(atom.total_janky_frames(), 7); in TEST_F() 1162 EXPECT_EQ(atom.total_janky_frames_with_long_cpu(), 1); in TEST_F() [all …]
|
/frameworks/hardware/interfaces/stats/aidl/vts/functional/ |
D | VtsHalStatsTargetTest.cpp | 83 VendorAtom atom = {.reverseDomainName = "", .atomId = 104999, .values = values}; in TEST_P() local 84 const ndk::ScopedAStatus ret = client->reportVendorAtom(atom); in TEST_P() 104 VendorAtom atom = {.reverseDomainName = "", .atomId = 1000, .values = values}; in TEST_P() local 105 const ndk::ScopedAStatus ret = client->reportVendorAtom(atom); in TEST_P() 125 VendorAtom atom = {.reverseDomainName = "", .atomId = 300001, .values = values}; in TEST_P() local 126 const ndk::ScopedAStatus ret = client->reportVendorAtom(atom); in TEST_P() 146 VendorAtom atom = {.reverseDomainName = "", in TEST_P() local 149 const ndk::ScopedAStatus ret = client->reportVendorAtom(atom); in TEST_P()
|
/frameworks/hardware/interfaces/stats/aidl/test_client/ |
D | AidlStatsClient.cpp | 78 VendorAtom atom = { in buildVendorAtom() local 83 return atom; in buildVendorAtom() 115 VendorAtom atom = buildVendorAtom(); in buildVendorAtomWithAnnotations() local 116 atom.atomAnnotations = in buildVendorAtomWithAnnotations() 118 atom.valuesAnnotations = in buildVendorAtomWithAnnotations() 120 return atom; in buildVendorAtomWithAnnotations()
|
/frameworks/proto_logging/stats/atoms/wear/prototiles/ |
D | prototiles_extension_atoms.proto | 57 * This atom captures the initialization duration and the renderer version when 68 * This atom captures the tile schema version when the tile get rendered for the 79 * This atom captures the structure of the inspected layout. We do inspect every 120 * This atom captures the structure of nodes in the inspected layout. We do 162 * This atom captures the animation objects structure in the inspected layout. 198 * This atom captures the material components structure in the inspected layout. 220 * This atom captures the tile requests. 232 * This atom captures the received State response. 263 * This atom captures the structure of the received tile response. 315 * This atom captures the result of layout inflation. [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | PersistAtomsStorage.java | 719 SatelliteController atom = atomArray[0]; in addSatelliteControllerStats() local 720 atom.countOfSatelliteServiceEnablementsSuccess in addSatelliteControllerStats() 722 atom.countOfSatelliteServiceEnablementsFail in addSatelliteControllerStats() 724 atom.countOfOutgoingDatagramSuccess in addSatelliteControllerStats() 726 atom.countOfOutgoingDatagramFail in addSatelliteControllerStats() 728 atom.countOfIncomingDatagramSuccess in addSatelliteControllerStats() 730 atom.countOfIncomingDatagramFail in addSatelliteControllerStats() 732 atom.countOfDatagramTypeSosSmsSuccess in addSatelliteControllerStats() 734 atom.countOfDatagramTypeSosSmsFail in addSatelliteControllerStats() 736 atom.countOfDatagramTypeLocationSharingSuccess in addSatelliteControllerStats() [all …]
|
/frameworks/proto_logging/stats/ |
D | atom_field_options.proto | 26 // Used to annotate an atom that represents a state change. A state change atom must have exactly 33 // Each UidProcessStateChanged atom event represents a state change for a specific uid. 36 // If the atom has 2 or more primary fields, it means the combination of the 108 // Used to annotate an atom as belonging to a retriction category. 131 // Flags to decorate an atom that presents a state change. 134 // Flags to decorate the uid fields in an atom.
|
/frameworks/av/services/mediametrics/include/mediametricsservice/ |
D | StatsdLog.h | 32 void log(int atom, const std::string& string) { in log() argument 35 ++mCountMap[atom]; in log()
|
/frameworks/proto_logging/stats/atoms/statsd/ |
D | statsd_extension_atoms.proto | 40 /* Test atom, is not logged anywhere */ 64 /* Test restricted atom, is not logged anywhere */ 74 * Represents the atom loss info from libstatssocket 117 * below tuples represent number of times atom loss detected for the pair [error, tag],
|
/frameworks/hardware/interfaces/stats/1.0/ |
D | IStats.hal | 103 * Report a custom vendor atom. 105 * @param VendorAtom A VendorAtom struct that specifies the atom ID, field 107 * Whether or not the atom is uploaded must be determined by the 108 * atom ID and server-side configs.
|
/frameworks/proto_logging/stats/stats_log_api_gen/test_java/ |
D | Android.bp | 29 ":test-vendor-atom-java-gen", 42 name: "test-vendor-atom-java-gen",
|
/frameworks/hardware/interfaces/stats/aidl/vts/java/src/com/android/vts/istats/ |
D | VendorAtomTests.java | 141 final TestVendorAtom.Atom atom = TestVendorAtom.Atom.parseFrom(codedis); in getVendorAtom() local 142 assertThat(atom.hasTestVendorAtomReported()).isTrue(); in getVendorAtom() 144 return atom.getTestVendorAtomReported(); in getVendorAtom()
|
/frameworks/base/core/java/android/os/ |
D | IStatsBootstrapAtomService.aidl | 35 void reportBootstrapAtom(in StatsBootstrapAtom atom); in reportBootstrapAtom() argument
|
/frameworks/hardware/interfaces/stats/aidl/vts/java/ |
D | test_vendor_atom.proto | 26 /* Allocated atom IDs. */ 41 * Logs the test vendor atom for IStats VTS
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | stats_flags.aconfig | 7 description: "Adds mobile_bytes_transfer_by_proc_state atom with system server side aggregation"
|