/development/samples/browseable/FindMyPhone/Application/src/com.example.android.wearable.findphone/ |
D | SoundAlarmListenerService.java | 41 private AudioManager mAudioManager; field in SoundAlarmListenerService 50 mAudioManager = (AudioManager) getSystemService(AUDIO_SERVICE); in onCreate() 51 mOrigVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_ALARM); in onCreate() 52 mMaxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_ALARM); in onCreate() 60 mAudioManager.setStreamVolume(AudioManager.STREAM_ALARM, mOrigVolume, 0); in onDestroy() 77 mOrigVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_ALARM); in onDataChanged() 80 mAudioManager.setStreamVolume(AudioManager.STREAM_ALARM, mMaxVolume, 0); in onDataChanged() 91 mAudioManager.setStreamVolume(AudioManager.STREAM_ALARM, mOrigVolume, 0); in onDataChanged()
|
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/ |
D | SoundRecorder.java | 51 private final AudioManager mAudioManager; field in SoundRecorder 68 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in SoundRecorder() 183 mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, in startPlay() 184 mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC), 0 /* flags */); in startPlay()
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
D | ClockBackService.java | 215 private AudioManager mAudioManager; field in ClockBackService 332 mAudioManager = (AudioManager) getSystemService(Service.AUDIO_SERVICE); in onServiceConnected() 335 int ringerMode = mAudioManager.getRingerMode(); in onServiceConnected() 385 int currentRingerVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_RING); in generateScreenOnOrOffUtternace() 386 int maxRingerVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_RING); in generateScreenOnOrOffUtternace()
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | MainActivity.java | 98 private AudioManager mAudioManager; field in MainActivity 363 mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onCreate() 393 mAudioManager.requestAudioFocus(mAfChangeListener, AudioManager.STREAM_MUSIC, in registerRemoteControlClient() 395 mAudioManager.registerMediaButtonEventReceiver(mEventReceiver); in registerRemoteControlClient() 397 mAudioManager.registerRemoteControlClient(mRemoteControlClient); in registerRemoteControlClient() 410 mAudioManager.abandonAudioFocus(mAfChangeListener); in unregisterRemoteControlClient() 411 mAudioManager.unregisterMediaButtonEventReceiver(mEventReceiver); in unregisterRemoteControlClient() 412 mAudioManager.unregisterRemoteControlClient(mRemoteControlClient); in unregisterRemoteControlClient()
|
/development/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | Playback.java | 76 private AudioManager mAudioManager; field in Playback 100 this.mAudioManager = (AudioManager) service.getSystemService(Context.AUDIO_SERVICE); in Playback() 245 int result = mAudioManager.requestAudioFocus(this, AudioManager.STREAM_MUSIC, in tryToGetAudioFocus() 259 if (mAudioManager.abandonAudioFocus(this) == AudioManager.AUDIOFOCUS_REQUEST_GRANTED) { in giveUpAudioFocus()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | Playback.java | 75 private AudioManager mAudioManager; field in Playback 99 this.mAudioManager = (AudioManager) service.getSystemService(Context.AUDIO_SERVICE); in Playback() 244 int result = mAudioManager.requestAudioFocus(this, AudioManager.STREAM_MUSIC, in tryToGetAudioFocus() 258 if (mAudioManager.abandonAudioFocus(this) == AudioManager.AUDIOFOCUS_REQUEST_GRANTED) { in giveUpAudioFocus()
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
D | MusicService.java | 150 AudioManager mAudioManager; field in MusicService 189 mAudioManager = (AudioManager) getSystemService(AUDIO_SERVICE); in onCreate() 445 mAudioManager, mMediaButtonReceiverComponent); in playNextSong() 455 RemoteControlHelper.registerRemoteControlClient(mAudioManager, in playNextSong()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | SampleMediaRouterActivity.java | 184 private AudioManager mAudioManager; field in SampleMediaRouterActivity 346 mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onCreate()
|
/development/samples/training/NavigationDrawer/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |