Home
last modified time | relevance | path

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

1234

/frameworks/native/libs/renderengine/include/renderengine/impl/
DExternalTexture.h50 uint64_t getUsage() const override { return getBuffer()->getUsage(); } in getUsage() function
/frameworks/native/libs/renderengine/
DRenderEngine.cpp57 LOG_ALWAYS_FATAL_IF(!(buffer->getUsage() & GraphicBuffer::USAGE_HW_TEXTURE), in validateInputBufferUsage()
62 LOG_ALWAYS_FATAL_IF(!(buffer->getUsage() & GraphicBuffer::USAGE_HW_RENDER), in validateOutputBufferUsage()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorManagerService.java436 .getVibrationAttributes().getUsage(); in vibrateInternal()
444 ignoredByUsage = mCurrentVibration.getVibration().attrs.getUsage(); in vibrateInternal()
454 mCurrentVibration.getVibration().attrs.getUsage()); in vibrateInternal()
458 vib.attrs.getUsage()), in vibrateInternal()
666 effect = mVibrationScaler.scale(effect, vib.attrs.getUsage()); in updateAlwaysOnLocked()
679 vib.updateEffects(effect -> mVibrationScaler.scale(effect, vib.attrs.getUsage())); in startVibrationLocked()
695 vib.uid, vib.attrs.getUsage())); in startVibrationLocked()
860 int currentUsage = currentVibration.attrs.getUsage(); in shouldIgnoreVibrationForOngoingLocked()
861 int newUsage = vib.attrs.getUsage(); in shouldIgnoreVibrationForOngoingLocked()
948 if (attrs.getUsage() == VibrationAttributes.USAGE_UNKNOWN) { in shouldCancelVibration()
[all …]
/frameworks/base/core/java/android/os/
DVibrationAttributes.java220 public int getUsage() { in getUsage() method in VibrationAttributes
396 mOriginalAudioUsage = audio.getUsage(); in setUsage()
397 switch (audio.getUsage()) { in setUsage()
DExternalVibration.java189 out.writeInt(attrs.getUsage()); in writeAudioAttributes()
/frameworks/base/services/core/java/com/android/server/audio/
DFadeOutManager.java125 if (!ArrayUtils.contains(FADEABLE_USAGES, apc.getAudioAttributes().getUsage())) { in canBeFadedOut()
127 Log.i(TAG, "not fading: usage:" + apc.getAudioAttributes().getUsage()); in canBeFadedOut()
138 if (!ArrayUtils.contains(FADEABLE_USAGES, aa.getUsage())) { in getFadeOutDurationOnFocusLossMillis()
/frameworks/base/media/java/android/media/
DAudioPlaybackCaptureConfiguration.java96 criterion -> criterion.getAudioAttributes().getUsage()); in getMatchingUsages()
109 criterion -> criterion.getAudioAttributes().getUsage()); in getExcludeUsages()
/frameworks/native/libs/gui/include/gui/
DLayerState.h79 virtual uint64_t getUsage() const { return buffer->getUsage(); } in getUsage() function
/frameworks/native/libs/renderengine/include/renderengine/
DExternalTexture.h44 virtual uint64_t getUsage() const = 0;
/frameworks/av/services/oboeservice/
DAAudioServiceEndpoint.cpp66 result << " Usage: " << getUsage() << "\n"; in dump()
188 ? AAudioConvert_usageToInternal(params->getUsage()) in getAudioAttributesFrom()
/frameworks/base/core/java/android/webkit/
DWebStorage.java101 public long getUsage() { in getUsage() method in WebStorage.Origin
/frameworks/native/libs/renderengine/include/renderengine/mock/
DFakeExternalTexture.h45 uint64_t getUsage() const override { return mUsage; } in getUsage() function
/frameworks/av/media/codec2/hidl/client/
Doutput.cpp126 << ", usage 0x" << std::setw(16) << graphicBuffer->getUsage() in attachToBufferQueue()
275 if ((mBuffers[i]->getUsage() & consumerUsage) != consumerUsage) { in configure()
280 mBuffers[i]->getUsage() | consumerUsage, in configure()
285 __func__, mBuffers[i]->getUsage(), consumerUsage); in configure()
/frameworks/base/libs/hostgraphics/ui/
DGraphicBuffer.h40 uint64_t getUsage() const { return 0; } in getUsage() function
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp92 result.usage = getUsage(); in parcelable()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dion_buffer.h87 return buffer_.get() ? static_cast<uint64_t>(buffer_->getUsage()) : 0; in usage()
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp159 if (buffer.getWidth() != 0 || buffer.getHeight() != 0 || buffer.getUsage() != 0 || in writeToProto()
165 activeBufferProto->set_stride(buffer.getUsage()); in writeToProto()
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.h84 aaudio_usage_t getUsage() const { in getUsage() function
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.h65 uint64_t getUsage() const override { return mOutUsage; } in getUsage() function
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp352 mProducerBuffers[pslot]->getPixelFormat(), mProducerBuffers[pslot]->getUsage()); in dequeueBuffer()
399 if ((usage & ~buf->getUsage()) != 0 || in dequeueBuffer()
407 buf->getPixelFormat(), buf->getUsage()); in dequeueBuffer()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMixingRule.java269 && (criterion.mAttr.getUsage() == AudioAttributes.USAGE_VOICE_COMMUNICATION in isForCallRedirection()
270 || criterion.mAttr.getUsage() in isForCallRedirection()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioArgsParser.h172 aaudio_usage_t getUsage() const { in getUsage() function
547 getUsage(), s_getUsage(stream)); in compareWithStream()
/frameworks/base/graphics/java/android/graphics/
DGraphicBuffer.java133 public int getUsage() { in getUsage() method in GraphicBuffer
/frameworks/av/media/codec2/vndk/platform/
DC2BqBuffer.cpp222 outDesc->usage = uint64_t(gbuffer->getUsage()); in hgbp_describe()
303 *usage = slotBuffer->getUsage(); in getGenerationNumberAndUsage()
887 if (toUsage != graphicBuffer->getUsage()) { in migrate()
891 graphicBuffer->layerCount, toUsage | graphicBuffer->getUsage(), graphicBuffer->stride); in migrate()
896 __func__, graphicBuffer->getUsage(), toUsage); in migrate()
/frameworks/base/services/core/java/com/android/server/wm/utils/
DRotationAnimationUtils.java45 return (hardwareBuffer.getUsage() & USAGE_PROTECTED_CONTENT) == USAGE_PROTECTED_CONTENT; in hasProtectedContent()

1234