/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 468 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 …]
|
D | SettingsStatsUtil.java | 80 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/ |
D | StatsPullAtomCallbackImpl.java | 54 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/ |
D | StatsEventOutput.java | 39 int atomTag, in write() argument 55 atomTag, in write() 73 int atomTag, in write() argument 86 atomTag, in write()
|
D | ProcessStats.java | 2437 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/ |
D | SurfaceFlingerPuller.cpp | 45 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()
|
D | SurfaceFlingerPuller.h | 33 AStatsManager_PullAtomCallbackReturn pull(int32_t atomTag, AStatsEventList* data);
|
/frameworks/native/services/gpuservice/tests/unittests/ |
D | TestableGpuStats.h | 28 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/ |
D | MetricsHelper.java | 52 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/ |
D | MediaMetricsService.h | 108 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/ |
D | MediaMetricsService.cpp | 562 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/ |
D | GnssMetrics.java | 611 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/ |
D | NotificationMemoryLogger.kt | 82 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/ |
D | GpuStats.h | 60 static AStatsManager_PullAtomCallbackReturn pullAtomCallback(int32_t atomTag,
|
/frameworks/native/services/gpuservice/gpuwork/include/gpuwork/ |
D | GpuWork.h | 54 static AStatsManager_PullAtomCallbackReturn pullAtomCallback(int32_t atomTag,
|
/frameworks/native/services/gpuservice/gpustats/ |
D | GpuStats.cpp | 392 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/ |
D | UriMetricsHelper.java | 54 (atomTag, data) -> { in registerPuller()
|
/frameworks/base/services/core/java/com/android/server/apphibernation/ |
D | AppHibernationService.java | 1056 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/ |
D | GpuWork.cpp | 253 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/ |
D | HintManagerService.java | 149 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/ |
D | BlobStoreManagerService.java | 1919 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()
|
D | BlobMetadata.java | 614 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/ |
D | MetricsCollector.java | 187 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/ |
D | LatencyAggregator.cpp | 113 AStatsManager_PullAtomCallbackReturn LatencyAggregator::pullAtomCallback(int32_t atomTag, in pullAtomCallback() argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 796 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()
|