Home
last modified time | relevance | path

Searched refs:reports (Results 1 – 14 of 14) sorted by relevance

/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DSettingsProviderSettingChangedStatsTests.java48 List<AtomsProto.SettingsProviderSettingChanged> reports = new ArrayList<>(); in testSettingsChanged() local
56 reports.add(setting); in testSettingsChanged()
60 assertEquals(6, reports.size()); in testSettingsChanged()
61 assertEquals("test_setting1", reports.get(0).getName()); in testSettingsChanged()
62 assertEquals(2, reports.get(0).getType()); in testSettingsChanged()
63 assertEquals(0, reports.get(0).getChangeType()); in testSettingsChanged()
64 assertEquals("test_setting2", reports.get(1).getName()); in testSettingsChanged()
65 assertEquals(1, reports.get(1).getType()); in testSettingsChanged()
66 assertEquals(0, reports.get(1).getChangeType()); in testSettingsChanged()
67 assertEquals("test_setting3", reports.get(2).getName()); in testSettingsChanged()
[all …]
DPackageInstallationSessionReportedStatsTests.java79 List<AtomsProto.PackageInstallationSessionReported> reports = new ArrayList<>(); in testPackageInstallationSessionReportedForApkSuccessWithReplace() local
82 reports.add(data.getAtom().getPackageInstallationSessionReported()); in testPackageInstallationSessionReportedForApkSuccessWithReplace()
85 assertThat(reports.size()).isEqualTo(2); in testPackageInstallationSessionReportedForApkSuccessWithReplace()
90 checkReportResult(reports.get(0), expectedUid, Collections.singletonList(expectedUser), in testPackageInstallationSessionReportedForApkSuccessWithReplace()
95 checkDurationResult(reports.get(0)); in testPackageInstallationSessionReportedForApkSuccessWithReplace()
97 checkReportResult(reports.get(1), expectedUid, Collections.singletonList(expectedUser), in testPackageInstallationSessionReportedForApkSuccessWithReplace()
102 checkDurationResult(reports.get(1)); in testPackageInstallationSessionReportedForApkSuccessWithReplace()
205 List<AtomsProto.PackageUninstallationReported> reports = new ArrayList<>(); in testPackageUninstalledReported() local
208 reports.add(data.getAtom().getPackageUninstallationReported()); in testPackageUninstalledReported()
211 assertThat(reports.size()).isEqualTo(1); in testPackageUninstalledReported()
[all …]
DPackageInstallerV2StatsTests.java94 List<AtomsProto.PackageInstallerV2Reported> reports = new ArrayList<>(); in installPackageUsingV2AndGetReport() local
97 reports.add(data.getAtom().getPackageInstallerV2Reported()); in installPackageUsingV2AndGetReport()
100 assertEquals(1, reports.size()); in installPackageUsingV2AndGetReport()
101 return reports.get(0); in installPackageUsingV2AndGetReport()
/cts/libs/input/src/com/android/cts/input/
DInputJsonParser.java261 JSONArray reports = testcaseEntry.getJSONArray("reports"); in getHidTestData() local
263 for (int i = 0; i < reports.length(); i++) { in getHidTestData()
264 String report = reports.getString(i); in getHidTestData()
265 testData.reports.add(report); in getHidTestData()
333 JSONArray reports = testcaseEntry.getJSONArray("reports"); in getHidBatteryTestData() local
335 for (int i = 0; i < reports.length(); i++) { in getHidBatteryTestData()
336 String report = reports.getString(i); in getHidBatteryTestData()
337 testData.reports.add(report); in getHidBatteryTestData()
461 JSONArray reports = testcaseEntry.getJSONArray("injections"); in getUinputTestData() local
462 for (int i = 0; i < reports.length(); i++) { in getUinputTestData()
[all …]
DHidBatteryTestData.java30 public List<String> reports = new ArrayList<String>(); field in HidBatteryTestData
DHidTestData.java35 public List<String> reports = new ArrayList<String>(); field in HidTestData
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DREADME.md19 This will show you the HID reports that the device produces.
21 To observe the MotionEvents that Android receives in response to the hid reports, write a small
24 historical data as well, since multiple reports could get batched into a single MotionEvent.
DInputHidTestCase.java218 for (int i = 0; i < testData.reports.size(); i++) { in testInputEvents()
219 final String report = testData.reports.get(i); in testInputEvents()
390 for (int i = 0; i < testData.reports.size(); i++) { in testInputBatteryEvents()
391 final String report = testData.reports.get(i); in testInputBatteryEvents()
/cts/hostsidetests/jvmti/redefining/app/src/android/jvmti/cts/
DJvmtiRedefineClassesTest.java76 public ArrayList<String> reports = new ArrayList<>(); field in JvmtiRedefineClassesTest.StringCollector
79 reports.add(data); in accept()
247 String[] output = c.reports.toArray(new String[0]); in checkRedefinedTransform()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DMetricsRecorder.java371 assertThat(reportList.reports.length).isEqualTo(1); in getEventMetricDataList()
372 final var report = reportList.reports[0]; in getEventMetricDataList()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DHostAtomTests.java735 List<ConfigMetricsReportList> reports in getReportsFromStatsDataDumpProto() local
738 reports.add(ConfigMetricsReportList.parseFrom(reportListBytes)); in getReportsFromStatsDataDumpProto()
740 LogUtil.CLog.d("Got dumpsys stats output:\n " + reports.toString()); in getReportsFromStatsDataDumpProto()
741 return reports; in getReportsFromStatsDataDumpProto()
/cts/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/
DEnterpriseMetricsRecorder.java184 return Arrays.stream(reportList.reports) in getEventMetricDataList()
/cts/tools/cts-api-coverage/proto/
Dcts_report.proto15 // Contains proto definition for storing CTS reports.
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale304 prevent such optimizations. However, measurement reports should