Home
last modified time | relevance | path

Searched refs:IFoo (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/libs/binder/ndk/tests/
Diface.cpp26 const char* IFoo::kSomeInstanceName = "libbinder_ndk-test-IFoo";
27 const char* IFoo::kInstanceNameToDieFor = "libbinder_ndk-test-IFoo-to-die";
28 const char* IFoo::kInstanceNameToDieFor2 = "libbinder_ndk-test-IFoo-to-die2";
29 const char* IFoo::kIFooDescriptor = "my-special-IFoo-class";
32 sp<IFoo> foo;
50 sp<IFoo> foo = static_cast<IFoo_Class_Data*>(AIBinder_getUserData(binder))->foo; in IFoo_Class_onTransact()
54 case IFoo::DOFOO: { in IFoo_Class_onTransact()
64 case IFoo::DIE: { in IFoo_Class_onTransact()
73 AIBinder_Class* IFoo::kClass = AIBinder_Class_define(kIFooDescriptor, IFoo_Class_onCreate,
78 AIBinder_Class* IFoo::kClassDupe = AIBinder_Class_define(
[all …]
Dlibbinder_ndk_unit_test.cpp58 class MyTestFoo : public IFoo {
184 class MyFoo : public IFoo {
274 sp<IFoo> foo = IFoo::getService("asdfghkl;"); in TEST()
334 sp<IFoo> foo = IFoo::getService(IFoo::kSomeInstanceName, binder.getR()); in TEST()
346 sp<IBinder> testService = sm->getService(String16(IFoo::kSomeInstanceName)); in TEST()
355 sp<IFoo> foo = IFoo::getService(IFoo::kSomeInstanceName); in TEST()
365 sp<IFoo> foo = IFoo::getService(IFoo::kSomeInstanceName, binder.getR()); in TEST()
369 EXPECT_TRUE(AIBinder_associateClass(binder.get(), IFoo::kClassDupe)); in TEST()
373 sp<IFoo> foo = sp<MyTestFoo>::make(); in TEST()
378 EXPECT_FALSE(AIBinder_associateClass(binder.get(), IFoo::kClassDupe)); in TEST()
[all …]
/frameworks/base/tests/BinderLeakTest/java/com/android/test/binder/
DMyService.java31 ReferenceQueue<IFoo> mRefQueue = new ReferenceQueue<>(); in onBind()
32 PhantomReference<IFoo> mRef; in onBind()
35 public IFoo createFoo() throws RemoteException { in onBind()
36 IFoo binder = new IFoo.Stub() {}; in onBind()
DBinderTest.java113 private IFoo mProxy;
116 FooHolder(IFoo proxy) throws RemoteException { in FooHolder()
/frameworks/native/libs/binder/ndk/tests/include/iface/
Diface.h26 class IFoo : public virtual ::android::RefBase {
45 static ::android::sp<IFoo> getService(const char* instance, AIBinder** outBinder = nullptr);
52 virtual ~IFoo();
/frameworks/base/tests/BinderLeakTest/aidl/com/android/test/binder/
DIFooProvider.aidl2 import com.android.test.binder.IFoo;
5 IFoo createFoo(); in createFoo()
DIFoo.aidl3 interface IFoo { interface
/frameworks/base/tools/lint/global/integration_tests/TestMissingAnnotation/com/google/android/lint/integration_tests/
DIFoo.aidl3 interface IFoo { interface
/frameworks/base/tools/lint/global/integration_tests/TestMissingAnnotation/
DTestMissingAnnotation.java22 class TestMissingAnnotation extends IFoo.Stub {
/frameworks/native/libs/binder/trusty/
DREADME.md38 $(LOCAL_DIR)/IFoo.aidl \