HomeSort by relevance Sort by last modified time
    Searched defs:volume (Results 201 - 225 of 491) sorted by null

1 2 3 4 5 6 7 891011>>

  /packages/apps/Messaging/src/com/android/messaging/util/
NotificationPlayer.java 39 * the addition of a volume parameter. Hopefully the framework will adapt AsyncPlayer to support
52 float volume; field in class:NotificationPlayer.Command
93 player.setVolume(mCmd.volume, mCmd.volume);
274 * @param volume The volume at which to play this sound, as a fraction of the system volume for
276 * volume with no attenuation.
278 public void play(final Uri uri, final boolean looping, final int stream, final float volume) {
285 cmd.volume = volume
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
AudioManagerTest.java 109 float volume = 13; local
116 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP, volume);
117 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN, volume);
118 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT, volume);
119 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT, volume);
129 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP, volume);
130 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN, volume);
131 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT, volume);
132 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT, volume);
432 assertEquals("setStreamVolume did not change volume",
454 int volume, volumeDelta; local
    [all...]
VolumeShaperTest.java 48 * or a duck is at the expected volume level. Listening to some tests is also possible,
49 * as we logcat the expected volume change.
61 // volume tolerance for completion volume checks.
64 // volume difference permitted on replace() with join.
430 // Verify volume inversion and time reflection work as expected
580 // volume shapers close when player closes.
746 + " this effectively is one LINEAR_RAMP (volume increasing).");
759 Log.d(TAG, testName + "volume at max level now (closing player)");
801 final float volume = volumeShaper.getVolume() local
824 final float volume = volumeShaper.getVolume(); local
848 final float volume = volumeShaper.getVolume(); local
871 final float volume = volumeShaper.getVolume(); local
1285 final float volume = volumeShaper.getVolume(); local
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStoreUiTest.java 286 final StorageVolume volume = storageManager.getStorageVolume(file); local
287 final Intent intent = volume.createAccessIntent(directoryName);
  /external/python/cpython2/Modules/
ossaudiodev.c 693 int channel, volume; local
704 if (ioctl(self->fd, MIXER_READ(channel), &volume) == -1)
707 return Py_BuildValue("(ii)", volume & 0xff, (volume & 0xff00) >> 8);
713 int channel, volume, leftVol, rightVol; local
729 volume = (rightVol << 8) | leftVol;
731 if (ioctl(self->fd, MIXER_WRITE(channel), &volume) == -1)
734 return Py_BuildValue("(ii)", volume & 0xff, (volume & 0xff00) >> 8);
  /external/webrtc/webrtc/voice_engine/test/android/android_test/jni/
android_test.cc 71 if (!veData1.volume) \
74 "Volume pointer doesn't exist"); \
126 VoEVolumeControl* volume; member in struct:__anon39308
224 veData2.volume->SetSpeakerVolume(204);
1089 // [Volume] Set speaker volume
1098 if (veData1.volume->SetSpeakerVolume(level) != 0)
1104 if (veData1.volume->GetSpeakerVolume(storedVolume) != 0)
1173 // Volume
1174 veData.volume = VoEVolumeControl::GetInterface(veData.ve)
    [all...]
  /frameworks/av/media/libaudioclient/include/media/
AudioMixer.h 56 static const uint32_t MAX_NUM_VOLUMES = 2; // stereo volume only
73 RAMP_VOLUME = 0x3002, // ramp to new volume
74 VOLUME = 0x3003, // don't ramp
98 // for target RAMP_VOLUME and VOLUME (8 channels max)
174 // TODO: Eventually remove legacy integer volume settings
176 int16_t volume[MAX_NUM_VOLUMES]; // U4.12 fixed point (top bit should be zero) member in union:android::AudioMixer::track_t::__anon39753
250 float mVolume[MAX_NUM_VOLUMES]; // floating point set volume
251 float mPrevVolume[MAX_NUM_VOLUMES]; // floating point previous volume
252 float mVolumeInc[MAX_NUM_VOLUMES]; // floating point volume increment
340 /* multi-format volume mixing function (calls template function
    [all...]
  /frameworks/av/media/libeffects/lvm/wrapper/Bundle/
EffectBundle.h 70 bool bVolumeEnabled; /* Flag for Volume */
88 // Volume
101 int volume; member in struct:BundledEffectContext
130 /* enumerated parameter settings for Volume effect */
  /frameworks/base/core/tests/coretests/src/android/content/pm/
