Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyDialogControllerTest.kt169 val usage = createMockPermGroupUsage() in <lambda>() constant
182 val usage = createMockPermGroupUsage() in <lambda>() constant
201 val usage = createMockPermGroupUsage() in <lambda>() constant
218 val usage = createMockPermGroupUsage() in <lambda>() constant
232 val usage = createMockPermGroupUsage() in <lambda>() constant
242 val usage = createMockPermGroupUsage( in <lambda>() constant
492 val usage = createMockPermGroupUsage() in <lambda>() constant
510 val usage = createMockPermGroupUsage() in <lambda>() constant
525 val usage = createMockPermGroupUsage() in <lambda>() constant
540 val usage = createMockPermGroupUsage() in <lambda>() constant
[all …]
/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 …]
DGraphicBufferAllocator.cpp112 uint32_t layerCount, uint64_t usage, in allocateHelper()
177 uint32_t layerCount, uint64_t usage, in allocate()
186 uint64_t usage, buffer_handle_t* handle, in allocateRawHandle()
194 uint32_t layerCount, uint64_t usage, in allocate() argument
DGralloc4.cpp73 PixelFormat format, uint32_t layerCount, uint64_t usage, in sBufferDescriptorInfo()
166 uint32_t layerCount, uint64_t usage, in validateBufferSize()
201 status_t Gralloc4Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock()
271 status_t Gralloc4Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock()
407 uint32_t layerCount, uint64_t usage, in isSupported()
639 uint32_t layerCount, uint64_t usage, in getDefault()
673 uint64_t usage, in getDefaultPixelFormatFourCC()
682 uint64_t usage, in getDefaultPixelFormatModifier()
691 uint64_t usage, in getDefaultAllocationSize()
700 uint64_t usage, in getDefaultProtectedContent()
[all …]
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/base/tools/xmlpersistence/src/main/kotlin/
DMain.kt43 private fun usage() { in usage() method
/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/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallRatTracker.java143 private void addProto(VoiceCallRatUsage usage) { in addProto()
150 VoiceCallRatUsage usage = new VoiceCallRatUsage(); in entryToProto() local
175 static Key fromProto(VoiceCallRatUsage usage) { in fromProto()
229 static Value fromProto(VoiceCallRatUsage usage) { in fromProto()
/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()
438 const uint64_t usage = AHardwareBuffer_convertToGrallocUsageBits(desc->usage); in AHardwareBuffer_createFromHandle() local
669 uint64_t AHardwareBuffer_convertToGrallocUsageBits(uint64_t usage) { in AHardwareBuffer_convertToGrallocUsageBits()
702 uint64_t AHardwareBuffer_convertFromGrallocUsageBits(uint64_t usage) { in AHardwareBuffer_convertFromGrallocUsageBits()
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/
DMain.kt69 fun usage() { in usage() method
/frameworks/base/startop/scripts/app_startup/
Dparse_metrics17 usage() { function
Dforce_compiler_filter30 usage() { function
Drun_app_with_prefetch17 usage() { function
/frameworks/base/core/jni/include/android_runtime/
Dandroid_hardware_HardwareBuffer.h49 uint64_t* outProducerUsage, uint64_t* outConsumerUsage, uint64_t usage, uint64_t) { in android_hardware_HardwareBuffer_convertToGrallocUsageBits() argument
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp54 C2MemoryUsage C2AndroidMemoryUsage::FromGrallocUsage(uint64_t usage) { in FromGrallocUsage()
143 uint32_t width, uint32_t height, uint32_t format, uint64_t usage, in WrapAndMoveNativeHandle()
165 uint32_t width, uint32_t height, uint32_t format, uint64_t usage, in WrapNativeHandle()
215 uint64_t *usage, uint32_t *stride, in Import()
241 uint32_t width, uint32_t height, uint32_t format, uint64_t usage, uint32_t stride, in WrapNativeCodec2GrallocHandle()
342 C2Rect c2Rect, C2MemoryUsage usage, C2Fence *fence, in map()
854 uint32_t *width, uint32_t *height, uint32_t *format,uint64_t *usage, uint32_t *stride, in _UnwrapNativeCodec2GrallocMetadata()
869 uint32_t width, uint32_t height, uint32_t format, const C2MemoryUsage &usage, in newGraphicAllocation()
948 uint32_t width, uint32_t height, uint32_t format, C2MemoryUsage usage, in newGraphicAllocation()
/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()
337 input_usage_t usage, int32_t min, int32_t max, float resolution) { in input_report_definition_declare_usage_int()
344 input_usage_t* usage, size_t usage_count) { in input_report_definition_declare_usages_bool()
366 input_collection_id_t id, input_usage_t usage, int32_t value, int32_t arity_index) { in input_report_set_usage_int()
372 input_collection_id_t id, input_usage_t usage, bool value, int32_t arity_index) { in input_report_set_usage_bool()
/frameworks/base/tools/obbtool/
Dmkobb.sh148 usage() { function
/frameworks/native/libs/renderengine/
DExternalTexture.cpp26 uint32_t usage) in ExternalTexture()
/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.java164 @Format int format, @IntRange(from = 1) int layers, @Usage long usage) { in create()
202 @Format int format, @IntRange(from = 1) int layers, @Usage long usage) { in isSupported()
414 long usage); in nCreateHardwareBuffer()
430 long usage); in nIsSupported()
/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/permission/
DPermissionUsageHelper.java319 OpUsage usage = usagesWithLabels.keyAt(usageNum); in getOpUsageData() local
394 OpUsage usage = new OpUsage(packageName, attributionTag, op, uid, in getOpUsages() local
446 OpUsage usage = usages.get(i); in getUniqueUsagesWithLabels() local
447 allUsages.put(usage.getPackageIdHash(), usage); in getUniqueUsagesWithLabels() local
449 proxies.put(usage.proxy.getPackageIdHash(), usage); in getUniqueUsagesWithLabels() local
455 OpUsage usage = usages.get(usageNum); in getUniqueUsagesWithLabels() local
643 public final OpUsage usage; field in PermissionUsageHelper.AccessChainLink
/frameworks/base/libs/usb/tests/accessorytest/
Daccessory.c24 static void usage(char* name) { in usage() function

12345678910>>...12