/frameworks/base/core/java/android/os/ |
D | VibrationAttributes.java | 135 private final int mUsage; field in VibrationAttributes 141 mUsage = usage; in VibrationAttributes() 151 return mUsage & USAGE_CLASS_MASK; in getUsageClass() 159 return mUsage; in getUsage() 196 dest.writeInt(mUsage); in writeToParcel() 202 mUsage = src.readInt(); in VibrationAttributes() 227 return mUsage == rhs.mUsage && mFlags == rhs.mFlags; in equals() 232 return Objects.hash(mUsage, mFlags); in hashCode() 244 return usageToString(mUsage); in usageToString() 276 private int mUsage = USAGE_UNKNOWN; field in VibrationAttributes.Builder [all …]
|
/frameworks/base/media/java/android/media/ |
D | AudioAttributes.java | 506 private int mUsage = USAGE_UNKNOWN; field in AudioAttributes 534 if (isSystemUsage(mUsage)) { in getUsage() 537 return mUsage; in getUsage() 548 return mUsage; in getSystemUsage() 650 private int mUsage = USAGE_INVALID; field in AudioAttributes.Builder 681 mUsage = aa.mUsage; in Builder() 698 if (mUsage == USAGE_INVALID) { in build() 700 aa.mUsage = USAGE_UNKNOWN; in build() 702 aa.mUsage = mSystemUsage; in build() 706 aa.mUsage = mUsage; in build() [all …]
|
/frameworks/av/media/libaaudio/src/core/ |
D | AAudioStreamParameters.cpp | 46 mUsage = other.mUsage; in copyFrom() 122 switch (mUsage) { in validate() 142 ALOGD("usage not valid = %d", mUsage); in validate() 199 ALOGD("mUsage = %6d", mUsage); in dump()
|
D | AAudioStreamParameters.h | 92 return mUsage; in getUsage() 96 mUsage = usage; in setUsage() 163 aaudio_usage_t mUsage = AAUDIO_UNSPECIFIED; variable
|
D | AudioStream.h | 240 return mUsage; in getUsage() 548 mUsage = usage; in setUsage() 599 aaudio_usage_t mUsage = AAUDIO_UNSPECIFIED; variable
|
D | AudioStream.cpp | 80 mUsage = builder.getUsage(); in open() 81 if (mUsage == AAUDIO_UNSPECIFIED) { in open() 82 mUsage = AAUDIO_USAGE_MEDIA; in open()
|
/frameworks/base/core/java/android/webkit/ |
D | WebStorage.java | 67 private long mUsage = 0; field in WebStorage.Origin 74 mUsage = usage; in Origin() 109 return mUsage; in getUsage()
|
/frameworks/base/graphics/java/android/graphics/ |
D | GraphicBuffer.java | 56 private final int mUsage; field in GraphicBuffer 95 mUsage = usage; in GraphicBuffer() 147 return mUsage; in getUsage() 286 dest.writeInt(mUsage); in writeToParcel()
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioArgsParser.h | 173 return mUsage; in getUsage() 177 mUsage = usage; in setUsage() 252 s_setUsage(builder, mUsage); in applyParameters() 253 } else if (mUsage != AAUDIO_UNSPECIFIED){ in applyParameters() 296 aaudio_usage_t mUsage = AAUDIO_UNSPECIFIED; variable
|
/frameworks/av/media/libaudioclient/ |
D | AudioPolicy.cpp | 34 mValue.mUsage = usage; in AudioMixMatchCriterion() 46 mValue.mUsage = (audio_usage_t) parcel->readInt32(); in readFromParcel() 70 parcel->writeInt32(mValue.mUsage); in writeToParcel()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Mesh.java | 197 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()
|
D | Allocation.java | 63 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/core/jni/ |
D | android_media_AudioAttributes.cpp | 44 jfieldID mUsage; // AudioAttributes.mUsage member 93 aa->usage = (audio_usage_t) env->GetIntField(jAudioAttributes, gAudioAttributesFields.mUsage); in nativeAudioAttributesFromJavaAudioAttributes() 185 gAudioAttributesFields.mUsage = GetFieldIDOrDie(env, audioAttributesClass, "mUsage", "I"); in register_android_media_AudioAttributes()
|
/frameworks/base/libs/hwui/renderthread/ |
D | ReliableSurface.cpp | 153 desc.usage = mUsage; in acquireFallbackBuffer() 245 rs->mUsage = va_arg(args, uint32_t); in hook_perform() 248 rs->mUsage = va_arg(args, uint64_t); in hook_perform()
|
D | ReliableSurface.h | 68 uint64_t mUsage = AHARDWAREBUFFER_USAGE_GPU_FRAMEBUFFER; variable
|
/frameworks/av/camera/ndk/ndk_vendor/tests/ |
D | AImageReaderVendorTest.cpp | 352 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/ |
D | Camera3Stream.cpp | 61 mUsage(0), in Camera3Stream() 120 return mUsage; in getUsage() 124 mUsage = usage; in setUsage() 262 mOldUsage = mUsage; in startConfiguration() 267 res = getEndpointUsage(&mUsage); in startConfiguration() 339 mOldUsage == mUsage && in finishConfiguration() 400 mUsage = mOldUsage; in cancelConfiguration()
|
/frameworks/av/media/codec2/sfplugin/ |
D | InputSurfaceWrapper.h | 81 uint64_t mUsage; // consumer usage member
|
/frameworks/av/media/ndk/ |
D | NdkImageReader.cpp | 269 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()
|
D | NdkImagePriv.h | 77 const uint64_t mUsage; // AHARDWAREBUFFER_USAGE_* flags. member
|
D | NdkImage.cpp | 36 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/rs/cpp/ |
D | Allocation.cpp | 67 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/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 58 UsageTypeConverter::toString(criterion.mValue.mUsage, ruleValue); in dump() 270 mix->mCriteria[j].mValue.mUsage); in mixMatch() 272 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in mixMatch() 279 mix->mCriteria[j].mValue.mUsage); in mixMatch() 281 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in mixMatch()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioServiceEvents.java | 128 final int mUsage; field in AudioServiceEvents.ForceUseEvent 133 mUsage = usage; in ForceUseEvent() 141 .append(AudioSystem.forceUseUsageToString(mUsage)) in eventToString()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioPolicy.h | 76 audio_usage_t mUsage; member
|