Home
last modified time | relevance | path

Searched refs:volumeProvider (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/java/android/media/session/
DMediaSession.java322 public void setPlaybackToRemote(@NonNull VolumeProvider volumeProvider) { in setPlaybackToRemote() argument
323 if (volumeProvider == null) { in setPlaybackToRemote()
327 mVolumeProvider = volumeProvider; in setPlaybackToRemote()
329 volumeProvider.setCallback(new VolumeProvider.Callback() { in setPlaybackToRemote()
331 public void onVolumeChanged(VolumeProvider volumeProvider) { in setPlaybackToRemote()
332 notifyRemoteVolumeChanged(volumeProvider); in setPlaybackToRemote()
337 mBinder.setPlaybackToRemote(volumeProvider.getVolumeControl(), in setPlaybackToRemote()
338 volumeProvider.getMaxVolume()); in setPlaybackToRemote()
339 mBinder.setCurrentVolume(volumeProvider.getCurrentVolume()); in setPlaybackToRemote()
/frameworks/base/media/java/android/media/
DVolumeProvider.java162 public abstract void onVolumeChanged(VolumeProvider volumeProvider); in onVolumeChanged() argument