Searched refs:idCaptor (Results 1 – 3 of 3) sorted by relevance
1485 final ArgumentCaptor<Integer> idCaptor = ArgumentCaptor.forClass(Integer.class); in testAdvertiseWithMdnsAdvertiser() local1486 verify(mAdvertiser).addOrUpdateService(idCaptor.capture(), argThat(info -> in testAdvertiseWithMdnsAdvertiser()1491 final int regId = idCaptor.getValue(); in testAdvertiseWithMdnsAdvertiser()1507 verify(mAdvertiser).removeService(idCaptor.getValue()); in testAdvertiseWithMdnsAdvertiser()1562 final ArgumentCaptor<Integer> idCaptor = ArgumentCaptor.forClass(Integer.class); in testAdvertiseWithMdnsAdvertiser_LongServiceName() local1566 idCaptor.capture(), in testAdvertiseWithMdnsAdvertiser_LongServiceName()1573 final int regId = idCaptor.getValue(); in testAdvertiseWithMdnsAdvertiser_LongServiceName()1622 final ArgumentCaptor<Integer> idCaptor = ArgumentCaptor.forClass(Integer.class); in runValidTtlAdvertisingTest() local1625 verify(mAdvertiser).addOrUpdateService(idCaptor.capture(), any(), in runValidTtlAdvertisingTest()1630 final int regId = idCaptor.getValue(); in runValidTtlAdvertisingTest()
597 ArgumentCaptor<byte[]> idCaptor = ArgumentCaptor.forClass(byte[].class); in testSendNetworkEapIdentityResponse() local600 idCaptor.capture(), encryptedIdCaptor.capture()); in testSendNetworkEapIdentityResponse()604 assertEquals(identityStr, NativeUtil.stringFromByteArray(idCaptor.getValue())); in testSendNetworkEapIdentityResponse()
5970 ArgumentCaptor<Integer> idCaptor = ArgumentCaptor.forClass(int.class); in testAddServiceRequestNoOverflow() local5971 verify(mTestWifiP2pServiceRequest).setTransactionId(idCaptor.capture()); in testAddServiceRequestNoOverflow()5972 assertTrue(idCaptor.getValue().intValue() > 0); in testAddServiceRequestNoOverflow()