Home
last modified time | relevance | path

Searched refs:atomTag (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java468 public int onPullAtom(int atomTag, List<StatsEvent> data) { in onPullAtom() argument
470 Trace.traceBegin(Trace.TRACE_TAG_SYSTEM_SERVER, "StatsPull-" + atomTag); in onPullAtom()
473 switch (atomTag) { in onPullAtom()
482 return pullDataBytesTransferLocked(atomTag, data); in onPullAtom()
486 return pullBluetoothBytesTransferLocked(atomTag, data); in onPullAtom()
490 return pullKernelWakelockLocked(atomTag, data); in onPullAtom()
494 return pullCpuTimePerClusterFreqLocked(atomTag, data); in onPullAtom()
498 return pullCpuTimePerUidLocked(atomTag, data); in onPullAtom()
504 return pullCpuCyclesPerUidClusterLocked(atomTag, data); in onPullAtom()
508 return pullCpuTimePerUidFreqLocked(atomTag, data); in onPullAtom()
[all …]
DSettingsStatsUtil.java80 static List<StatsEvent> logGlobalSettings(Context context, int atomTag, int userId) { in logGlobalSettings() argument
91 output.add(createStatsEvent(atomTag, key, value, userId, in logGlobalSettings()
99 static List<StatsEvent> logSystemSettings(Context context, int atomTag, int userId) { in logSystemSettings() argument
110 output.add(createStatsEvent(atomTag, key, value, userId, in logSystemSettings()
118 static List<StatsEvent> logSecureSettings(Context context, int atomTag, int userId) { in logSecureSettings() argument
129 output.add(createStatsEvent(atomTag, key, value, userId, in logSecureSettings()
157 private static StatsEvent createStatsEvent(int atomTag, String key, String value, int userId, in createStatsEvent() argument
160 .setAtomId(atomTag) in createStatsEvent()
/frameworks/base/services/core/java/com/android/server/powerstats/
DStatsPullAtomCallbackImpl.java54 public int onPullAtom(int atomTag, List<StatsEvent> data) { in onPullAtom() argument
55 switch (atomTag) { in onPullAtom()
57 return pullSubsystemSleepState(atomTag, data); in onPullAtom()
59 return pullOnDevicePowerMeasurement(atomTag, data); in onPullAtom()
61 throw new UnsupportedOperationException("Unknown tagId=" + atomTag); in onPullAtom()
80 private int pullOnDevicePowerMeasurement(int atomTag, List<StatsEvent> events) { in pullOnDevicePowerMeasurement() argument
97 atomTag, in pullOnDevicePowerMeasurement()
130 private int pullSubsystemSleepState(int atomTag, List<StatsEvent> events) { in pullSubsystemSleepState() argument
147 atomTag, in pullSubsystemSleepState()
/frameworks/base/core/java/com/android/internal/app/procstats/
DStatsEventOutput.java39 int atomTag, in write() argument
55 atomTag, in write()
73 int atomTag, in write() argument
86 atomTag, in write()
DProcessStats.java2437 public void dumpProcessState(int atomTag, StatsEventOutput statsEventOutput) { in dumpProcessState() argument
2444 processState.dumpStateDurationToStatsd(atomTag, this, statsEventOutput); in dumpProcessState()
2449 public void dumpProcessAssociation(int atomTag, StatsEventOutput statsEventOutput) { in dumpProcessAssociation() argument
2453 atomTag, in dumpProcessAssociation()
/frameworks/base/services/core/jni/stats/
DSurfaceFlingerPuller.cpp45 AStatsManager_PullAtomCallbackReturn SurfaceFlingerPuller::pull(int32_t atomTag, in pull() argument
52 status_t err = SurfaceComposerClient::onPullAtom(atomTag, &pullDataProto, &success); in pull()
56 atomTag, (int)success, binder::Status::exceptionToString(err).c_str()); in pull()
60 switch (atomTag) { in pull()
66 ALOGW("Invalid atom id for surfaceflinger pullers: %" PRId32, atomTag); in pull()
DSurfaceFlingerPuller.h33 AStatsManager_PullAtomCallbackReturn pull(int32_t atomTag, AStatsEventList* data);
/frameworks/native/services/gpuservice/tests/unittests/
DTestableGpuStats.h28 AStatsManager_PullAtomCallbackReturn makePullAtomCallback(int32_t atomTag) { in makePullAtomCallback() argument
29 return mGpuStats->pullAtomCallback(atomTag, nullptr, mGpuStats); in makePullAtomCallback()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DMetricsHelper.java52 BackgroundThread.getExecutor(), (atomTag, data) -> { in registerPuller()
53 if (atomTag != FrameworkStatsLog.PENDING_ALARM_INFO) { in registerPuller()
54 throw new UnsupportedOperationException("Unknown tag" + atomTag); in registerPuller()
59 data.add(FrameworkStatsLog.buildStatsEvent(atomTag, in registerPuller()
/frameworks/av/services/mediametrics/include/mediametricsservice/
DMediaMetricsService.h108 static std::string atomTagToKey(int32_t atomTag);
110 int32_t atomTag, AStatsEventList* data, void* cookie);
111 AStatsManager_PullAtomCallbackReturn pullItems(int32_t atomTag, AStatsEventList* data);
/frameworks/av/services/mediametrics/
DMediaMetricsService.cpp562 std::string MediaMetricsService::atomTagToKey(int32_t atomTag) in atomTagToKey() argument
564 switch (atomTag) { in atomTagToKey()
573 int32_t atomTag, AStatsEventList* data, void* cookie) in pullAtomCallback() argument
576 return svc->pullItems(atomTag, data); in pullAtomCallback()
580 int32_t atomTag, AStatsEventList* data) in pullItems() argument
582 const std::string key(atomTagToKey(atomTag)); in pullItems()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssMetrics.java611 public int onPullAtom(int atomTag, List<StatsEvent> data) { in onPullAtom() argument
612 if (atomTag == FrameworkStatsLog.GNSS_STATS) { in onPullAtom()
613 data.add(FrameworkStatsLog.buildStatsEvent(atomTag, in onPullAtom()
626 } else if (atomTag == FrameworkStatsLog.GNSS_POWER_STATS) { in onPullAtom()
644 data.add(FrameworkStatsLog.buildStatsEvent(atomTag, in onPullAtom()
666 throw new UnsupportedOperationException("Unknown tagId = " + atomTag); in onPullAtom()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationMemoryLogger.kt82 override fun onPullAtom(atomTag: Int, data: MutableList<StatsEvent>): Int = in <lambda>()
84 if (atomTag != SysUiStatsLog.NOTIFICATION_MEMORY_USE) { in <lambda>()
/frameworks/native/services/gpuservice/gpustats/include/gpustats/
DGpuStats.h60 static AStatsManager_PullAtomCallbackReturn pullAtomCallback(int32_t atomTag,
/frameworks/native/services/gpuservice/gpuwork/include/gpuwork/
DGpuWork.h54 static AStatsManager_PullAtomCallbackReturn pullAtomCallback(int32_t atomTag,
/frameworks/native/services/gpuservice/gpustats/
DGpuStats.cpp392 AStatsManager_PullAtomCallbackReturn GpuStats::pullAtomCallback(int32_t atomTag, in pullAtomCallback() argument
398 if (atomTag == android::util::GPU_STATS_GLOBAL_INFO) { in pullAtomCallback()
400 } else if (atomTag == android::util::GPU_STATS_APP_INFO) { in pullAtomCallback()
/frameworks/base/services/core/java/com/android/server/uri/
DUriMetricsHelper.java54 (atomTag, data) -> { in registerPuller()
/frameworks/base/services/core/java/com/android/server/apphibernation/
DAppHibernationService.java1056 public int onPullAtom(int atomTag, @NonNull List<StatsEvent> data) { in onPullAtom() argument
1058 && (atomTag == FrameworkStatsLog.USER_LEVEL_HIBERNATED_APPS in onPullAtom()
1059 || atomTag == FrameworkStatsLog.GLOBAL_HIBERNATED_APPS)) { in onPullAtom()
1063 switch (atomTag) { in onPullAtom()
1072 atomTag, in onPullAtom()
1092 atomTag, in onPullAtom()
/frameworks/native/services/gpuservice/gpuwork/
DGpuWork.cpp253 AStatsManager_PullAtomCallbackReturn GpuWork::pullAtomCallback(int32_t atomTag, in pullAtomCallback() argument
259 if (atomTag == android::util::GPU_WORK_PER_UID) { in pullAtomCallback()
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java149 private int onPullAtom(int atomTag, @NonNull List<StatsEvent> data) { in onPullAtom() argument
150 if (atomTag == FrameworkStatsLog.ADPF_SYSTEM_COMPONENT_INFO) { in onPullAtom()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreManagerService.java1919 public int onPullAtom(int atomTag, List<StatsEvent> data) { in onPullAtom() argument
1920 switch (atomTag) { in onPullAtom()
1922 return pullBlobData(atomTag, data); in onPullAtom()
1924 throw new UnsupportedOperationException("Unknown tagId=" + atomTag); in onPullAtom()
1929 private int pullBlobData(int atomTag, List<StatsEvent> data) { in pullBlobData() argument
1930 forEachBlob(blobMetadata -> data.add(blobMetadata.dumpAsStatsEvent(atomTag))); in pullBlobData()
DBlobMetadata.java614 StatsEvent dumpAsStatsEvent(int atomTag) { in dumpAsStatsEvent() argument
646 return FrameworkStatsLog.buildStatsEvent(atomTag, mBlobId, getSize(), in dumpAsStatsEvent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DMetricsCollector.java187 public int onPullAtom(int atomTag, List<StatsEvent> data) { in onPullAtom() argument
188 switch (atomTag) { in onPullAtom()
246 Rlog.e(TAG, String.format("unexpected atom ID %d", atomTag)); in onPullAtom()
/frameworks/native/services/inputflinger/dispatcher/
DLatencyAggregator.cpp113 AStatsManager_PullAtomCallbackReturn LatencyAggregator::pullAtomCallback(int32_t atomTag, in pullAtomCallback() argument
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java796 public int onPullAtom(int atomTag, List<StatsEvent> data) { in onPullAtom() argument
798 switch (atomTag) { in onPullAtom()
841 throw new UnsupportedOperationException("Unknown tagId=" + atomTag); in onPullAtom()
845 data.add(FrameworkStatsLog.buildStatsEvent(atomTag, statsProto)); in onPullAtom()

12