Home
last modified time | relevance | path

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

12

/hardware/google/aemu/host-common/
DVmLock.cpp19 static VmLock* sInstance = nullptr; variable
24 if (!sInstance) { in get()
25 sInstance = new VmLock(); in get()
27 return sInstance; in get()
31 return sInstance != nullptr; in hasInstance()
35 VmLock* result = sInstance; in set()
36 sInstance = vmLock; in set()
DDmaMap.cpp43 static DmaMap* sInstance = nullptr; variable
46 return sInstance; in get()
50 DmaMap* result = sInstance; in set()
51 sInstance = dmaMap; in set()
/hardware/qcom/display/msm8960/libqdutils/
Didle_invalidator.cpp37 android::sp<IdleInvalidator> IdleInvalidator::sInstance(0); member in IdleInvalidator
85 if(sInstance.get() == NULL) in getInstance()
86 sInstance = new IdleInvalidator(); in getInstance()
87 return sInstance.get(); in getInstance()
Didle_invalidator.h43 static android::sp<IdleInvalidator> sInstance; variable
/hardware/qcom/display/msm8084/libqdutils/
Didle_invalidator.cpp43 android::sp<IdleInvalidator> IdleInvalidator::sInstance(0); member in IdleInvalidator
125 if(sInstance.get() == NULL) in getInstance()
126 sInstance = new IdleInvalidator(); in getInstance()
127 return sInstance.get(); in getInstance()
Didle_invalidator.h43 static android::sp<IdleInvalidator> sInstance; variable
/hardware/qcom/display/msm8226/libqdutils/
Didle_invalidator.cpp43 android::sp<IdleInvalidator> IdleInvalidator::sInstance(0); member in IdleInvalidator
125 if(sInstance.get() == NULL) in getInstance()
126 sInstance = new IdleInvalidator(); in getInstance()
127 return sInstance.get(); in getInstance()
Didle_invalidator.h43 static android::sp<IdleInvalidator> sInstance; variable
/hardware/qcom/display/msm8994/libqdutils/
Didle_invalidator.cpp44 android::sp<IdleInvalidator> IdleInvalidator::sInstance(0); member in IdleInvalidator
146 if(sInstance.get() == NULL) in getInstance()
147 sInstance = new IdleInvalidator(); in getInstance()
148 return sInstance.get(); in getInstance()
Didle_invalidator.h44 static android::sp<IdleInvalidator> sInstance; variable
/hardware/nxp/keymint/KM300/authsecret/
DAuthSecretHelper.cpp21 AuthSecretHelper *AuthSecretHelper::sInstance = nullptr; member in AuthSecretHelper
24 if (sInstance == nullptr) { in getInstance()
25 sInstance = new AuthSecretHelper; in getInstance()
27 return sInstance; in getInstance()
DAuthSecretHelper.h100 static AuthSecretHelper *sInstance;
/hardware/interfaces/biometrics/fingerprint/2.1/default/
DBiometricsFingerprint.cpp41 BiometricsFingerprint *BiometricsFingerprint::sInstance = nullptr; member in android::hardware::biometrics::fingerprint::V2_1::implementation::BiometricsFingerprint
44 sInstance = this; // keep track of the most recent instance in BiometricsFingerprint()
208 if (!sInstance) { in getInstance()
209 sInstance = new BiometricsFingerprint(); in getInstance()
211 return sInstance; in getInstance()
DBiometricsFingerprint.h70 static BiometricsFingerprint* sInstance; member
/hardware/qcom/display/msm8960/liboverlay/
Doverlay.cpp205 if(sInstance == NULL) { in getInstance()
206 sInstance = new Overlay(); in getInstance()
208 return sInstance; in getInstance()
309 Overlay* Overlay::sInstance = 0; member in overlay::Overlay
Doverlay.h149 static Overlay *sInstance; variable
/hardware/interfaces/media/bufferpool/aidl/default/include/bufferpool2/
DClientManager.h175 static std::shared_ptr<ClientManager> sInstance;
/hardware/qcom/display/msm8084/liboverlay/
Doverlay.cpp375 if(sInstance == NULL) { in getInstance()
376 sInstance = new Overlay(); in getInstance()
378 return sInstance; in getInstance()
584 Overlay* Overlay::sInstance = 0; member in overlay::Overlay
Doverlay.h237 static Overlay *sInstance; variable
/hardware/qcom/display/msm8994/liboverlay/
Doverlay.cpp414 if(sInstance == NULL) { in getInstance()
415 sInstance = new Overlay(); in getInstance()
417 return sInstance; in getInstance()
601 Overlay* Overlay::sInstance = 0; member in overlay::Overlay
/hardware/google/pixel/power-libperfmgr/libperfmgr/
DHintManager.cc284 std::unique_ptr<HintManager> HintManager::sInstance = nullptr; member in android::perfmgr::HintManager
299 if (!sInstance) { in Reload()
305 if (sInstance == nullptr) { in GetInstance()
308 return sInstance.get(); in GetInstance()
355 sInstance = std::make_unique<HintManager>(std::move(nm), actions, adpfs, gpu_sysfs_node); in GetFromJSON()
357 if (!HintManager::InitHintStatus(sInstance)) { in GetFromJSON()
365 sInstance->Start(); in GetFromJSON()
/hardware/qcom/display/msm8226/liboverlay/
Doverlay.cpp383 if(sInstance == NULL) { in getInstance()
384 sInstance = new Overlay(); in getInstance()
386 return sInstance; in getInstance()
592 Overlay* Overlay::sInstance = 0; member in overlay::Overlay
/hardware/interfaces/media/bufferpool/aidl/default/
DClientManager.cpp434 std::shared_ptr<ClientManager> ClientManager::sInstance; member in aidl::android::hardware::media::bufferpool2::implementation::ClientManager
439 if (!sInstance) { in getInstance()
440 sInstance = ::ndk::SharedRefBase::make<ClientManager>(); in getInstance()
446 return sInstance; in getInstance()
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/
DHintManager.h182 static std::unique_ptr<HintManager> sInstance; variable
/hardware/google/gfxstream/guest/platform/rutabaga/
DRutabagaLayer.cpp1026 static std::weak_ptr<EmulatedVirtioGpu> sInstance; variable
1034 std::shared_ptr<EmulatedVirtioGpu> instance = sInstance.lock(); in Get()
1080 sInstance = instance; in Get()
1087 std::shared_ptr<EmulatedVirtioGpu> instance = sInstance.lock(); in GetNumActiveUsers()

12