Home
last modified time | relevance | path

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

123

/system/core/libutils/include/utils/
DRefBase.h402 class wp
407 inline constexpr wp() : m_ptr(nullptr), m_refs(nullptr) { } in wp() function
413 static inline wp<T> fromExisting(T* other);
417 wp(std::nullptr_t) : wp() {} in wp() function
419 wp(T* other); // NOLINT(implicit)
421 wp(U* other); // NOLINT(implicit)
422 wp& operator=(T* other);
424 wp& operator=(U* other);
427 wp(const wp<T>& other);
428 explicit wp(const sp<T>& other);
[all …]
DLooper.h92 WeakMessageHandler(const wp<MessageHandler>& handler);
96 wp<MessageHandler> mHandler;
DStrongPointer.h26 template<typename T> class wp; variable
119 inline bool operator == (const wp<U>& o) const {
124 inline bool operator != (const wp<U>& o) const {
130 template<typename Y> friend class wp; variable
/system/core/libutils/binder/include/utils/
DRefBase.h402 class wp
407 inline constexpr wp() : m_ptr(nullptr), m_refs(nullptr) { } in wp() function
413 static inline wp<T> fromExisting(T* other);
417 wp(std::nullptr_t) : wp() {} in wp() function
419 wp(T* other); // NOLINT(implicit)
421 wp(U* other); // NOLINT(implicit)
422 wp& operator=(T* other);
424 wp& operator=(U* other);
427 wp(const wp<T>& other);
428 explicit wp(const sp<T>& other);
[all …]
DStrongPointer.h26 template<typename T> class wp; variable
119 inline bool operator == (const wp<U>& o) const {
124 inline bool operator != (const wp<U>& o) const {
130 template<typename Y> friend class wp; variable
/system/core/libutils/binder/
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/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()
831 bool ServiceManager::removeService(const wp<IBase>& who, const std::string* restrictToInstanceName)… in removeService()
858 bool ServiceManager::removePackageListener(const wp<IBase>& who) { in removePackageListener()
868 bool ServiceManager::removeServiceListener(const wp<IBase>& who) { in removeServiceListener()
/system/libhidl/transport/
DStatic.cpp31 wp<::android::hardware::BHwBinder>>>
35 DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, SchedPrio>> gServicePrioMap{};
36 DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, bool>> gServiceSidMap{};
DInternalStatic.h31 extern DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, SchedPrio>>
34 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.cpp44 void hidl_binder_death_recipient::binderDied(const wp<IBinder>& /*who*/) { in binderDied()
52 wp<hidl_death_recipient> hidl_binder_death_recipient::getRecipient() { in getRecipient()
252 wp<BHwBinder> wBnObj = details::gBnMap->getLocked(ifacePtr, nullptr); in getOrCreateCachedBinder()
/system/hardware/interfaces/suspend/1.0/default/
DSuspendControlService.h52 void binderDied(const wp<IBinder>& who) override;
62 const std::vector<sp<ISuspendCallback>>::iterator findCb(const wp<IBinder>& cb) { in findCb()
80 void setSuspendService(const wp<SystemSuspend>& suspend);
84 wp<SystemSuspend> mSuspend;
/system/libhwbinder/include/hwbinder/
DIBinder.h99 virtual void binderDied(const wp<IBinder>& who) = 0;
135 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
138 wp<DeathRecipient>* outRecipient = nullptr) = 0;
DBpHwBinder.h48 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
51 wp<DeathRecipient>* outRecipient = nullptr);
108 wp<DeathRecipient> recipient;
DBinder.h47 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
50 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/media/audio_utils/include/audio_utils/
DMelProcessor.h168 MelWorker(std::string threadName, const wp<MelCallback>& callback) in MelWorker()
187 const wp<MelCallback> mCallback;
207 const wp<MelCallback> mCallback; // callback to notify about new MEL values
/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/core/libstats/bootstrap/
DBootstrapClientInternal.h28 void binderDied(const wp<IBinder>& who) override;
DBootstrapClientInternal.cpp39 void BootstrapClientInternal::binderDied(const wp<IBinder>&) { in binderDied()
/system/nfc/src/rust/hal/ffi/
Dhidl.cc6 using ::android::wp;
30 const android::wp<::android::hidl::base::V1_0::IBase>& /*who*/) { in serviceDied()
/system/libhwbinder/
DBinder.cpp148 const wp<DeathRecipient>& /*recipient*/, void* /*cookie*/, in unlinkToDeath()
149 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