Home
last modified time | relevance | path

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

1234

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp91 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/
DVibrationAttributes.java194 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
DExternalVibration.java88 return builder.setUsage(usage) in readAudioAttributes()
/frameworks/base/core/jni/
Dandroid_media_AudioAttributes.cpp57 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/
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.java260 .setUsage(AudioAttributes.USAGE_MEDIA) in build()
DMediaActionSound.java151 .setUsage(AudioAttributes.USAGE_ASSISTANCE_SONIFICATION) in MediaActionSound()
DAudioFocusRequest.java223 .setUsage(AudioAttributes.USAGE_MEDIA).build();
DSoundPool.java602 .setUsage(AudioAttributes.USAGE_MEDIA).build(); in build()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DNativeWindow.h48 MOCK_METHOD1(setUsage, int(uint64_t));
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java65 .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/
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/services/tests/uiservicestests/src/com/android/server/notification/
DBuzzBeepBlinkTest.java144 .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/
DUdfpsHapticsSimulator.kt41 .setUsage(AudioAttributes.USAGE_ASSISTANCE_SONIFICATION)
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibratorManagerServiceTest.java131 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/
DAudioTestHarnessTemplateAndroidTest.java92 .setUsage(AudioAttributes.USAGE_MEDIA) in playAudioFile()
/frameworks/base/core/java/com/android/internal/notification/
DSystemNotificationChannels.java191 .setUsage(AudioAttributes.USAGE_NOTIFICATION_EVENT) in createAll()
200 .setUsage(AudioAttributes.USAGE_NOTIFICATION) in createAll()
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp46 setUsage(parcelable.usage); in AAudioStreamConfiguration()
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.h88 void setUsage(aaudio_usage_t usage) { in setUsage() function
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
DVibratorManagerServicePermissionTest.java58 .setUsage(VibrationAttributes.USAGE_ALARM)
/frameworks/av/media/libaaudio/examples/utils/
DAAudioArgsParser.h176 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/
DAudioProductStrategyTest.java150 AudioAttributes aaForUsage = new AudioAttributes.Builder().setUsage(usage).build(); in testAudioAttributesToStreamTypes()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DSpatializerHelperTest.java189 .setUsage(AudioAttributes.USAGE_MEDIA).build(); in testNoRoutingCanBeSpatialized()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Stream.h171 void setUsage(uint64_t usage);

1234