Searched refs:iface2 (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | EthernetManagerTest.kt | 574 val iface2 = createInterface() in <lambda>() constant 575 listener1.expectCallback(iface2, STATE_LINK_DOWN, ROLE_CLIENT) in <lambda>() 576 listener1.expectCallback(iface2, STATE_LINK_UP, ROLE_CLIENT) in <lambda>() 582 listener2.expectCallback(iface2, STATE_LINK_UP, ROLE_CLIENT) in <lambda>() 591 removeInterface(iface2) in <lambda>() 593 listener.expectCallback(iface2, STATE_LINK_DOWN, ROLE_CLIENT) in <lambda>() 594 listener.expectCallback(iface2, STATE_ABSENT, ROLE_NONE) in <lambda>() 679 val iface2 = createInterface() in <lambda>() constant 683 assertTrue(ifaces.contains(iface2.name)) in <lambda>() 690 assertTrue(ifaces.contains(iface2.name)) in <lambda>() [all …]
|
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/ |
D | EthernetNetworkFactory.java | 138 .sorted((iface1, iface2) -> { in getAvailableInterfaces() 139 int r = Boolean.compare(iface1.isRestricted(), iface2.isRestricted()); in getAvailableInterfaces() 140 return r == 0 ? iface1.name.compareTo(iface2.name) : r; in getAvailableInterfaces()
|