Home
last modified time | relevance | path

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

/aosp12/frameworks/base/tests/RemoteDisplayProvider/src/com/android/media/remotedisplay/test/
H A 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()
/aosp12/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
H A DRemoteDisplay.java132 public int getVolumeMax() { in getVolumeMax() method in RemoteDisplay
/aosp12/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
H A DStubMediaRoute2ProviderService.java202 volume = Math.max(0, Math.min(volume, route.getVolumeMax())); in onSetRouteVolume()
215 volume = Math.max(0, Math.min(volume, sessionInfo.getVolumeMax())); in onSetSessionVolume()
H A DMediaRouter2ManagerTest.java569 int targetVolume = originalVolume == volRoute.getVolumeMax() in testSetSystemRouteVolume()
589 int targetVolume = originalVolume == volRoute.getVolumeMax() in testSetRouteVolume()
729 assertEquals(VOLUME_MAX, variableVolumeRoute.getVolumeMax()); in testVolumeHandling()
/aosp12/frameworks/base/media/java/android/media/
H A DMediaRoute2Info.java493 public int getVolumeMax() { in getVolumeMax() method in MediaRoute2Info
619 .append(", volumeMax=").append(getVolumeMax()) in toString()
H A DRoutingSessionInfo.java236 public int getVolumeMax() { in getVolumeMax() method in RoutingSessionInfo
343 .append(", volumeMax=").append(getVolumeMax()) in toString()
H A DMediaRouter.java2056 Math.max(0, Math.min(getVolume() + direction, getVolumeMax())); in requestUpdateVolume()
2071 public int getVolumeMax() { in getVolumeMax() method in MediaRouter.RouteInfo
2458 volume = Math.max(0, Math.min(volume, getVolumeMax())); in setVolume()
2730 final int maxVol = getVolumeMax(); in requestSetVolume()
2739 final int routeVol = (int) (scaledVolume * route.getVolumeMax()); in requestSetVolume()
2750 final int maxVol = getVolumeMax(); in requestUpdateVolume()
2816 final int routeMaxVolume = route.getVolumeMax(); in routeUpdated()
H A DMediaRouter2.java1384 public int getVolumeMax() { in getVolumeMax() method in MediaRouter2.RoutingController
1386 return mSessionInfo.getVolumeMax(); in getVolumeMax()
1572 if (volume < 0 || volume > getVolumeMax()) { in setVolume()
H A DMediaRouter2Manager.java518 if (volume < 0 || volume > route.getVolumeMax()) { in setRouteVolume()
547 if (volume < 0 || volume > sessionInfo.getVolumeMax()) { in setSessionVolume()
/aosp12/frameworks/base/media/lib/remotedisplay/api/
H A Dsystem-current.txt13 method public int getVolumeMax();
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
H A DRemoteMediaSliceTest.java98 when(remoteSessionInfo.getVolumeMax()).thenReturn(100); in setUp()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/
H A DRemoteVolumeGroupController.java127 seekBarPreference.setMax(info.getVolumeMax()); in refreshPreference()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
H A DMediaDevice.java221 return mRouteInfo.getVolumeMax(); in getMaxVolume()
H A DInfoMediaManager.java338 return info.getVolumeMax(); in getSessionVolumeMax()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
H A DRemoteVolumeGroupControllerTest.java115 when(remoteSessionInfo.getVolumeMax()).thenReturn(MAX_VOLUME); in setUp()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
H A DMediaOutputControllerTest.java299 when(mRemoteSessionInfo.getVolumeMax()).thenReturn(100); in getActiveRemoteMediaDevice_isSystemSession_returnSession()
313 when(mRemoteSessionInfo.getVolumeMax()).thenReturn(100); in getActiveRemoteMediaDevice_notSystemSession_returnEmpty()
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteControllerDialog.java313 mVolumeSlider.setMax(mRoute.getVolumeMax()); in updateVolume()
/aosp12/packages/apps/Settings/src/com/android/settings/media/
H A DRemoteMediaSlice.java123 final int maxVolume = info.getVolumeMax(); in getSlice()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
H A DInfoMediaManagerTest.java481 verify(info).getVolumeMax(); in getSessionVolumeMax_containPackageName_returnMaxVolume()
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt23228 method public int getVolumeMax();
23360 method public int getVolumeMax();
23453 method public int getVolumeMax();
23804 method public int getVolumeMax();
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt11241 HSPLandroid/media/MediaRouter$RouteInfo;->getVolumeMax()I
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt15427 method public int getVolumeMax();
/aosp12/frameworks/base/config/
H A Dboot-image-profile.txt11236 HSPLandroid/media/MediaRouter$RouteInfo;->getVolumeMax()I