Home
last modified time | relevance | path

Searched refs:endpoint2 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDirectMidiDevice.java856 UsbEndpoint endpoint2 = interface2.getEndpoint(i); in areEquivalent() local
857 if ((endpoint1.getAddress() != endpoint2.getAddress()) in areEquivalent()
858 || (endpoint1.getAttributes() != endpoint2.getAttributes()) in areEquivalent()
859 || (endpoint1.getMaxPacketSize() != endpoint2.getMaxPacketSize()) in areEquivalent()
860 || (endpoint1.getInterval() != endpoint2.getInterval())) { in areEquivalent()
/frameworks/native/libs/vr/libpdx/
Dservice_tests.cpp744 auto endpoint2 = std::make_unique<testing::StrictMock<MockEndpoint>>(); in TEST_F() local
745 EXPECT_CALL(*endpoint2, SetService(_)) in TEST_F()
749 std::make_shared<MockService>("MockSvc2", std::move(endpoint2)); in TEST_F()
792 auto endpoint2 = std::make_unique<testing::StrictMock<MockEndpoint>>(); in TEST_F() local
793 EXPECT_CALL(*endpoint2, SetService(_)) in TEST_F()
797 std::make_shared<MockService>("MockSvc2", std::move(endpoint2)); in TEST_F()