Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java457 ArgumentCaptor<Messenger> messengerCaptor = ArgumentCaptor.forClass(Messenger.class); in testMultipleNdpsOnSingleNdi() local
513 inOrder.verify(mMockCm).registerNetworkAgent(messengerCaptor.capture(), any(), any(), in testMultipleNdpsOnSingleNdi()
515 agentMessengers[i] = messengerCaptor.getValue(); in testMultipleNdpsOnSingleNdi()
1336 ArgumentCaptor<Messenger> messengerCaptor = ArgumentCaptor.forClass(Messenger.class); in testDataPathInitiatorUtilityMore() local
1448 inOrder.verify(mMockCm).registerNetworkAgent(messengerCaptor.capture(), any(), in testDataPathInitiatorUtilityMore()
1481 messengerCaptor.getValue().send(endNetworkUsageMsg); in testDataPathInitiatorUtilityMore()
1507 ArgumentCaptor<Messenger> messengerCaptor = ArgumentCaptor.forClass(Messenger.class); in testDataPathResponderUtility() local
1564 inOrder.verify(mMockCm).registerNetworkAgent(messengerCaptor.capture(), any(), in testDataPathResponderUtility()
1597 messengerCaptor.getValue().send(endNetworkUsageMsg); in testDataPathResponderUtility()
1815 ArgumentCaptor<Messenger> messengerCaptor = ArgumentCaptor.forClass(Messenger.class); in initOobDataPathEndPoint() local
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java2551 ArgumentCaptor<Messenger> messengerCaptor = ArgumentCaptor.forClass(Messenger.class); in expectRegisterNetworkAgent() local
2556 verify(mConnectivityManager).registerNetworkAgent(messengerCaptor.capture(), in expectRegisterNetworkAgent()
2563 }, messengerCaptor.getValue(), mNetworkAgentHandler); in expectRegisterNetworkAgent()
2681 ArgumentCaptor<Messenger> messengerCaptor = ArgumentCaptor.forClass(Messenger.class); in verifyRssiMonitoringCallbackIsRegistered() local
2682 verify(mConnectivityManager).registerNetworkAgent(messengerCaptor.capture(), in verifyRssiMonitoringCallbackIsRegistered()
2694 messengerCaptor.getValue().send(message); in verifyRssiMonitoringCallbackIsRegistered()
3320 ArgumentCaptor<Messenger> messengerCaptor = ArgumentCaptor.forClass(Messenger.class); in testReportConnectionEventIsCalledAfterSuccessfulConnection() local
3321 verify(mConnectivityManager).registerNetworkAgent(messengerCaptor.capture(), in testReportConnectionEventIsCalledAfterSuccessfulConnection()
3329 messengerCaptor.getValue().send(message); in testReportConnectionEventIsCalledAfterSuccessfulConnection()
3555 ArgumentCaptor<Messenger> messengerCaptor = ArgumentCaptor.forClass(Messenger.class); in verifyAutoConnectedNetworkWithInternetValidationFailure() local
[all …]