/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/core/java/android/os/ |
D | VibrationAttributes.java | 194 return new VibrationAttributes.Builder().setUsage(usage).build(); in createForUsage() 391 setUsage(audio); in Builder() 395 private void setUsage(@NonNull AudioAttributes audio) { in setUsage() method in VibrationAttributes.Builder 458 public @NonNull Builder setUsage(@Usage int usage) { in setUsage() method in VibrationAttributes.Builder
|
D | ExternalVibration.java | 88 return builder.setUsage(usage) in readAudioAttributes()
|
/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/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()
|
D | MediaActionSound.java | 151 .setUsage(AudioAttributes.USAGE_ASSISTANCE_SONIFICATION) in MediaActionSound()
|
D | AudioFocusRequest.java | 223 .setUsage(AudioAttributes.USAGE_MEDIA).build();
|
D | SoundPool.java | 602 .setUsage(AudioAttributes.USAGE_MEDIA).build(); in build()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | NativeWindow.h | 48 MOCK_METHOD1(setUsage, int(uint64_t));
|
/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/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/services/tests/uiservicestests/src/com/android/server/notification/ |
D | BuzzBeepBlinkTest.java | 144 .setUsage(AudioAttributes.USAGE_VOICE_COMMUNICATION) 1505 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testListenerHintCall() 1542 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testListenerHintBoth() 1560 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testListenerHintNotification_callSound() 1575 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testCannotInterruptRingtoneInsistentBeep() 1597 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testRingtoneInsistentBeep_canUpdate() 1623 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testRingtoneInsistentBeep_clearEffectsStopsSoundAndVibration() 1645 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testRingtoneInsistentBeep_neverVibratesWhenEffectsClearedBeforeDelay() 1666 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testCannotInterruptRingtoneInsistentBuzz() 1689 new AudioAttributes.Builder().setUsage(USAGE_NOTIFICATION_RINGTONE).build()); in testCanInterruptRingtoneNonInsistentBeep() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsHapticsSimulator.kt | 41 .setUsage(AudioAttributes.USAGE_ASSISTANCE_SONIFICATION)
|
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | VibratorManagerServiceTest.java | 131 new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_ALARM).build(); 133 new VibrationAttributes.Builder().setUsage(VibrationAttributes.USAGE_ALARM).build(); 135 new VibrationAttributes.Builder().setUsage(VibrationAttributes.USAGE_TOUCH).build(); 137 new VibrationAttributes.Builder().setUsage( 140 new VibrationAttributes.Builder().setUsage( 689 .setUsage(AudioAttributes.USAGE_ASSISTANCE_ACCESSIBILITY).build(); in vibrate_withAudioAttributes_usesOriginalAudioUsageInAppOpsManager() 708 new VibrationAttributes.Builder().setUsage( in vibrate_withVibrationAttributes_usesCorrespondingAudioUsageInAppOpsManager() 711 new VibrationAttributes.Builder().setUsage( in vibrate_withVibrationAttributes_usesCorrespondingAudioUsageInAppOpsManager() 741 .setUsage(VibrationAttributes.USAGE_NOTIFICATION) in vibrate_withVibrationAttributesEnforceFreshSettings_refreshesVibrationSettings() 828 vibrate(service, repeatingEffect, new VibrationAttributes.Builder().setUsage( in vibrate_withOngoingRepeatingVibration_ignoresEffect() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/template/ |
D | AudioTestHarnessTemplateAndroidTest.java | 92 .setUsage(AudioAttributes.USAGE_MEDIA) in playAudioFile()
|
/frameworks/base/core/java/com/android/internal/notification/ |
D | SystemNotificationChannels.java | 191 .setUsage(AudioAttributes.USAGE_NOTIFICATION_EVENT) in createAll() 200 .setUsage(AudioAttributes.USAGE_NOTIFICATION) in createAll()
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AAudioStreamConfiguration.cpp | 46 setUsage(parcelable.usage); in AAudioStreamConfiguration()
|
/frameworks/av/media/libaaudio/src/core/ |
D | AAudioStreamParameters.h | 88 void setUsage(aaudio_usage_t usage) { in setUsage() function
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | VibratorManagerServicePermissionTest.java | 58 .setUsage(VibrationAttributes.USAGE_ALARM)
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioArgsParser.h | 176 void setUsage(aaudio_usage_t usage) { in setUsage() function 370 setUsage(atoi(&arg[2])); in parseArg()
|
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioProductStrategyTest.java | 150 AudioAttributes aaForUsage = new AudioAttributes.Builder().setUsage(usage).build(); in testAudioAttributesToStreamTypes()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | SpatializerHelperTest.java | 189 .setUsage(AudioAttributes.USAGE_MEDIA).build(); in testNoRoutingCanBeSpatialized()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3Stream.h | 171 void setUsage(uint64_t usage);
|