Searched refs:sHostCon (Results 1 – 2 of 2) sorted by relevance
24 static std::unique_ptr<HostConnection> sHostCon; in createOrGetHostConnection() local26 if (!sHostCon) { in createOrGetHostConnection()27 sHostCon = HostConnection::createUnique(); in createOrGetHostConnection()29 return sHostCon.get(); in createOrGetHostConnection()
465 static HostConnection* sHostCon = NULL; variable468 if (!sHostCon) { in createOrGetHostConnection()469 sHostCon = HostConnection::createUnique().release(); in createOrGetHostConnection()471 return sHostCon; in createOrGetHostConnection()1020 if (sHostCon) { in gralloc_device_close()1021 delete sHostCon; in gralloc_device_close()1022 sHostCon = nullptr; in gralloc_device_close()