Searched refs:getFocusState (Results 1 – 7 of 7) sorted by relevance
219 assertThat(mStreamHandler.getFocusState()).isEqualTo(AudioManager.AUDIOFOCUS_GAIN); in testFocusGain()234 assertThat(mStreamHandler.getFocusState()) in testFocusTransientMayDuck()252 assertThat(mStreamHandler.getFocusState()) in testFocusLostTransient()288 assertThat(mStreamHandler.getFocusState()).isEqualTo(AudioManager.AUDIOFOCUS_GAIN); in testFocusGainFromTransientLoss()303 assertThat(mStreamHandler.getFocusState()).isEqualTo(AudioManager.AUDIOFOCUS_NONE); in testFocusLost()
484 int focusState = getFocusState(); in processMessage()609 int focusState = getFocusState(); in processMessage()1250 private int getFocusState() { in getFocusState() method in AvrcpControllerStateMachine1254 focusState = a2dpSinkService.getFocusState(); in getFocusState()1274 if (getFocusState() == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT) {1315 if (getFocusState() == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT) {
170 public int getFocusState() { in getFocusState() method in A2dpSinkService173 return mA2dpSinkStreamHandler.getFocusState(); in getFocusState()
120 int getFocusState() { in getFocusState() method in A2dpSinkStreamHandler
195 when(mA2dpSinkService.getFocusState()).thenReturn(state); in sendAudioFocusUpdate()1152 when(mA2dpSinkService.getFocusState()).thenReturn(AudioManager.AUDIOFOCUS_NONE); in testPlaybackWhileMusicPlaying()1170 when(mA2dpSinkService.getFocusState()).thenReturn(AudioManager.AUDIOFOCUS_NONE); in testPlaybackWhileIdle()1188 when(mA2dpSinkService.getFocusState()).thenReturn(AudioManager.ERROR); in testPlaybackWhileErrorState()1209 when(mA2dpSinkService.getFocusState()).thenReturn(AudioManager.AUDIOFOCUS_GAIN); in testPlaybackWhilePlayingState()
503 /* package */ int getFocusState() { in getFocusState() method in FocusOverlayManager
558 /* package */ int getFocusState() { in getFocusState() method in FocusOverlayManager