/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | RenderSurfaceTest.cpp | 93 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/ |
D | android_media_AudioAttributes.cpp | 55 jmethodID setUsage; member 113 gAudioAttributesBuilderMethods.setUsage, in nativeAudioAttributesToJavaAudioAttributes() 186 gAudioAttributesBuilderMethods.setUsage = GetMethodIDOrDie( in register_android_media_AudioAttributes()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/mock/ |
D | NativeWindow.cpp | 67 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/ |
D | AudioPlaybackCaptureConfiguration.java | 182 mAudioMixingRuleBuilder.addRule(new AudioAttributes.Builder().setUsage(usage).build(), in addMatchingUsage() 217 .setUsage(usage) in excludeUsage()
|
D | HwAudioSource.java | 221 .setUsage(AudioAttributes.USAGE_MEDIA) in build()
|
D | MediaActionSound.java | 127 .setUsage(AudioAttributes.USAGE_ASSISTANCE_SONIFICATION) in MediaActionSound()
|
D | AudioFocusRequest.java | 223 .setUsage(AudioAttributes.USAGE_MEDIA).build();
|
D | SoundPool.java | 610 .setUsage(AudioAttributes.USAGE_MEDIA).build(); in build()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NotificationChannels.java | 50 .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/ |
D | NativeWindow.h | 48 MOCK_METHOD1(setUsage, int(uint64_t));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | NotificationChannelController.java | 71 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/ |
D | VibratorServicePermissionTest.java | 56 .setUsage(AudioAttributes.USAGE_ALARM) in testVibrate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | VibratorHelper.java | 43 .setUsage(AudioAttributes.USAGE_ASSISTANCE_SONIFICATION)
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeFilteringTest.java | 94 .setUsage(AudioAttributes.USAGE_ALARM) in testIsAlarm() 115 .setUsage(AudioAttributes.USAGE_NOTIFICATION) in testIsAlarm_wrongUsage()
|
/frameworks/av/media/libaaudio/src/core/ |
D | AAudioStreamParameters.h | 95 void setUsage(aaudio_usage_t usage) { in setUsage() function
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioArgsParser.h | 163 void setUsage(aaudio_usage_t usage) { in setUsage() function 333 setUsage(atoi(&arg[2])); in parseArg()
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AAudioStreamConfiguration.cpp | 101 setUsage((aaudio_usage_t) value); in readFromParcel()
|
/frameworks/base/core/java/android/os/ |
D | ExternalVibration.java | 68 return builder.setUsage(usage) in readAudioAttributes()
|
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioProductStrategyTest.java | 149 AudioAttributes aaForUsage = new AudioAttributes.Builder().setUsage(usage).build(); in testAudioAttributesToStreamTypes()
|
D | AudioManagerTest.java | 205 AudioAttributes aaForUsage = new AudioAttributes.Builder().setUsage(usage).build(); in testSetGetVolumePerAttributes()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3Stream.h | 161 void setUsage(uint64_t usage);
|
/frameworks/base/core/java/com/android/internal/accessibility/ |
D | AccessibilityShortcutController.java | 72 .setUsage(AudioAttributes.USAGE_ASSISTANCE_ACCESSIBILITY) 353 .setUsage(audioAttributesUsage) in playNotificationTone()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | ClientMonitor.java | 45 .setUsage(AudioAttributes.USAGE_ASSISTANCE_SONIFICATION)
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternal.cpp | 117 request.getConfiguration().setUsage(getUsage()); in open() 157 setUsage(configurationOutput.getUsage()); in open()
|
/frameworks/base/core/java/com/android/internal/notification/ |
D | SystemNotificationChannels.java | 172 .setUsage(AudioAttributes.USAGE_NOTIFICATION_EVENT) in createAll()
|