Home
last modified time | relevance | path

Searched refs:mInstance (Results 1 – 25 of 30) sorted by relevance

12

/hardware/interfaces/bluetooth/1.0/default/test/fuzzer/
Dbt_vendor.h25 if (!mInstance) { in getInstance()
26 mInstance = new BtVendor; in getInstance()
28 return mInstance; in getInstance()
45 if (mInstance) { in ~BtVendor()
46 delete mInstance; in ~BtVendor() local
47 mInstance = nullptr; in ~BtVendor()
52 static BtVendor* mInstance; variable
59 BtVendor* BtVendor::mInstance = nullptr;
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraPerf.cpp204 QCameraPerfLockIntf* QCameraPerfLockIntf::mInstance = NULL; member in qcamera::QCameraPerfLockIntf
642 if (mInstance == NULL) { in createSingleton()
651 mInstance = new QCameraPerfLockIntf(); in createSingleton()
652 if (mInstance) { in createSingleton()
671 mInstance->mDlHandle = dlHandle; in createSingleton()
672 mInstance->mPerfLockAcq = pLockAcq; in createSingleton()
673 mInstance->mPerfLockRel = pLockRel; in createSingleton()
679 mInstance->mDlHandle = nullptr; in createSingleton()
680 mInstance->mPerfLockAcq = nullptr; in createSingleton()
681 mInstance->mPerfLockRel = nullptr; in createSingleton()
[all …]
DQCameraPerf.h112 static QCameraPerfLockIntf *mInstance;
/hardware/qcom/sm8150/gps/utils/
DLogBuffer.cpp42 LogBuffer* LogBuffer::mInstance; member in loc_util::LogBuffer
48 if (mInstance == nullptr) { in getInstance()
50 if (mInstance == nullptr) { in getInstance()
51 mInstance = new LogBuffer(); in getInstance()
54 return mInstance; in getInstance()
166 mInstance->append(s, 0, elapsedTime); in signalHandler()
171 mInstance->dumpToAdbLogcat(); in signalHandler()
181 mInstance->dumpToLogFile(path); in signalHandler()
DLogBuffer.h68 static LogBuffer* mInstance;
/hardware/qcom/sm7250/gps/utils/
DLogBuffer.cpp42 LogBuffer* LogBuffer::mInstance; member in loc_util::LogBuffer
48 if (mInstance == nullptr) { in getInstance()
50 if (mInstance == nullptr) { in getInstance()
51 mInstance = new LogBuffer(); in getInstance()
54 return mInstance; in getInstance()
166 mInstance->append(s, 0, elapsedTime); in signalHandler()
171 mInstance->dumpToAdbLogcat(); in signalHandler()
181 mInstance->dumpToLogFile(path); in signalHandler()
DLogBuffer.h68 static LogBuffer* mInstance;
/hardware/qcom/sm7150/gps/utils/
DLogBuffer.cpp37 LogBuffer* LogBuffer::mInstance; member in loc_util::LogBuffer
43 if (mInstance == nullptr) { in getInstance()
45 if (mInstance == nullptr) { in getInstance()
46 mInstance = new LogBuffer(); in getInstance()
49 return mInstance; in getInstance()
149 mInstance->dumpToAdbLogcat(); in signalHandler()
159 mInstance->dumpToLogFile(path); in signalHandler()
DLogBuffer.h68 static LogBuffer* mInstance;
/hardware/qcom/sm8150/media/libplatformconfig/
DPlatformConfig.cpp47 Config* Config::mInstance; member in Platform::Config
55 if (!mInstance) { in getInstance()
56 mInstance = new Config(); in getInstance()
58 return mInstance; in getInstance()
DPlatformConfig.h104 return *mInstance;
109 static Config* mInstance; variable
/hardware/qcom/sm7250/media/libplatformconfig/
DPlatformConfig.cpp47 Config* Config::mInstance; member in Platform::Config
55 if (!mInstance) { in getInstance()
56 mInstance = new Config(); in getInstance()
58 return mInstance; in getInstance()
DPlatformConfig.h114 return *mInstance;
119 static Config* mInstance; variable
/hardware/google/gfxstream/host/vulkan/testing/
DVulkanTestHelper.cpp81 if (mInstance) { in destroy()
83 vk().vkDestroyDebugUtilsMessengerEXT(mInstance, mDebugMessenger, nullptr); in destroy()
85 vk().vkDestroyInstance(mInstance, nullptr); in destroy()
90 mInstance = VK_NULL_HANDLE; in destroy()
158 VK_CHECK(vk().vkCreateInstance(&createInfo, nullptr, &mInstance)); in initialize()
161 VK_CHECK(vk().vkCreateDebugUtilsMessengerEXT(mInstance, &debugCreateInfo, nullptr, in initialize()
166 vk().vkEnumeratePhysicalDevices(mInstance, &deviceCount, nullptr); in initialize()
169 VK_CHECK(vk().vkEnumeratePhysicalDevices(mInstance, &deviceCount, devices.data())); in initialize()
DVulkanTestHelper.h92 VkInstance instance() { return mInstance; } in instance()
112 VkInstance mInstance = VK_NULL_HANDLE; variable
/hardware/google/gfxstream/host/vulkan/
DDisplaySurfaceVk.cpp54 : mVk(vk), mInstance(instance), mSurface(surface) {} in DisplaySurfaceVk()
58 mVk.vkDestroySurfaceKHR(mInstance, mSurface, nullptr); in ~DisplaySurfaceVk()
DDisplaySurfaceVk.h40 VkInstance mInstance = VK_NULL_HANDLE; variable
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3StreamMem.h159 static NativeBufferInterface mInstance; in GetInstance() local
160 return &mInstance; in GetInstance()
/hardware/google/gfxstream/common/detector/
DVulkan.h178 vkhpp::Instance& instance() { return *mInstance; } in instance()
194 mInstance(std::move(instance)), in Vk()
206 vkhpp::UniqueInstance mInstance; variable
/hardware/google/gfxstream/host/tests/
DVulkan_unittest.cpp403 testInstanceCreation(&mVk, &mInstance); in SetUp()
404 testDeviceCreation(&mVk, mInstance, &mPhysicalDevice, &mDevice); in SetUp()
408 teardownVulkanTest(&mVk, mDevice, mInstance); in TearDown()
412 VkInstance mInstance; member in gfxstream::vk::__anonbb66f5980111::VulkanTest
/hardware/qcom/sm7250/gps/core/
DSystemStatus.cpp1263 SystemStatus* SystemStatus::mInstance = NULL; member in loc_core::SystemStatus
1269 if (!mInstance) { in getInstance()
1276 mInstance = new (nothrow) SystemStatus(msgTask); in getInstance()
1277 LOC_LOGD("SystemStatus::getInstance:%p. Msgtask:%p", mInstance, msgTask); in getInstance()
1281 return mInstance; in getInstance()
1286 delete mInstance; in destroyInstance()
1287 mInstance = NULL; in destroyInstance()
/hardware/qcom/sm8150/gps/core/
DSystemStatus.cpp1263 SystemStatus* SystemStatus::mInstance = NULL; member in loc_core::SystemStatus
1269 if (!mInstance) { in getInstance()
1276 mInstance = new (nothrow) SystemStatus(msgTask); in getInstance()
1277 LOC_LOGD("SystemStatus::getInstance:%p. Msgtask:%p", mInstance, msgTask); in getInstance()
1281 return mInstance; in getInstance()
1286 delete mInstance; in destroyInstance()
1287 mInstance = NULL; in destroyInstance()
/hardware/qcom/sm7150/gps/core/
DSystemStatus.cpp1263 SystemStatus* SystemStatus::mInstance = NULL; member in loc_core::SystemStatus
1269 if (!mInstance) { in getInstance()
1276 mInstance = new (nothrow) SystemStatus(msgTask); in getInstance()
1277 LOC_LOGD("SystemStatus::getInstance:%p. Msgtask:%p", mInstance, msgTask); in getInstance()
1281 return mInstance; in getInstance()
1286 delete mInstance; in destroyInstance()
1287 mInstance = NULL; in destroyInstance()
/hardware/qcom/gps/msm8909w_3100/core/
DSystemStatus.cpp1183 SystemStatus* SystemStatus::mInstance = NULL; member in loc_core::SystemStatus
1189 if (!mInstance) { in getInstance()
1196 mInstance = new (nothrow) SystemStatus(msgTask); in getInstance()
1197 LOC_LOGD("SystemStatus::getInstance:%p. Msgtask:%p", mInstance, msgTask); in getInstance()
1201 return mInstance; in getInstance()
1206 delete mInstance; in destroyInstance()
1207 mInstance = NULL; in destroyInstance()
/hardware/qcom/sm8150p/gps/core/
DSystemStatus.cpp1263 SystemStatus* SystemStatus::mInstance = NULL; member in loc_core::SystemStatus
1269 if (!mInstance) { in getInstance()
1276 mInstance = new (nothrow) SystemStatus(msgTask); in getInstance()
1277 LOC_LOGD("SystemStatus::getInstance:%p. Msgtask:%p", mInstance, msgTask); in getInstance()
1281 return mInstance; in getInstance()
1286 delete mInstance; in destroyInstance()
1287 mInstance = NULL; in destroyInstance()

12