• Home
  • Raw
  • Download

Lines Matching refs:device

47     static inline Gralloc1On0Adapter* getAdapter(gralloc1_device_t* device) {  in getAdapter()  argument
48 return static_cast<Gralloc1On0Adapter*>(device); in getAdapter()
51 static int closeHook(struct hw_device_t* device) { in closeHook() argument
52 delete getAdapter(reinterpret_cast<gralloc1_device_t*>(device)); in closeHook()
60 static void getCapabilitiesHook(gralloc1_device_t* device, in getCapabilitiesHook() argument
63 getAdapter(device)->doGetCapabilities(outCount, outCapabilities); in getCapabilitiesHook()
71 gralloc1_device_t* device, in getFunctionHook() argument
73 return getAdapter(device)->doGetFunction(descriptor); in getFunctionHook()
79 static void dumpHook(gralloc1_device_t* device, uint32_t* outSize, in dumpHook() argument
81 return getAdapter(device)->dump(outSize, outBuffer); in dumpHook()
91 static int32_t createDescriptorHook(gralloc1_device_t* device, in createDescriptorHook() argument
93 auto error = getAdapter(device)->createDescriptor(outDescriptor); in createDescriptorHook()
98 static int32_t destroyDescriptorHook(gralloc1_device_t* device, in destroyDescriptorHook() argument
100 auto error = getAdapter(device)->destroyDescriptor(descriptor); in destroyDescriptorHook()
150 static int32_t callDescriptorFunction(gralloc1_device_t* device, in callDescriptorFunction() argument
153 auto descriptor = getAdapter(device)->getDescriptor(descriptorId); in callDescriptorFunction()
161 static int32_t setConsumerUsageHook(gralloc1_device_t* device, in setConsumerUsageHook() argument
164 return callDescriptorFunction(device, descriptorId, in setConsumerUsageHook()
168 static int32_t setDimensionsHook(gralloc1_device_t* device, in setDimensionsHook() argument
171 return callDescriptorFunction(device, descriptorId, in setDimensionsHook()
175 static int32_t setFormatHook(gralloc1_device_t* device, in setFormatHook() argument
177 return callDescriptorFunction(device, descriptorId, in setFormatHook()
181 static int32_t setLayerCountHook(gralloc1_device_t* device, in setLayerCountHook() argument
183 return callDescriptorFunction(device, descriptorId, in setLayerCountHook()
187 static int32_t setProducerUsageHook(gralloc1_device_t* device, in setProducerUsageHook() argument
190 return callDescriptorFunction(device, descriptorId, in setProducerUsageHook()
274 static int32_t callBufferFunction(gralloc1_device_t* device, in callBufferFunction() argument
277 auto buffer = getAdapter(device)->getBuffer(bufferHandle); in callBufferFunction()
286 static int32_t bufferHook(gralloc1_device_t* device, in bufferHook() argument
288 return Gralloc1On0Adapter::callBufferFunction(device, bufferHandle, in bufferHook()
292 static int32_t getConsumerUsageHook(gralloc1_device_t* device, in getConsumerUsageHook() argument
295 auto error = callBufferFunction(device, bufferHandle, in getConsumerUsageHook()
303 static int32_t getProducerUsageHook(gralloc1_device_t* device, in getProducerUsageHook() argument
306 auto error = callBufferFunction(device, bufferHandle, in getProducerUsageHook()
320 static int32_t allocateHook(gralloc1_device* device,
327 static int32_t retainHook(gralloc1_device_t* device, in retainHook() argument
330 auto adapter = getAdapter(device); in retainHook()
335 static int32_t releaseHook(gralloc1_device_t* device, in releaseHook() argument
337 auto adapter = getAdapter(device); in releaseHook()
366 static int32_t lockHook(gralloc1_device_t* device, in lockHook() argument
372 auto adapter = getAdapter(device); in lockHook()
421 static int32_t unlockHook(gralloc1_device_t* device, in unlockHook() argument
423 auto adapter = getAdapter(device); in unlockHook()