Lines Matching refs:ahbFunctions
114 AhbFunctions ahbFunctions;
134 if (!ahbFunctionsLoaded(&ahbFunctions, sdkVersion))
137 ahbFunctions.allocate = reinterpret_cast<pfnAHardwareBuffer_allocate>(libnativewindow.getFunction("AHardwareBuffer_allocate"));
138 ahbFunctions.describe = reinterpret_cast<pfnAHardwareBuffer_describe>(libnativewindow.getFunction("AHardwareBuffer_describe"));
139 ahbFunctions.acquire = reinterpret_cast<pfnAHardwareBuffer_acquire>(libnativewindow.getFunction("AHardwareBuffer_acquire"));
140 ahbFunctions.release = reinterpret_cast<pfnAHardwareBuffer_release>(libnativewindow.getFunction("AHardwareBuffer_release"));
142 ahbFunctions.isSupported = reinterpret_cast<pfnAHardwareBuffer_isSupported>(libnativewindow.getFunction("AHardwareBuffer_isSupported"));
144 ahbFunctions.isSupported = DE_NULL;
146 return ahbFunctionsLoaded(&ahbFunctions, sdkVersion);
221 if (ahbFunctions.isSupported != DE_NULL)
223 if (!ahbFunctions.isSupported(&hbufferdesc))
227 if (ahbFunctions.allocate(&hbufferdesc, &m_hardwareBuffer) != 0)
237 ahbFunctions.release(m_hardwareBuffer);
265 ahbFunctions.describe(m_hardwareBuffer, &ret);