Home
last modified time | relevance | path

Searched refs:mUsage (Results 1 – 21 of 21) sorted by relevance

/frameworks/support/media-compat/java/android/support/v4/media/
DAudioAttributesCompat.java230 int mUsage = USAGE_UNKNOWN; field in AudioAttributesCompat
304 return toVolumeStreamType(false, mFlags, mUsage); in getLegacyStreamType()
352 return mUsage; in getUsage()
397 private int mUsage = USAGE_UNKNOWN; field in AudioAttributesCompat.Builder
420 mUsage = aa.mUsage; in Builder()
445 .setUsage(mUsage); in build()
457 aac.mUsage = mUsage; in build()
504 mUsage = usage; in setUsage()
508 mUsage = usage; in setUsage()
510 mUsage = USAGE_ASSISTANCE_NAVIGATION_GUIDANCE; in setUsage()
[all …]
/frameworks/base/media/java/android/media/
DAudioAttributes.java339 private int mUsage = USAGE_UNKNOWN; field in AudioAttributes
363 return mUsage; in getUsage()
440 private int mUsage = USAGE_UNKNOWN; field in AudioAttributes.Builder
464 mUsage = aa.mUsage; in Builder()
479 aa.mUsage = mUsage; in build()
529 mUsage = usage; in setUsage()
532 mUsage = USAGE_UNKNOWN; in setUsage()
558 mUsage = CONTENT_TYPE_UNKNOWN; in setContentType()
681 mUsage = usageForStreamType(streamType); in setInternalLegacyStreamType()
757 dest.writeInt(mUsage); in writeToParcel()
[all …]
DMediaPlayer.java632 private int mUsage = -1; field in MediaPlayer
2099 mUsage = attributes.getUsage(); in setAudioAttributes()
/frameworks/base/core/java/android/webkit/
DWebStorage.java67 private long mUsage = 0; field in WebStorage.Origin
74 mUsage = usage; in Origin()
109 return mUsage; in getUsage()
/frameworks/base/graphics/java/android/graphics/
DGraphicBuffer.java54 private final int mUsage; field in GraphicBuffer
91 mUsage = usage; in GraphicBuffer()
134 return mUsage; in getUsage()
273 dest.writeInt(mUsage); in writeToParcel()
/frameworks/av/media/libaudioclient/
DAudioPolicy.cpp34 mValue.mUsage = usage; in AudioMixMatchCriterion()
45 mValue.mUsage = (audio_usage_t)parcel->readInt32(); in readFromParcel()
55 parcel->writeInt32(mValue.mUsage); in writeToParcel()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp86 if (!UsageTypeConverter::toString(criterion.mValue.mUsage, usageLiteral)) { in dump()
87 ALOGE("%s: failed to convert usage %d", __FUNCTION__, criterion.mValue.mUsage); in dump()
209 mix->mCriteria[j].mValue.mUsage); in getOutputForAttr()
211 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in getOutputForAttr()
218 mix->mCriteria[j].mValue.mUsage); in getOutputForAttr()
220 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in getOutputForAttr()
/frameworks/base/rs/java/android/renderscript/
DMesh.java192 int mUsage; field in Mesh.Builder
216 mUsage = usage; in Builder()
364 alloc = Allocation.createTyped(mRS, entry.t, mUsage); in create()
366 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); in create()
379 alloc = Allocation.createTyped(mRS, entry.t, mUsage); in create()
381 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); in create()
DAllocation.java63 int mUsage; field in Allocation
285 return mUsage; in getUsage()
406 mUsage = usage; in Allocation()
537 if ((mUsage & USAGE_SHARED) != 0) { in syncAll()
545 if ((mUsage & USAGE_SHARED) != 0) { in syncAll()
569 if ((mUsage & USAGE_IO_OUTPUT) == 0) { in ioSend()
588 if ((mUsage & USAGE_IO_INPUT) == 0) { in ioReceive()
2861 if (mByteBuffer == null || (mUsage & USAGE_IO_INPUT) != 0) { in getByteBuffer()
2867 if ((mUsage & USAGE_IO_INPUT) != 0) { in getByteBuffer()
2955 if ((mUsage & USAGE_IO_INPUT) == 0) { in setupBufferQueue()
[all …]
DAllocationAdapter.java27 super(id, rs, alloc.mType, alloc.mUsage); in AllocationAdapter()
/frameworks/rs/cpp/
DAllocation.cpp67 mUsage = usage; in Allocation()
170 if (!(mUsage & RS_ALLOCATION_USAGE_SHARED)) { in getPointer()
478 if ((mUsage & RS_ALLOCATION_USAGE_IO_OUTPUT) == 0) { in ioSendOutput()
488 if ((mUsage & RS_ALLOCATION_USAGE_IO_INPUT) == 0) { in ioGetInput()
500 if ((mUsage & RS_ALLOCATION_USAGE_IO_INPUT) == 0) { in getSurface()
511 if ((mUsage & RS_ALLOCATION_USAGE_IO_OUTPUT) == 0) { in setSurface()
DrsCppStructs.h576 uint32_t mUsage; variable
/frameworks/av/media/ndk/
DNdkImageReader.cpp246 mUsage(usage), in AImageReader()
257 mHalUsage = android_hardware_HardwareBuffer_convertToGrallocUsageBits(mUsage); in init()
264 mWidth, mHeight, mFormat, mUsage, mMaxImages, getpid(), in init()
440 *image = new AImage(this, mFormat, mUsage, buffer, buffer->mTimestamp, in acquireImageLocked()
443 *image = new AImage(this, mFormat, mUsage, buffer, buffer->mTimestamp, in acquireImageLocked()
DNdkImagePriv.h77 const uint64_t mUsage; // AHARDWAREBUFFER_USAGE_* flags. member
DNdkImage.cpp36 mReader(reader), mFormat(format), mUsage(usage), mBuffer(buffer), mLockedBuffer(nullptr), in AImage()
179 if ((mUsage & AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN) == 0) { in lockImage()
181 __FUNCTION__, this, mUsage); in lockImage()
192 uint64_t grallocUsage = android_hardware_HardwareBuffer_convertToGrallocUsageBits(mUsage); in lockImage()
DNdkImageReaderPriv.h119 const uint64_t mUsage; // AHARDWAREBUFFER_USAGE_* flags. member
/frameworks/av/media/libaudioclient/include/media/
DAudioPolicy.h68 audio_usage_t mUsage; member
/frameworks/av/include/media/
DAudioPolicy.h68 audio_usage_t mUsage; member
/frameworks/rs/support/java/src/android/support/v8/renderscript/
DAllocation.java61 int mUsage; field in Allocation
264 return mUsage; in getUsage()
371 mUsage = usage; in Allocation()
498 if ((mUsage & USAGE_IO_OUTPUT) == 0) { in ioSend()
549 if (mByteBuffer == null || (mUsage & USAGE_IO_INPUT) != 0) { in getByteBuffer()
582 if ((mUsage & USAGE_IO_INPUT) == 0) { in ioReceive()
2729 if ((mUsage & USAGE_IO_OUTPUT) == 0) { in setSurface()
3026 if ((mUsage & (USAGE_IO_INPUT | USAGE_IO_OUTPUT)) != 0) { in destroy()
/frameworks/av/media/libstagefright/codec2/include/
DC2Buffer.h1747 inline const C2MemoryUsage usage() const { return mUsage; } in usage()
1763 C2MemoryUsage mUsage; variable
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp142 jfieldID mUsage; member
1683 nCriterion.mValue.mUsage = (audio_usage_t)env->GetIntField(jAttributes, in convertAudioMixToNative()
1684 gAudioAttributesFields.mUsage); in convertAudioMixToNative()
1962 gAudioAttributesFields.mUsage = GetFieldIDOrDie(env, audioAttributesClass, "mUsage", "I"); in register_android_media_AudioSystem()