Home
last modified time | relevance | path

Searched refs:getVolumeMax (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
DRemoteDisplay.java132 public int getVolumeMax() { in getVolumeMax() method in RemoteDisplay
/frameworks/base/tests/RemoteDisplayProvider/src/com/android/media/remotedisplay/test/
DRemoteDisplayProviderService.java264 display.setVolume(Math.max(0, Math.min(display.getVolumeMax(), volume))); in onSetVolume()
275 display.setVolume(Math.max(0, Math.min(display.getVolumeMax(), in onAdjustVolume()
/frameworks/base/services/tests/media/mediarouterservicetest/src/com/android/server/media/
DAudioManagerRouteControllerTest.java268 assertThat(selectedRoute.getVolumeMax()).isEqualTo(3); in updateVolume_propagatesCorrectlyToRouteInfo()
280 assertThat(onlyTransferrableRoute.getVolumeMax()).isEqualTo(0); in updateVolume_propagatesCorrectlyToRouteInfo()
/frameworks/base/media/lib/remotedisplay/api/
Dsystem-current.txt13 method public int getVolumeMax();
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DStubMediaRoute2ProviderService.java229 volume = Math.max(0, Math.min(volume, route.getVolumeMax())); in onSetRouteVolume()
242 volume = Math.max(0, Math.min(volume, sessionInfo.getVolumeMax())); in onSetSessionVolume()
DMediaRouter2ManagerTest.java684 int targetVolume = originalVolume == volRoute.getVolumeMax() in testSetSystemRouteVolume()
704 int targetVolume = originalVolume == volRoute.getVolumeMax() in testSetRouteVolume()
848 assertThat(variableVolumeRoute.getVolumeMax()).isEqualTo(VOLUME_MAX); in testVolumeHandling()
/frameworks/base/media/java/android/media/
DMediaRouter.java2041 Math.max(0, Math.min(getVolume() + direction, getVolumeMax())); in requestUpdateVolume()
2056 public int getVolumeMax() { in getVolumeMax() method in MediaRouter.RouteInfo
2443 volume = Math.max(0, Math.min(volume, getVolumeMax())); in setVolume()
2715 final int maxVol = getVolumeMax(); in requestSetVolume()
2724 final int routeVol = (int) (scaledVolume * route.getVolumeMax()); in requestSetVolume()
2735 final int maxVol = getVolumeMax(); in requestUpdateVolume()
2801 final int routeMaxVolume = route.getVolumeMax(); in routeUpdated()
DMediaRouter2.java1926 public int getVolumeMax() { in getVolumeMax() method in MediaRouter2.RoutingController
1928 return mSessionInfo.getVolumeMax(); in getVolumeMax()
2111 if (volume < 0 || volume > getVolumeMax()) { in setVolume()
2889 if (volume < 0 || volume > route.getVolumeMax()) { in setRouteVolume()
2916 if (volume < 0 || volume > sessionInfo.getVolumeMax()) { in setSessionVolume()
DMediaRouter2Manager.java548 if (volume < 0 || volume > route.getVolumeMax()) { in setRouteVolume()
574 if (volume < 0 || volume > sessionInfo.getVolumeMax()) { in setSessionVolume()
DRoutingSessionInfo.java344 public int getVolumeMax() { in getVolumeMax() method in RoutingSessionInfo
DMediaRoute2Info.java702 public int getVolumeMax() { in getVolumeMax() method in MediaRoute2Info
/frameworks/base/core/java/com/android/internal/app/
DMediaRouteControllerDialog.java313 mVolumeSlider.setMax(mRoute.getVolumeMax()); in updateVolume()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DMediaDevice.java337 return mRouteInfo.getVolumeMax(); in getMaxVolume()
DInfoMediaManager.java586 return getActiveRoutingSession().getVolumeMax(); in getSessionVolumeMax()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DInfoMediaManagerTest.java688 verify(info).getVolumeMax(); in getSessionVolumeMax_containPackageName_returnMaxVolume()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputControllerTest.java891 when(mRemoteSessionInfo.getVolumeMax()).thenReturn(100); in getActiveRemoteMediaDevices()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt24366 method public int getVolumeMax();
24531 method public int getVolumeMax();
24636 method public int getVolumeMax();
25057 method public int getVolumeMax();
/frameworks/base/boot/
Dboot-image-profile.txt10981 HSPLandroid/media/MediaRouter$RouteInfo;->getVolumeMax()I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt15427 method public int getVolumeMax();
/frameworks/base/config/
Dboot-image-profile.txt10984 HSPLandroid/media/MediaRouter$RouteInfo;->getVolumeMax()I