Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java166 private ArgumentCaptor<Message> mMessageCaptor = ArgumentCaptor.forClass(Message.class); field in WifiP2pServiceImplTest
1520 verify(mClientHandler).sendMessage(mMessageCaptor.capture()); in testRequestPeersFailureWhenNoChannelUpdated()
1521 WifiP2pDeviceList peers = (WifiP2pDeviceList) mMessageCaptor.getValue().obj; in testRequestPeersFailureWhenNoChannelUpdated()
1522 assertEquals(WifiP2pManager.RESPONSE_PEERS, mMessageCaptor.getValue().what); in testRequestPeersFailureWhenNoChannelUpdated()
1539 verify(mClientHandler).sendMessage(mMessageCaptor.capture()); in testRequestPeersFailureWhenChannelUpdateWrongPkgName()
1540 WifiP2pDeviceList peers = (WifiP2pDeviceList) mMessageCaptor.getValue().obj; in testRequestPeersFailureWhenChannelUpdateWrongPkgName()
1541 assertEquals(WifiP2pManager.RESPONSE_PEERS, mMessageCaptor.getValue().what); in testRequestPeersFailureWhenChannelUpdateWrongPkgName()
1558 verify(mClientHandler).sendMessage(mMessageCaptor.capture()); in testRequestPeersFailureWhenPermissionDenied()
1561 WifiP2pDeviceList peers = (WifiP2pDeviceList) mMessageCaptor.getValue().obj; in testRequestPeersFailureWhenPermissionDenied()
1562 assertEquals(WifiP2pManager.RESPONSE_PEERS, mMessageCaptor.getValue().what); in testRequestPeersFailureWhenPermissionDenied()
[all …]