/frameworks/base/services/backup/java/com/android/server/backup/transport/ |
D | TransportStats.java | 31 private final Map<ComponentName, Stats> mTransportStats = new HashMap<>(); 35 Stats stats = mTransportStats.get(transportComponent); in registerConnectionTime() 37 stats = new Stats(); in registerConnectionTime() 46 public Stats getStatsForTransport(ComponentName transportComponent) { in getStatsForTransport() 48 Stats stats = mTransportStats.get(transportComponent); in getStatsForTransport() 52 return new Stats(stats); in getStatsForTransport() 58 Optional<Stats> aggregatedStats = in dump() 59 mTransportStats.values().stream().reduce(Stats::merge); in dump() 66 Stats stats = mTransportStats.get(transportComponent); in dump() 74 private static void dumpStats(PrintWriter pw, String prefix, Stats stats) { in dumpStats() [all …]
|
/frameworks/native/services/gpuservice/tests/unittests/ |
D | GpuStatsTest.cpp | 225 GpuStatsInfo::Stats::CPU_VULKAN_IN_USE, 0); in TEST_F() 227 GpuStatsInfo::Stats::FALSE_PREROTATION, 0); in TEST_F() 229 GpuStatsInfo::Stats::GLES_1_IN_USE, 0); in TEST_F() 231 GpuStatsInfo::Stats::CREATED_GLES_CONTEXT, 0); in TEST_F() 233 GpuStatsInfo::Stats::CREATED_VULKAN_API_VERSION, in TEST_F() 236 GpuStatsInfo::Stats::CREATED_VULKAN_DEVICE, 0); in TEST_F() 238 GpuStatsInfo::Stats::CREATED_VULKAN_SWAPCHAIN, 0); in TEST_F() 240 GpuStatsInfo::Stats::VULKAN_DEVICE_FEATURES_ENABLED, in TEST_F() 243 GpuStatsInfo::Stats::VULKAN_INSTANCE_EXTENSION, in TEST_F() 246 GpuStatsInfo::Stats::VULKAN_DEVICE_EXTENSION, in TEST_F() [all …]
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/ |
D | TransportStatsTest.java | 27 import com.android.server.backup.transport.TransportStats.Stats; 54 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testRegisterConnectionTime() 67 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testRegisterConnectionTime_whenHasAlreadyOneSample() 79 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testGetStatsForTransport() 91 Stats stats1 = mTransportStats.getStatsForTransport(mTransportComponent1); in testMerge() 92 Stats stats2 = mTransportStats.getStatsForTransport(mTransportComponent2); in testMerge() 94 Stats stats = Stats.merge(stats1, stats2); in testMerge()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SnapshotStatistics.java | 218 public class Stats { class in SnapshotStatistics 314 private Stats(long now) { in Stats() method in SnapshotStatistics.Stats 324 private Stats(Stats orig) { in Stats() method in SnapshotStatistics.Stats 480 private final Stats[] mLong; 485 private final Stats[] mShort; 520 mLong = new Stats[2]; in SnapshotStatistics() 521 mLong[0] = new Stats(now); in SnapshotStatistics() 522 mShort = new Stats[10]; in SnapshotStatistics() 523 mShort[0] = new Stats(now); in SnapshotStatistics() 591 private void shift(Stats[] s, long now) { in shift() [all …]
|
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | TimedStatementResult.java | 19 import com.android.layoutlib.bridge.intensive.util.perf.LongStatsCollector.Stats; 32 private final Stats mTimeStats; 33 private final Stats mMemoryStats; 37 Stats timeStats, in TimedStatementResult() 38 Stats memoryStats) { in TimedStatementResult()
|
D | LongStatsCollector.java | 41 public Stats getStats() { in getStats() 58 return new Stats(mAllValues.size(), mMin, mMax, median); in getStats() 68 public static class Stats { class in LongStatsCollector 74 private Stats(int samples, long min, long max, double median) { in Stats() method in LongStatsCollector.Stats
|
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/ |
D | HostStubGenStats.kt | 25 data class Stats( in <lambda>() dataClass 28 val children: MutableMap<String, Stats> = mutableMapOf<String, Stats>(), in <lambda>() 31 private val stats = mutableMapOf<String, Stats>() in <lambda>() 70 val packageStats = stats.getOrPut(packageName) { Stats() } in <lambda>() 71 val classStats = packageStats.children.getOrPut(className) { Stats() } in <lambda>()
|
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/job/ |
D | JobSchedulerInternal.java | 128 proto.write(JobStorePersistStatsProto.Stats.NUM_TOTAL_JOBS, countAllJobsLoaded); in dumpDebug() 129 proto.write(JobStorePersistStatsProto.Stats.NUM_SYSTEM_SERVER_JOBS, in dumpDebug() 131 proto.write(JobStorePersistStatsProto.Stats.NUM_SYSTEM_SYNC_MANAGER_JOBS, in dumpDebug() 136 proto.write(JobStorePersistStatsProto.Stats.NUM_TOTAL_JOBS, countAllJobsSaved); in dumpDebug() 137 proto.write(JobStorePersistStatsProto.Stats.NUM_SYSTEM_SERVER_JOBS, in dumpDebug() 139 proto.write(JobStorePersistStatsProto.Stats.NUM_SYSTEM_SYNC_MANAGER_JOBS, in dumpDebug()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcessCpuTracker.java | 184 private final ArrayList<Stats> mProcStats = new ArrayList<Stats>(); 185 private final ArrayList<Stats> mWorkingProcs = new ArrayList<Stats>(); 192 boolean needed(Stats stats); in needed() 195 public static class Stats { class in ProcessCpuTracker 201 final ArrayList<Stats> threadStats; 202 final ArrayList<Stats> workingThreads; 260 Stats(int _pid, int parentPid, boolean includeThreads) { in Stats() method in ProcessCpuTracker.Stats 269 threadStats = new ArrayList<Stats>(); in Stats() 270 workingThreads = new ArrayList<Stats>(); in Stats() 299 private final static Comparator<Stats> sLoadComparator = new Comparator<Stats>() { [all …]
|
/frameworks/base/cmds/incident_helper/tests/ |
D | CpuFreqParser_test.cpp | 60 CpuFreqProto::Stats::TimeInState* state; in TEST_F() 62 CpuFreqProto::Stats* cpu0 = expected.add_cpu_freqs(); in TEST_F() 74 CpuFreqProto::Stats* cpu1 = expected.add_cpu_freqs(); in TEST_F() 86 CpuFreqProto::Stats* cpu2 = expected.add_cpu_freqs(); in TEST_F() 101 CpuFreqProto::Stats* cpu3 = expected.add_cpu_freqs(); in TEST_F()
|
/frameworks/base/cmds/incident_helper/src/parsers/ |
D | CpuFreqParser.cpp | 69 proto.write(CpuFreqProto::Stats::CPU_NAME, header[i+1]); in Parse() 71 uint64_t stateToken = proto.start(CpuFreqProto::Stats::TIMES); in Parse() 72 proto.write(CpuFreqProto::Stats::TimeInState::STATE_KHZ, it->first); in Parse() 73 proto.write(CpuFreqProto::Stats::TimeInState::TIME_JIFFY, it->second); in Parse()
|
/frameworks/native/services/gpuservice/gpustats/ |
D | GpuStats.cpp | 179 const uint64_t driverVersionCode, const GpuStatsInfo::Stats stats, in insertTargetStats() 212 const uint64_t driverVersionCode, const GpuStatsInfo::Stats stats, in insertTargetStatsArray() 228 if (stats == GpuStatsInfo::Stats::VULKAN_INSTANCE_EXTENSION in insertTargetStatsArray() 229 || stats == GpuStatsInfo::Stats::VULKAN_DEVICE_EXTENSION) { in insertTargetStatsArray() 233 (stats == GpuStatsInfo::Stats::VULKAN_INSTANCE_EXTENSION) ? in insertTargetStatsArray() 255 case GpuStatsInfo::Stats::CPU_VULKAN_IN_USE: in insertTargetStatsArray() 258 case GpuStatsInfo::Stats::FALSE_PREROTATION: in insertTargetStatsArray() 261 case GpuStatsInfo::Stats::GLES_1_IN_USE: in insertTargetStatsArray() 264 case GpuStatsInfo::Stats::CREATED_GLES_CONTEXT: in insertTargetStatsArray() 267 case GpuStatsInfo::Stats::CREATED_VULKAN_DEVICE: in insertTargetStatsArray() [all …]
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | ManualBenchmarkState.java | 151 private Stats mStats; 229 mStats = new Stats(mResults); in keepRunning() 289 private static String summaryLine(String key, Stats stats, ArrayList<Long> results) { in summaryLine() 307 private void fillStatus(Bundle status, String key, Stats stats) { in fillStatus() 349 final Stats stats = new Stats(results); in sendFullStatusReport()
|
D | Stats.java | 25 public class Stats { class 31 public Stats(List<Long> values) { in Stats() method in Stats
|
/frameworks/av/media/tests/benchmark/src/native/common/ |
D | BenchmarkCommon.h | 77 mStats = new Stats(); in CallBackHandle() 107 Stats *getStats() { return mStats; } in getStats() 117 Stats *mStats;
|
D | Stats.h | 52 class Stats { 54 Stats() { in Stats() function 59 ~Stats() { in ~Stats()
|
/frameworks/av/media/tests/benchmark/src/native/muxer/ |
D | Muxer.h | 43 Stats *getStats() { return mStats; } in getStats() 60 Stats *mStats;
|
/frameworks/base/core/java/android/content/ |
D | SyncStatusInfo.java | 50 public static class Stats { class in SyncStatusInfo 63 public void copyTo(Stats to) { in copyTo() 121 public final Stats totalStats = new Stats(); 122 public final Stats todayStats = new Stats(); 123 public final Stats yesterdayStats = new Stats();
|
/frameworks/base/core/proto/android/server/ |
D | syncstorageengine.proto | 46 message Stats { message 78 optional Stats total_stats = 14; 79 optional Stats today_stats = 15; 80 optional Stats yesterday_stats = 16;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/ |
D | Predictor.h | 198 struct Stats { 209 const Stats& getStatsForType(Type type) const { 213 Stats& getStatsForType(Type type) { 214 return const_cast<Stats&>(const_cast<const Prediction*>(this)->getStatsForType(type)); 220 Stats mExactStats; 221 Stats mApproximateStats;
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/ |
D | ExtractorTest.java | 22 import com.android.media.benchmark.library.Stats; 84 Stats mStats = new Stats(); in writeStatsHeaderToFile()
|
/frameworks/native/libs/graphicsenv/include/graphicsenv/ |
D | IGpuService.h | 44 const GpuStatsInfo::Stats stats, const uint64_t value = 0) = 0; 47 const GpuStatsInfo::Stats stats, const uint64_t* values,
|
/frameworks/native/services/gpuservice/gpustats/include/gpustats/ |
D | GpuStats.h | 43 const GpuStatsInfo::Stats stats, const uint64_t value); 45 const uint64_t driverVersionCode, const GpuStatsInfo::Stats stats,
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | LazyAlarmStore.java | 48 interface Stats { interface in LazyAlarmStore 141 mStatLogger.logDurationStat(Stats.GET_NEXT_WAKEUP_DELIVERY_TIME, start); in getNextWakeupDeliveryTime() 160 mStatLogger.logDurationStat(Stats.GET_NEXT_DELIVERY_TIME, start); in getNextDeliveryTime() 260 mStatLogger.logDurationStat(Stats.GET_COUNT, start); in getCount()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncStorageEngine.java | 2286 private void readSyncStatusStatsLocked(ProtoInputStream proto, SyncStatusInfo.Stats stats) in readSyncStatusStatsLocked() 2290 case (int) SyncStatusProto.StatusInfo.Stats.TOTAL_ELAPSED_TIME: in readSyncStatusStatsLocked() 2292 SyncStatusProto.StatusInfo.Stats.TOTAL_ELAPSED_TIME); in readSyncStatusStatsLocked() 2294 case (int) SyncStatusProto.StatusInfo.Stats.NUM_SYNCS: in readSyncStatusStatsLocked() 2295 stats.numSyncs = proto.readInt(SyncStatusProto.StatusInfo.Stats.NUM_SYNCS); in readSyncStatusStatsLocked() 2297 case (int) SyncStatusProto.StatusInfo.Stats.NUM_FAILURES: in readSyncStatusStatsLocked() 2299 SyncStatusProto.StatusInfo.Stats.NUM_FAILURES); in readSyncStatusStatsLocked() 2301 case (int) SyncStatusProto.StatusInfo.Stats.NUM_CANCELS: in readSyncStatusStatsLocked() 2302 stats.numCancels = proto.readInt(SyncStatusProto.StatusInfo.Stats.NUM_CANCELS); in readSyncStatusStatsLocked() 2304 case (int) SyncStatusProto.StatusInfo.Stats.NUM_SOURCE_OTHER: in readSyncStatusStatsLocked() [all …]
|