Home
last modified time | relevance | path

Searched refs:volume (Results 1 – 25 of 26) sorted by relevance

12

/cts/suite/audio_quality/test/
DRemoteAudioFakeTcpTest.cpp165 int volume = 0; in TEST_F() local
174 U32_ENDIAN_SWAP(volume), in TEST_F()
187 ASSERT_TRUE(mRemoteAudio->startPlayback(stereo, samplingF, mode, volume, id, repeat)); in TEST_F()
198 int volume = 0; in TEST_F() local
207 U32_ENDIAN_SWAP(volume), in TEST_F()
231 ASSERT_TRUE(mRemoteAudio->startPlayback(stereo, samplingF, mode, volume, id, repeat)); in TEST_F()
241 ASSERT_TRUE(mRemoteAudio->startPlayback(stereo, samplingF, mode, volume, id, repeat)); in TEST_F()
251 ASSERT_TRUE(mRemoteAudio->startPlayback(stereo, samplingF, mode, volume, id, repeat)); in TEST_F()
260 int volume = 0; in TEST_F() local
270 U32_ENDIAN_SWAP(volume), in TEST_F()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DAudioManagerTest.java95 float volume = 13; in testSoundEffects() local
102 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP, volume); in testSoundEffects()
103 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN, volume); in testSoundEffects()
104 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT, volume); in testSoundEffects()
105 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT, volume); in testSoundEffects()
115 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP, volume); in testSoundEffects()
116 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN, volume); in testSoundEffects()
117 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT, volume); in testSoundEffects()
118 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT, volume); in testSoundEffects()
329 int volume, volumeDelta; in testVolume() local
[all …]
DMediaControllerTest.java73 public void onSetVolumeTo(int volume) { in testVolumeControl()
75 setCurrentVolume(volume); in testVolumeControl()
/cts/suite/audio_quality/lib/src/audio/
DAudioRemote.cpp21 bool AudioRemote::prepare(AudioHardware::SamplingRate samplingRate, int volume, int mode) in prepare() argument
28 mVolume = volume; in prepare()
DRemoteAudio.cpp231 bool RemoteAudio::startPlayback(bool stereo, int samplingF, int mode, int volume, in startPlayback() argument
252 handler->getParam().mVolume = volume; in startPlayback()
276 bool RemoteAudio::startRecording(bool stereo, int samplingF, int mode, int volume, in startRecording() argument
290 handler->getParam().mVolume = volume; in startRecording()
/cts/tests/tests/tv/src/android/media/tv/cts/
DStubTvInputService.java48 public void onSetStreamVolume(float volume) { in onSetStreamVolume() argument
DHardwareSessionTest.java141 public void onSetStreamVolume(float volume) { in onSetStreamVolume() argument
DStubTunerTvInputService.java121 public void onSetStreamVolume(float volume) { in onSetStreamVolume() argument
DTvInputServiceTest.java676 public void onSetStreamVolume(float volume) { in onSetStreamVolume() argument
/cts/suite/audio_quality/lib/include/audio/
DAudioHardware.h64 virtual bool prepare(SamplingRate samplingRate, int volume, int mode = EModeVoice) = 0;
DRemoteAudio.h51 bool startPlayback(bool stereo, int samplingF, int mode, int volume,
56 bool startRecording(bool stereo, int samplingF, int mode, int volume,
DAudioRemote.h29 virtual bool prepare(AudioHardware::SamplingRate samplingRate, int volume,
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Audio_Artists_AlbumsTest.java54 String volume = "fakeVolume"; in testGetContentUri() local
55 assertNull(mContentResolver.query(MediaStore.Audio.Artists.Albums.getContentUri(volume, 1), in testGetContentUri()
DMediaStore_Audio_PlaylistsTest.java59 String volume = "fakeVolume"; in testGetContentUri() local
60 assertNull(mContentResolver.query(Playlists.getContentUri(volume), null, null, null, in testGetContentUri()
DMediaStore_Audio_ArtistsTest.java51 String volume = "fakeVolume"; in testGetContentUri() local
52 assertNull(mContentResolver.query(Artists.getContentUri(volume), null, null, null, null)); in testGetContentUri()
DMediaStore_Audio_GenresTest.java58 String volume = "fakeVolume"; in testGetContentUri() local
59 assertNull(mContentResolver.query(Genres.getContentUri(volume), null, null, null, null)); in testGetContentUri()
DMediaStore_Audio_AlbumsTest.java60 String volume = "fakeVolume"; in testGetContentUri() local
61 assertNull(mContentResolver.query(Albums.getContentUri(volume), null, null, null, null)); in testGetContentUri()
DMediaStore_Audio_MediaTest.java52 String volume = "faveVolume"; in testGetContentUri() local
53 assertNull(mContentResolver.query(Media.getContentUri(volume), null, null, null, null)); in testGetContentUri()
DMediaStore_Video_MediaTest.java58 String volume = "fakeVolume"; in testGetContentUri() local
59 assertNull(mContentResolver.query(Media.getContentUri(volume), null, null, null, null)); in testGetContentUri()
DMediaStore_Audio_Genres_MembersTest.java85 String volume = "fakeVolume"; in testGetContentUri() local
86 assertNull(mContentResolver.query(Members.getContentUri(volume, 1), null, null, null, in testGetContentUri()
DMediaStore_Images_MediaTest.java191 String volume = "fakeVolume"; in testGetContentUri() local
192 assertNull(mContentResolver.query(Media.getContentUri(volume), null, null, null, null)); in testGetContentUri()
DMediaStore_Images_ThumbnailsTest.java228 String volume = "fakeVolume"; in testGetContentUri() local
229 assertNull(mContentResolver.query(Thumbnails.getContentUri(volume), null, null, null, in testGetContentUri()
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DAudioProtocol.java240 final int volume = mDataBuffer.getInt(3 * 4); in handleStartPlayback() local
278 float newVolume = (maxVolume - minVolume) * volume / 100 + minVolume; in handleStartPlayback()
281 " min " + minVolume + " received " + volume); in handleStartPlayback()
336 final int volume = mDataBuffer.getInt(2 * 4); in handleStartRecording() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputService.java332 public void onSetStreamVolume(float volume) { in onSetStreamVolume() argument
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dgbemu.js484 function XAudioServer(channels, sampleRate, minBufferSize, maxBufferSize, underRunCallback, volume)… argument
491 XAudioJSVolume = (volume >= 0 && volume <= 1) ? volume : 1;
727 this.audioHandleMoz.volume = XAudioJSVolume;

12