Home
last modified time | relevance | path

Searched refs:getUsage (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/base/media/java/android/media/audiopolicy/
DAudioMixingRule.java144 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/
DAudioPlaybackCaptureConfiguration.java96 criterion -> criterion.getAudioAttributes().getUsage()); in getMatchingUsages()
109 criterion -> criterion.getAudioAttributes().getUsage()); in getExcludeUsages()
DPlayerBase.java299 mAttributes.getUsage(), in updateAppOpsPlayAudio_sync()
356 && (mAttributes.getUsage() == AudioAttributes.USAGE_ASSISTANCE_SONIFICATION)) { in isRestricted_sync()
DAudioAttributes.java533 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/
DAAudioServiceEndpoint.cpp60 result << " Usage: " << getUsage() << "\n"; in dump()
178 ? AAudioConvert_usageToInternal(params->getUsage()) in getAudioAttributesFrom()
/frameworks/base/core/java/android/webkit/
DWebStorage.java108 public long getUsage() { in getUsage() method in WebStorage.Origin
/frameworks/base/libs/hostgraphics/ui/
DGraphicBuffer.h40 uint64_t getUsage() const { return 0; } in getUsage() function
/frameworks/base/core/java/android/os/
DVibrationAttributes.java158 public int getUsage() { in getUsage() method in VibrationAttributes
339 switch (audio.getUsage()) { in setUsage()
DExternalVibration.java169 out.writeInt(attrs.getUsage()); in writeAudioAttributes()
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.h91 aaudio_usage_t getUsage() const { in getUsage() function
DAudioStream.cpp80 mUsage = builder.getUsage(); in open()
545 init(android::PLAYER_TYPE_AAUDIO, AAudioConvert_usageToInternal(mParent->getUsage())); in registerWithAudioManager()
DAudioStreamBuilder.cpp276 getUsage(), getContentType(), getInputPreset(), getAllowedCapturePolicy()); in logParameters()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.java67 if (buffer == null || (buffer.getUsage() & HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE) == 0) { in ThumbnailData()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dion_buffer.h87 return buffer_.get() ? static_cast<uint64_t>(buffer_->getUsage()) : 0; in usage()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp362 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/
DAAudioArgsParser.h172 aaudio_usage_t getUsage() const { in getUsage() function
545 getUsage(), s_getUsage(stream)); in compareWithStream()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java271 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/
DAAudioStreamConfiguration.cpp59 status = parcel->writeInt32((int32_t) getUsage()); in writeToParcel()
/frameworks/base/graphics/java/android/graphics/
DGraphicBuffer.java146 public int getUsage() { in getUsage() method in GraphicBuffer
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Stream.h160 uint64_t getUsage() const;
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java272 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/
DGraphicBufferMapper.cpp227 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/
Dandroid_hardware_HardwareBuffer.cpp166 return AHardwareBuffer_convertFromGrallocUsageBits(buffer->getUsage()); in android_hardware_HardwareBuffer_getUsage()
/frameworks/base/core/java/android/hardware/
DHardwareBuffer.java308 public long getUsage() { in getUsage() method in HardwareBuffer
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp122 request.getConfiguration().setUsage(getUsage()); in open()
168 setUsage(configurationOutput.getUsage()); in open()

123