Home
last modified time | relevance | path

Searched defs:usage (Results 1 – 25 of 207) sorted by relevance

123456789

/hardware/qcom/display/msm8994/libgralloc/
Dalloc_controller.cpp60 static bool canFallback(int usage, bool triedSystem) in canFallback()
86 static bool useUncached(const int& usage) { in useUncached()
167 int usage, int& aligned_w, int& aligned_h) in getAlignedWidthAndHeight()
375 int IonController::allocate(alloc_data& data, int usage) in allocate()
453 bool isMacroTileEnabled(int format, int usage) in isMacroTileEnabled()
486 unsigned int getSize(int format, int width, int height, int usage, in getSize()
623 int usage, int& alignedw, int &alignedh) in getBufferSizeAndDimensions()
640 void getBufferAttributes(int width, int height, int format, int usage, in getBufferAttributes()
723 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) in alloc_buffer()
796 bool isUBwcEnabled(int format, int usage) in isUBwcEnabled()
Dgpu.cpp59 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, in gralloc_alloc_buffer()
208 int gpu_context_t::gralloc_alloc_framebuffer_locked(int usage, in gralloc_alloc_framebuffer_locked()
270 int gpu_context_t::gralloc_alloc_framebuffer(int usage, in gralloc_alloc_framebuffer()
280 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, in alloc_impl()
383 int usage, buffer_handle_t* pHandle, in gralloc_alloc()
393 int format, int usage, in gralloc_alloc_size()
/hardware/qcom/display/msm8226/libgralloc/
Dalloc_controller.cpp57 static bool canFallback(int usage, bool triedSystem) in canFallback()
79 static bool useUncached(int usage) in useUncached()
282 int IonController::allocate(alloc_data& data, int usage) in allocate()
364 bool isMacroTileEnabled(int format, int usage) in isMacroTileEnabled()
521 int usage, int& alignedw, int &alignedh) in getBufferSizeAndDimensions()
539 void getBufferAttributes(int width, int height, int format, int usage, in getBufferAttributes()
621 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) in alloc_buffer()
Dgpu.cpp54 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, in gralloc_alloc_buffer()
192 int gpu_context_t::gralloc_alloc_framebuffer_locked(int usage, in gralloc_alloc_framebuffer_locked()
252 int gpu_context_t::gralloc_alloc_framebuffer(int usage, in gralloc_alloc_framebuffer()
262 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, in alloc_impl()
356 int usage, buffer_handle_t* pHandle, in gralloc_alloc()
366 int format, int usage, in gralloc_alloc_size()
/hardware/qcom/display/msm8084/libgralloc/
Dalloc_controller.cpp57 static bool canFallback(int usage, bool triedSystem) in canFallback()
79 static bool useUncached(int usage) in useUncached()
283 int IonController::allocate(alloc_data& data, int usage) in allocate()
365 bool isMacroTileEnabled(int format, int usage) in isMacroTileEnabled()
525 size_t getBufferSizeAndDimensions(int width, int height, int format, int usage, in getBufferSizeAndDimensions()
544 void getBufferAttributes(int width, int height, int format, int usage, in getBufferAttributes()
627 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) in alloc_buffer()
Dgpu.cpp55 int gpu_context_t::gralloc_alloc_buffer(size_t size, int usage, in gralloc_alloc_buffer()
189 int gpu_context_t::gralloc_alloc_framebuffer_locked(int usage, in gralloc_alloc_framebuffer_locked()
249 int gpu_context_t::gralloc_alloc_framebuffer(int usage, in gralloc_alloc_framebuffer()
259 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, in alloc_impl()
353 int usage, buffer_handle_t* pHandle, in gralloc_alloc()
363 int format, int usage, in gralloc_alloc_size()
/hardware/qcom/sm7250/display/gralloc/
Dgr_utils.cpp218 bool CpuCanAccess(uint64_t usage) { in CpuCanAccess()
222 bool CpuCanRead(uint64_t usage) { in CpuCanRead()
230 bool CpuCanWrite(uint64_t usage) { in CpuCanWrite()
239 uint32_t GetDataAlignment(int format, uint64_t usage) { in GetDataAlignment()
257 bool IsGPUFlagSupported(uint64_t usage) { in IsGPUFlagSupported()
304 uint64_t usage = info.usage; in GetSize() local
599 uint64_t usage = hnd->usage; in GetYUVPlaneInfo() local
742 bool IsUBwcPISupported(int format, uint64_t usage) { in IsUBwcPISupported()
765 bool IsUBwcEnabled(int format, uint64_t usage) { in IsUBwcEnabled()
922 unsigned int GetRgbMetaSize(int format, uint32_t width, uint32_t height, uint64_t usage) { in GetRgbMetaSize()
[all …]
/hardware/qcom/sm8150/display/gralloc/
Dgr_utils.cpp192 bool CpuCanAccess(uint64_t usage) { in CpuCanAccess()
196 bool CpuCanRead(uint64_t usage) { in CpuCanRead()
204 bool CpuCanWrite(uint64_t usage) { in CpuCanWrite()
213 uint32_t GetDataAlignment(int format, uint64_t usage) { in GetDataAlignment()
230 bool IsGPUFlagSupported(uint64_t usage) { in IsGPUFlagSupported()
277 uint64_t usage = info.usage; in GetSize() local
564 uint64_t usage = hnd->usage; in GetYUVPlaneInfo() local
709 bool IsUBwcPISupported(int format, uint64_t usage) { in IsUBwcPISupported()
731 bool IsUBwcEnabled(int format, uint64_t usage) { in IsUBwcEnabled()
883 unsigned int GetRgbMetaSize(int format, uint32_t width, uint32_t height, uint64_t usage) { in GetRgbMetaSize()
[all …]
/hardware/interfaces/automotive/audiocontrol/aidl/aidl_api/android.hardware.automotive.audiocontrol/1/android/hardware/automotive/audiocontrol/
DIFocusListener.aidl37 oneway void abandonAudioFocus(in String usage, in int zoneId); in abandonAudioFocus()
38 …oneway void requestAudioFocus(in String usage, in int zoneId, in android.hardware.automotive.audio… in requestAudioFocus()
/hardware/interfaces/automotive/audiocontrol/aidl/android/hardware/automotive/audiocontrol/
DIFocusListener.aidl40 oneway void abandonAudioFocus(in String usage, in int zoneId); in abandonAudioFocus()
56 oneway void requestAudioFocus(in String usage, in int zoneId, in AudioFocusChange focusGain); in requestAudioFocus()
/hardware/interfaces/automotive/audiocontrol/aidl/aidl_api/android.hardware.automotive.audiocontrol/current/android/hardware/automotive/audiocontrol/
DIFocusListener.aidl21 oneway void abandonAudioFocus(in String usage, in int zoneId); in abandonAudioFocus()
22 …oneway void requestAudioFocus(in String usage, in int zoneId, in android.hardware.automotive.audio… in requestAudioFocus()
/hardware/qcom/display/msm8960/libgralloc/
Dgpu.cpp55 int gpu_context_t::gralloc_alloc_buffer(size_t size, int usage, in gralloc_alloc_buffer()
175 int gpu_context_t::gralloc_alloc_framebuffer_locked(size_t size, int usage, in gralloc_alloc_framebuffer_locked()
235 int gpu_context_t::gralloc_alloc_framebuffer(size_t size, int usage, in gralloc_alloc_framebuffer()
245 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, in alloc_impl()
340 int usage, buffer_handle_t* pHandle, in gralloc_alloc()
350 int format, int usage, in gralloc_alloc_size()
Dalloc_controller.cpp56 static bool canFallback(int usage, bool triedSystem) in canFallback()
78 static bool useUncached(int usage) in useUncached()
179 int IonController::allocate(alloc_data& data, int usage) in allocate()
353 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) in alloc_buffer()
/hardware/qcom/display/msm8909/libgralloc/
Dgpu.cpp51 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, in gralloc_alloc_buffer()
190 int gpu_context_t::gralloc_alloc_framebuffer_locked(int usage, in gralloc_alloc_framebuffer_locked()
249 int gpu_context_t::gralloc_alloc_framebuffer(int usage, in gralloc_alloc_framebuffer()
259 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, in alloc_impl()
377 int usage, buffer_handle_t* pHandle, in gralloc_alloc()
387 int format, int usage, in gralloc_alloc_size()
Dalloc_controller.cpp96 static bool useUncached(const int& usage) { in useUncached()
161 int usage = 0; in getAlignedWidthAndHeight() local
223 int usage, int& aligned_w, int& aligned_h) in getAlignedWidthAndHeight()
465 int IonController::allocate(alloc_data& data, int usage) in allocate()
539 unsigned int getSize(int format, int width, int height, int usage, in getSize()
696 int usage, int& alignedw, int &alignedh) in getBufferSizeAndDimensions()
775 int usage = 0; in getYUVPlaneInfo() local
870 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) in alloc_buffer()
955 bool isUBwcEnabled(int format, int usage) in isUBwcEnabled()
/hardware/qcom/display/msm8996/libgralloc/
Dgpu.cpp58 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, in gralloc_alloc_buffer()
192 int gpu_context_t::gralloc_alloc_framebuffer_locked(int usage, in gralloc_alloc_framebuffer_locked()
251 int gpu_context_t::gralloc_alloc_framebuffer(int usage, in gralloc_alloc_framebuffer()
261 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, in alloc_impl()
378 int usage, buffer_handle_t* pHandle, in gralloc_alloc()
388 int format, int usage, in gralloc_alloc_size()
Dalloc_controller.cpp90 static bool useUncached(const int& usage) { in useUncached()
168 int usage = 0; in getAlignedWidthAndHeight() local
218 int usage, int& aligned_w, int& aligned_h) in getAlignedWidthAndHeight()
450 int IonController::allocate(alloc_data& data, int usage) in allocate()
520 bool isMacroTileEnabled(int format, int usage) in isMacroTileEnabled()
553 unsigned int getSize(int format, int width, int height, int usage, in getSize()
702 int usage, int& alignedw, int &alignedh) in getBufferSizeAndDimensions()
719 void getBufferAttributes(int width, int height, int format, int usage, in getBufferAttributes()
796 int usage = 0; in getYUVPlaneInfo() local
873 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) in alloc_buffer()
[all …]
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dgpu.cpp51 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, in gralloc_alloc_buffer()
190 int gpu_context_t::gralloc_alloc_framebuffer_locked(int usage, in gralloc_alloc_framebuffer_locked()
249 int gpu_context_t::gralloc_alloc_framebuffer(int usage, in gralloc_alloc_framebuffer()
259 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, in alloc_impl()
377 int usage, buffer_handle_t* pHandle, in gralloc_alloc()
387 int format, int usage, in gralloc_alloc_size()
Dalloc_controller.cpp96 static bool useUncached(const int& usage) { in useUncached()
161 int usage = 0; in getAlignedWidthAndHeight() local
223 int usage, int& aligned_w, int& aligned_h) in getAlignedWidthAndHeight()
465 int IonController::allocate(alloc_data& data, int usage) in allocate()
539 unsigned int getSize(int format, int width, int height, int usage, in getSize()
696 int usage, int& alignedw, int &alignedh) in getBufferSizeAndDimensions()
775 int usage = 0; in getYUVPlaneInfo() local
870 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) in alloc_buffer()
955 bool isUBwcEnabled(int format, int usage) in isUBwcEnabled()
/hardware/libhardware/modules/input/evdev/
DInputHost.cpp21 void InputReport::setIntUsage(InputCollectionId id, InputUsage usage, int32_t value, in setIntUsage()
26 void InputReport::setBoolUsage(InputCollectionId id, InputUsage usage, bool value, in setBoolUsage()
39 void InputReportDefinition::declareUsage(InputCollectionId id, InputUsage usage, in declareUsage()
45 void InputReportDefinition::declareUsages(InputCollectionId id, InputUsage* usage, in declareUsages()
/hardware/qcom/sdm845/display/gralloc/
Dgr_utils.cpp182 bool CpuCanAccess(uint64_t usage) { in CpuCanAccess()
186 bool CpuCanRead(uint64_t usage) { in CpuCanRead()
194 bool CpuCanWrite(uint64_t usage) { in CpuCanWrite()
203 uint32_t GetDataAlignment(int format, uint64_t usage) { in GetDataAlignment()
221 bool IsGPUFlagSupported(uint64_t usage) { in IsGPUFlagSupported()
242 uint64_t usage = info.usage; in GetSize() local
427 uint64_t usage = hnd->usage; in GetYUVPlaneInfo() local
583 bool IsUBwcEnabled(int format, uint64_t usage) { in IsUBwcEnabled()
803 uint64_t usage = info.usage; in GetAlignedWidthAndHeight() local
1025 bool CanUseAdrenoForSize(int buffer_type, uint64_t usage) { in CanUseAdrenoForSize()
Dgr_allocator.cpp95 int Allocator::AllocateMem(AllocData *alloc_data, uint64_t usage) { in AllocateMem()
182 int Allocator::GetImplDefinedFormat(uint64_t usage, int format) { in GetImplDefinedFormat()
237 bool Allocator::UseUncached(uint64_t usage) { in UseUncached()
260 void Allocator::GetIonHeapInfo(uint64_t usage, unsigned int *ion_heap_id, unsigned int *alloc_type, in GetIonHeapInfo()
/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/
DGralloc1Hal.h106 static uint64_t toProducerUsage(uint64_t usage) { in toProducerUsage()
140 static uint64_t toConsumerUsage(uint64_t usage) { in toConsumerUsage()
168 static bool gralloc1UsageUnsupported(uint64_t usage) { in gralloc1UsageUnsupported()
/hardware/interfaces/automotive/audiocontrol/2.0/default/
DAudioControl.cpp85 Return<void> AudioControl::onAudioFocusChange(hidl_bitfield<AudioUsage> usage, int zoneId, in onAudioFocusChange()
143 hidl_bitfield<AudioUsage> usage; in cmdRequestFocus() local
172 hidl_bitfield<AudioUsage> usage; in cmdAbandonFocus() local
/hardware/interfaces/automotive/audiocontrol/aidl/default/
DAudioControl.cpp126 for (const auto& usage : duckingInfo.usagesHoldingFocus) { in onDevicesToDuckChange() local
202 string usage = string(args[1]); in cmdRequestFocus() local
244 string usage = string(args[1]); in cmdAbandonFocus() local

123456789