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.java142 private WifiP2pMetrics mWifiP2pMetrics; field in WifiP2pServiceImpl
466 mWifiP2pMetrics = mWifiInjector.getWifiP2pMetrics(); in WifiP2pServiceImpl()
1547 mWifiP2pMetrics.incrementPeerScans(); in processMessage()
1587 mWifiP2pMetrics.incrementServiceScans(); in processMessage()
1680 mWifiP2pMetrics.updatePersistentGroup(mGroups); in processMessage()
1784 mWifiP2pMetrics.startConnectionEvent( in processMessage()
1802 mWifiP2pMetrics.startConnectionEvent( in processMessage()
1807 mWifiP2pMetrics.startConnectionEvent( in processMessage()
1844 mWifiP2pMetrics.startConnectionEvent( in processMessage()
1894 mWifiP2pMetrics.startConnectionEvent( in processMessage()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiInjector.java114 private final WifiP2pMetrics mWifiP2pMetrics; field in WifiInjector
205 mWifiP2pMetrics = new WifiP2pMetrics(mClock); in WifiInjector()
209 awareMetrics, rttMetrics, new WifiPowerMetrics(), mWifiP2pMetrics, mDppMetrics, in WifiInjector()
400 return mWifiP2pMetrics; in getWifiP2pMetrics()
DWifiMetrics.java384 private final WifiP2pMetrics mWifiP2pMetrics; field in WifiMetrics
827 mWifiP2pMetrics = wifiP2pMetrics; in WifiMetrics()
2864 mWifiP2pMetrics.dump(pw); in dump()
3387 mWifiLogProto.wifiP2PStats = mWifiP2pMetrics.consolidateProto(); in consolidateProto()
3628 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()