Home
last modified time | relevance | path

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

12

/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/base/core/java/android/webkit/
DWebStorage.java108 public long getUsage() { in getUsage() method in WebStorage.Origin
/frameworks/base/media/java/android/media/
DAudioAttributes.java274 public int getUsage() { in getUsage() method in AudioAttributes
854 switch (aa.getUsage()) { in toVolumeStreamType()
882 throw new IllegalArgumentException("Unknown usage value " + aa.getUsage() + in toVolumeStreamType()
DPlayerBase.java150 mAttributes.getUsage(), in updateAppOpsPlayAudio_sync()
DSoundPool.java534 mAttributes.getUsage(), in updateAppOpsPlayAudio()
DMediaPlayer.java1779 mUsage = attributes.getUsage(); in setAudioAttributes()
/frameworks/base/core/java/android/os/
DSystemVibrator.java100 return attributes != null ? attributes.getUsage() : AudioAttributes.USAGE_UNKNOWN; in usageForAttributes()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp377 mProducerBuffers[pslot]->getUsage()); in dequeueBuffer()
417 if ((usage & ~buf->getUsage()) != 0 || in dequeueBuffer()
426 buf->getPixelFormat(), buf->getUsage()); in dequeueBuffer()
/frameworks/base/core/java/android/view/
DGraphicBuffer.java123 public int getUsage() { in getUsage() method in GraphicBuffer
/frameworks/base/libs/hwui/
DReadback.cpp116 if (sourceBuffer->getUsage() & GRALLOC_USAGE_PROTECTED) { in copySurfaceInto()
/frameworks/native/include/ui/
DGraphicBuffer.h92 uint32_t getUsage() const { return static_cast<uint32_t>(usage); } in getUsage() function
/frameworks/support/v4/api21/android/support/v4/media/session/
DMediaControllerCompatApi21.java218 switch (aa.getUsage()) { in toLegacyStreamType()
/frameworks/native/libs/gui/
DGLConsumer.cpp1200 buffer->getUsage(), buffer->getPixelFormat()); in createIfNeeded()
1217 (graphicBuffer->getUsage() & GRALLOC_USAGE_PROTECTED) && in createImage()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java430 return attributes != null && attributes.getUsage() == usage; in isAudioAttributesUsage()
/frameworks/base/rs/java/android/renderscript/
DAllocation.java284 public int getUsage() { in getUsage() method in Allocation
2933 int usage = alloc.getUsage(); in createFromAllocation()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DAllocation.java263 public int getUsage() { in getUsage() method in Allocation
/frameworks/base/core/java/android/hardware/
DCamera.java1046 if ((previewAllocation.getUsage() & in setPreviewCallbackAllocation()
/frameworks/native/services/surfaceflinger/
DLayer.cpp1231 (activeBuffer->getUsage() & GRALLOC_USAGE_PROTECTED);
/frameworks/support/v8/renderscript/api/
Dcurrent.txt79 method public int getUsage();
D23.1.0.txt77 method public int getUsage();
D23.0.0.txt77 method public int getUsage();
D23.1.1.txt77 method public int getUsage();
/frameworks/base/api/
Dcurrent.txt15809 method public static final android.icu.lang.UScript.ScriptUsage getUsage(int);
19428 method public int getUsage();
33094 method public int getUsage();
45470 method public long getUsage();
Dsystem-current.txt17010 method public static final android.icu.lang.UScript.ScriptUsage getUsage(int);
20917 method public int getUsage();
35802 method public int getUsage();
48566 method public long getUsage();
Dtest-current.txt15822 method public static final android.icu.lang.UScript.ScriptUsage getUsage(int);
19497 method public int getUsage();
33170 method public int getUsage();
45549 method public long getUsage();

12