PackageHelperTests.java 244 String volume = null; local
245 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name",
247 assertEquals(StorageManager.UUID_PRIVATE_INTERNAL, volume);
251 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name",
253 assertEquals(StorageManager.UUID_PRIVATE_INTERNAL, volume);
257 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name",
259 assertEquals(StorageManager.UUID_PRIVATE_INTERNAL, volume);
263 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name",
265 assertEquals(StorageManager.UUID_PRIVATE_INTERNAL, volume);
313 // Existing apps always stay on the same volume
320 String volume = null; local
337 String volume; local
416 String volume = null; local
451 String volume = null; local
487 String volume = null; local
507 String volume = null; local
524 String volume = null; local
554 String volume = null; local
    [all...]
  /frameworks/base/media/java/android/media/
Ringtone.java 162 * Sets the volume on this player.
163 * @param volume a raw scalar in range 0.0 to 1.0, where 0.0 mutes this player, and 1.0
166 public void setVolume(float volume) {
168 if (volume < 0.0f) { volume = 0.0f; }
169 if (volume > 1.0f) { volume = 1.0f; }
170 mVolume = volume;
330 // do not play ringtones if stream volume is 0
339 final float volume; local
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaEnvReverbTest.java 53 // Implementor UUID for volume controller effect defined in
358 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); local
365 // creating a volume controller on output mix ensures that ro.audio.silent mutes
415 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0);
433 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); local
438 // creating a volume controller on output mix ensures that ro.audio.silent mutes
502 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0);
MediaVisualizerTest.java 50 // Implementor UUID for volume controller effect defined in
236 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); local
242 // creating a volume controller on output mix ensures that ro.audio.silent mutes
299 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0);
315 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); local
321 // creating a volume controller on output mix ensures that ro.audio.silent mutes
431 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0);
437 //Test case 2.2: test capture in polling mode with volume scaling
441 // SCALING_MODE_AS_PLAYED mode decreases when lowering the volume
454 // creating a volume controller on output mix ensures that ro.audio.silent mute
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
MediaSessions.java 17 package com.android.systemui.volume;
  /frameworks/support/v7/mediarouter/src/android/support/v7/media/
