Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/media/
DAudioAttributes.java446 private int mUsage = USAGE_UNKNOWN; field in AudioAttributes
474 return mUsage; in getUsage()
515 return mUsage; in getSystemUsage()
586 private int mUsage = USAGE_UNKNOWN; field in AudioAttributes.Builder
611 mUsage = aa.mUsage; in Builder()
627 aa.mUsage = mUsage; in build()
680 mUsage = usage; in setUsage()
683 mUsage = USAGE_UNKNOWN; in setUsage()
829 mUsage = USAGE_UNKNOWN; in setInternalLegacyStreamType()
835 mUsage = attributes.mUsage; in setInternalLegacyStreamType()
[all …]
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.cpp46 mUsage = other.mUsage; in copyFrom()
121 switch (mUsage) { in validate()
137 ALOGD("usage not valid = %d", mUsage); in validate()
194 ALOGD("mUsage = %6d", mUsage); in dump()
DAAudioStreamParameters.h92 return mUsage; in getUsage()
96 mUsage = usage; in setUsage()
155 aaudio_usage_t mUsage = AAUDIO_UNSPECIFIED; variable
DAudioStream.h218 return mUsage; in getUsage()
522 mUsage = usage; in setUsage()
564 aaudio_usage_t mUsage = AAUDIO_UNSPECIFIED; variable
DAudioStream.cpp78 mUsage = builder.getUsage(); in open()
79 if (mUsage == AAUDIO_UNSPECIFIED) { in open()
80 mUsage = AAUDIO_USAGE_MEDIA; in open()
/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.java55 private final int mUsage; field in GraphicBuffer
94 mUsage = usage; in GraphicBuffer()
138 return mUsage; in getUsage()
277 dest.writeInt(mUsage); in writeToParcel()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioArgsParser.h160 return mUsage; in getUsage()
164 mUsage = usage; in setUsage()
231 s_setUsage(builder, mUsage); in applyParameters()
232 } else if (mUsage != AAUDIO_UNSPECIFIED){ in applyParameters()
237 } else if (mUsage != AAUDIO_UNSPECIFIED){ in applyParameters()
242 } else if (mUsage != AAUDIO_UNSPECIFIED){ in applyParameters()
266 aaudio_usage_t mUsage = AAUDIO_UNSPECIFIED; variable
/frameworks/av/media/libaudioclient/
DAudioPolicy.cpp34 mValue.mUsage = usage; in AudioMixMatchCriterion()
46 mValue.mUsage = (audio_usage_t) parcel->readInt32(); in readFromParcel()
66 parcel->writeInt32(mValue.mUsage); in writeToParcel()
/frameworks/base/core/jni/
Dandroid_media_AudioAttributes.cpp44 jfieldID mUsage; // AudioAttributes.mUsage member
90 aa->usage = (audio_usage_t) env->GetIntField(jAudioAttributes, gAudioAttributesFields.mUsage); in nativeAudioAttributesFromJavaAudioAttributes()
171 gAudioAttributesFields.mUsage = GetFieldIDOrDie(env, audioAttributesClass, "mUsage", "I"); in register_android_media_AudioAttributes()
/frameworks/base/rs/java/android/renderscript/
DMesh.java197 int mUsage; field in Mesh.Builder
221 mUsage = usage; in Builder()
369 alloc = Allocation.createTyped(mRS, entry.t, mUsage); in create()
371 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); in create()
384 alloc = Allocation.createTyped(mRS, entry.t, mUsage); in create()
386 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 …]
/frameworks/base/services/core/java/com/android/server/audio/
DAudioServiceEvents.java73 final int mUsage; field in AudioServiceEvents.ForceUseEvent
78 mUsage = usage; in ForceUseEvent()
86 .append(AudioSystem.forceUseUsageToString(mUsage)) in eventToString()
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp352 mUsage(usage), in ImageReaderTestCase()
371 mWidth, mHeight, mFormat, mUsage, mMaxImages, &mImgReader); in initImageReader()
483 if ((outDesc.usage & mUsage) != mUsage) { in HandleImageAvailable()
485 outDesc.usage, mUsage); in HandleImageAvailable()
492 if (mUsage & AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN) { in HandleImageAvailable()
524 uint64_t mUsage; member in __anon511359ea0111::ImageReaderTestCase
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Stream.cpp60 mUsage(0), in Camera3Stream()
119 return mUsage; in getUsage()
123 mUsage = usage; in setUsage()
253 mOldUsage = mUsage; in startConfiguration()
258 res = getEndpointUsage(&mUsage); in startConfiguration()
330 mOldUsage == mUsage && in finishConfiguration()
391 mUsage = mOldUsage; in cancelConfiguration()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp55 UsageTypeConverter::toString(criterion.mValue.mUsage, ruleValue); in dump()
259 mix->mCriteria[j].mValue.mUsage); in mixMatch()
261 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in mixMatch()
268 mix->mCriteria[j].mValue.mUsage); in mixMatch()
270 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in mixMatch()
/frameworks/base/libs/hwui/renderthread/
DReliableSurface.cpp73 mUsage = va_arg(args, uint32_t); in perform()
76 mUsage = va_arg(args, uint64_t); in perform()
213 desc.usage = mUsage; in acquireFallbackBuffer()
DReliableSurface.h51 uint64_t mUsage = AHARDWAREBUFFER_USAGE_GPU_FRAMEBUFFER; variable
/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()
/frameworks/av/media/ndk/
DNdkImageReader.cpp269 mUsage(usage), in AImageReader()
285 mHalUsage = AHardwareBuffer_convertToGrallocUsageBits(mUsage); in init()
292 mWidth, mHeight, mFormat, mUsage, mMaxImages, getpid(), in init()
323 if (mUsage & AHARDWAREBUFFER_USAGE_PROTECTED_CONTENT) { in init()
487 *image = new AImage(this, mFormat, mUsage, buffer, buffer->mTimestamp, in acquireImageLocked()
490 *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()
166 if ((mUsage & AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN) == 0) { in lockImage()
168 __FUNCTION__, this, mUsage); in lockImage()
179 uint64_t grallocUsage = AHardwareBuffer_convertToGrallocUsageBits(mUsage); in lockImage()
/frameworks/av/media/codec2/sfplugin/
DInputSurfaceWrapper.h81 uint64_t mUsage; // consumer usage member
/frameworks/av/media/libaudioclient/include/media/
DAudioPolicy.h73 audio_usage_t mUsage; member
/frameworks/rs/support/java/src/androidx/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()

12