Home
last modified time | relevance | path

Searched refs:mWifiP2pMetrics (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pMetricsTest.java42 WifiP2pMetrics mWifiP2pMetrics; field in WifiP2pMetricsTest
47 mWifiP2pMetrics = new WifiP2pMetrics(mClock); in setUp()
61 mWifiP2pMetrics.startConnectionEvent(P2pConnectionEvent.CONNECTION_FRESH, null); in startAndEndConnectionEventSucceeds()
62 mWifiP2pMetrics.endConnectionEvent(P2pConnectionEvent.CLF_NONE); in startAndEndConnectionEventSucceeds()
63 stats = mWifiP2pMetrics.consolidateProto(); in startAndEndConnectionEventSucceeds()
67 mWifiP2pMetrics.startConnectionEvent(P2pConnectionEvent.CONNECTION_FRESH, config); in startAndEndConnectionEventSucceeds()
68 mWifiP2pMetrics.endConnectionEvent(P2pConnectionEvent.CLF_NONE); in startAndEndConnectionEventSucceeds()
69 stats = mWifiP2pMetrics.consolidateProto(); in startAndEndConnectionEventSucceeds()
74 mWifiP2pMetrics.endConnectionEvent(P2pConnectionEvent.CLF_TIMEOUT); in startAndEndConnectionEventSucceeds()
75 stats = mWifiP2pMetrics.consolidateProto(); in startAndEndConnectionEventSucceeds()
[all …]
DWifiP2pServiceImplTest.java147 @Mock WifiP2pMetrics mWifiP2pMetrics; field in WifiP2pServiceImplTest
722 when(mWifiInjector.getWifiP2pMetrics()).thenReturn(mWifiP2pMetrics); in setUpWifiP2pServiceImpl()
1701 verify(mWifiP2pMetrics).incrementPeerScans(); in testPeerScanMetricWhenSendDiscoverPeers()
1721 verify(mWifiP2pMetrics).incrementServiceScans(); in testServiceScanMetricWhenSendDiscoverServices()
1745 verify(mWifiP2pMetrics).updatePersistentGroup(groupsCaptor.capture()); in testPersistentGroupMetricWhenSendFactoryReset()
1750 verify(mWifiP2pMetrics, times(2)).updatePersistentGroup(groupsCaptor.capture()); in testPersistentGroupMetricWhenSendFactoryReset()
1766 verify(mWifiP2pMetrics).updatePersistentGroup(groupsCaptor.capture()); in testPersistentGroupMetricWhenSendP2pGroupStartedEvent()
1771 verify(mWifiP2pMetrics, times(2)).updatePersistentGroup(groupsCaptor.capture()); in testPersistentGroupMetricWhenSendP2pGroupStartedEvent()
1787 verify(mWifiP2pMetrics).updatePersistentGroup(groupsCaptor.capture()); in testPersistentGroupMetricWhenSendDeletePersistentGroup()
1792 verify(mWifiP2pMetrics, times(2)).updatePersistentGroup(groupsCaptor.capture()); in testPersistentGroupMetricWhenSendDeletePersistentGroup()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java138 private WifiP2pMetrics mWifiP2pMetrics; field in WifiP2pServiceImpl
448 mWifiP2pMetrics = mWifiInjector.getWifiP2pMetrics(); in WifiP2pServiceImpl()
1528 mWifiP2pMetrics.incrementPeerScans(); in processMessage()
1568 mWifiP2pMetrics.incrementServiceScans(); in processMessage()
1661 mWifiP2pMetrics.updatePersistentGroup(mGroups); in processMessage()
1766 mWifiP2pMetrics.startConnectionEvent( in processMessage()
1784 mWifiP2pMetrics.startConnectionEvent( in processMessage()
1789 mWifiP2pMetrics.startConnectionEvent( in processMessage()
1826 mWifiP2pMetrics.startConnectionEvent( in processMessage()
1876 mWifiP2pMetrics.startConnectionEvent( in processMessage()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiInjector.java112 private final WifiP2pMetrics mWifiP2pMetrics; field in WifiInjector
197 mWifiP2pMetrics = new WifiP2pMetrics(mClock); in WifiInjector()
201 awareMetrics, rttMetrics, new WifiPowerMetrics(), mWifiP2pMetrics, mDppMetrics, in WifiInjector()
391 return mWifiP2pMetrics; in getWifiP2pMetrics()
DWifiMetrics.java368 private final WifiP2pMetrics mWifiP2pMetrics; field in WifiMetrics
757 mWifiP2pMetrics = wifiP2pMetrics; in WifiMetrics()
2749 mWifiP2pMetrics.dump(pw); in dump()
3262 mWifiLogProto.wifiP2PStats = mWifiP2pMetrics.consolidateProto(); in consolidateProto()
3486 mWifiP2pMetrics.clear(); in clear()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java152 @Mock WifiP2pMetrics mWifiP2pMetrics; field in WifiMetricsTest
166 mWifiP2pMetrics, mDppMetrics, mCellularLinkLayerStatsCollector); in setUp()
274 verify(mWifiP2pMetrics).consolidateProto(); in testDumpProtoAndDeserialize()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java135 @Mock WifiP2pMetrics mWifiP2pMetrics; field in WifiScanningServiceTest
156 mWifiP2pMetrics, mDppMetrics, mCellularLinkLayerStatsCollector); in setUp()