Home
last modified time | relevance | path

Searched refs:playSoundEffect (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/systemsounds/
DHomeSoundEffectControllerTest.java103 verify(mAudioManager, never()).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenHomeFirstMovesToFront()
125 verify(mAudioManager).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectPlayedWhenEnabled()
149 verify(mAudioManager).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedTwiceInRow()
155 verify(mAudioManager, times(1)).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedTwiceInRow()
168 verify(mAudioManager, never()).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenNonHomeTaskMovesToFront()
191 verify(mAudioManager).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenOtherHomeActivityMovesToFront()
197 verify(mAudioManager, times(1)).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenOtherHomeActivityMovesToFront()
219 verify(mAudioManager, never()).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenOtherHomeActivityMovesToFrontOfOtherApp()
252 verify(mAudioManager, never()).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenHomeActivityMovesToFrontAfterException()
281 verify(mAudioManager, never()).playSoundEffect(AudioManager.FX_HOME); in testHomeSoundEffectNotPlayedWhenHomeActivityMovesToFrontAfterException2()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DAudioManagerUnitTest.java56 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()
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonView.java134 playSoundEffect(SoundEffectConstants.CLICK); in performAccessibilityActionInternal()
174 playSoundEffect(SoundEffectConstants.CLICK); in onTouchEvent()
202 playSoundEffect(SoundEffectConstants.CLICK); in onTouchEvent()
248 public void playSoundEffect(int soundConstant) { in playSoundEffect() method in KeyButtonView
250 mAudioManager.playSoundEffect(soundConstant); in playSoundEffect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonView.java255 playSoundEffect(SoundEffectConstants.CLICK); in performAccessibilityActionInternal()
294 playSoundEffect(SoundEffectConstants.CLICK); in onTouchEvent()
326 playSoundEffect(SoundEffectConstants.CLICK); in onTouchEvent()
371 public void playSoundEffect(int soundConstant) { in playSoundEffect() method in KeyButtonView
373 mAudioManager.playSoundEffect(soundConstant, ActivityManager.getCurrentUser()); in playSoundEffect()
/frameworks/layoutlib/bridge/src/android/media/
DAudioManager.java281 public void playSoundEffect(int effectType) { } in playSoundEffect() method in AudioManager
283 public void playSoundEffect(int effectType, int userId) { } in playSoundEffect() method in AudioManager
285 public void playSoundEffect(int effectType, float volume) { } in playSoundEffect() method in AudioManager
/frameworks/base/core/java/android/companion/virtual/
DIVirtualDeviceManager.aidl129 void playSoundEffect(int deviceId, int effectType); in playSoundEffect() method
DVirtualDeviceManager.java514 public void playSoundEffect(int deviceId, @AudioManager.SystemSoundEffect int effectType) { in playSoundEffect() method in VirtualDeviceManager
520 mService.playSoundEffect(deviceId, effectType); in playSoundEffect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/systemsounds/
DHomeSoundEffectController.java170 mAudioManager.playSoundEffect(AudioManager.FX_HOME); in handleTaskStackChanged()
/frameworks/base/core/java/android/widget/
DExpandableListView.java701 playSoundEffect(SoundEffectConstants.CLICK); in handleItemClick()
710 playSoundEffect(SoundEffectConstants.CLICK); in handleItemClick()
728 playSoundEffect(SoundEffectConstants.CLICK); in handleItemClick()
DGallery.java1264 playSoundEffect(SoundEffectConstants.NAVIGATION_LEFT); in onKeyDown()
1270 playSoundEffect(SoundEffectConstants.NAVIGATION_RIGHT); in onKeyDown()
DCompoundButton.java150 playSoundEffect(SoundEffectConstants.CLICK); in performClick()
DTabHost.java408 playSoundEffect(soundEffect); in dispatchKeyEvent()
DAdapterView.java329 playSoundEffect(SoundEffectConstants.CLICK); in performItemClick()
DSlidingDrawer.java480 playSoundEffect(SoundEffectConstants.CLICK); in onTouchEvent()
DGridView.java1888 playSoundEffect(SoundEffectConstants.getContantForFocusDirection(direction)); in arrowScroll()
1947 playSoundEffect(SoundEffectConstants.getContantForFocusDirection(direction)); in sequenceScroll()
DActionMenuPresenter.java892 playSoundEffect(SoundEffectConstants.CLICK); in performClick()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java142 playSoundEffect(SoundEffectConstants.CLICK); in performClick()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java186 playSoundEffect(SoundEffectConstants.CLICK); in performClick()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java1199 boolean playSoundEffect = false; in onKeyUpPanel()
1205 playSoundEffect = mDecorContentParent.showOverflowMenu(); in onKeyUpPanel()
1208 playSoundEffect = mDecorContentParent.hideOverflowMenu(); in onKeyUpPanel()
1215 playSoundEffect = st.isOpen; in onKeyUpPanel()
1236 playSoundEffect = true; in onKeyUpPanel()
1241 if (playSoundEffect) { in onKeyUpPanel()
1245 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in onKeyUpPanel()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceManagerService.java623 public void playSoundEffect(int deviceId, int effectType) { in playSoundEffect() method in VirtualDeviceManagerService.VirtualDeviceManagerImpl
630 virtualDevice.playSoundEffect(effectType); in playSoundEffect()
/frameworks/base/services/core/java/com/android/server/audio/
DSoundEffectsHelper.java138 /*package*/ void playSoundEffect(int effect, int volume) { in playSoundEffect() method in SoundEffectsHelper
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootImplTest.java463 () -> viewRootImpl.playSoundEffect(/* effectId= */ -1)); in playSoundEffect_wrongEffectId_throwException()
481 viewRootImpl.playSoundEffect(/* effectId= */ -1); in playSoundEffect_wrongEffectId_touchFeedbackDisabled_doNothing()
/frameworks/base/media/java/android/media/
DIAudioService.aidl212 oneway void playSoundEffect(int effectType, int userId); in playSoundEffect() method
DAudioManager.java4005 public void playSoundEffect(@SystemSoundEffect int effectType) { in playSoundEffect() method in AudioManager
4006 playSoundEffect(effectType, UserHandle.USER_CURRENT); in playSoundEffect()
4017 public void playSoundEffect(@SystemSoundEffect int effectType, int userId) { in playSoundEffect() method in AudioManager
4028 service.playSoundEffect(effectType, userId); in playSoundEffect()
4043 public void playSoundEffect(@SystemSoundEffect int effectType, float volume) { in playSoundEffect() method in AudioManager
4072 vdm.playSoundEffect(mOriginalContextDeviceId, effectType); in delegateSoundEffectToVdm()
/frameworks/base/core/java/android/view/
DViewRootImpl.java7789 playSoundEffect( in performFocusNavigation()
7843 playSoundEffect(SoundEffectConstants.getContantForFocusDirection(direction)); in performKeyboardGroupNavigation()
7851 playSoundEffect(SoundEffectConstants.getContantForFocusDirection(direction)); in performKeyboardGroupNavigation()
9551 public void playSoundEffect(@SoundEffectConstants.SoundEffect int effectId) { in playSoundEffect() method in ViewRootImpl.TrackballAxis
9563 audioManager.playSoundEffect( in playSoundEffect()
9570 audioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in playSoundEffect()
9574 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN); in playSoundEffect()
9578 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT); in playSoundEffect()
9582 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT); in playSoundEffect()
9586 audioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP); in playSoundEffect()

12