MediaRouteProviderService.java 301 int controllerId, int volume) {
307 controller.onSetVolume(volume);
309 Log.d(TAG, client + ": Route volume changed"
310 + ", controllerId=" + controllerId + ", volume=" + volume);
328 Log.d(TAG, client + ": Route volume updated"
711 int volume = data.getInt(CLIENT_DATA_VOLUME, -1); local
712 if (volume >= 0) {
714 messenger, requestId, arg, volume);
  /packages/apps/DocumentsUI/src/com/android/documentsui/
OpenExternalDirectoryActivity.java 89 // Special directory name representing the full volume
124 final StorageVolume volume = (StorageVolume) storageVolume; local
126 volume.getUuid(), directoryName) == PERMISSION_NEVER_ASK) {
135 if (!showFragment(this, userId, volume, directoryName)) {
151 * Validates the given path (volume + directory) and display the appropriate dialog asking the
157 Log.d(TAG, "showFragment() for volume " + storageVolume.dump() + ", directory "
163 if (DEBUG) Log.d(TAG, "root access requested on primary volume");
172 Log.e(TAG, "Could not get canonical file for volume " + storageVolume.dump()
197 // Gets volume label and converted path.
204 for (VolumeInfo volume : volumes)
    [all...]
  /packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
VolumeTestFragment.java 16 package com.google.android.car.kitchensink.volume;
211 public void setStreamVolume(int logicalStream, int volume) {
217 mCarAudioManager.setStreamVolume(logicalStream, volume, 0);
222 Log.d(TAG, "Set stream " + logicalStream + " volume " + volume);
  /packages/services/Car/tests/carservice_test/src/com/android/car/test/
CarVolumeServiceTest.java 127 // let vehicle hal report volume change from unknown context, we should map it to the
130 // now music volume should be recorded as 3.
198 // set alarm volume with show_ui flag and a different volume
313 // initialize the vol to be the min volume.
319 public void injectVolumeEvent(int context, int volume) {
323 .addIntValue(context, volume, 0)
331 int volume = v.get(VehicleAudioVolumeIndex.VOLUME); local
335 mCurrent.put(stream, volume);
346 int volume = mCurrent.get(stream); local
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/pulse/
introspect.h 33 #include <pulse/volume.h>
147 * modify the volume of the audio. Identical to how sinks and sources can
164 * If an application desires to modify the volume of just a single stream
165 * (commonly one of its own streams), this can be done by setting the volume
168 * There is no support for modifying the volume of source outputs.
215 pa_cvolume volume; /**< Volume of the sink */ member in struct:pa_sink_info
224 pa_volume_t base_volume; /**< Some kind of "base" volume that refers to unamplified/unattenuated volume in the context of the output device. \since 0.9.15 */
226 uint32_t n_volume_steps; /**< Number of volume steps for sinks which do not support arbitrary volumes. \since 0.9.15 *
292 pa_cvolume volume; \/**< Volume of the source *\/ member in struct:pa_source_info
496 pa_cvolume volume; \/**< The volume of this sink input *\/ member in struct:pa_sink_input_info
600 pa_cvolume volume; \/**< Default volume of this entry *\/ member in struct:pa_sample_info
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/pulse/
introspect.h 33 #include <pulse/volume.h>
148 * modify the volume of the audio. Identical to how sinks and sources can
165 * If an application desires to modify the volume of just a single stream
166 * (commonly one of its own streams), this can be done by setting the volume
218 pa_cvolume volume; /**< Volume of the sink */ member in struct:pa_sink_info
227 pa_volume_t base_volume; /**< Some kind of "base" volume that refers to unamplified/unattenuated volume in the context of the output device. \since 0.9.15 */
229 uint32_t n_volume_steps; /**< Number of volume steps for sinks which do not support arbitrary volumes. \since 0.9.15 */
250 /** Set the volume of a sink device specified by its index *
298 pa_cvolume volume; \/**< Volume of the source *\/ member in struct:pa_source_info
520 pa_cvolume volume; \/**< The volume of this sink input *\/ member in struct:pa_sink_input_info
578 pa_cvolume volume; \/**< The volume of this source output \\since 1.0 *\/ member in struct:pa_source_output_info
640 pa_cvolume volume; \/**< Default volume of this entry *\/ member in struct:pa_sample_info
    [all...]
  /cts/tests/tests/os/src/android/os/storage/cts/
StorageManagerTest.java 181 final StorageVolume volume = mStorageManager.getPrimaryStorageVolume(); local
182 assertNotNull("Did not get primary storage", volume);
185 assertNull("Should not grant access for root directory", volume.createAccessIntent(null));
187 volume.createAccessIntent("/system"));
189 volume.createAccessIntent(Environment.DIRECTORY_DOCUMENTS));
192 assertNotNull("Should have description", volume.getDescription(mContext));
193 assertTrue("Should be primary", volume.isPrimary());
194 assertEquals("Wrong state", Environment.MEDIA_MOUNTED, volume.getState());
197 final String uuid = volume.getUuid();
198 final boolean removable = volume.isRemovable()
    [all...]
  /cts/suite/audio_quality/client/src/com/android/cts/audiotest/
AudioProtocol.java 240 final int volume = mDataBuffer.getInt(3 * 4); local
278 float newVolume = (maxVolume - minVolume) * volume / 100 + minVolume;
280 Log.d(TAG, "setting volume " + newVolume + " max " + maxVolume +
281 " min " + minVolume + " received " + volume);
336 final int volume = mDataBuffer.getInt(2 * 4); local
345 //TODO volume ?
  /external/sonic/
Sonic.java 23 private float volume; field in class:Sonic
79 float volume)
81 int fixedPointVolume = (int)(volume*4096.0f);
166 return volume;
171 float volume)
173 this.volume = volume;
206 volume = 1.0f;
628 // Overlap two sound segments, ramp the volume of one down, while ramping the
653 // Overlap two sound segments, ramp the volume of one down, while ramping th
    [all...]
sonic.c 27 float volume; member in struct:sonicStreamStruct
71 float volume)
73 int fixedPointVolume = volume*4096.0f;
169 return stream->volume;
175 float volume)
177 stream->volume = volume;
266 stream->volume = 1.0f;
733 /* Overlap two sound segments, ramp the volume of one down, while ramping the
763 /* Overlap two sound segments, ramp the volume of one down, while ramping th
    [all...]
  /external/sonivox/arm-wt-22k/host_src/
eas_types.h 248 EAS_U8 volume; /* CC7 */ member in struct:s_midi_controllers_tag
  /external/sonivox/arm-wt-22k/lib_src/
eas_synth.h 112 /* default synth master volume */
215 EAS_U8 volume; /* CC7 */ member in struct:s_synth_channel_tag

Completed in 373 milliseconds

1 2 3 4 5 6 7 891011>>