Lines Matching refs:IFoo
26 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(
81 class BpFoo : public IFoo {
97 stat = AIBinder_transact(mBinder, IFoo::DOFOO, &parcelIn, parcelOut.getR(), 0 /*flags*/); in doubleNumber()
113 stat = AIBinder_transact(mBinder, IFoo::DIE, &parcelIn, parcelOut.getR(), 0 /*flags*/); in die()
123 IFoo::~IFoo() { in ~IFoo()
127 AIBinder* IFoo::getBinder() { in getBinder()
136 binder = AIBinder_new(IFoo::kClass, static_cast<void*>(new IFoo_Class_Data{this})); in getBinder()
150 binder_status_t IFoo::addService(const char* instance) { in addService()
159 sp<IFoo> IFoo::getService(const char* instance, AIBinder** outBinder) { in getService()
168 if (!AIBinder_associateClass(binder, IFoo::kClass)) { in getService()
179 sp<IFoo> ret = new BpFoo(binder); // takes ownership of binder in getService()
187 sp<IFoo> ret = data->foo; in getService()