/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | BluetoothProfileConnectionInfoTest.java | 40 final int volume = 42; in testCoverageA2dp() local 42 .createA2dpInfo(supprNoisy, volume); in testCoverageA2dp() 45 assertEquals(info.getVolume(), volume); in testCoverageA2dp() local 50 final int volume = 42; in testCoverageA2dpSink() local 52 .createA2dpSinkInfo(volume); in testCoverageA2dpSink() 54 assertEquals(info.getVolume(), volume); in testCoverageA2dpSink() local 80 final int volume = 7; in testCoverageLeOutputAudio() local 82 .createLeAudioOutputInfo(supprNoisy, volume); in testCoverageLeOutputAudio() 86 assertEquals(info.getVolume(), volume); in testCoverageLeOutputAudio() local
|
D | VolumeShaperTest.java | 948 final float volume = volumeShaper.getVolume(); in runTestCubicMonotonicPlayer() local 950 + volume + " >= " + lastVolume, in runTestCubicMonotonicPlayer() 951 (volume >= lastVolume)); in runTestCubicMonotonicPlayer() 952 lastVolume = volume; in runTestCubicMonotonicPlayer() 971 final float volume = volumeShaper.getVolume(); in runTestCubicMonotonicPlayer() local 973 + volume + " <= " + lastVolume, in runTestCubicMonotonicPlayer() 974 (volume <= lastVolume)); in runTestCubicMonotonicPlayer() 975 lastVolume = volume; in runTestCubicMonotonicPlayer() 995 final float volume = volumeShaper.getVolume(); in runTestCubicMonotonicPlayer() local 997 + volume + " >= " + lastVolume, in runTestCubicMonotonicPlayer() [all …]
|
D | AudioManagerTest.java | 485 float volume = 0.5f; // volume should be between 0.f to 1.f (or -1). in testSoundEffects() local 492 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP, volume); in testSoundEffects() 493 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN, volume); in testSoundEffects() 494 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT, volume); in testSoundEffects() 495 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT, volume); in testSoundEffects() 505 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP, volume); in testSoundEffects() 506 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN, volume); in testSoundEffects() 507 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT, volume); in testSoundEffects() 508 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT, volume); in testSoundEffects() 1053 int volume, volumeDelta; in testVolume() local [all …]
|
/cts/tests/storageaccess/src/android/storageaccess/cts/tests/ |
D | ScopedDirectoryAccessClientTest.kt | 46 volumes.forEach { volume -> in <lambda>() method 48 assertNull("Should NOT be able get access intent for '$path' on $volume", in <lambda>() 49 volume.createAccessIntent(path)) in <lambda>() 77 volumes.forEach { volume -> in <lambda>() method 81 if (volume.isPrimary && path == null) return@innerLoop in <lambda>() 83 val intent = volume.createAccessIntent(path) in <lambda>() 84 assertNotNull("Could NOT get access intent for '$path' on $volume", intent) in <lambda>() 86 log("Launching Access Intent for '$path' on $volume: ${intent!!}") in <lambda>()
|
/cts/hostsidetests/hdmicec/app/src/android/hdmicec/app/ |
D | HdmiCecAudioManager.java | 87 int volume = minVolume + ((maxVolume - minVolume) * percentVolume / 100); in onCreate() local 88 audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in onCreate() 89 Log.i(TAG, "Set volume to " + volume + " (" + percentVolume + "%)"); in onCreate()
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerHelper.java | 120 for (String volume: volumes) { in getPublicVolumeExcluding() 121 if (volume.contains("public") in getPublicVolumeExcluding() 122 && (excludingVolume == null || !volume.contains(excludingVolume))) { in getPublicVolumeExcluding() 124 String[] splits = volume.split(" "); in getPublicVolumeExcluding()
|
D | StorageManagerTest.java | 237 final StorageVolume volume = mStorageManager.getPrimaryStorageVolume(); in testGetPrimaryVolume() local 238 assertNotNull("Did not get primary storage", volume); in testGetPrimaryVolume() 241 assertNull("Should not grant access for root directory", volume.createAccessIntent(null)); in testGetPrimaryVolume() 243 volume.createAccessIntent("/system")); in testGetPrimaryVolume() 245 volume.createAccessIntent(Environment.DIRECTORY_DOCUMENTS)); in testGetPrimaryVolume() 248 assertNotNull("Should have description", volume.getDescription(mContext)); in testGetPrimaryVolume() 249 assertTrue("Should be primary", volume.isPrimary()); in testGetPrimaryVolume() 250 assertEquals("Wrong state", Environment.MEDIA_MOUNTED, volume.getState()); in testGetPrimaryVolume() 253 final String fsUuid = volume.getUuid(); in testGetPrimaryVolume() 254 final UUID uuid = volume.getStorageUuid(); in testGetPrimaryVolume() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | RingerModeActivity.java | 143 private int getVolumeDelta(int volume) { in getVolumeDelta() argument 306 float volume = 13; in test() local 313 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP, volume); in test() 314 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN, volume); in test() 315 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT, volume); in test() 316 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT, volume); in test() 326 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP, volume); in test() 327 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN, volume); in test() 328 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT, volume); in test() 329 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT, volume); in test() [all …]
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/ |
D | BaseHostTestCase.java | 178 for (String volume: volList) { in getPublicVolumeExcluding() 179 if (volume.contains("public") in getPublicVolumeExcluding() 180 && (excludingVolume == null || !volume.contains(excludingVolume))) { in getPublicVolumeExcluding() 182 String[] splits = volume.split(" "); in getPublicVolumeExcluding()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | StubMediaRoute2ProviderService.java | 225 public void onSetRouteVolume(long requestId, String routeId, int volume) { in onSetRouteVolume() argument 236 volume = Math.max(0, Math.min(volume, route.getVolumeMax())); in onSetRouteVolume() 238 .setVolume(volume) in onSetRouteVolume() 244 public void onSetSessionVolume(long requestId, String sessionId, int volume) { in onSetSessionVolume() argument 249 volume = Math.max(0, Math.min(volume, sessionInfo.getVolumeMax())); in onSetSessionVolume() 251 .setVolume(volume) in onSetSessionVolume()
|
D | MediaActivityTest.java | 175 int volume = mStreamVolumeMap.get(stream); in cleanUp() local 177 mAudioManager.setStreamVolume(stream, volume, /* flag= */ 0); in cleanUp() 181 + volume + ", currentVolume=" + mAudioManager.getStreamVolume(stream)); in cleanUp() 311 int volume = mStreamVolumeMap.get(stream); in checkAnyStreamVolumeChanged() local 312 if (mAudioManager.getStreamVolume(stream) != volume) { in checkAnyStreamVolumeChanged()
|
D | MediaRouterTest.java | 630 public void onVolumeSetRequest(RouteInfo info, int volume) { in onVolumeSetRequest() argument 633 mVolume = volume; in onVolumeSetRequest()
|
/cts/hostsidetests/media/app/MediaRouteProviderApps/src/android/media/router/cts/ |
D | BaseFakeRouteProviderService.java | 89 public void onSetRouteVolume(long requestId, String routeId, int volume) {} in onSetRouteVolume() argument 92 public void onSetSessionVolume(long requestId, String sessionId, int volume) {} in onSetSessionVolume() argument
|
/cts/hostsidetests/tv/app/src/com/android/cts/tv/hostside/ |
D | StubTvInputService.java | 48 public void onSetStreamVolume(float volume) { in onSetStreamVolume() argument
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | StubTvInputService.java | 56 public void onSetStreamVolume(float volume) { in onSetStreamVolume() argument
|
D | FaultyTvInputService.java | 61 public void onSetStreamVolume(float volume) { } in onSetStreamVolume() argument
|
D | HardwareSessionTest.java | 146 public void onSetStreamVolume(float volume) { in onSetStreamVolume() argument
|
D | StubTunerTvInputService.java | 125 public void onSetStreamVolume(float volume) { in onSetStreamVolume() argument
|
D | TvInputServiceTest.java | 588 final float volume = 0.8f; in verifyCommandSetStreamVolume() local 590 onTvView(tvView -> tvView.setStreamVolume(volume)); in verifyCommandSetStreamVolume() 595 assertThat(session.mStreamVolume).isEqualTo(volume); in verifyCommandSetStreamVolume() 1620 public void onSetStreamVolume(float volume) { 1622 mStreamVolume = volume;
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | LogHelper.java | 105 String volume = testString.split("at")[1].trim().replaceAll("%", ""); in parseDutVolume() local 106 return Integer.parseInt(volume); in parseDutVolume()
|
/cts/tests/tests/tv/src/android/media/tv/ad/cts/ |
D | StubTvInputService2.java | 77 public void onSetStreamVolume(float volume) { in onSetStreamVolume() argument
|
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/ |
D | StubTvInputService2.java | 91 public void onSetStreamVolume(float volume) { in onSetStreamVolume() argument
|
/cts/hostsidetests/hdmicec/ |
D | cec_adapter.md | 151 : send a volume up command to the amp if present 154 : send a volume down command to the amp if present
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BluetoothVolumeControlTest.java | 135 public void onDeviceVolumeChanged(BluetoothDevice device, int volume) { in onDeviceVolumeChanged() argument 138 assertThat(volume).isEqualTo(mTestVolume); in onDeviceVolumeChanged()
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | MediaStoreUiTest.java | 467 final StorageVolume volume = storageManager.getStorageVolume(file); in acquireAccess() local 468 final Intent intent = volume.createOpenDocumentTreeIntent(); in acquireAccess()
|