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.cpp99 VolumeManager* VolumeManager::sInstance = NULL; member in VolumeManager
102 if (!sInstance) sInstance = new VolumeManager(); in Instance()
103 return sInstance; in Instance()
DVolumeManager.h43 static VolumeManager* sInstance;
/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/libvintf/
DVintfObject.cpp94 static details::LockedSharedPtr<VintfObject> sInstance{}; in GetInstance() local
95 std::unique_lock<std::mutex> lock(sInstance.mutex); in GetInstance()
96 if (sInstance.object == nullptr) { in GetInstance()
97 sInstance.object = std::shared_ptr<VintfObject>(VintfObject::Builder().build().release()); in GetInstance()
99 return sInstance.object; in GetInstance()
/system/gsid/
Dgsi_service.h104 static android::wp<GsiService> sInstance; variable