Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DNameConflictException.java22 public class NameConflictException extends Exception { class
27 public NameConflictException(int conflictingServiceId) { in NameConflictException() method in NameConflictException
DMdnsAdvertiser.java492 } catch (NameConflictException e) { in addService()
558 } catch (NameConflictException e) { in onSocketCreated()
DMdnsInterfaceAdvertiser.java273 @NonNull MdnsAdvertisingOptions advertisingOptions) throws NameConflictException { in addService()
DMdnsRecordRepository.java464 throws NameConflictException { in addService()
474 throw new NameConflictException(existing); in addService()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsRecordRepositoryTest.kt221 assertFailsWith(NameConflictException::class) { in testAddAndConflicts()
224 assertFailsWith(NameConflictException::class) { in testAddAndConflicts()