Searched refs:NoDestructor (Results 1 – 6 of 6) sorted by relevance
61 class NoDestructor {66 explicit NoDestructor(Args&&... args) { in NoDestructor() function72 explicit NoDestructor(const T& x) { new (storage_) T(x); } in NoDestructor() function73 explicit NoDestructor(T&& x) { new (storage_) T(std::move(x)); } in NoDestructor() function75 NoDestructor(const NoDestructor&) = delete;76 NoDestructor& operator=(const NoDestructor&) = delete;78 ~NoDestructor() = default;
36 using android::base::NoDestructor;38 static NoDestructor<std::mutex> log_mutex;39 static NoDestructor<CachedProperty> log_property GUARDED_BY(log_mutex)("debug.adbd.logging");42 static NoDestructor<CachedProperty> persist_log_property
63 static android::base::NoDestructor<std::map<uint32_t, weak_ptr<atransport>>> transports;
48 android::base::NoDestructor<Bomb> b; in TEST()58 android::base::NoDestructor<Bomb> b; in TEST()59 const android::base::NoDestructor<Bomb>& c = b; in TEST()
69 static android::base::NoDestructor<android::incfs::MountRegistry> instance{}; in registry()141 static const android::base::NoDestructor<std::string> kValue{ in incFsPropertyValue()
1177 static const android::base::NoDestructor<FeatureSet> features([] { in supported_features()