Searched refs:mAudioManagerHelper (Results 1 – 3 of 3) sorted by relevance
41 private AudioManagerHelper mAudioManagerHelper; field in AudioManagerHelperTest51 mAudioManagerHelper = new AudioManagerHelper(testActivity, mTvView); in setup()58 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_NONE); in onAudioFocusChange_none_noTimeShift()68 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_NONE); in onAudioFocusChange_none_TimeShift()78 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_GAIN); in onAudioFocusChange_gain_noTimeShift()88 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_GAIN); in onAudioFocusChange_gain_timeShift()98 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_LOSS); in onAudioFocusChange_loss_noTimeShift()108 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_LOSS); in onAudioFocusChange_loss_timeShift()118 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_LOSS_TRANSIENT); in onAudioFocusChange_lossTransient_noTimeShift()128 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_LOSS_TRANSIENT); in onAudioFocusChange_lossTransient_timeShift()[all …]
82 private AudioManagerHelper mAudioManagerHelper; field in DvrPlaybackOverlayFragment272 mAudioManagerHelper = new AudioManagerHelper(getActivity(), mDvrPlayer.getView()); in onActivityCreated()303 mAudioManagerHelper.abandonAudioFocus(); in onDestroy()447 mAudioManagerHelper.requestAudioFocus(); in preparePlayback()
327 private AudioManagerHelper mAudioManagerHelper; field in MainActivity711 mAudioManagerHelper = new AudioManagerHelper(this, mTvView); in onCreate()867 mAudioManagerHelper.requestAudioFocus(); in onResume()938 mAudioManagerHelper.abandonAudioFocus(); in onPause()1040 mAudioManagerHelper.setVolumeByAudioFocusStatus(); in startTv()1079 mAudioManagerHelper.setVolumeByAudioFocusStatus(); in startTv()1644 mAudioManagerHelper.abandonAudioFocus(); in stopTv()2520 mAudioManagerHelper.abandonAudioFocus();