Home
last modified time | relevance | path

Searched refs:wp (Results 1 – 25 of 62) sorted by relevance

123

/system/core/libutils/include/utils/
DRefBase.h361 class wp
366 inline wp() : m_ptr(nullptr), m_refs(nullptr) { } in wp() function
368 wp(T* other); // NOLINT(implicit)
369 wp(const wp<T>& other);
370 explicit wp(const sp<T>& other);
371 template<typename U> wp(U* other); // NOLINT(implicit)
372 template<typename U> wp(const sp<U>& other); // NOLINT(implicit)
373 template<typename U> wp(const wp<U>& other); // NOLINT(implicit)
375 ~wp();
379 wp& operator = (T* other);
[all …]
DLooper.h91 WeakMessageHandler(const wp<MessageHandler>& handler);
95 wp<MessageHandler> mHandler;
DStrongPointer.h26 template<typename T> class wp; variable
76 inline bool operator == (const wp<U>& o) const {
81 inline bool operator != (const wp<U>& o) const {
87 template<typename Y> friend class wp; variable
/system/core/libutils/
DRefBase_test.cpp92 wp<Foo> wp1(sp1); in TEST()
119 wp<Foo> wp1(foo); in TEST()
122 wp<Foo> wp2 = wp1; in TEST()
137 wp<Foo> wp1(sp1); in TEST()
138 wp<Foo> wp2(sp1); in TEST()
139 wp<Foo> wp3(sp2); in TEST()
152 wp<Foo>wp_smaller = sp1_smaller ? wp1 : wp3; in TEST()
153 wp<Foo>wp_larger = sp1_smaller ? wp3 : wp1; in TEST()
189 wp<Foo> wp4(sp3); in TEST()
190 wp<Foo> wp5; in TEST()
[all …]
/system/libhidl/transport/
DStatic.cpp34 wp<::android::hardware::BHwBinder>>>
38 DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, SchedPrio>> gServicePrioMap{};
39 DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, bool>> gServiceSidMap{};
DInternalStatic.h38 extern DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, SchedPrio>>
41 extern DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, bool>> gServiceSidMap;
DHidlTransportSupport.cpp50 static void pruneMapLocked(ConcurrentMap<wp<IBase>, V>& map) { in pruneMapLocked()
51 std::vector<wp<IBase>> toDelete; in pruneMapLocked()
DHidlBinderSupport.cpp41 void hidl_binder_death_recipient::binderDied(const wp<IBinder>& /*who*/) { in binderDied()
49 wp<hidl_death_recipient> hidl_binder_death_recipient::getRecipient() { in getRecipient()
231 wp<BHwBinder> wBnObj = details::gBnMap->getLocked(ifacePtr, nullptr); in getOrCreateCachedBinder()
/system/hwservicemanager/
DServiceManager.h41 using ::android::wp;
88 virtual void serviceDied(uint64_t cookie, const wp<IBase>& who);
97 bool removeService(const wp<IBase>& who, const std::string* restrictToInstanceName);
98 bool removePackageListener(const wp<IBase>& who);
99 bool removeServiceListener(const wp<IBase>& who);
133 bool removePackageListener(const wp<IBase>& who);
134 bool removeServiceListener(const wp<IBase>& who);
DServiceManager.cpp125 void ServiceManager::serviceDied(uint64_t cookie, const wp<IBase>& who) { in serviceDied()
220 bool ServiceManager::PackageInterfaceMap::removePackageListener(const wp<IBase>& who) { in removePackageListener()
235 bool ServiceManager::PackageInterfaceMap::removeServiceListener(const wp<IBase>& who) { in removeServiceListener()
783 bool ServiceManager::removeService(const wp<IBase>& who, const std::string* restrictToInstanceName)… in removeService()
810 bool ServiceManager::removePackageListener(const wp<IBase>& who) { in removePackageListener()
820 bool ServiceManager::removeServiceListener(const wp<IBase>& who) { in removeServiceListener()
/system/hardware/interfaces/suspend/1.0/default/
DSuspendControlService.h44 void binderDied(const wp<IBinder>& who) override;
46 void setSuspendService(const wp<SystemSuspend>& suspend);
51 wp<SystemSuspend> mSuspend;
55 std::vector<sp<ISuspendCallback> >::iterator findCb(const wp<IBinder>& cb) { in findCb()
DSuspendControlService.cpp43 void SuspendControlService::setSuspendService(const wp<SystemSuspend>& suspend) { in setSuspendService()
79 void SuspendControlService::binderDied(const wp<IBinder>& who) { in binderDied()
/system/libhwbinder/include/hwbinder/
DIBinder.h91 virtual void binderDied(const wp<IBinder>& who) = 0;
127 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
130 wp<DeathRecipient>* outRecipient = nullptr) = 0;
DBpHwBinder.h44 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
47 wp<DeathRecipient>* outRecipient = nullptr);
104 wp<DeathRecipient> recipient;
DBinder.h43 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
46 wp<DeathRecipient>* outRecipient = nullptr);
/system/libhidl/transport/token/1.0/utils/include/hidl/
DHybridInterface.h210 const wp<IBinder::DeathRecipient>& recipient,
213 wp<IBinder::DeathRecipient>* outRecipient = nullptr);
222 wp<IBinder::DeathRecipient> recipient;
225 wp<IBinder> who;
227 const wp<IBinder::DeathRecipient>& r, in Obituary()
229 const wp<IBinder>& w) : in Obituary()
245 void serviceDied(uint64_t, const wp<HInterface>&) override { in serviceDied()
474 const wp<IBinder::DeathRecipient>& recipient, in unlinkToDeath()
476 wp<IBinder::DeathRecipient>* outRecipient) { in unlinkToDeath()
/system/security/keystore/
Dconfirmation_manager.h73 void binderDied(const android::wp<android::IBinder>& who);
77 const android::wp<android::hidl::base::V1_0::IBase>& who) override;
Dconfirmation_manager.cpp37 using android::wp;
191 void ConfirmationManager::binderDied(const wp<IBinder>& who) { in binderDied()
209 const wp<android::hidl::base::V1_0::IBase>& /* who */) { in serviceDied()
/system/libhidl/transport/include/hidl/
DHidlBinderSupport.h43 virtual void binderDied(const wp<IBinder>& /*who*/);
44 wp<hidl_death_recipient> getRecipient();
46 wp<hidl_death_recipient> mRecipient;
48 wp<::android::hidl::base::V1_0::IBase> mBase;
DStatic.h38 wp<::android::hardware::BHwBinder>>>
/system/bt/service/ipc/binder/
Dremote_callback_list.h78 void binderDied(const android::wp<android::IBinder>& who) override;
104 using android::wp;
189 const wp<IBinder>& who) { in binderDied()
Dremote_callback_map.h90 void binderDied(const android::wp<android::IBinder>& who) override;
117 using android::wp;
225 const wp<IBinder>& who) { in binderDied()
Dbluetooth_le_advertiser_binder_server.cc82 android::wp<BluetoothLeAdvertiserBinderServer> weak_ptr_to_this(this); in StartMultiAdvertising()
127 android::wp<BluetoothLeAdvertiserBinderServer> weak_ptr_to_this(this); in StopMultiAdvertising()
/system/libhwbinder/
DBinder.cpp137 const wp<DeathRecipient>& /*recipient*/, void* /*cookie*/, in unlinkToDeath()
138 uint32_t /*flags*/, wp<DeathRecipient>* /*outRecipient*/) in unlinkToDeath()
/system/netd/server/
DEventReporter.cpp57 void binderDied(const android::wp<android::IBinder>& /* who */) override { in registerUnsolEventListener()

123