Searched refs:mWifiP2pMetrics (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pMetricsTest.java | 43 WifiP2pMetrics mWifiP2pMetrics; field in WifiP2pMetricsTest 48 mWifiP2pMetrics = new WifiP2pMetrics(mClock); in setUp() 62 mWifiP2pMetrics.startConnectionEvent(P2pConnectionEvent.CONNECTION_FRESH, null); in startAndEndConnectionEventSucceeds() 63 mWifiP2pMetrics.endConnectionEvent(P2pConnectionEvent.CLF_NONE); in startAndEndConnectionEventSucceeds() 64 stats = mWifiP2pMetrics.consolidateProto(); in startAndEndConnectionEventSucceeds() 68 mWifiP2pMetrics.startConnectionEvent(P2pConnectionEvent.CONNECTION_FRESH, config); in startAndEndConnectionEventSucceeds() 69 mWifiP2pMetrics.endConnectionEvent(P2pConnectionEvent.CLF_NONE); in startAndEndConnectionEventSucceeds() 70 stats = mWifiP2pMetrics.consolidateProto(); in startAndEndConnectionEventSucceeds() 75 mWifiP2pMetrics.endConnectionEvent(P2pConnectionEvent.CLF_TIMEOUT); in startAndEndConnectionEventSucceeds() 76 stats = mWifiP2pMetrics.consolidateProto(); in startAndEndConnectionEventSucceeds() [all …]
|
D | WifiP2pServiceImplTest.java | 185 @Mock WifiP2pMetrics mWifiP2pMetrics; field in WifiP2pServiceImplTest 852 when(mWifiInjector.getWifiP2pMetrics()).thenReturn(mWifiP2pMetrics); in setUpWifiP2pServiceImpl() 1883 verify(mWifiP2pMetrics).incrementPeerScans(); in testPeerScanMetricWhenSendDiscoverPeers() 1901 verify(mWifiP2pMetrics).incrementServiceScans(); in testServiceScanMetricWhenSendDiscoverServices() 1925 verify(mWifiP2pMetrics).updatePersistentGroup(groupsCaptor.capture()); in testPersistentGroupMetricWhenSendFactoryReset() 1930 verify(mWifiP2pMetrics, times(2)).updatePersistentGroup(groupsCaptor.capture()); in testPersistentGroupMetricWhenSendFactoryReset() 1946 verify(mWifiP2pMetrics).updatePersistentGroup(groupsCaptor.capture()); in testPersistentGroupMetricWhenSendP2pGroupStartedEvent() 1952 verify(mWifiP2pMetrics, times(2)).updatePersistentGroup(groupsCaptor.capture()); in testPersistentGroupMetricWhenSendP2pGroupStartedEvent() 1968 verify(mWifiP2pMetrics).updatePersistentGroup(groupsCaptor.capture()); in testPersistentGroupMetricWhenSendDeletePersistentGroup() 1973 verify(mWifiP2pMetrics, times(2)).updatePersistentGroup(groupsCaptor.capture()); in testPersistentGroupMetricWhenSendDeletePersistentGroup() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 184 private WifiP2pMetrics mWifiP2pMetrics; field in WifiP2pServiceImpl 532 mWifiP2pMetrics = mWifiInjector.getWifiP2pMetrics(); in WifiP2pServiceImpl() 1734 mWifiP2pMetrics.incrementPeerScans(); in processMessage() 1776 mWifiP2pMetrics.incrementServiceScans(); in processMessage() 1879 mWifiP2pMetrics.updatePersistentGroup(mGroups); in processMessage() 2017 mWifiP2pMetrics.startConnectionEvent( in processMessage() 2035 mWifiP2pMetrics.startConnectionEvent( in processMessage() 2040 mWifiP2pMetrics.startConnectionEvent( in processMessage() 2081 mWifiP2pMetrics.startConnectionEvent( in processMessage() 2131 mWifiP2pMetrics.startConnectionEvent( in processMessage() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiInjector.java | 162 private final WifiP2pMetrics mWifiP2pMetrics; field in WifiInjector 287 mWifiP2pMetrics = new WifiP2pMetrics(mClock); in WifiInjector() 291 awareMetrics, rttMetrics, new WifiPowerMetrics(mBatteryStats), mWifiP2pMetrics, in WifiInjector() 586 return mWifiP2pMetrics; in getWifiP2pMetrics()
|
D | WifiMetrics.java | 454 private final WifiP2pMetrics mWifiP2pMetrics; field in WifiMetrics 1491 mWifiP2pMetrics = wifiP2pMetrics; in WifiMetrics() 4207 mWifiP2pMetrics.dump(pw); in dump() 4896 mWifiLogProto.wifiP2PStats = mWifiP2pMetrics.consolidateProto(); in consolidateProto() 5230 mWifiP2pMetrics.clear(); in clear()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 191 @Mock WifiP2pMetrics mWifiP2pMetrics; field in WifiMetricsTest 216 mWifiP2pMetrics, mDppMetrics, mWifiMonitor); in setUp() 358 verify(mWifiP2pMetrics).consolidateProto(); in testDumpProtoAndDeserialize()
|