/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/systemsounds/ |
H A D | HomeSoundEffectControllerTest.java | 104 verify(mAudioManager, never()).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenHomeFirstMovesToFront() 126 verify(mAudioManager).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectPlayedWhenEnabled() 150 verify(mAudioManager).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedTwiceInRow() 156 verify(mAudioManager, times(1)).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedTwiceInRow() 169 verify(mAudioManager, never()).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenNonHomeTaskMovesToFront() 192 verify(mAudioManager).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenOtherHomeActivityMovesToFront() 220 verify(mAudioManager, never()).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenOtherHomeActivityMovesToFrontOfOtherApp() 253 verify(mAudioManager, never()).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenHomeActivityMovesToFrontAfterException() 312 verify(mAudioManager).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectPlayedWhenHomeActivityMovesToFrontAfterException() 368 verify(mAudioManager).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectPlayedWhenEmptyTaskMovesToFrontAfterStandardActivity() [all …]
|
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | AudioManagerUnitTest.java | 56 audioManager.playSoundEffect(FX_KEY_CLICK); in testAudioManager_playSoundWithDefaultDeviceContext() 70 audioManager.playSoundEffect(FX_KEY_CLICK); in testAudioManager_playSoundWithVirtualDeviceContextDefaultPolicy() 73 verify(mockVdm, never()).playSoundEffect(anyInt(), anyInt()); in testAudioManager_playSoundWithVirtualDeviceContextDefaultPolicy() 84 audioManager.playSoundEffect(FX_KEY_CLICK); in testAudioManager_playSoundWithVirtualDeviceContextCustomPolicy() 87 verify(mockVdm, times(1)).playSoundEffect(TEST_VIRTUAL_DEVICE_ID, FX_KEY_CLICK); in testAudioManager_playSoundWithVirtualDeviceContextCustomPolicy()
|
/aosp14/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
H A D | KeyButtonView.java | 156 playSoundEffect(SoundEffectConstants.CLICK); in performAccessibilityActionInternal() 197 playSoundEffect(SoundEffectConstants.CLICK); in onTouchEvent() 229 playSoundEffect(SoundEffectConstants.CLICK); in onTouchEvent() 276 public void playSoundEffect(int soundConstant) { in playSoundEffect() method in KeyButtonView 278 mAudioManager.playSoundEffect(soundConstant); in playSoundEffect()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
H A D | KeyButtonView.java | 247 playSoundEffect(SoundEffectConstants.CLICK); in performAccessibilityActionInternal() 286 playSoundEffect(SoundEffectConstants.CLICK); in onTouchEvent() 318 playSoundEffect(SoundEffectConstants.CLICK); in onTouchEvent() 363 public void playSoundEffect(int soundConstant) { in playSoundEffect() method in KeyButtonView 365 mAudioManager.playSoundEffect(soundConstant, ActivityManager.getCurrentUser()); in playSoundEffect()
|
/aosp14/frameworks/base/core/java/android/companion/virtual/ |
H A D | IVirtualDeviceManager.aidl | 106 void playSoundEffect(int deviceId, int effectType); in playSoundEffect() method
|
H A D | VirtualDeviceManager.java | 319 public void playSoundEffect(int deviceId, @AudioManager.SystemSoundEffect int effectType) { in playSoundEffect() method in VirtualDeviceManager 325 mService.playSoundEffect(deviceId, effectType); in playSoundEffect()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/systemsounds/ |
H A D | HomeSoundEffectController.java | 170 mAudioManager.playSoundEffect(AudioManager.FX_HOME); in handleTaskStackChanged()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ViewRootImplTest.java | 367 () -> viewRootImpl.playSoundEffect(/* effectId= */ -1)); in playSoundEffect_wrongEffectId_throwException() 385 viewRootImpl.playSoundEffect(/* effectId= */ -1); in playSoundEffect_wrongEffectId_touchFeedbackDisabled_doNothing()
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | ExpandableListView.java | 696 playSoundEffect(SoundEffectConstants.CLICK); in handleItemClick() 705 playSoundEffect(SoundEffectConstants.CLICK); in handleItemClick() 723 playSoundEffect(SoundEffectConstants.CLICK); in handleItemClick()
|
H A D | Gallery.java | 1264 playSoundEffect(SoundEffectConstants.NAVIGATION_LEFT); in onKeyDown() 1270 playSoundEffect(SoundEffectConstants.NAVIGATION_RIGHT); in onKeyDown()
|
H A D | CompoundButton.java | 150 playSoundEffect(SoundEffectConstants.CLICK); in performClick()
|
H A D | TabHost.java | 408 playSoundEffect(soundEffect); in dispatchKeyEvent()
|
H A D | AdapterView.java | 329 playSoundEffect(SoundEffectConstants.CLICK); in performItemClick()
|
H A D | SlidingDrawer.java | 480 playSoundEffect(SoundEffectConstants.CLICK); in onTouchEvent()
|
H A D | GridView.java | 1888 playSoundEffect(SoundEffectConstants.getContantForFocusDirection(direction)); in arrowScroll() 1947 playSoundEffect(SoundEffectConstants.getContantForFocusDirection(direction)); in sequenceScroll()
|
H A D | ActionMenuPresenter.java | 892 playSoundEffect(SoundEffectConstants.CLICK); in performClick()
|
H A D | Switch.java | 1205 playSoundEffect(SoundEffectConstants.CLICK); in stopDrag()
|
/aosp14/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuItemView.java | 142 playSoundEffect(SoundEffectConstants.CLICK); in performClick()
|
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
H A D | VirtualDeviceManagerService.java | 459 public void playSoundEffect(int deviceId, int effectType) { in playSoundEffect() method in VirtualDeviceManagerService.VirtualDeviceManagerImpl 466 virtualDevice.playSoundEffect(effectType); in playSoundEffect()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | MediaRouteButton.java | 186 playSoundEffect(SoundEffectConstants.CLICK); in performClick()
|
/aosp14/frameworks/base/core/java/com/android/internal/policy/ |
H A D | PhoneWindow.java | 1123 boolean playSoundEffect = false; in onKeyUpPanel() 1129 playSoundEffect = mDecorContentParent.showOverflowMenu(); in onKeyUpPanel() 1132 playSoundEffect = mDecorContentParent.hideOverflowMenu(); in onKeyUpPanel() 1139 playSoundEffect = st.isOpen; in onKeyUpPanel() 1160 playSoundEffect = true; in onKeyUpPanel() 1165 if (playSoundEffect) { in onKeyUpPanel() 1169 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in onKeyUpPanel()
|
/aosp14/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | SoundEffectsHelper.java | 138 /*package*/ void playSoundEffect(int effect, int volume) { in playSoundEffect() method in SoundEffectsHelper
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | IAudioService.aidl | 206 oneway void playSoundEffect(int effectType, int userId); in playSoundEffect() method
|
H A D | AudioManager.java | 3985 public void playSoundEffect(@SystemSoundEffect int effectType) { in playSoundEffect() method in AudioManager 3986 playSoundEffect(effectType, UserHandle.USER_CURRENT); in playSoundEffect() 3997 public void playSoundEffect(@SystemSoundEffect int effectType, int userId) { in playSoundEffect() method in AudioManager 4008 service.playSoundEffect(effectType, userId); in playSoundEffect() 4023 public void playSoundEffect(@SystemSoundEffect int effectType, float volume) { in playSoundEffect() method in AudioManager 4052 vdm.playSoundEffect(mOriginalContextDeviceId, effectType); in delegateSoundEffectToVdm()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 7101 playSoundEffect( in performFocusNavigation() 7139 playSoundEffect(SoundEffectConstants.getContantForFocusDirection(direction)); in performKeyboardGroupNavigation() 7147 playSoundEffect(SoundEffectConstants.getContantForFocusDirection(direction)); in performKeyboardGroupNavigation() 8743 public void playSoundEffect(@SoundEffectConstants.SoundEffect int effectId) { in playSoundEffect() method in ViewRootImpl.TrackballAxis 8755 audioManager.playSoundEffect( in playSoundEffect() 8762 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in playSoundEffect() 8766 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN); in playSoundEffect() 8770 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT); in playSoundEffect() 8774 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT); in playSoundEffect() 8778 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP); in playSoundEffect()
|