/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/ |
D | SettingsProviderSettingChangedStatsTests.java | 48 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 …]
|
D | PackageInstallationSessionReportedStatsTests.java | 79 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 …]
|
D | PackageInstallerV2StatsTests.java | 94 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/ |
D | InputJsonParser.java | 261 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 …]
|
D | HidBatteryTestData.java | 30 public List<String> reports = new ArrayList<String>(); field in HidBatteryTestData
|
D | HidTestData.java | 35 public List<String> reports = new ArrayList<String>(); field in HidTestData
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | README.md | 19 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.
|
D | InputHidTestCase.java | 218 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/ |
D | JvmtiRedefineClassesTest.java | 76 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/ |
D | MetricsRecorder.java | 371 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/ |
D | HostAtomTests.java | 735 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/ |
D | EnterpriseMetricsRecorder.java | 184 return Arrays.stream(reportList.reports) in getEventMetricDataList()
|
/cts/tools/cts-api-coverage/proto/ |
D | cts_report.proto | 15 // Contains proto definition for storing CTS reports.
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | Rationale | 304 prevent such optimizations. However, measurement reports should
|