Searched refs:MockIInterface (Results 1 – 3 of 3) sorted by relevance
264 mBinder.attachInterface(new MockIInterface(), DESCRIPTOR_GOOGLE); in testInterfaceRelatedMethods()267 mBinder.attachInterface(new MockIInterface(), DESCRIPTOR_ANDROID); in testInterfaceRelatedMethods()269 mBinder.attachInterface(new MockIInterface(), DESCRIPTOR_GOOGLE); in testInterfaceRelatedMethods()279 private static class MockIInterface implements IInterface { class in BinderTest
3515 MockIInterface mockInterface = new MockIInterface(); in testWriteStrongInterface()3516 MockIInterface mockIInterface2 = new MockIInterface(); in testWriteStrongInterface()3717 MockIInterface[] iface2 = {new MockIInterface(), new MockIInterface(), null}; in testInterfaceArray()3718 MockIInterface[] iface3 = new MockIInterface[iface2.length]; in testInterfaceArray()3719 MockIInterface[] iface4 = new MockIInterface[iface2.length + 1]; in testInterfaceArray()3735 p.readInterfaceArray(iface3, MockIInterface::asInterface); in testInterfaceArray()3743 assertNull(p.createInterfaceArray(MockIInterface[]::new, MockIInterface::asInterface)); in testInterfaceArray()3760 p.readInterfaceArray(iface4, MockIInterface::asInterface); in testInterfaceArray()3777 p.readInterfaceArray(iface3, MockIInterface::asInterface); in testInterfaceArray()3793 MockIInterface[] iface5 = in testInterfaceArray()[all …]
390 private static class MockIInterface implements IInterface { class in BinderIntegrationTest