Searched refs:sInstance (Results 1 – 9 of 9) sorted by relevance
53 TYPE* instance = sInstance; in getInstance()56 sInstance = instance; in getInstance()63 return sInstance != nullptr; in hasInstance()74 static TYPE* sInstance; variable93 template<> TYPE* ::android::Singleton< TYPE >::sInstance(nullptr); /* NOLINT */ \
34 NetlinkManager* NetlinkManager::sInstance = NULL; member in NetlinkManager37 if (!sInstance) sInstance = new NetlinkManager(); in Instance()38 return sInstance; in Instance()
27 static NetlinkManager* sInstance;
99 VolumeManager* VolumeManager::sInstance = NULL; member in VolumeManager102 if (!sInstance) sInstance = new VolumeManager(); in Instance()103 return sInstance; in Instance()
43 static VolumeManager* sInstance;
52 NetlinkManager *NetlinkManager::sInstance = nullptr; member in android::net::NetlinkManager55 if (!sInstance) in Instance()56 sInstance = new NetlinkManager(); in Instance()57 return sInstance; in Instance()
30 static NetlinkManager *sInstance;
94 static details::LockedSharedPtr<VintfObject> sInstance{}; in GetInstance() local95 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()
104 static android::wp<GsiService> sInstance; variable