/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMixingRule.java | 144 dest.writeInt(mAttr.getUsage()); in writeToParcel() 169 && criterion.mAttr.getUsage() == usage) { in isAffectingUsage() 186 && criterion.mAttr.getUsage() == usage) { in containsMatchAttributeRuleForUsage() 535 if (criterion.mAttr.getUsage() == attrToMatch.getUsage()) { in addRuleInternal()
|
/frameworks/base/media/java/android/media/ |
D | AudioPlaybackCaptureConfiguration.java | 96 criterion -> criterion.getAudioAttributes().getUsage()); in getMatchingUsages() 109 criterion -> criterion.getAudioAttributes().getUsage()); in getExcludeUsages()
|
D | PlayerBase.java | 299 mAttributes.getUsage(), in updateAppOpsPlayAudio_sync() 356 && (mAttributes.getUsage() == AudioAttributes.USAGE_ASSISTANCE_SONIFICATION)) { in isRestricted_sync()
|
D | AudioAttributes.java | 533 public int getUsage() { in getUsage() method in AudioAttributes 1392 switch (aa.getUsage()) { in toVolumeStreamType() 1426 throw new IllegalArgumentException("Unknown usage value " + aa.getUsage() + in toVolumeStreamType()
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceEndpoint.cpp | 60 result << " Usage: " << getUsage() << "\n"; in dump() 178 ? AAudioConvert_usageToInternal(params->getUsage()) in getAudioAttributesFrom()
|
/frameworks/base/core/java/android/webkit/ |
D | WebStorage.java | 108 public long getUsage() { in getUsage() method in WebStorage.Origin
|
/frameworks/base/libs/hostgraphics/ui/ |
D | GraphicBuffer.h | 40 uint64_t getUsage() const { return 0; } in getUsage() function
|
/frameworks/base/core/java/android/os/ |
D | VibrationAttributes.java | 158 public int getUsage() { in getUsage() method in VibrationAttributes 339 switch (audio.getUsage()) { in setUsage()
|
D | ExternalVibration.java | 169 out.writeInt(attrs.getUsage()); in writeAudioAttributes()
|
/frameworks/av/media/libaaudio/src/core/ |
D | AAudioStreamParameters.h | 91 aaudio_usage_t getUsage() const { in getUsage() function
|
D | AudioStream.cpp | 80 mUsage = builder.getUsage(); in open() 545 init(android::PLAYER_TYPE_AAUDIO, AAudioConvert_usageToInternal(mParent->getUsage())); in registerWithAudioManager()
|
D | AudioStreamBuilder.cpp | 276 getUsage(), getContentType(), getInputPreset(), getAllowedCapturePolicy()); in logParameters()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | ThumbnailData.java | 67 if (buffer == null || (buffer.getUsage() & HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE) == 0) { in ThumbnailData()
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | ion_buffer.h | 87 return buffer_.get() ? static_cast<uint64_t>(buffer_->getUsage()) : 0; in usage()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | VirtualDisplaySurface.cpp | 362 mProducerBuffers[pslot]->getUsage()); in dequeueBuffer() 406 if ((usage & ~buf->getUsage()) != 0 || in dequeueBuffer() 415 buf->getPixelFormat(), buf->getUsage()); in dequeueBuffer()
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioArgsParser.h | 172 aaudio_usage_t getUsage() const { in getUsage() function 545 getUsage(), s_getUsage(stream)); in compareWithStream()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeFiltering.java | 271 return aa != null && AudioAttributes.SUPPRESSIBLE_USAGES.get(aa.getUsage()) == in isMedia() 277 return aa != null && AudioAttributes.SUPPRESSIBLE_USAGES.get(aa.getUsage()) == in isSystem()
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AAudioStreamConfiguration.cpp | 59 status = parcel->writeInt32((int32_t) getUsage()); in writeToParcel()
|
/frameworks/base/graphics/java/android/graphics/ |
D | GraphicBuffer.java | 146 public int getUsage() { in getUsage() method in GraphicBuffer
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3Stream.h | 160 uint64_t getUsage() const;
|
/frameworks/base/services/core/java/com/android/server/ |
D | VibratorService.java | 272 return VibratorService.this.isHapticFeedback(attrs.getUsage()); in isHapticFeedback() 276 return VibratorService.this.isNotification(attrs.getUsage()); in isNotification() 280 return VibratorService.this.isRingtone(attrs.getUsage()); in isRingtone() 284 return VibratorService.this.isAlarm(attrs.getUsage()); in isAlarm() 972 int usage = vib.attrs.getUsage(); in isAllowedToVibrateLocked() 1071 vib.attrs.getAudioAttributes().getUsage(), vib.uid, vib.opPkg); in getAppOpMode() 1814 final int usage = vib.getVibrationAttributes().getUsage(); in onExternalVibrationStart()
|
/frameworks/native/libs/ui/ |
D | GraphicBufferMapper.cpp | 227 status_t GraphicBufferMapper::getUsage(buffer_handle_t bufferHandle, uint64_t* outUsage) { in getUsage() function in android::GraphicBufferMapper 228 return mMapper->getUsage(bufferHandle, outUsage); in getUsage()
|
/frameworks/base/core/jni/ |
D | android_hardware_HardwareBuffer.cpp | 166 return AHardwareBuffer_convertFromGrallocUsageBits(buffer->getUsage()); in android_hardware_HardwareBuffer_getUsage()
|
/frameworks/base/core/java/android/hardware/ |
D | HardwareBuffer.java | 308 public long getUsage() { in getUsage() method in HardwareBuffer
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternal.cpp | 122 request.getConfiguration().setUsage(getUsage()); in open() 168 setUsage(configurationOutput.getUsage()); in open()
|