/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/systemsounds/ |
D | HomeSoundEffectControllerTest.java | 103 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/ |
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()
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | KeyButtonView.java | 134 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/ |
D | KeyButtonView.java | 255 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/ |
D | AudioManager.java | 281 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/ |
D | IVirtualDeviceManager.aidl | 129 void playSoundEffect(int deviceId, int effectType); in playSoundEffect() method
|
D | VirtualDeviceManager.java | 514 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/ |
D | HomeSoundEffectController.java | 170 mAudioManager.playSoundEffect(AudioManager.FX_HOME); in handleTaskStackChanged()
|
/frameworks/base/core/java/android/widget/ |
D | ExpandableListView.java | 701 playSoundEffect(SoundEffectConstants.CLICK); in handleItemClick() 710 playSoundEffect(SoundEffectConstants.CLICK); in handleItemClick() 728 playSoundEffect(SoundEffectConstants.CLICK); in handleItemClick()
|
D | Gallery.java | 1264 playSoundEffect(SoundEffectConstants.NAVIGATION_LEFT); in onKeyDown() 1270 playSoundEffect(SoundEffectConstants.NAVIGATION_RIGHT); in onKeyDown()
|
D | CompoundButton.java | 150 playSoundEffect(SoundEffectConstants.CLICK); in performClick()
|
D | TabHost.java | 408 playSoundEffect(soundEffect); in dispatchKeyEvent()
|
D | AdapterView.java | 329 playSoundEffect(SoundEffectConstants.CLICK); in performItemClick()
|
D | SlidingDrawer.java | 480 playSoundEffect(SoundEffectConstants.CLICK); in onTouchEvent()
|
D | GridView.java | 1888 playSoundEffect(SoundEffectConstants.getContantForFocusDirection(direction)); in arrowScroll() 1947 playSoundEffect(SoundEffectConstants.getContantForFocusDirection(direction)); in sequenceScroll()
|
D | ActionMenuPresenter.java | 892 playSoundEffect(SoundEffectConstants.CLICK); in performClick()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuItemView.java | 142 playSoundEffect(SoundEffectConstants.CLICK); in performClick()
|
/frameworks/base/core/java/android/app/ |
D | MediaRouteButton.java | 186 playSoundEffect(SoundEffectConstants.CLICK); in performClick()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneWindow.java | 1199 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/ |
D | VirtualDeviceManagerService.java | 623 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/ |
D | SoundEffectsHelper.java | 138 /*package*/ void playSoundEffect(int effect, int volume) { in playSoundEffect() method in SoundEffectsHelper
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewRootImplTest.java | 463 () -> viewRootImpl.playSoundEffect(/* effectId= */ -1)); in playSoundEffect_wrongEffectId_throwException() 481 viewRootImpl.playSoundEffect(/* effectId= */ -1); in playSoundEffect_wrongEffectId_touchFeedbackDisabled_doNothing()
|
/frameworks/base/media/java/android/media/ |
D | IAudioService.aidl | 212 oneway void playSoundEffect(int effectType, int userId); in playSoundEffect() method
|
D | AudioManager.java | 4005 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/ |
D | ViewRootImpl.java | 7789 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()
|