/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/cpu/ |
D | CpuStatsTests.java | 74 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/ |
D | VmStatTests.java | 60 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()
|
D | ProcessMemoryStatsTests.java | 76 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()
|
D | SystemMemoryStatsTests.java | 61 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()
|
D | ProcessDmabufMemoryTests.java | 66 List<AtomsProto.Atom> atoms = pullAsGaugeMetric(); in testProcessDmabufMemoryAtom() local 67 for (AtomsProto.Atom atom : atoms) { in testProcessDmabufMemoryAtom()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/apphibernation/ |
D | AppHibernationStatsTest.java | 116 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()
|
D | OWNERS | 1 # Owners of the AppHibernation atoms
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/ |
D | ReportUtils.java | 122 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/ |
D | SettingsStatsTests.java | 102 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/ |
D | BatteryUsageStatsTests.java | 104 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/ |
D | BytesTransferredTest.java | 207 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/ |
D | GnssStatsTests.java | 84 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/ |
D | TimeZoneDetectorStatsTest.java | 87 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/ |
D | TvInputManagerServiceHostTest.java | 184 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/ |
D | AlarmStatsTests.java | 159 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/ |
D | UidAtomTests.java | 164 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()
|