/frameworks/native/libs/renderengine/ |
D | RenderEngine.cpp | 89 LOG_ALWAYS_FATAL_IF(!(buffer->getUsage() & GraphicBuffer::USAGE_HW_TEXTURE), in validateInputBufferUsage() 94 LOG_ALWAYS_FATAL_IF(!(buffer->getUsage() & GraphicBuffer::USAGE_HW_RENDER), in validateOutputBufferUsage() 112 (buffer && (buffer->getUsage() & GRALLOC_USAGE_PROTECTED)) || in updateProtectedContext() 115 return buffer && (buffer->getUsage() & GRALLOC_USAGE_PROTECTED); in updateProtectedContext()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationChannelExtractorTest.java | 172 assertThat(r.getAudioAttributes().getUsage()).isEqualTo(USAGE_NOTIFICATION_RINGTONE); in testAudioAttributes_callStyleCanUseCallUsage() 192 assertThat(r.getAudioAttributes().getUsage()).isEqualTo(USAGE_NOTIFICATION); in testAudioAttributes_nonCallStyleCannotUseCallUsage() 195 assertThat(channel.getAudioAttributes().getUsage()).isEqualTo(USAGE_NOTIFICATION_RINGTONE); in testAudioAttributes_nonCallStyleCannotUseCallUsage() 213 assertThat(r.getAudioAttributes().getUsage()).isEqualTo(USAGE_ALARM); in testAudioAttributes_alarmCategoryCanUseAlarmUsage() 233 assertThat(r.getAudioAttributes().getUsage()).isEqualTo(USAGE_NOTIFICATION); in testAudioAttributes_nonAlarmCategoryCannotUseAlarmUsage() 236 assertThat(channel.getAudioAttributes().getUsage()).isEqualTo(USAGE_ALARM); in testAudioAttributes_nonAlarmCategoryCannotUseAlarmUsage() 254 assertThat(r.getAudioAttributes().getUsage()).isEqualTo(USAGE_NOTIFICATION); in testAudioAttributes_noMediaUsage() 257 assertThat(channel.getAudioAttributes().getUsage()).isEqualTo(USAGE_MEDIA); in testAudioAttributes_noMediaUsage() 275 assertThat(r.getAudioAttributes().getUsage()).isEqualTo(USAGE_NOTIFICATION); in testAudioAttributes_noUnknownUsage() 278 assertThat(channel.getAudioAttributes().getUsage()).isEqualTo(USAGE_UNKNOWN); in testAudioAttributes_noUnknownUsage()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationChannelExtractor.java | 85 && attributes.getUsage() == AudioAttributes.USAGE_NOTIFICATION_RINGTONE) { in process() 90 && attributes.getUsage() == AudioAttributes.USAGE_ALARM) { in process() 95 && (attributes.getUsage() == AudioAttributes.USAGE_UNKNOWN in process() 96 || attributes.getUsage() == AudioAttributes.USAGE_MEDIA)) { in process()
|
/frameworks/native/libs/renderengine/include/renderengine/impl/ |
D | ExternalTexture.h | 50 uint64_t getUsage() const override { return getBuffer()->getUsage(); } in getUsage() function
|
/frameworks/ex/camera2/extensions/stub/src/main/java/androidx/camera/extensions/impl/advanced/ |
D | ImageReaderOutputConfigImpl.java | 45 long getUsage(); in getUsage() method
|
D | OutputSurfaceImpl.java | 52 long getUsage(); in getUsage() method
|
/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/advanced/ |
D | ImageReaderOutputConfigImpl.java | 45 long getUsage(); in getUsage() method
|
D | OutputSurfaceImpl.java | 52 long getUsage(); in getUsage() method
|
/frameworks/base/media/java/android/media/ |
D | AudioPlaybackCaptureConfiguration.java | 96 criterion -> criterion.getAudioAttributes().getUsage()); in getMatchingUsages() 109 criterion -> criterion.getAudioAttributes().getUsage()); in getExcludeUsages()
|
/frameworks/base/core/java/android/os/ |
D | VibrationAttributes.java | 287 public int getUsage() { in getUsage() method in VibrationAttributes 510 mOriginalAudioUsage = audio.getUsage(); in setUsage() 511 switch (audio.getUsage()) { in setUsage()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | HalVibration.java | 131 int vibrationUsage = callerInfo.attrs.getUsage(); in scaleEffects() 194 callerInfo.uid, vibrationType, callerInfo.attrs.getUsage(), mStatus, in getStatsInfo()
|
D | VibrationStats.java | 175 mEndedByUsage = endedBy.attrs.getUsage(); in reportEnded() 191 mInterruptedUsage = callerInfo.attrs.getUsage(); in reportInterruptedAnotherVibration()
|
D | VibratorManagerService.java | 791 effect = mVibrationScaler.scale(effect, vib.callerInfo.attrs.getUsage()); in updateAlwaysOnLocked() 883 vib.callerInfo.attrs.getUsage())) { in createVibrationStepConductor() 886 vib.callerInfo.uid, vib.callerInfo.attrs.getUsage(), in createVibrationStepConductor() 1082 int usage = vibration.callerInfo.attrs.getUsage(); in getVibrationImportance() 1160 if (attrs.getUsage() == VibrationAttributes.USAGE_UNKNOWN) { in shouldCancelVibration() 1166 return (usageFilter & attrs.getUsage()) == attrs.getUsage(); in shouldCancelVibration() 1289 int usage = attrs.getUsage(); in fixupVibrationAttributes() 1303 if ((usage == attrs.getUsage()) && (flags == attrs.getFlags())) { in fixupVibrationAttributes() 1694 externalVibration.getVibrationAttributes().getUsage(), mStatus, stats, in getStatsInfo() 1703 int usage = externalVibration.getVibrationAttributes().getUsage(); in isRepeating() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | VibrationAttributesTest.java | 36 assertEquals(VibrationAttributes.USAGE_ALARM, attr.getUsage()); in testSimple()
|
/frameworks/native/libs/renderengine/include/renderengine/ |
D | ExternalTexture.h | 44 virtual uint64_t getUsage() const = 0;
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceEndpoint.cpp | 66 result << " Usage: " << getUsage() << "\n"; in dump() 192 ? AAudioConvert_usageToInternal(params->getUsage()) in getAudioAttributesFrom()
|
/frameworks/base/core/java/android/webkit/ |
D | WebStorage.java | 101 public long getUsage() { in getUsage() method in WebStorage.Origin
|
/frameworks/native/libs/gui/include/gui/fake/ |
D | BufferData.h | 41 uint64_t getUsage() const override { return mOutUsage; } in getUsage() function
|
/frameworks/native/libs/renderengine/include/renderengine/mock/ |
D | FakeExternalTexture.h | 47 uint64_t getUsage() const override { return mUsage; } in getUsage() function
|
/frameworks/base/libs/hostgraphics/ui/ |
D | GraphicBuffer.h | 52 uint64_t getUsage() const { in getUsage() function
|
/frameworks/native/services/surfaceflinger/ |
D | ScreenCaptureRenderSurface.h | 54 bool isProtected() const override { return mBuffer->getUsage() & GRALLOC_USAGE_PROTECTED; } in isProtected()
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | HapticFeedbackVibrationProviderTest.java | 296 assertThat(attrs.getUsage()).isEqualTo(VibrationAttributes.USAGE_COMMUNICATION_REQUEST); in testVibrationAttribute_biometricConstants_returnsCommunicationRequestUsage() 356 .that(attrs.getUsage()).isEqualTo(USAGE_TOUCH); in testVibrationAttribute_keyboardCategoryOff_isIme_notUseKeyboardCategory() 371 .that(attrs.getUsage()).isEqualTo(USAGE_TOUCH); in testVibrationAttribute_keyboardCategoryOn_notIme_notUseKeyboardCategory() 386 .that(attrs.getUsage()).isEqualTo(USAGE_TOUCH); in testVibrationAttribute_keyboardCategoryOn_isIme_useKeyboardCategory()
|
/frameworks/av/media/codec2/hal/client/ |
D | output.cpp | 128 << ", usage 0x" << std::setw(16) << graphicBuffer->getUsage() in attachToBufferQueue() 281 if ((mBuffers[i]->getUsage() & consumerUsage) != consumerUsage) { in configure() 286 mBuffers[i]->getUsage() | consumerUsage, in configure() 291 __func__, mBuffers[i]->getUsage(), consumerUsage); in configure()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamTrack.cpp | 81 bool usageBenefitsFromRaw = getUsage() == AAUDIO_USAGE_GAME || in open() 82 getUsage() == AAUDIO_USAGE_MEDIA; in open() 142 AAudioConvert_usageToInternal(builder.getUsage()); in open()
|
/frameworks/native/libs/gui/include/gui/ |
D | LayerState.h | 99 virtual uint64_t getUsage() const { return buffer->getUsage(); } in getUsage() function
|