Home
last modified time | relevance | path

Searched refs:statsList (Results 1 – 2 of 2) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/metrics/
DStorageAccessMetricsTest.java52 List<PackageStorageAccessStats> statsList = in testLogMimeType() local
55 assertThat(statsList).hasSize(1); in testLogMimeType()
57 PackageStorageAccessStats stats = statsList.get(0); in testLogMimeType()
70 List<PackageStorageAccessStats> statsList = in testIncrementAccessViaFuse() local
73 assertThat(statsList).hasSize(1); in testIncrementAccessViaFuse()
75 PackageStorageAccessStats stats = statsList.get(0); in testIncrementAccessViaFuse()
90 List<PackageStorageAccessStats> statsList = in testIncrementAccessViaMediaProvider_externalVolumes() local
93 assertThat(statsList).hasSize(1); in testIncrementAccessViaMediaProvider_externalVolumes()
95 PackageStorageAccessStats stats = statsList.get(0); in testIncrementAccessViaMediaProvider_externalVolumes()
108 List<PackageStorageAccessStats> statsList = in testIncrementAccessViaMediaProvider_ignoredVolumes() local
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java4937 WifiUsabilityStats[] statsList = mDecodedProto.wifiUsabilityStatsList; in verifyFirmwareAlertUpdatesWifiUsabilityMetrics() local
4938 assertEquals(WifiUsabilityStats.LABEL_GOOD, statsList[0].label); in verifyFirmwareAlertUpdatesWifiUsabilityMetrics()
4939 assertEquals(WifiUsabilityStats.LABEL_BAD, statsList[1].label); in verifyFirmwareAlertUpdatesWifiUsabilityMetrics()
4940 assertEquals(WifiIsUnusableEvent.TYPE_FIRMWARE_ALERT, statsList[1].triggerType); in verifyFirmwareAlertUpdatesWifiUsabilityMetrics()
4941 assertEquals(eventTimeMs, statsList[1].timeStampMs); in verifyFirmwareAlertUpdatesWifiUsabilityMetrics()
4942 assertEquals(2, statsList[1].firmwareAlertCode); in verifyFirmwareAlertUpdatesWifiUsabilityMetrics()
4968 WifiUsabilityStats[] statsList = mDecodedProto.wifiUsabilityStatsList; in verifyWifiDataStallUpdatesWifiUsabilityMetrics() local
4969 assertEquals(WifiUsabilityStats.LABEL_BAD, statsList[1].label); in verifyWifiDataStallUpdatesWifiUsabilityMetrics()
4970 assertEquals(WifiIsUnusableEvent.TYPE_DATA_STALL_BAD_TX, statsList[1].triggerType); in verifyWifiDataStallUpdatesWifiUsabilityMetrics()
4971 assertEquals(-1, statsList[1].firmwareAlertCode); in verifyWifiDataStallUpdatesWifiUsabilityMetrics()
[all …]