Searched refs:getAdapter (Results 1 – 3 of 3) sorted by relevance
47 static inline Gralloc1On0Adapter* getAdapter(gralloc1_device_t* device) { in getAdapter() function52 delete getAdapter(reinterpret_cast<gralloc1_device_t*>(device)); in closeHook()63 getAdapter(device)->doGetCapabilities(outCount, outCapabilities); in getCapabilitiesHook()73 return getAdapter(device)->doGetFunction(descriptor); in getFunctionHook()81 return getAdapter(device)->dump(outSize, outBuffer); in dumpHook()93 auto error = getAdapter(device)->createDescriptor(outDescriptor); in createDescriptorHook()100 auto error = getAdapter(device)->destroyDescriptor(descriptor); in destroyDescriptorHook()153 auto descriptor = getAdapter(device)->getDescriptor(descriptorId); in callDescriptorFunction()277 auto buffer = getAdapter(device)->getBuffer(bufferHandle); in callBufferFunction()330 auto adapter = getAdapter(device); in retainHook()[all …]
291 auto adapter = getAdapter(device); in allocateHook()
53 static inline HWC2On1Adapter* getAdapter(hwc2_device_t* device) { in getAdapter() function63 getAdapter(device)->doGetCapabilities(outCount, outCapabilities); in getCapabilitiesHook()72 return getAdapter(device)->doGetFunction(descriptor); in getFunctionHook()84 auto error = getAdapter(device)->createVirtualDisplay(width, height, in createVirtualDisplayHook()92 auto error = getAdapter(device)->destroyVirtualDisplay(display); in destroyVirtualDisplayHook()100 getAdapter(device)->dump(outSize, outBuffer); in dumpHook()105 return getAdapter(device)->getMaxVirtualDisplayCount(); in getMaxVirtualDisplayCountHook()114 auto error = getAdapter(device)->registerCallback(descriptor, in registerCallbackHook()403 auto display = getAdapter(device)->getDisplay(displayId); in callDisplayFunction()585 auto result = getAdapter(device)->getLayer(displayId, layerId); in callLayerFunction()