Home
last modified time | relevance | path

Searched refs:setUsage (Results 1 – 25 of 68) sorted by relevance

123

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp93 EXPECT_CALL(*mNativeWindow, setUsage(GRALLOC_USAGE_HW_RENDER)).WillOnce(Return(NO_ERROR)); in TEST_F()
147 EXPECT_CALL(*mNativeWindow, setUsage(GRALLOC_USAGE_HW_RENDER | GRALLOC_USAGE_PROTECTED)) in TEST_F()
156 EXPECT_CALL(*mNativeWindow, setUsage(GRALLOC_USAGE_HW_RENDER)).WillOnce(Return(NO_ERROR)); in TEST_F()
164 EXPECT_CALL(*mNativeWindow, setUsage(GRALLOC_USAGE_HW_RENDER | GRALLOC_USAGE_PROTECTED)) in TEST_F()
166 EXPECT_CALL(*mNativeWindow, setUsage(GRALLOC_USAGE_HW_RENDER)).WillOnce(Return(NO_ERROR)); in TEST_F()
176 EXPECT_CALL(*mNativeWindow, setUsage(GRALLOC_USAGE_HW_RENDER | GRALLOC_USAGE_PROTECTED)) in TEST_F()
/frameworks/base/core/jni/
Dandroid_media_AudioAttributes.cpp55 jmethodID setUsage; member
113 gAudioAttributesBuilderMethods.setUsage, in nativeAudioAttributesToJavaAudioAttributes()
186 gAudioAttributesBuilderMethods.setUsage = GetMethodIDOrDie( in register_android_media_AudioAttributes()
/frameworks/native/services/surfaceflinger/CompositionEngine/mock/
DNativeWindow.cpp67 result = static_cast<NativeWindow*>(window)->setUsage(usage); in forwardPerform()
72 result = static_cast<NativeWindow*>(window)->setUsage(usage); in forwardPerform()
/frameworks/base/media/java/android/media/
DAudioPlaybackCaptureConfiguration.java182 mAudioMixingRuleBuilder.addRule(new AudioAttributes.Builder().setUsage(usage).build(), in addMatchingUsage()
217 .setUsage(usage) in excludeUsage()
DHwAudioSource.java221 .setUsage(AudioAttributes.USAGE_MEDIA) in build()
DMediaActionSound.java127 .setUsage(AudioAttributes.USAGE_ASSISTANCE_SONIFICATION) in MediaActionSound()
DAudioFocusRequest.java223 .setUsage(AudioAttributes.USAGE_MEDIA).build();
DSoundPool.java610 .setUsage(AudioAttributes.USAGE_MEDIA).build(); in build()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java50 .setUsage(AudioAttributes.USAGE_NOTIFICATION_EVENT) in createAll()
116 new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_NOTIFICATION).build()); in createScreenshotChannel()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DNativeWindow.h48 MOCK_METHOD1(setUsage, int(uint64_t));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java71 new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_NOTIFICATION).build()); in createAll()
157 new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_NOTIFICATION).build()); in migrateVoicemailNotificationSettings()
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
DVibratorServicePermissionTest.java56 .setUsage(AudioAttributes.USAGE_ALARM) in testVibrate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DVibratorHelper.java43 .setUsage(AudioAttributes.USAGE_ASSISTANCE_SONIFICATION)
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeFilteringTest.java94 .setUsage(AudioAttributes.USAGE_ALARM) in testIsAlarm()
115 .setUsage(AudioAttributes.USAGE_NOTIFICATION) in testIsAlarm_wrongUsage()
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.h95 void setUsage(aaudio_usage_t usage) { in setUsage() function
/frameworks/av/media/libaaudio/examples/utils/
DAAudioArgsParser.h163 void setUsage(aaudio_usage_t usage) { in setUsage() function
333 setUsage(atoi(&arg[2])); in parseArg()
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp101 setUsage((aaudio_usage_t) value); in readFromParcel()
/frameworks/base/core/java/android/os/
DExternalVibration.java68 return builder.setUsage(usage) in readAudioAttributes()
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioProductStrategyTest.java149 AudioAttributes aaForUsage = new AudioAttributes.Builder().setUsage(usage).build(); in testAudioAttributesToStreamTypes()
DAudioManagerTest.java205 AudioAttributes aaForUsage = new AudioAttributes.Builder().setUsage(usage).build(); in testSetGetVolumePerAttributes()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Stream.h161 void setUsage(uint64_t usage);
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java72 .setUsage(AudioAttributes.USAGE_ASSISTANCE_ACCESSIBILITY)
353 .setUsage(audioAttributesUsage) in playNotificationTone()
/frameworks/base/services/core/java/com/android/server/biometrics/
DClientMonitor.java45 .setUsage(AudioAttributes.USAGE_ASSISTANCE_SONIFICATION)
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp117 request.getConfiguration().setUsage(getUsage()); in open()
157 setUsage(configurationOutput.getUsage()); in open()
/frameworks/base/core/java/com/android/internal/notification/
DSystemNotificationChannels.java172 .setUsage(AudioAttributes.USAGE_NOTIFICATION_EVENT) in createAll()

123