Searched refs:mRegistrationReceiver (Results 1 – 2 of 2) sorted by relevance
74 @Mock private INsdStatusReceiver mRegistrationReceiver; field in NsdPublisherTest100 mRegistrationReceiver, in registerService_nsdManagerSucceeds_serviceRegistrationSucceeds()132 verify(mRegistrationReceiver, times(1)).onSuccess(); in registerService_nsdManagerSucceeds_serviceRegistrationSucceeds()146 mRegistrationReceiver, in registerService_nsdManagerFails_serviceRegistrationFails()178 verify(mRegistrationReceiver, times(1)).onError(FAILURE_INTERNAL_ERROR); in registerService_nsdManagerFails_serviceRegistrationFails()195 mRegistrationReceiver, in registerService_nsdManagerThrows_serviceRegistrationFails()199 verify(mRegistrationReceiver, times(1)).onError(FAILURE_INTERNAL_ERROR); in registerService_nsdManagerThrows_serviceRegistrationFails()214 mRegistrationReceiver, in unregisterService_nsdManagerSucceeds_serviceUnregistrationSucceeds()256 mRegistrationReceiver, in unregisterService_nsdManagerFails_serviceUnregistrationFails()295 mRegistrationReceiver, in registerHost_nsdManagerSucceeds_serviceRegistrationSucceeds()[all …]
397 private final INsdStatusReceiver mRegistrationReceiver; field in NsdPublisher.RegistrationListener406 mRegistrationReceiver = registrationReceiver; in RegistrationListener()427 mRegistrationReceiver.onError(errorCode); in onRegistrationFailed()465 mRegistrationReceiver.onSuccess(); in onServiceRegistered()