Lines Matching refs:android
39 struct AIBinder : public virtual ::android::RefBase {
46 virtual ::android::sp<::android::IBinder> getBinder() = 0;
51 ::android::sp<::android::IBinder> binder = const_cast<AIBinder*>(this)->getBinder(); in isRemote()
54 virtual void addDeathRecipient(const ::android::sp<AIBinder_DeathRecipient>& recipient,
71 struct ABBinder : public AIBinder, public ::android::BBinder {
76 ::android::sp<::android::IBinder> getBinder() override { return this; } in getBinder()
79 const ::android::String16& getInterfaceDescriptor() const override;
80 ::android::status_t dump(int fd, const ::android::Vector<::android::String16>& args) override;
81 ::android::status_t onTransact(uint32_t code, const ::android::Parcel& data,
82 ::android::Parcel* reply, binder_flags_t flags) override;
83 void addDeathRecipient(const ::android::sp<AIBinder_DeathRecipient>& /* recipient */,
103 static ::android::sp<AIBinder> lookupOrCreateFromBinder(
104 const ::android::sp<::android::IBinder>& binder);
108 ::android::sp<::android::IBinder> getBinder() override { return mRemote; } in getBinder()
113 void addDeathRecipient(const ::android::sp<AIBinder_DeathRecipient>& recipient,
117 friend android::sp<ABpBinder>;
118 explicit ABpBinder(const ::android::sp<::android::IBinder>& binder);
119 ::android::sp<::android::IBinder> mRemote;
122 android::wp<AIBinder_DeathRecipient> recipient;
133 const ::android::String16& getInterfaceDescriptor() const { return mWideInterfaceDescriptor; } in getInterfaceDescriptor()
153 const ::android::String16 mWideInterfaceDescriptor;
162 struct AIBinder_DeathRecipient : ::android::RefBase {
165 struct TransferDeathRecipient : ::android::IBinder::DeathRecipient {
166 TransferDeathRecipient(const ::android::wp<::android::IBinder>& who, void* cookie, in TransferDeathRecipient()
167 const ::android::wp<AIBinder_DeathRecipient>& parentRecipient, in TransferDeathRecipient()
177 void binderDied(const ::android::wp<::android::IBinder>& who) override;
179 const ::android::wp<::android::IBinder>& getWho() { return mWho; } in getWho()
183 ::android::wp<::android::IBinder> mWho;
186 ::android::wp<AIBinder_DeathRecipient> mParentRecipient;
195 binder_status_t linkToDeath(const ::android::sp<::android::IBinder>&, void* cookie);
196 binder_status_t unlinkToDeath(const ::android::sp<::android::IBinder>& binder, void* cookie);
198 void pruneThisTransferEntry(const ::android::sp<::android::IBinder>&, void* cookie);
207 std::vector<::android::sp<TransferDeathRecipient>> mDeathRecipients;