Home
last modified time | relevance | path

Searched refs:sInstance (Results 1 – 9 of 9) sorted by relevance

/system/core/libutils/include/utils/
DSingleton.h53 TYPE* instance = sInstance; in getInstance()
56 sInstance = instance; in getInstance()
63 return sInstance != nullptr; in hasInstance()
74 static TYPE* sInstance; variable
93 template<> TYPE* ::android::Singleton< TYPE >::sInstance(nullptr); /* NOLINT */ \
/system/vold/
DNetlinkManager.cpp34 NetlinkManager* NetlinkManager::sInstance = NULL; member in NetlinkManager
37 if (!sInstance) sInstance = new NetlinkManager(); in Instance()
38 return sInstance; in Instance()
DNetlinkManager.h27 static NetlinkManager* sInstance;
DVolumeManager.h44 static VolumeManager* sInstance;
DVolumeManager.cpp111 VolumeManager* VolumeManager::sInstance = NULL; member in VolumeManager
114 if (!sInstance) sInstance = new VolumeManager(); in Instance()
115 return sInstance; in Instance()
/system/netd/server/
DNetlinkManager.cpp52 NetlinkManager *NetlinkManager::sInstance = nullptr; member in android::net::NetlinkManager
55 if (!sInstance) in Instance()
56 sInstance = new NetlinkManager(); in Instance()
57 return sInstance; in Instance()
DNetlinkManager.h30 static NetlinkManager *sInstance;
/system/gsid/
Dgsi_service.h106 static android::wp<GsiService> sInstance; variable
/system/libvintf/
DVintfObject.cpp97 static details::LockedSharedPtr<VintfObject> sInstance{}; in GetInstance() local
98 std::unique_lock<std::mutex> lock(sInstance.mutex); in GetInstance()
99 if (sInstance.object == nullptr) { in GetInstance()
100 sInstance.object = std::shared_ptr<VintfObject>(VintfObject::Builder().build().release()); in GetInstance()
102 return sInstance.object; in GetInstance()