/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | RenderSurfaceTest.cpp | 91 EXPECT_CALL(*mNativeWindow, setUsage(GRALLOC_USAGE_HW_RENDER | GRALLOC_USAGE_HW_TEXTURE)) in TEST_F() 148 setUsage(GRALLOC_USAGE_HW_RENDER | GRALLOC_USAGE_HW_TEXTURE | in TEST_F() 158 EXPECT_CALL(*mNativeWindow, setUsage(GRALLOC_USAGE_HW_RENDER | GRALLOC_USAGE_HW_TEXTURE)) in TEST_F() 168 setUsage(GRALLOC_USAGE_HW_RENDER | GRALLOC_USAGE_HW_TEXTURE | in TEST_F() 171 EXPECT_CALL(*mNativeWindow, setUsage(GRALLOC_USAGE_HW_RENDER | GRALLOC_USAGE_HW_TEXTURE)) in TEST_F() 183 setUsage(GRALLOC_USAGE_HW_RENDER | GRALLOC_USAGE_HW_TEXTURE | in TEST_F()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationChannelExtractorTest.java | 158 .setUsage(USAGE_NOTIFICATION_RINGTONE) in testAudioAttributes_callStyleCanUseCallUsage() 182 .setUsage(USAGE_NOTIFICATION_RINGTONE) in testAudioAttributes_nonCallStyleCannotUseCallUsage() 203 .setUsage(USAGE_ALARM) in testAudioAttributes_alarmCategoryCanUseAlarmUsage() 223 .setUsage(USAGE_ALARM) in testAudioAttributes_nonAlarmCategoryCannotUseAlarmUsage() 244 .setUsage(USAGE_MEDIA) in testAudioAttributes_noMediaUsage() 265 .setUsage(USAGE_UNKNOWN) in testAudioAttributes_noUnknownUsage()
|
/frameworks/base/core/java/android/os/ |
D | VibrationAttributes.java | 259 return new VibrationAttributes.Builder().setUsage(usage).build(); in createForUsage() 505 setUsage(audio); in Builder() 509 private void setUsage(@NonNull AudioAttributes audio) { in setUsage() method in VibrationAttributes.Builder 573 public @NonNull Builder setUsage(@Usage int usage) { in setUsage() method in VibrationAttributes.Builder
|
/frameworks/base/core/jni/ |
D | android_media_AudioAttributes.cpp | 57 jmethodID setUsage; member 123 env->CallObjectMethod(jAttributeBuilder.get(), gAudioAttributesBuilderMethods.setUsage, in nativeAudioAttributesToJavaAudioAttributes() 196 gAudioAttributesBuilderMethods.setUsage = GetMethodIDOrDie( in register_android_media_AudioAttributes()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | FadeConfigurationsTest.java | 83 new AudioAttributes.Builder().setUsage(USAGE_MEDIA).build(); 85 new AudioAttributes.Builder().setUsage(USAGE_GAME).build(); 87 new AudioAttributes.Builder().setUsage(USAGE_ASSISTANT).build(); 282 return new AudioAttributes.Builder().setUsage(usage).build(); in createGenericAudioAttributesForUsage()
|
D | FadeOutManagerTest.java | 58 new AudioAttributes.Builder().setUsage(USAGE_MEDIA).build(); 60 new AudioAttributes.Builder().setUsage(USAGE_GAME).build();
|
/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 | 260 .setUsage(AudioAttributes.USAGE_MEDIA) in build()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | NativeWindow.h | 48 MOCK_METHOD1(setUsage, int(uint64_t));
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | VibrationAttributesTest.java | 32 .setUsage(VibrationAttributes.USAGE_ALARM) in testSimple()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | AudioRoutingUtils.java | 30 new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_MEDIA).build();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NotificationChannels.java | 65 .setUsage(AudioAttributes.USAGE_NOTIFICATION_EVENT) in createAll() 131 new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_NOTIFICATION).build()); in createScreenshotChannel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotSoundProvider.kt | 51 .setUsage(AudioAttributes.USAGE_ASSISTANCE_SONIFICATION) in getScreenshotSound()
|
/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/core/tests/vibrator/src/android/os/ |
D | ExternalVibrationTest.java | 36 .setUsage(AudioAttributes.USAGE_ASSISTANCE_SONIFICATION) in testSerialization()
|
D | VibratorTest.java | 216 VibrationAttributes attributes = new VibrationAttributes.Builder().setUsage( in vibrate_withVibrationAttributes_usesGivenAttributes() 227 AudioAttributes audioAttributes = new AudioAttributes.Builder().setUsage( in vibrate_withAudioAttributes_createsVibrationAttributesWithSameUsage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsHapticsSimulator.kt | 41 .setUsage(AudioAttributes.USAGE_ASSISTANCE_SONIFICATION)
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibratorManagerServiceTest.java | 139 new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_ALARM).build(); 141 new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_NOTIFICATION).build(); 143 new VibrationAttributes.Builder().setUsage(VibrationAttributes.USAGE_ALARM).build(); 145 new VibrationAttributes.Builder().setUsage(VibrationAttributes.USAGE_TOUCH).build(); 147 new VibrationAttributes.Builder().setUsage( 150 new VibrationAttributes.Builder().setUsage( 153 new VibrationAttributes.Builder().setUsage(VibrationAttributes.USAGE_UNKNOWN).build(); 773 .setUsage(AudioAttributes.USAGE_ASSISTANCE_ACCESSIBILITY).build(); in vibrate_withAudioAttributes_usesOriginalAudioUsageInAppOpsManager() 792 new VibrationAttributes.Builder().setUsage( in vibrate_withVibrationAttributes_usesCorrespondingAudioUsageInAppOpsManager() 795 new VibrationAttributes.Builder().setUsage( in vibrate_withVibrationAttributes_usesCorrespondingAudioUsageInAppOpsManager() [all …]
|
D | VibrationSettingsTest.java | 613 .setUsage(USAGE_TOUCH) in shouldIgnoreVibration_withKeyboardSettingsOff_shouldIgnoreKeyboardVibration() 622 .setUsage(USAGE_TOUCH) in shouldIgnoreVibration_withKeyboardSettingsOff_shouldIgnoreKeyboardVibration() 641 .setUsage(USAGE_TOUCH) in shouldIgnoreVibration_withKeyboardSettingsOn_shouldNotIgnoreKeyboardVibration() 659 .setUsage(USAGE_TOUCH) in shouldIgnoreVibration_noFixedKeyboardAmplitude_ignoresKeyboardTouchVibration() 943 new VibrationAttributes.Builder().setUsage(usage).setFlags(flags).build(), UID, in assertVibrationNotIgnoredForUsageAndFlagsAndDevice()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/template/ |
D | AudioTestHarnessTemplateAndroidTest.java | 93 .setUsage(AudioAttributes.USAGE_MEDIA) in playAudioFile()
|
/frameworks/base/core/java/com/android/internal/notification/ |
D | SystemNotificationChannels.java | 183 .setUsage(AudioAttributes.USAGE_NOTIFICATION_EVENT) in createAll() 192 .setUsage(AudioAttributes.USAGE_NOTIFICATION) in createAll()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationChannelExtractor.java | 104 .setUsage(USAGE_NOTIFICATION) in process()
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | VibratorManagerServicePermissionTest.java | 58 .setUsage(VibrationAttributes.USAGE_ALARM)
|
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioPolicyDeathTestActivity.java | 54 .setUsage(AudioAttributes.USAGE_MEDIA).build(); in onCreate()
|