Searched refs:sDevice (Results 1 – 2 of 2) sorted by relevance
22 static VirtGpuDevice* sDevice = nullptr; variable31 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()
440 static HostGoldfishPipeDevice* sDevice() { in sDevice() function447 auto res = sDevice(); in get()