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()
328 private AudioManagerHelper mAudioManagerHelper; field in MainActivity716 mAudioManagerHelper = new AudioManagerHelper(this, mTvView); in onCreate()872 mAudioManagerHelper.requestAudioFocus(); in onResume()943 mAudioManagerHelper.abandonAudioFocus(); in onPause()1045 mAudioManagerHelper.setVolumeByAudioFocusStatus(); in startTv()1084 mAudioManagerHelper.setVolumeByAudioFocusStatus(); in startTv()1649 mAudioManagerHelper.abandonAudioFocus(); in stopTv()2525 mAudioManagerHelper.abandonAudioFocus();