OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mAudioFocusListener
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaAudioManagerTest.java
123
private static AudioFocusListener
mAudioFocusListener
;
139
* Fails the test if expectedFocusLossMode !=
mAudioFocusListener
.mLastFocusChange
143
// request AudioFocus so we can test that
mAudioFocusListener
loses it when another
145
int result = mAudioManager.requestAudioFocus(
mAudioFocusListener
,
150
// cause
mAudioFocusListener
to lose AudioFocus
159
mAudioFocusListener
.mLastFocusChange, expectedFocusLossMode);
163
mAudioFocusListener
= new AudioFocusListener();
164
mAudioManager.registerAudioFocusListener(
mAudioFocusListener
);
169
mAudioManager.abandonAudioFocus(
mAudioFocusListener
);
170
mAudioManager.unregisterAudioFocusListener(
mAudioFocusListener
);
[
all
...]
/packages/apps/Music/src/com/android/music/
AudioPreview.java
218
mAudioManager.abandonAudioFocus(
mAudioFocusListener
);
249
mAudioManager.requestAudioFocus(
mAudioFocusListener
, AudioManager.STREAM_MUSIC,
255
private OnAudioFocusChangeListener
mAudioFocusListener
= new OnAudioFocusChangeListener() {
287
mAudioManager.requestAudioFocus(
mAudioFocusListener
, AudioManager.STREAM_MUSIC,
MediaPlaybackService.java
305
private OnAudioFocusChangeListener
mAudioFocusListener
= new OnAudioFocusChangeListener() {
383
mAudioManager.abandonAudioFocus(
mAudioFocusListener
);
[
all
...]
Completed in 159 milliseconds