Home
last modified time | relevance | path

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

/cts/suite/audio_quality/lib/src/
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()
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()
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/tests/tests/graphics/jni/
DVulkanPreTransformTestHelpers.cpp110 : mInstance(VK_NULL_HANDLE), in DeviceInfo()
124 if (mInstance) { in ~DeviceInfo()
125 vkDestroySurfaceKHR(mInstance, mSurface, nullptr); in ~DeviceInfo()
126 vkDestroyInstance(mInstance, nullptr); in ~DeviceInfo()
127 mInstance = VK_NULL_HANDLE; in ~DeviceInfo()
169 VK_CALL(vkCreateInstance(&instanceInfo, nullptr, &mInstance)); in init()
172 VK_CALL(vkEnumeratePhysicalDevices(mInstance, &gpuCount, nullptr)); in init()
179 VK_CALL(vkEnumeratePhysicalDevices(mInstance, &gpuCount, gpus.data())); in init()
189 VK_CALL(vkCreateAndroidSurfaceKHR(mInstance, &surfaceInfo, nullptr, &mSurface)); in init()
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()
DVulkanPreTransformTestHelpers.h46 VkInstance mInstance;
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;
/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/
DStagedInstallTest.java544 private final BaseHostJUnit4Test mInstance; field in StagedInstallTest.FailedTestLogHook
548 this.mInstance = instance; in FailedTestLogHook()
566 … return mInstance.getDevice().executeShellV2Command("pm get-stagedsessions").getStdout(); in getStagedSessions()