OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AudioManager
(Results
51 - 75
of
152
) sorted by null
1
2
3
4
5
6
7
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaEqualizerTest.java
25
import android.media.
AudioManager
;
266
AudioManager
am = (
AudioManager
) getActivity().getSystemService(Context.AUDIO_SERVICE);
267
int volume = am.getStreamMaxVolume(
AudioManager
.STREAM_MUSIC);
268
am.setStreamVolume(
AudioManager
.STREAM_MUSIC,
284
mp.setAudioStreamType(
AudioManager
.STREAM_MUSIC);
323
am.setStreamVolume(
AudioManager
.STREAM_MUSIC, volume, 0);
/cts/tests/tests/media/src/android/media/cts/
AudioTrackTest.java
20
import android.media.
AudioManager
;
128
TestResults res = constructorTestMultiSampleRate(
AudioManager
.STREAM_MUSIC,
146
TestResults res = constructorTestMultiSampleRate(
AudioManager
.STREAM_MUSIC,
164
TestResults res = constructorTestMultiSampleRate(
AudioManager
.STREAM_MUSIC,
182
TestResults res = constructorTestMultiSampleRate(
AudioManager
.STREAM_MUSIC,
204
TestResults res = constructorTestMultiSampleRate(
AudioManager
.STREAM_MUSIC,
222
TestResults res = constructorTestMultiSampleRate(
AudioManager
.STREAM_MUSIC,
240
TestResults res = constructorTestMultiSampleRate(
AudioManager
.STREAM_MUSIC,
258
TestResults res = constructorTestMultiSampleRate(
AudioManager
.STREAM_MUSIC,
283
final int[] STREAM_TYPES = {
AudioManager
.STREAM_ALARM, AudioManager.STREAM_MUSIC
[
all
...]
AudioTrack_ListenerTest.java
26
import android.media.
AudioManager
;
42
private final int TEST_STREAM_TYPE1 =
AudioManager
.STREAM_MUSIC;
SoundPoolTest.java
29
import android.media.
AudioManager
;
112
mSoundPool = new SoundPool(SOUNDPOOL_STREAMS,
AudioManager
.STREAM_MUSIC, srcQuality);
213
mSoundPool = new SoundPool(SOUNDPOOL_STREAMS,
AudioManager
.STREAM_MUSIC, srcQuality);
278
mSoundPool = new SoundPool(SOUNDPOOL_STREAMS,
AudioManager
.STREAM_MUSIC, srcQuality);
319
mSoundPool = new SoundPool(SOUNDPOOL_STREAMS,
AudioManager
.STREAM_MUSIC, 0);
/frameworks/base/policy/src/com/android/internal/policy/impl/
LockScreen.java
36
import android.media.
AudioManager
;
64
private
AudioManager
mAudioManager;
94
&& (mAudioManager.getRingerMode() ==
AudioManager
.RINGER_MODE_VIBRATE);
280
?
AudioManager
.RINGER_MODE_VIBRATE
281
:
AudioManager
.RINGER_MODE_SILENT);
283
mAudioManager.setRingerMode(
AudioManager
.RINGER_MODE_NORMAL);
345
mAudioManager = (
AudioManager
) mContext.getSystemService(Context.AUDIO_SERVICE);
383
return mAudioManager.getRingerMode() !=
AudioManager
.RINGER_MODE_NORMAL;
463
boolean silent =
AudioManager
.RINGER_MODE_NORMAL != state;
GlobalActions.java
26
import android.media.
AudioManager
;
60
private final
AudioManager
mAudioManager;
80
mAudioManager = (
AudioManager
) mContext.getSystemService(Context.AUDIO_SERVICE);
134
?
AudioManager
.RINGER_MODE_VIBRATE
135
:
AudioManager
.RINGER_MODE_SILENT);
137
mAudioManager.setRingerMode(
AudioManager
.RINGER_MODE_NORMAL);
232
mAudioManager.getRingerMode() !=
AudioManager
.RINGER_MODE_NORMAL;
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertAudio.java
24
import android.media.
AudioManager
;
85
private
AudioManager
mAudioManager;
186
mAudioManager = (
AudioManager
) getSystemService(Context.AUDIO_SERVICE);
281
mAudioManager.requestAudioFocus(null,
AudioManager
.STREAM_ALARM,
282
AudioManager
.AUDIOFOCUS_GAIN_TRANSIENT);
300
player.setAudioStreamType(
AudioManager
.STREAM_ALARM);
/packages/apps/DeskClock/src/com/android/deskclock/
AlarmKlaxon.java
24
import android.media.
AudioManager
;
232
final
AudioManager
audioManager
= (
AudioManager
)getSystemService(Context.AUDIO_SERVICE);
235
if (
audioManager
.getStreamVolume(
AudioManager
.STREAM_ALARM) != 0) {
236
player.setAudioStreamType(
AudioManager
.STREAM_ALARM);
SettingsActivity.java
20
import android.media.
AudioManager
;
39
1 <<
AudioManager
.STREAM_ALARM;
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
Recorder.java
23
import android.media.
AudioManager
;
182
AudioManager
audioMngr = (
AudioManager
)context.getSystemService(Context.AUDIO_SERVICE);
183
boolean isInCall = ((audioMngr.getMode() ==
AudioManager
.MODE_IN_CALL) ||
184
(audioMngr.getMode() ==
AudioManager
.MODE_IN_COMMUNICATION));
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/
AudioQualityVerifierActivity.java
29
import android.media.
AudioManager
;
55
public static final int PLAYBACK_STREAM =
AudioManager
.STREAM_MUSIC;
144
setVolumeControlStream(
AudioManager
.STREAM_MUSIC);
149
AudioManager
mgr = (
AudioManager
) getSystemService(Context.AUDIO_SERVICE);
156
mgr.setStreamVolume(PLAYBACK_STREAM, (max * 2) / 3,
AudioManager
.FLAG_SHOW_UI);
/external/chromium/chrome/browser/speech/
speech_input_manager.cc
70
AudioManager
::GetAudioManager()->GetAudioInputDeviceModel());
73
AudioManager
::GetAudioManager()->GetAudioInputDeviceModel());
167
// Since
AudioManager
::ShowAudioInputSettings can potentially launch external
176
DCHECK(
AudioManager
::GetAudioManager()->CanShowAudioInputSettings());
177
if (
AudioManager
::GetAudioManager()->CanShowAudioInputSettings())
178
AudioManager
::GetAudioManager()->ShowAudioInputSettings();
244
if (!
AudioManager
::GetAudioManager()->HasAudioInputDevices()) {
/packages/apps/Music/src/com/android/music/
MediaButtonIntentReceiver.java
22
import android.media.
AudioManager
;
61
if (
AudioManager
.ACTION_AUDIO_BECOMING_NOISY.equals(intentAction)) {
VideoBrowserActivity.java
24
import android.media.
AudioManager
;
44
setVolumeControlStream(
AudioManager
.STREAM_MUSIC);
/packages/apps/Nfc/src/com/android/nfc/
P2pEventManager.java
22
import android.media.
AudioManager
;
56
mSoundPool = new SoundPool(1,
AudioManager
.STREAM_NOTIFICATION, 0);
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
MusicIntentReceiver.java
35
if (intent.getAction().equals(android.media.
AudioManager
.ACTION_AUDIO_BECOMING_NOISY)) {
/frameworks/base/media/java/android/media/
Ringtone.java
23
import android.media.
AudioManager
;
65
private int mStreamType =
AudioManager
.STREAM_RING;
66
private
AudioManager
mAudioManager;
72
mAudioManager = (
AudioManager
) mContext.getSystemService(Context.AUDIO_SERVICE);
78
* @param streamType The stream, see {@link
AudioManager
}.
99
* @return The stream type, see {@link
AudioManager
}.
/packages/apps/Phone/src/com/android/phone/
EmergencyDialer.java
29
import android.media.
AudioManager
;
88
private static final int DIAL_TONE_STREAM_TYPE =
AudioManager
.STREAM_MUSIC;
450
mToneGenerator = new ToneGenerator(
AudioManager
.STREAM_DTMF,
534
AudioManager
audioManager
= (
AudioManager
) getSystemService(Context.AUDIO_SERVICE);
535
int ringerMode =
audioManager
.getRingerMode();
536
if ((ringerMode ==
AudioManager
.RINGER_MODE_SILENT)
537
|| (ringerMode ==
AudioManager
.RINGER_MODE_VIBRATE)) {
CallNotifier.java
33
import android.media.
AudioManager
;
177
// Cached
AudioManager
178
private
AudioManager
mAudioManager;
203
mAudioManager = (
AudioManager
) mApplication.getSystemService(Context.AUDIO_SERVICE);
212
mSignalInfoToneGenerator = new ToneGenerator(
AudioManager
.STREAM_VOICE_CALL,
[
all
...]
/frameworks/base/core/java/android/preference/
VolumePreference.java
23
import android.media.
AudioManager
;
228
private
AudioManager
mAudioManager;
256
mAudioManager = (
AudioManager
) context.getSystemService(Context.AUDIO_SERVICE);
274
if (mStreamType ==
AudioManager
.STREAM_RING) {
276
} else if (mStreamType ==
AudioManager
.STREAM_NOTIFICATION) {
/frameworks/base/core/java/android/server/
BluetoothA2dpService.java
35
import android.media.
AudioManager
;
63
private final
AudioManager
mAudioManager;
93
} else if (action.equals(
AudioManager
.VOLUME_CHANGED_ACTION)) {
94
int streamType = intent.getIntExtra(
AudioManager
.EXTRA_VOLUME_STREAM_TYPE, -1);
95
if (streamType ==
AudioManager
.STREAM_MUSIC) {
101
intent.getIntExtra(
AudioManager
.EXTRA_VOLUME_STREAM_VALUE, 0);
103
intent.getIntExtra(
AudioManager
.EXTRA_PREV_VOLUME_STREAM_VALUE, 0);
134
mAudioManager = (
AudioManager
) context.getSystemService(Context.AUDIO_SERVICE);
150
mIntentFilter.addAction(
AudioManager
.VOLUME_CHANGED_ACTION);
/packages/apps/VoiceDialer/src/com/android/voicedialer/
VoiceDialerActivity.java
30
import android.media.
AudioManager
;
165
private
AudioManager
mAudioManager;
195
mAudioManager = (
AudioManager
)getSystemService(AUDIO_SERVICE);
196
mToneGenerator = new ToneGenerator(
AudioManager
.STREAM_RING,
204
null,
AudioManager
.STREAM_MUSIC,
205
AudioManager
.AUDIOFOCUS_GAIN_TRANSIENT);
352
AudioManager
.STREAM_BLUETOOTH_SCO);
353
int maxVolume = mAudioManager.getStreamMaxVolume(
AudioManager
.STREAM_BLUETOOTH_SCO);
356
mAudioManager.setStreamVolume(
AudioManager
.STREAM_BLUETOOTH_SCO, volume, 0);
400
String.valueOf(
AudioManager
.STREAM_VOICE_CALL))
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/media/
MediaPlayerDemo_Video.java
22
import android.media.
AudioManager
;
130
mMediaPlayer.setAudioStreamType(
AudioManager
.STREAM_MUSIC);
/frameworks/base/services/java/com/android/server/
DockObserver.java
24
import android.media.
AudioManager
;
185
sfx.setStreamType(
AudioManager
.STREAM_SYSTEM);
/packages/apps/Mms/src/com/android/mms/ui/
AudioAttachmentView.java
25
import android.media.
AudioManager
;
92
mMediaPlayer.setAudioStreamType(
AudioManager
.STREAM_MUSIC);
Completed in 3640 milliseconds
1
2
3
4
5
6
7