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;
44 static VolumeManager* sInstance;
111 VolumeManager* VolumeManager::sInstance = NULL; member in VolumeManager114 if (!sInstance) sInstance = new VolumeManager(); in Instance()115 return sInstance; in Instance()
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;
106 static android::wp<GsiService> sInstance; variable
97 static details::LockedSharedPtr<VintfObject> sInstance{}; in GetInstance() local98 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()