Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/session/
DMediaSession.java294 public void setPlaybackToRemote(@NonNull VolumeProvider volumeProvider) { in setPlaybackToRemote() argument
295 if (volumeProvider == null) { in setPlaybackToRemote()
299 mVolumeProvider = volumeProvider; in setPlaybackToRemote()
301 volumeProvider.setCallback(new VolumeProvider.Callback() { in setPlaybackToRemote()
303 public void onVolumeChanged(VolumeProvider volumeProvider) { in setPlaybackToRemote()
304 notifyRemoteVolumeChanged(volumeProvider); in setPlaybackToRemote()
309 mBinder.setPlaybackToRemote(volumeProvider.getVolumeControl(), in setPlaybackToRemote()
310 volumeProvider.getMaxVolume()); in setPlaybackToRemote()
311 mBinder.setCurrentVolume(volumeProvider.getCurrentVolume()); in setPlaybackToRemote()
/frameworks/base/media/java/android/media/
DVolumeProvider.java159 public abstract void onVolumeChanged(VolumeProvider volumeProvider); in onVolumeChanged() argument
/frameworks/support/media-compat/java/android/support/v4/media/session/
DMediaSessionCompat.java527 public void setPlaybackToRemote(VolumeProviderCompat volumeProvider) { in setPlaybackToRemote() argument
528 if (volumeProvider == null) { in setPlaybackToRemote()
531 mImpl.setPlaybackToRemote(volumeProvider); in setPlaybackToRemote()
1771 void setPlaybackToRemote(VolumeProviderCompat volumeProvider); in setPlaybackToRemote() argument
1847 public void onVolumeChanged(VolumeProviderCompat volumeProvider) {
1848 if (mVolumeProvider != volumeProvider) {
1852 volumeProvider.getVolumeControl(), volumeProvider.getMaxVolume(),
1853 volumeProvider.getCurrentVolume());
1946 public void setPlaybackToRemote(VolumeProviderCompat volumeProvider) { in setPlaybackToRemote() argument
1947 if (volumeProvider == null) { in setPlaybackToRemote()
[all …]
/frameworks/support/media-compat/java/android/support/v4/media/
DVolumeProviderCompat.java190 public abstract void onVolumeChanged(VolumeProviderCompat volumeProvider); in onVolumeChanged() argument