Home
last modified time | relevance | path

Searched refs:sDevice (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/guest/platform/
DVirtGpu.cpp22 static VirtGpuDevice* sDevice = nullptr; variable
31 if (capset != kCapsetNone && sDevice && sDevice->capset() != capset) { in getInstance()
33 capset, sDevice->capset()); in getInstance()
36 if (!sDevice) { in getInstance()
37 sDevice = createPlatformVirtGpuDevice(capset); in getInstance()
39 return sDevice; in getInstance()
43 if (sDevice) { in resetInstance()
44 delete sDevice; in resetInstance()
45 sDevice = nullptr; in resetInstance()
50 sDevice = device; in setInstanceForTesting()
/hardware/google/aemu/host-common/
DHostGoldfishPipe.cpp440 static HostGoldfishPipeDevice* sDevice() { in sDevice() function
447 auto res = sDevice(); in get()