Home
last modified time | relevance | path

Searched refs:atoms (Results 1 – 16 of 16) sorted by relevance

/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/cpu/
DCpuStatsTests.java74 List<AtomsProto.Atom> atoms = ReportUtils.getGaugeMetricAtoms(getDevice()); in testCpuTimePerUid() local
77 for (AtomsProto.Atom atom : atoms) { in testCpuTimePerUid()
98 List<AtomsProto.Atom> atoms = ReportUtils.getGaugeMetricAtoms(getDevice()); in testCpuTimePerClusterFreq() local
100 for (AtomsProto.Atom atom : atoms) { in testCpuTimePerClusterFreq()
119 List<AtomsProto.Atom> atoms = ReportUtils.getGaugeMetricAtoms(getDevice()); in testCpuCyclesPerUidCluster() local
121 for (AtomsProto.Atom atom : atoms) { in testCpuCyclesPerUidCluster()
142 List<AtomsProto.Atom> atoms = ReportUtils.getGaugeMetricAtoms(getDevice()); in testCpuCyclesPerThreadGroupCluster() local
144 for (AtomsProto.Atom atom : atoms) { in testCpuCyclesPerThreadGroupCluster()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/memory/
DVmStatTests.java60 List<AtomsProto.Atom> atoms = pullVmStatAsGaugeMetric(); in testVmStatAtom() local
61 assertThat(atoms).hasSize(1); in testVmStatAtom()
62 AtomsProto.VmStat vmStat = atoms.get(0).getVmstat(); in testVmStatAtom()
DProcessMemoryStatsTests.java76 List<AtomsProto.Atom> atoms = ReportUtils.getGaugeMetricAtoms(getDevice()); in testProcessMemoryState() local
79 for (AtomsProto.Atom atom : atoms) { in testProcessMemoryState()
113 List<AtomsProto.Atom> atoms = ReportUtils.getGaugeMetricAtoms(getDevice()); in testProcessMemoryHighWaterMark() local
118 for (AtomsProto.Atom atom : atoms) { in testProcessMemoryHighWaterMark()
153 List<AtomsProto.Atom> atoms = ReportUtils.getGaugeMetricAtoms(getDevice()); in testProcessMemorySnapshot() local
158 for (AtomsProto.Atom atom : atoms) { in testProcessMemorySnapshot()
DSystemMemoryStatsTests.java61 List<AtomsProto.Atom> atoms = pullSystemMemoryAsGaugeMetric(); in testSystemMemoryAtom() local
62 assertThat(atoms).hasSize(1); in testSystemMemoryAtom()
63 AtomsProto.SystemMemory systemMemory = atoms.get(0).getSystemMemory(); in testSystemMemoryAtom()
DProcessDmabufMemoryTests.java66 List<AtomsProto.Atom> atoms = pullAsGaugeMetric(); in testProcessDmabufMemoryAtom() local
67 for (AtomsProto.Atom atom : atoms) { in testProcessDmabufMemoryAtom()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/apphibernation/
DAppHibernationStatsTest.java116 final List<AtomsProto.Atom> atoms = ReportUtils.getGaugeMetricAtoms(getDevice()); in testUserLevelHibernatedApps() local
118 for (AtomsProto.Atom atom : atoms) { in testUserLevelHibernatedApps()
138 final List<AtomsProto.Atom> atoms = ReportUtils.getGaugeMetricAtoms(getDevice()); in testGlobalHibernatedApps() local
139 assertThat(atoms.size()).isEqualTo(1); in testGlobalHibernatedApps()
140 AtomsProto.GlobalHibernatedApps apps = atoms.get(0).getGlobalHibernatedApps(); in testGlobalHibernatedApps()
DOWNERS1 # Owners of the AppHibernation atoms
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DReportUtils.java122 List<Atom> atoms = new ArrayList<>(); in getGaugeMetricAtoms() local
127 atoms.addAll(bucketInfo.getAtomList()); in getGaugeMetricAtoms()
129 atoms.addAll(backFillGaugeBucketAtoms(bucketInfo.getAggregatedAtomInfoList())); in getGaugeMetricAtoms()
139 for (Atom atom : atoms) { in getGaugeMetricAtoms()
142 return atoms; in getGaugeMetricAtoms()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/settingsstats/
DSettingsStatsTests.java102 List<AtomsProto.Atom> atoms = ReportUtils.getGaugeMetricAtoms(getDevice()); in testSettingsStatsReported() local
103 assertThat(atoms.size()).isAtLeast(5); in testSettingsStatsReported()
105 for (AtomsProto.Atom atom : atoms) { in testSettingsStatsReported()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/batterystats/
DBatteryUsageStatsTests.java104 final List<AtomsProto.Atom> atoms = ReportUtils.getGaugeMetricAtoms(getDevice()); in runBatteryUsageStatsAtomTest() local
105 assertThat(atoms.size()).isAtLeast(1); in runBatteryUsageStatsAtomTest()
106 for (final AtomsProto.Atom atom : atoms) { in runBatteryUsageStatsAtomTest()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/net/
DBytesTransferredTest.java207 final List<Atom> atoms = ReportUtils.getGaugeMetricAtoms(getDevice(), in doTestMobileBytesTransferThat() local
209 assertThat(atoms.size()).isAtLeast(1); in doTestMobileBytesTransferThat()
214 for (final Atom atom : atoms) { in doTestMobileBytesTransferThat()
233 + " is not found in " + atoms.size() + " atoms.").that(foundAppStats).isTrue(); in doTestMobileBytesTransferThat()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/gnss/
DGnssStatsTests.java84 List<AtomsProto.Atom> atoms = ReportUtils.getGaugeMetricAtoms(getDevice()); in testGnssStats() local
87 for (AtomsProto.Atom atom : atoms) { in testGnssStats()
/cts/hostsidetests/time/host/src/android/time/cts/host/
DTimeZoneDetectorStatsTest.java87 List<AtomsProto.Atom> atoms = ReportUtils.getGaugeMetricAtoms(getDevice()); in testAtom_TimeZoneDetectorState() local
90 for (AtomsProto.Atom atom : atoms) { in testAtom_TimeZoneDetectorState()
/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerServiceHostTest.java184 ImmutableList.Builder<AtomsProto.TifTuneStateChanged> atoms = ImmutableList.builder(); in createAtomsFromStateList() local
186 atoms.add(protoBuilder.setState(tuneStates[i]).build()); in createAtomsFromStateList()
188 return atoms.build(); in createAtomsFromStateList()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/alarm/
DAlarmStatsTests.java159 List<AtomsProto.Atom> atoms = ReportUtils.getGaugeMetricAtoms(getDevice()); in testPendingAlarmInfo() local
161 for (AtomsProto.Atom atom : atoms) { in testPendingAlarmInfo()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DUidAtomTests.java164 List<LmkKillOccurred> atoms = null; in testLmkKillOccurred() local
167 atoms = ReportUtils.getEventMetricDataList(getDevice()).stream() in testLmkKillOccurred()
173 if (!atoms.isEmpty()) { in testLmkKillOccurred()
178 assertThat(atoms).isNotEmpty(); in testLmkKillOccurred()
181 assertThat(atoms.get(0).getProcessName()) in testLmkKillOccurred()
183 assertThat(atoms.get(0).getOomAdjScore()).isGreaterThan(0); in testLmkKillOccurred()
184 assertThat(atoms.get(0).getRssInBytes() + atoms.get(0).getSwapInBytes()) in testLmkKillOccurred()