Home
last modified time | relevance | path

Searched refs:wp (Results 1 – 25 of 60) 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 …]
DStrongPointer.h26 template<typename T> class wp; variable
116 inline bool operator == (const wp<U>& o) const {
121 inline bool operator != (const wp<U>& o) const {
127 template<typename Y> friend class wp; variable
DLooper.h89 WeakMessageHandler(const wp<MessageHandler>& handler);
93 wp<MessageHandler> mHandler;
/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/hardware/interfaces/suspend/1.0/default/
DSuspendControlService.h42 void binderDied(const wp<IBinder>& who) override;
44 void setSuspendService(const wp<SystemSuspend>& suspend);
48 wp<SystemSuspend> mSuspend;
52 std::vector<sp<ISuspendCallback> >::iterator findCb(const wp<IBinder>& cb) { in findCb()
DSuspendControlService.cpp34 void SuspendControlService::setSuspendService(const wp<SystemSuspend>& suspend) { in setSuspendService()
70 void SuspendControlService::binderDied(const wp<IBinder>& who) { in binderDied()
/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{};
DHidlTransportSupport.cpp47 static void pruneMapLocked(ConcurrentMap<wp<IBase>, V>& map) { in pruneMapLocked()
48 std::vector<wp<IBase>> toDelete; in pruneMapLocked()
/system/hwservicemanager/
DServiceManager.h42 using ::android::wp;
89 virtual void serviceDied(uint64_t cookie, const wp<IBase>& who);
98 bool removeService(const wp<IBase>& who, const std::string* restrictToInstanceName);
99 bool removePackageListener(const wp<IBase>& who);
100 bool removeServiceListener(const wp<IBase>& who);
134 bool removePackageListener(const wp<IBase>& who);
135 bool removeServiceListener(const wp<IBase>& who);
/system/libhidl/transport/include/hidl/
DStatic.h41 extern DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, SchedPrio>>
44 extern DoNotDestruct<ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, bool>> gServiceSidMap;
49 wp<::android::hardware::BHwBinder>>>
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;
/system/libhwbinder/include/hwbinder/
DIBinder.h63 virtual void binderDied(const wp<IBinder>& who) = 0;
99 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
102 wp<DeathRecipient>* outRecipient = nullptr) = 0;
DBpHwBinder.h44 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
47 wp<DeathRecipient>* outRecipient = nullptr);
105 wp<DeathRecipient> recipient;
DBinder.h43 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
46 wp<DeathRecipient>* outRecipient = nullptr);
DParcel.h99 status_t writeWeakBinder(const wp<IBinder>& val);
157 wp<IBinder> readWeakBinder() const;
330 const wp<IBinder>& binder, flat_binder_object* out);
334 const flat_binder_object& flat, wp<IBinder>* out);
/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()
471 const wp<IBinder::DeathRecipient>& recipient, in unlinkToDeath()
473 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;
193 void ConfirmationManager::binderDied(const wp<IBinder>& who) { in binderDied()
211 const wp<android::hidl::base::V1_0::IBase>& /* who */) { in serviceDied()
/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/libhidl/transport/base/1.0/vts/functional/
Dvts_ibase_test.cpp37 using android::wp;
140 virtual void serviceDied(uint64_t /* cookie */, const wp<IBase>& /* who */){}; in TEST_F()
/system/libhidl/libhidlcache/
DHidlCache.h69 std::map<Key, wp<Value>, Compare> mCached;
119 wp<Value> cache = mCached[key]; in getCachedLocked()
/system/connectivity/wificond/scanning/offload/
Doffload_service_utils.h38 const android::wp<android::hidl::base::V1_0::IBase>& who) override { in serviceDied()

123