Home
last modified time | relevance | path

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

1234567891011

/frameworks/native/libs/vr/libbufferhub/
Dion_buffer.cpp21 uint64_t usage) in IonBuffer()
27 uint32_t stride, uint32_t format, uint64_t usage) in IonBuffer()
33 uint64_t usage) in IonBuffer()
75 uint32_t format, uint64_t usage) { in Alloc()
93 uint64_t usage) { in Reset()
103 uint64_t usage) { in Import()
125 uint64_t usage) { in Import()
198 int IonBuffer::Lock(uint32_t usage, int x, int y, int width, int height, in Lock()
214 int IonBuffer::LockYUV(uint32_t usage, int x, int y, int width, int height, in LockYUV()
/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp87 PixelFormat format, uint64_t usage, uint32_t stride, in importBuffer()
127 status_t GraphicBufferMapper::lock(buffer_handle_t handle, uint32_t usage, const Rect& bounds, in lock()
133 status_t GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, uint32_t usage, in lockYCbCr()
150 status_t GraphicBufferMapper::lockAsync(buffer_handle_t handle, uint32_t usage, const Rect& bounds, in lockAsync()
163 const uint64_t usage = static_cast<uint64_t>( in lockAsync() local
170 uint32_t usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) in lockAsyncYCbCr()
188 uint64_t usage, bool* outSupported) { in isSupported()
306 uint64_t usage, in getDefaultPixelFormatFourCC()
314 uint64_t usage, in getDefaultPixelFormatModifier()
322 uint64_t usage, in getDefaultAllocationSize()
[all …]
DGralloc4.cpp72 PixelFormat format, uint32_t layerCount, uint64_t usage, in sBufferDescriptorInfo()
165 uint32_t layerCount, uint64_t usage, in validateBufferSize()
200 status_t Gralloc4Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock()
270 status_t Gralloc4Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock()
406 uint32_t layerCount, uint64_t usage, in isSupported()
638 uint32_t layerCount, uint64_t usage, in getDefault()
672 uint64_t usage, in getDefaultPixelFormatFourCC()
681 uint64_t usage, in getDefaultPixelFormatModifier()
690 uint64_t usage, in getDefaultAllocationSize()
699 uint64_t usage, in getDefaultProtectedContent()
[all …]
DGraphicBufferAllocator.cpp115 uint32_t layerCount, uint64_t usage, in allocateHelper()
179 uint32_t layerCount, uint64_t usage, in allocate()
188 uint64_t usage, buffer_handle_t* handle, in allocateRawHandle()
196 uint32_t layerCount, uint64_t usage, in allocate() argument
DGralloc3.cpp65 uint64_t usage, in sBufferDescriptorInfo()
156 uint32_t layerCount, uint64_t usage, in validateBufferSize()
190 status_t Gralloc3Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock()
235 status_t Gralloc3Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock()
314 uint32_t layerCount, uint64_t usage, in isSupported()
365 uint64_t usage, uint32_t bufferCount, uint32_t* outStride, in allocate()
/frameworks/base/services/core/java/com/android/server/appop/
DAudioRestrictionManager.java51 audioMutedUsages.append(usage, true); in audioMutedUsages.append() argument
52 vibrationMutedUsages.append(usage, true); in vibrationMutedUsages.append() argument
70 public int checkAudioOperation(int code, int usage, int uid, String packageName) { in checkAudioOperation()
94 private int checkZenModeRestrictionLocked(int code, int usage, int uid, String packageName) { in checkZenModeRestrictionLocked()
105 public void setZenModeAudioRestriction(int code, int usage, int uid, int mode, in setZenModeAudioRestriction()
162 final int usage = restrictions.keyAt(i); in dump() local
/frameworks/av/services/audiopolicy/engine/common/include/
DEngineBase.h42 status_t setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) override in setForceUse()
48 audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const override in getForceUse()
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp48 uint64_t usage = AHardwareBuffer_convertToGrallocUsageBits(desc->usage); in AHardwareBuffer_allocate() local
96 int AHardwareBuffer_lockAndGetInfo(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lockAndGetInfo()
151 int AHardwareBuffer_lock(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lock()
183 int AHardwareBuffer_lockPlanes(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lockPlanes()
428 const uint64_t usage = AHardwareBuffer_convertToGrallocUsageBits(desc->usage); in AHardwareBuffer_createFromHandle() local
659 uint64_t AHardwareBuffer_convertToGrallocUsageBits(uint64_t usage) { in AHardwareBuffer_convertToGrallocUsageBits()
692 uint64_t AHardwareBuffer_convertFromGrallocUsageBits(uint64_t usage) { in AHardwareBuffer_convertFromGrallocUsageBits()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallRatTracker.java143 private void addProto(RawVoiceCallRatUsage usage) { in addProto()
150 RawVoiceCallRatUsage usage = new RawVoiceCallRatUsage(); in entryToProto() local
175 static Key fromProto(RawVoiceCallRatUsage usage) { in fromProto()
229 static Value fromProto(RawVoiceCallRatUsage usage) { in fromProto()
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/
DMain.kt69 fun usage() { in usage() method
/frameworks/base/graphics/java/android/graphics/
DGraphicBuffer.java79 public static GraphicBuffer create(int width, int height, int format, int usage) { in create()
91 private GraphicBuffer(int width, int height, int format, int usage, long nativeObject) { in GraphicBuffer()
105 int format, int usage, long unwrappedNativeObject) { in createFromExisting()
310 private static native long nCreateGraphicBuffer(int width, int height, int format, int usage); in nCreateGraphicBuffer()
/frameworks/base/startop/scripts/app_startup/
Dparse_metrics17 usage() { function
Dforce_compiler_filter30 usage() { function
Drun_app_with_prefetch17 usage() { function
/frameworks/native/services/inputflinger/host/
DInputDriver.cpp66 input_usage_t usage; member
166 input_collection_id_t id, input_usage_t usage, int32_t min, int32_t max, in inputReportDefinitionDeclareUsageInt()
175 input_collection_id_t id, input_usage_t* usage, size_t usageCount) { in inputReportDefinitionDeclareUsagesBool()
200 input_usage_t usage, int32_t value, int32_t arity_index) { in inputReportSetUsageInt()
204 input_usage_t usage, bool value, int32_t arity_index) { in inputReportSetUsageBool()
335 input_usage_t usage, int32_t min, int32_t max, float resolution) { in input_report_definition_declare_usage_int()
342 input_usage_t* usage, size_t usage_count) { in input_report_definition_declare_usages_bool()
364 input_collection_id_t id, input_usage_t usage, int32_t value, int32_t arity_index) { in input_report_set_usage_int()
370 input_collection_id_t id, input_usage_t usage, bool value, int32_t arity_index) { in input_report_set_usage_bool()
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp51 C2MemoryUsage C2AndroidMemoryUsage::FromGrallocUsage(uint64_t usage) { in FromGrallocUsage()
140 uint32_t width, uint32_t height, uint32_t format, uint64_t usage, in WrapAndMoveNativeHandle()
162 uint32_t width, uint32_t height, uint32_t format, uint64_t usage, in WrapNativeHandle()
212 uint64_t *usage, uint32_t *stride, in Import()
238 uint32_t width, uint32_t height, uint32_t format, uint64_t usage, uint32_t stride, in WrapNativeCodec2GrallocHandle()
339 C2Rect rect, C2MemoryUsage usage, C2Fence *fence, in map()
678 uint32_t *width, uint32_t *height, uint32_t *format,uint64_t *usage, uint32_t *stride, in _UnwrapNativeCodec2GrallocMetadata()
693 uint32_t width, uint32_t height, uint32_t format, const C2MemoryUsage &usage, in newGraphicAllocation()
772 uint32_t width, uint32_t height, uint32_t format, C2MemoryUsage usage, in newGraphicAllocation()
DC2AllocatorBlob.cpp37 uint64_t usage, igbp_id; in GetCapacityFromHandle() local
81 c2_status_t C2AllocationBlob::map(size_t offset, size_t size, C2MemoryUsage usage, in map()
110 uint32_t capacity, C2MemoryUsage usage, std::shared_ptr<C2LinearAllocation>* allocation) { in newLinearAllocation()
/frameworks/base/core/jni/include/android_runtime/
Dandroid_hardware_HardwareBuffer.h44 uint64_t* outProducerUsage, uint64_t* outConsumerUsage, uint64_t usage, uint64_t) { in android_hardware_HardwareBuffer_convertToGrallocUsageBits() argument
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_named_buffer-test.cpp116 const uint64_t usage = AHARDWAREBUFFER_USAGE_VIDEO_ENCODE; in TEST() local
139 uint64_t usage = AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN | in TEST() local
217 uint64_t usage = AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN | in TEST() local
260 const uint64_t usage = AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN | in TEST() local
/frameworks/base/core/java/android/hardware/
DHardwareBuffer.java165 @Format int format, @IntRange(from = 1) int layers, @Usage long usage) { in create()
203 @Format int format, @IntRange(from = 1) int layers, @Usage long usage) { in isSupported()
415 long usage); in nCreateHardwareBuffer()
431 long usage); in nIsSupported()
/frameworks/base/tools/obbtool/
Dmkobb.sh148 usage() { function
/frameworks/base/media/java/android/media/
DAudioPlaybackCaptureConfiguration.java179 public @NonNull Builder addMatchingUsage(@AttributeUsage int usage) { in addMatchingUsage()
213 public @NonNull Builder excludeUsage(@AttributeUsage int usage) { in excludeUsage()
/frameworks/base/core/java/android/os/
DVibrationAttributes.java140 private VibrationAttributes(int usage, int flags, @NonNull AudioAttributes audio) { in VibrationAttributes()
248 public String usageToString(int usage) { in usageToString()
392 public @NonNull Builder setUsage(int usage) { in setUsage()
/frameworks/native/services/audiomanager/
DIAudioManager.cpp38 virtual audio_unique_id_t trackPlayer(player_type_t playerType, audio_usage_t usage, in trackPlayer()
69 virtual status_t playerAttributes(audio_unique_id_t piid, audio_usage_t usage, in playerAttributes()
/frameworks/rs/cpp/
DAllocation.cpp41 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) : in Allocation()
425 RsAllocationMipmapControl mipmaps, uint32_t usage) { in createTyped()
438 RsAllocationMipmapControl mipmaps, uint32_t usage, in createTyped()
453 uint32_t usage) { in createTyped()
458 size_t count, uint32_t usage) { in createSized()
467 size_t x, size_t y, uint32_t usage) { in createSized2D()

1234567891011