Home
last modified time | relevance | path

Searched refs:Stats (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportStats.java31 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/base/services/robotests/backup/src/com/android/server/backup/transport/
DTransportStatsTest.java27 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/core/java/com/android/internal/os/
DProcessCpuTracker.java175 private final ArrayList<Stats> mProcStats = new ArrayList<Stats>();
176 private final ArrayList<Stats> mWorkingProcs = new ArrayList<Stats>();
183 boolean needed(Stats stats); in needed()
186 public static class Stats { class in ProcessCpuTracker
192 final ArrayList<Stats> threadStats;
193 final ArrayList<Stats> workingThreads;
251 Stats(int _pid, int parentPid, boolean includeThreads) { in Stats() method in ProcessCpuTracker.Stats
260 threadStats = new ArrayList<Stats>(); in Stats()
261 workingThreads = new ArrayList<Stats>(); in Stats()
290 private final static Comparator<Stats> sLoadComparator = new Comparator<Stats>() {
[all …]
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DTimedStatementResult.java19 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()
DLongStatsCollector.java41 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/cmds/incident_helper/tests/
DCpuFreqParser_test.cpp60 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/
DCpuFreqParser.cpp69 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/base/services/core/jni/
Dcom_android_server_net_NetworkStatsService.cpp56 static uint64_t getStatsType(Stats* stats, StatsType type) { in getStatsType()
75 static int parseIfaceStats(const char* iface, Stats* stats) { in parseIfaceStats()
119 static int parseUidStats(const uint32_t uid, Stats* stats) { in parseUidStats()
152 Stats stats = {}; in getTotalStat()
176 Stats stats = {}; in getIfaceStat()
194 Stats stats = {}; in getUidStat()
/frameworks/base/core/java/android/content/
DSyncStatusInfo.java47 public static class Stats { class in SyncStatusInfo
60 public void copyTo(Stats to) { in copyTo()
118 public final Stats totalStats = new Stats();
119 public final Stats todayStats = new Stats();
120 public final Stats yesterdayStats = new Stats();
/frameworks/av/media/tests/benchmark/src/native/common/
DStats.h52 class Stats {
54 Stats() { in Stats() function
59 ~Stats() { in ~Stats()
DBenchmarkCommon.h77 mStats = new Stats(); in CallBackHandle()
107 Stats *getStats() { return mStats; } in getStats()
117 Stats *mStats;
DAndroid.bp26 "Stats.cpp",
72 "Stats.cpp",
/frameworks/av/media/tests/benchmark/src/native/muxer/
DMuxer.h43 Stats *getStats() { return mStats; } in getStats()
60 Stats *mStats;
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DExtractorTest.java22 import com.android.media.benchmark.library.Stats;
84 Stats mStats = new Stats(); in writeStatsHeaderToFile()
DMuxerTest.java22 import com.android.media.benchmark.library.Stats;
106 Stats mStats = new Stats(); in writeStatsHeaderToFile()
DDecoderTest.java31 import com.android.media.benchmark.library.Stats;
114 Stats mStats = new Stats(); in writeStatsHeaderToFile()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DStats.java23 public class Stats { class
28 public Stats(List<Long> values) { in Stats() method in Stats
DManualBenchmarkState.java84 private Stats mStats;
120 mStats = new Stats(mResults); in keepRunning()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DMuxer.java28 private Stats mStats;
41 mStats = new Stats(); in setUpMuxer()
DExtractor.java34 private Stats mStats;
40 mStats = new Stats(); in Extractor()
/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java168 interface Stats { interface in AppStateTracker
832 mStatLogger.logDurationStat(Stats.UID_ACTIVE_STATE_CHANGED, start); in handleMessage()
839 mStatLogger.logDurationStat(Stats.UID_FG_STATE_CHANGED, start); in handleMessage()
846 mStatLogger.logDurationStat(Stats.RUN_ANY_CHANGED, start); in handleMessage()
853 mStatLogger.logDurationStat(Stats.ALL_UNWHITELISTED, start); in handleMessage()
860 mStatLogger.logDurationStat(Stats.ALL_WHITELIST_CHANGED, start); in handleMessage()
867 mStatLogger.logDurationStat(Stats.TEMP_WHITELIST_CHANGED, start); in handleMessage()
874 mStatLogger.logDurationStat(Stats.EXEMPT_CHANGED, start); in handleMessage()
881 mStatLogger.logDurationStat(Stats.FORCE_ALL_CHANGED, start); in handleMessage()
897 Stats.FORCE_APP_STANDBY_FEATURE_FLAG_CHANGED, start); in handleMessage()
[all …]
/frameworks/native/libs/vr/libpdx_default_transport/
Dpdx_benchmarks.cpp145 Stats, enumerator
153 PDX_REMOTE_METHOD(Stats, BenchmarkOps::Stats,
229 ProgramOptions.opcode = BenchmarkOps::Stats; in ParseOpcodeOption()
331 case BenchmarkOps::Stats: { in HandleMessage()
341 RemoteMethodReturn<BenchmarkRPC::Stats>( in HandleMessage()
342 message, BenchmarkRPC::Stats::Return{receive_time_ns, GetClockNs(), in HandleMessage()
450 int Stats(std::tuple<uint64_t, uint64_t, SchedStats>* stats_out) { in Stats() function in __anon473f29b10111::BenchmarkClient
454 auto status = InvokeRemoteMethodInPlace<BenchmarkRPC::Stats>(stats_out); in Stats()
724 case BenchmarkOps::Stats: { in ClientCommand()
726 const int ret = client->Stats(&stats); in ClientCommand()
/frameworks/base/core/proto/android/os/
Dcpufreq.proto31 message Stats { message
44 repeated Stats cpu_freqs = 2;
/frameworks/base/core/proto/android/service/
Dprocstats.proto82 // Stats for each process.
85 // Stats for each package.
267 // Stats for each process running with the package loaded in to it.
270 // Stats for each of the package's services.
273 // Stats for each association with the package.
/frameworks/native/libs/graphicsenv/include/graphicsenv/
DGraphicsEnv.h46 enum Stats { enum
112 void setTargetStats(const Stats stats, const uint64_t value = 0);

123