Home
last modified time | relevance | path

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

/cts/suite/audio_quality/lib/src/
DSettings.cpp20 Settings* Settings::mInstance = NULL; member in Settings
24 if (mInstance == NULL) { in Instance()
25 mInstance = new Settings(); in Instance()
27 return mInstance; in Instance()
32 delete mInstance; in Finalize()
33 mInstance = NULL; in Finalize()
DLog.cpp22 Log* Log::mInstance = NULL; member in Log
30 if (!mInstance) { in Instance()
31 mInstance = new Log(); in Instance()
32 ASSERT_PLAIN(mInstance->init(dirName)); in Instance()
34 return mInstance; in Instance()
38 delete mInstance; in Finalize()
39 mInstance = NULL; in Finalize()
DReport.cpp24 Report* Report::mInstance = NULL; member in Report
28 if (mInstance == NULL) { in Instance()
29 mInstance = new Report(); in Instance()
30 ASSERT(mInstance->init(dirName)); in Instance()
32 return mInstance; in Instance()
36 delete mInstance; in Finalize()
37 mInstance = NULL; in Finalize()
/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/
DStagedInstallTest.java323 private final BaseHostJUnit4Test mInstance; field in StagedInstallTest.FailedTestLogHook
327 this.mInstance = instance; in FailedTestLogHook()
345 … return mInstance.getDevice().executeShellV2Command("pm get-stagedsessions").getStdout(); in getStagedSessions()
/cts/tests/tests/graphics/jni/
DVulkanPreTransformTestHelpers.cpp108 : mInstance(VK_NULL_HANDLE), in DeviceInfo()
122 if (mInstance) { in ~DeviceInfo()
123 vkDestroySurfaceKHR(mInstance, mSurface, nullptr); in ~DeviceInfo()
124 vkDestroyInstance(mInstance, nullptr); in ~DeviceInfo()
125 mInstance = VK_NULL_HANDLE; in ~DeviceInfo()
167 VK_CALL(vkCreateInstance(&instanceInfo, nullptr, &mInstance)); in init()
170 VK_CALL(vkEnumeratePhysicalDevices(mInstance, &gpuCount, nullptr)); in init()
177 VK_CALL(vkEnumeratePhysicalDevices(mInstance, &gpuCount, gpus.data())); in init()
187 VK_CALL(vkCreateAndroidSurfaceKHR(mInstance, &surfaceInfo, nullptr, &mSurface)); in init()
DVulkanPreTransformTestHelpers.h46 VkInstance mInstance;
DVulkanTestHelpers.cpp103 VK_CALL(vkCreateInstance(&createInfo, nullptr, &mInstance)); in init()
107 int status = vkEnumeratePhysicalDevices(mInstance, &gpuCount, &mGpu); in init()
168 mInstance, "vkGetPhysicalDeviceFeatures2KHR"); in init()
188 if (mInstance != VK_NULL_HANDLE) { in ~VkInit()
189 vkDestroyInstance(mInstance, nullptr); in ~VkInit()
190 mInstance = VK_NULL_HANDLE; in ~VkInit()
DVulkanTestHelpers.h48 VkInstance mInstance = VK_NULL_HANDLE;
/cts/suite/audio_quality/lib/include/
DSettings.h38 static Settings* mInstance;
DReport.h56 static Report* mInstance;
DLog.h51 static Log* mInstance;