Home
last modified time | relevance | path

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

/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DBaseHdmiCecAbsoluteVolumeBehaviorTest.java165 protected void assertApproximateDeviceVolumeAndMute(int expectedVolume, boolean expectedMute) in assertApproximateDeviceVolumeAndMute() argument
172 assertWithMessage("Expected DUT to have volume " + expectedVolume in assertApproximateDeviceVolumeAndMute()
174 .that(Math.abs(expectedVolume - actualVolume) <= 5) in assertApproximateDeviceVolumeAndMute()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioManagerTest.java2833 private void assertCallChangesStreamVolume(Runnable r, int stream, int expectedVolume) in assertCallChangesStreamVolume() argument
2835 assertCallChangesStreamVolume(r, stream, expectedVolume, null); in assertCallChangesStreamVolume()
2838 private void assertCallChangesStreamVolume(Runnable r, int stream, int expectedVolume, in assertCallChangesStreamVolume() argument
2844 .isNotEqualTo(expectedVolume); in assertCallChangesStreamVolume()
2864 .isEqualTo(expectedVolume); in assertCallChangesStreamVolume()
2867 .isEqualTo(expectedVolume); in assertCallChangesStreamVolume()
2898 private void waitForStreamVolumeSet(int stream, int expectedVolume) throws Exception { in waitForStreamVolumeSet() argument
2901 if (initVol != expectedVolume) { in waitForStreamVolumeSet()
2909 expectedVolume, 0 /* flags */); in waitForStreamVolumeSet()
2912 .isEqualTo(expectedVolume); in waitForStreamVolumeSet()
[all …]