Searched refs:mMessageCaptor (Results 1 – 2 of 2) sorted by relevance
131 private ArgumentCaptor<Message> mMessageCaptor = ArgumentCaptor.forClass(Message.class); field in WifiP2pServiceImplTest1356 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 …]
210 final ArgumentCaptor<Message> mMessageCaptor = ArgumentCaptor.forClass(Message.class); field in WifiServiceImplTest1960 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 …]