Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java131 private ArgumentCaptor<Message> mMessageCaptor = ArgumentCaptor.forClass(Message.class); field in WifiP2pServiceImplTest
1356 verify(mClientHandler).sendMessage(mMessageCaptor.capture()); in testRequestPeersFailureWhenNoChannelUpdated()
1357 WifiP2pDeviceList peers = (WifiP2pDeviceList) mMessageCaptor.getValue().obj; in testRequestPeersFailureWhenNoChannelUpdated()
1358 assertEquals(WifiP2pManager.RESPONSE_PEERS, mMessageCaptor.getValue().what); in testRequestPeersFailureWhenNoChannelUpdated()
1375 verify(mClientHandler).sendMessage(mMessageCaptor.capture()); in testRequestPeersFailureWhenChannelUpdateWrongPkgName()
1376 WifiP2pDeviceList peers = (WifiP2pDeviceList) mMessageCaptor.getValue().obj; in testRequestPeersFailureWhenChannelUpdateWrongPkgName()
1377 assertEquals(WifiP2pManager.RESPONSE_PEERS, mMessageCaptor.getValue().what); in testRequestPeersFailureWhenChannelUpdateWrongPkgName()
1394 verify(mClientHandler).sendMessage(mMessageCaptor.capture()); in testRequestPeersFailureWhenPermissionDenied()
1397 WifiP2pDeviceList peers = (WifiP2pDeviceList) mMessageCaptor.getValue().obj; in testRequestPeersFailureWhenPermissionDenied()
1398 assertEquals(WifiP2pManager.RESPONSE_PEERS, mMessageCaptor.getValue().what); in testRequestPeersFailureWhenPermissionDenied()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java210 final ArgumentCaptor<Message> mMessageCaptor = ArgumentCaptor.forClass(Message.class); field in WifiServiceImplTest
1960 verify(mHandler).handleMessage(mMessageCaptor.capture()); in testRegisteredCallbacksTriggeredOnSoftApFailureGeneric()
1961 Message message = mMessageCaptor.getValue(); in testRegisteredCallbacksTriggeredOnSoftApFailureGeneric()
1986 verify(mHandler).handleMessage(mMessageCaptor.capture()); in testRegisteredCallbacksTriggeredOnSoftApFailureNoChannel()
1987 Message message = mMessageCaptor.getValue(); in testRegisteredCallbacksTriggeredOnSoftApFailureNoChannel()
2011 verify(mHandler).handleMessage(mMessageCaptor.capture()); in testRegisteredCallbacksTriggeredOnSoftApDisabling()
2012 Message message = mMessageCaptor.getValue(); in testRegisteredCallbacksTriggeredOnSoftApDisabling()
2021 verify(mHandler).handleMessage(mMessageCaptor.capture()); in testRegisteredCallbacksTriggeredOnSoftApDisabling()
2022 message = mMessageCaptor.getValue(); in testRegisteredCallbacksTriggeredOnSoftApDisabling()
2046 verify(mHandler).handleMessage(mMessageCaptor.capture()); in testRegisteredCallbacksTriggeredOnSoftApDisabled()
[all …]