Home
last modified time | relevance | path

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

123

/frameworks/base/media/java/android/media/audiopolicy/
DAudioMixingRule.java122 dest.writeInt(mAttr.getUsage()); in writeToParcel()
388 if (criterion.mAttr.getUsage() == attrToMatch.getUsage()) { in addRuleInternal()
/frameworks/support/media-compat/java/android/support/v4/media/
DAudioAttributesCompat.java346 public @AttributeUsage int getUsage() { in getUsage() method in AudioAttributesCompat
350 return mAudioAttributesWrapper.unwrap().getUsage(); in getUsage()
699 return toVolumeStreamType(fromGetVolumeControlStream, aa.getFlags(), aa.getUsage()); in toVolumeStreamType()
772 && (mUsage == that.getUsage()) in equals()
/frameworks/base/core/java/android/webkit/
DWebStorage.java108 public long getUsage() { in getUsage() method in WebStorage.Origin
/frameworks/base/core/java/android/os/
DSystemVibrator.java84 return attributes != null ? attributes.getUsage() : AudioAttributes.USAGE_UNKNOWN; in usageForAttributes()
/frameworks/base/media/java/android/media/
DAudioAttributes.java363 public int getUsage() { in getUsage() method in AudioAttributes
978 switch (aa.getUsage()) { in toVolumeStreamType()
1008 throw new IllegalArgumentException("Unknown usage value " + aa.getUsage() + in toVolumeStreamType()
DPlayerBase.java265 mAttributes.getUsage(), in updateAppOpsPlayAudio_sync()
319 && (mAttributes.getUsage() == AudioAttributes.USAGE_ASSISTANCE_SONIFICATION)) { in isRestricted_sync()
DAudioPlaybackConfiguration.java235 .setUsage(in.mPlayerAttr.getUsage()) in anonymizedCopy()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dion_buffer.h83 return buffer_.get() ? static_cast<uint64_t>(buffer_->getUsage()) : 0; in usage()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp382 mProducerBuffers[pslot]->getUsage()); in dequeueBuffer()
426 if ((usage & ~buf->getUsage()) != 0 || in dequeueBuffer()
435 buf->getPixelFormat(), buf->getUsage()); in dequeueBuffer()
DComposerHal.cpp489 .usage = target->getUsage(), in setClientTarget()
604 .usage = buffer->getUsage(), in setLayerBuffer()
/frameworks/base/graphics/java/android/graphics/
DGraphicBuffer.java133 public int getUsage() { in getUsage() method in GraphicBuffer
/frameworks/base/core/java/android/hardware/
DHardwareBuffer.java226 public long getUsage() { in getUsage() method in HardwareBuffer
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Stream.h147 uint64_t getUsage() const;
/frameworks/base/core/jni/
Dandroid_hardware_HardwareBuffer.cpp144 return AHardwareBuffer_convertFromGrallocUsageBits(buffer->getUsage()); in android_hardware_HardwareBuffer_getUsage()
/frameworks/support/media-compat/tests/src/android/support/v4/media/
DAudioAttributesCompatTest.java117 assertThat(mMediaAAC.getUsage(), equalTo(AudioAttributesCompat.USAGE_MEDIA)); in testGetters()
/frameworks/native/libs/ui/include/ui/
DGraphicBuffer.h144 uint64_t getUsage() const { return usage; } in getUsage() function
/frameworks/base/libs/hwui/
DOpenGLReadback.cpp53 if (sourceBuffer->getUsage() & GRALLOC_USAGE_PROTECTED) { in copySurfaceInto()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h564 t->attr.usage = l.getUsage(); in wrapAs()
669 t->attr.anwBuffer.usage = l.mGraphicBuffer->getUsage(); in wrapAs()
/frameworks/base/core/jni/android/graphics/
DGraphicBuffer.cpp286 buffer->getPixelFormat(), (jint)buffer->getUsage(), reinterpret_cast<jlong>(wrapper)); in createJavaGraphicBuffer()
/frameworks/base/core/java/android/app/
DNotificationChannel.java694 out.attribute(null, ATT_USAGE, Integer.toString(getAudioAttributes().getUsage())); in writeXml()
753 record.put(ATT_USAGE, Integer.toString(getAudioAttributes().getUsage())); in toJson()
/frameworks/support/media-compat/api21/android/support/v4/media/session/
DMediaControllerCompatApi21.java233 switch (aa.getUsage()) { in toLegacyStreamType()
/frameworks/base/services/core/java/com/android/server/audio/
DPlaybackActivityMonitor.java196 apc.getAudioAttributes().getUsage() == AudioAttributes.USAGE_ALARM && in checkVolumeForPrivilegedAlarm()
496 final int playerUsage = apc.getAudioAttributes().getUsage(); in mutePlayersForCall()
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp105 outDesc->usage = AHardwareBuffer_convertFromGrallocUsageBits(gbuffer->getUsage()); in AHardwareBuffer_describe()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java374 proto.write(NotificationRecordProto.SOUND_USAGE, getAudioAttributes().getUsage()); in dump()
697 return attributes != null && attributes.getUsage() == usage; in isAudioAttributesUsage()
/frameworks/native/libs/gui/
DGLConsumer.cpp1226 buffer->getUsage(), buffer->getPixelFormat()); in createIfNeeded()
1243 (graphicBuffer->getUsage() & GRALLOC_USAGE_PROTECTED) && in createImage()

123