Home
last modified time | relevance | path

Searched refs:delegator (Results 1 – 6 of 6) sorted by relevance

/system/tools/aidl/tests/
Daidl_test_client_delegate.cpp45 auto delegator = sp<ITestServiceDelegator>::make(service); in TEST_F() local
48 auto status = delegator->RepeatByte(12, &returned_value); in TEST_F()
54 auto delegator = sp<CustomDelegator>::make(service); in TEST_F() local
57 auto status = delegator->RepeatByte(12, &returned_value); in TEST_F()
63 auto delegator = sp<ITestServiceDelegator>::make(service); in TEST_F() local
66 auto status = delegator->GetOtherTestService(String16("callback1"), &callback); in TEST_F()
70 status = delegator->VerifyName(callback, String16("callback1"), &verified); in TEST_F()
76 auto delegator = sp<ITestServiceDelegator>::make(service); in TEST_F() local
77 sp<ITestService> impl = delegator->getImpl(); in TEST_F()
81 auto delegator = delegate(service); in TEST_F() local
[all …]
Daidl_test_client_ndk_delegate.cpp57 auto delegator = ndk::SharedRefBase::make<ITestServiceDelegator>(service); in TEST_F() local
59 auto status = delegator->RepeatByte(12, &returned_value); in TEST_F()
65 auto delegator = ndk::SharedRefBase::make<CustomDelegator>(service); in TEST_F() local
67 auto status = delegator->RepeatByte(12, &returned_value); in TEST_F()
73 auto delegator = ndk::SharedRefBase::make<ITestServiceDelegator>(service); in TEST_F() local
74 auto fromAsBinder = ITestServiceDelegator::fromBinder(delegator->asBinder()); in TEST_F()
Daidl_test_client_versioned_interface.cpp97 auto delegator = sp<IFooInterfaceDelegator>::make(versioned); in TEST_F() local
98 EXPECT_EQ(1, delegator->getInterfaceVersion()); in TEST_F()
102 auto delegator = sp<IFooInterfaceDelegator>::make(versioned); in TEST_F() local
103 EXPECT_EQ("9e7be1859820c59d9d55dd133e71a3687b5d2e5b", delegator->getInterfaceHash()); in TEST_F()
/system/tools/aidl/tests/java/src/android/aidl/tests/
DDelegatorTests.java49 ITestService.Delegator delegator = new ITestService.Delegator(service); in testDelegator() local
50 assertThat(delegator.RepeatByte(kExpectedByte), is(kExpectedByte)); in testDelegator()
67 ITestService.Delegator delegator = new ITestService.Delegator(service); in testAsBinderAsInterface() local
68 assertThat(ITestService.Delegator.asInterface(delegator.asBinder()).RepeatByte(kExpectedByte), in testAsBinderAsInterface()
DTestVersionedInterface.java106 IFooInterface.Delegator delegator = new IFooInterface.Delegator(service); in testDelegatorGetInterfaceVersion() local
107 assertThat(delegator.getInterfaceVersion(), is(1)); in testDelegatorGetInterfaceVersion()
112 IFooInterface.Delegator delegator = new IFooInterface.Delegator(service); in testDelegatorGetInterfaceHash() local
113 assertThat(delegator.getInterfaceHash(), is("9e7be1859820c59d9d55dd133e71a3687b5d2e5b")); in testDelegatorGetInterfaceHash()
/system/tools/aidl/
Dgenerate_java_binder.cpp1305 auto delegator = GenerateDelegatorClass(*iface, options); in GenerateInterfaceClass() local
1306 interface->elements.emplace_back(delegator); in GenerateInterfaceClass()