Searched refs:interface2 (Results 1 – 1 of 1) sorted by relevance
835 private boolean areEquivalent(UsbInterface interface1, UsbInterface interface2) { in areEquivalent() argument836 if ((interface1.getId() != interface2.getId()) in areEquivalent()837 || (interface1.getAlternateSetting() != interface2.getAlternateSetting()) in areEquivalent()838 || (interface1.getInterfaceClass() != interface2.getInterfaceClass()) in areEquivalent()839 || (interface1.getInterfaceSubclass() != interface2.getInterfaceSubclass()) in areEquivalent()840 || (interface1.getInterfaceProtocol() != interface2.getInterfaceProtocol()) in areEquivalent()841 || (interface1.getEndpointCount() != interface2.getEndpointCount())) { in areEquivalent()846 if (interface2.getName() != null) { in areEquivalent()849 } else if (!(interface1.getName().equals(interface2.getName()))) { in areEquivalent()856 UsbEndpoint endpoint2 = interface2.getEndpoint(i); in areEquivalent()