Searched refs:interface1 (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()845 if (interface1.getName() == null) { in areEquivalent()849 } else if (!(interface1.getName().equals(interface2.getName()))) { in areEquivalent()854 for (int i = 0; i < interface1.getEndpointCount(); i++) { in areEquivalent()[all …]