Home
last modified time | relevance | path

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

12345678910>>...30

/aosp12/packages/services/Car/service/src/com/android/car/audio/hal/
H A DHalAudioFocus.java92 public void requestAudioFocus(@AttributeUsage int usage, int zoneId, int focusGain) { in requestAudioFocus()
117 public void abandonAudioFocus(@AttributeUsage int usage, int zoneId) { in abandonAudioFocus()
141 int usage = requestsByUsage.keyAt(j); in reset() local
183 int usage = requestsByUsage.keyAt(j); in dump() local
194 private void abandonAudioFocusLocked(int usage, int zoneId) { in abandonAudioFocusLocked()
220 private AudioAttributes generateAudioAttributes(int usage, int zoneId) { in generateAudioAttributes()
234 private AudioFocusRequest generateFocusRequestLocked(int usage, int zoneId, int focusGain) { in generateFocusRequestLocked()
244 private void onAudioFocusChange(int usage, int zoneId, int focusChange) { in onAudioFocusChange()
260 private void makeAudioFocusRequestLocked(@AttributeUsage int usage, int zoneId, int focusGain) { in makeAudioFocusRequestLocked()
H A DHalFocusListener.java30 void requestAudioFocus(@AttributeUsage int usage, int zoneId, int focusGain); in requestAudioFocus()
37 void abandonAudioFocus(@AttributeUsage int usage, int zoneId); in abandonAudioFocus()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
H A DPrivacyDialogControllerTest.kt175 val usage = createMockPermGroupUsage() regex
188 val usage = createMockPermGroupUsage() regex
207 val usage = createMockPermGroupUsage() regex
224 val usage = createMockPermGroupUsage() regex
238 val usage = createMockPermGroupUsage() regex
248 val usage = createMockPermGroupUsage( regex
498 val usage = createMockPermGroupUsage() regex
516 val usage = createMockPermGroupUsage() regex
531 val usage = createMockPermGroupUsage() regex
546 val usage = createMockPermGroupUsage() regex
[all …]
/aosp12/frameworks/native/libs/vr/libbufferhub/
H A 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()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/sound/
H A DVolumeSettingsRingtoneManager.java72 @AudioAttributes.AttributeUsage int usage = audioAttributeUsages[i]; in populateAttributeUsageToRingtoneUriMap() local
87 public void playAudioFeedback(int group, int usage) { in playAudioFeedback()
115 private Ringtone lazyLoadRingtone(int group, int usage) { in lazyLoadRingtone()
129 Uri getRingtoneUri(@AudioAttributes.AttributeUsage int usage) { in getRingtoneUri()
/aosp12/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp87 PixelFormat format, uint64_t usage, uint32_t stride, in importBuffer()
133 status_t GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, uint32_t usage, in lockYCbCr()
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()
330 uint64_t usage, in getDefaultProtectedContent()
344 uint64_t usage, in getDefaultCompression()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/appop/
H A 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
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
H A DAudioTransientPlayersFragment.java88 int usage = TRANSIENT_SOUND_USAGES.get(index); in initPlayers() local
93 private AudioPlayer getCarSoundsPlayer(int usage) { in getCarSoundsPlayer()
98 private int getPlayerResource(int usage) { in getPlayerResource()
/aosp12/hardware/google/gchips/gralloc4/src/core/
H A Dmali_gralloc_formats.cpp77 static uint16_t get_vpu_consumer(uint64_t usage) in get_vpu_consumer()
104 static uint16_t get_consumers(uint64_t usage) in get_consumers()
170 static uint16_t get_vpu_producer(uint64_t usage) in get_vpu_producer()
197 static uint16_t get_producers(uint64_t usage) in get_producers()
399 const uint64_t usage, in mali_gralloc_adjust_dimensions()
577 const uint64_t usage, in is_format_supported()
791 const uint64_t usage, in get_afbc_format()
992 const uint64_t usage, in get_supported_format()
1239 const uint64_t usage, in get_best_format()
1376 const uint64_t usage, in get_base_format()
[all …]
/aosp12/hardware/google/gchips/gralloc3/src/
H A Dmali_gralloc_bufferaccess.cpp52 static enum tx_direction get_tx_direction(const uint64_t usage) in get_tx_direction()
77 const uint64_t usage = hnd->producer_usage | hnd->consumer_usage; in buffer_sync() local
160 uint64_t usage) in validate_lock_input_parameters()
282 uint64_t usage, int l, int t, int w, int h, void **vaddr) in mali_gralloc_lock()
388 const uint64_t usage, const int l, const int t, in mali_gralloc_lock_ycbcr()
592 uint64_t usage, int l, int t, int w, int h, in mali_gralloc_lock_async()
622 const buffer_handle_t buffer, const uint64_t usage, in mali_gralloc_lock_ycbcr_async()
679 static int get_flexlayout_exynos_formats_only (int base_format, uint64_t usage, in get_flexlayout_exynos_formats_only()
1013 const uint64_t usage, const int l, const int t, in mali_gralloc_lock_flex_async()
/aosp12/hardware/qcom/display/msm8994/libgralloc/
H A 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()
H A 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()
/aosp12/hardware/interfaces/automotive/audiocontrol/aidl/aidl_api/android.hardware.automotive.audiocontrol/1/android/hardware/automotive/audiocontrol/
H A 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()
/aosp12/hardware/interfaces/automotive/audiocontrol/aidl/aidl_api/android.hardware.automotive.audiocontrol/current/android/hardware/automotive/audiocontrol/
H A 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()
/aosp12/hardware/interfaces/automotive/audiocontrol/aidl/android/hardware/automotive/audiocontrol/
H A 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()
/aosp12/hardware/qcom/display/msm8084/libgralloc/
H A 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()
H A 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()
/aosp12/hardware/qcom/display/msm8226/libgralloc/
H A 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()
H A 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()
/aosp12/hardware/qcom/sm7250/display/gralloc/
H A 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()
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()
1014 uint64_t usage = info.usage; in GetAlignedWidthAndHeight() local
1289 bool UseUncached(int format, uint64_t usage) { in UseUncached()
[all …]
/aosp12/hardware/qcom/sm8150/display/gralloc/
H A 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()
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()
975 uint64_t usage = info.usage; in GetAlignedWidthAndHeight() local
1239 bool UseUncached(int format, uint64_t usage) { in UseUncached()
[all …]
/aosp12/hardware/google/gchips/libvendorgraphicbuffer/gralloc3/
H A Dvendor_graphicbuffer_mapper.cpp23 status_t VendorGraphicBufferMapper::lock64(buffer_handle_t handle, uint64_t usage, const Rect& boun… in lock64()
31 uint64_t usage, const Rect& bounds, android_ycbcr *ycbcr) in lockYCbCr64()
/aosp12/hardware/qcom/display/msm8909w_3100/libgralloc/
H A 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()
/aosp12/hardware/qcom/display/msm8960/libgralloc/
H A 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()
/aosp12/hardware/qcom/display/msm8996/libgralloc/
H A 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()

12345678910>>...30