HomeSort by relevance Sort by last modified time
    Searched defs:volume (Results 101 - 125 of 255) sorted by null

1 2 3 45 6 7 8 91011

  /external/sonivox/arm-wt-22k/lib_src/
eas_pcmdata.h 105 EAS_I16 volume; /* volume for stream */ member in struct:s_pcm_state_tag
  /external/webrtc/webrtc/voice_engine/test/cmd_test/
voe_cmd_test.cc 59 VoEVolumeControl* volume = NULL; variable
133 volume = VoEVolumeControl::GetInterface(m_voe);
190 if (volume)
191 volume->Release();
407 printf("Getting mic volume \n");
409 res = volume->GetMicVolume(vol);
429 printf("%i. Get speaker volume\n", option_index++);
430 printf("%i. Set speaker volume\n", option_index++);
431 printf("%i. Get microphone volume\n", option_index++);
432 printf("%i. Set microphone volume\n", option_index++)
    [all...]
  /frameworks/base/core/java/android/os/storage/
StorageVolume.java 36 * Information about a shared/external storage volume for a specific user.
39 * A device always has one (and one only) primary storage volume, but it could have extra volumes,
41 * volume for a specific user: different users might have different views for the same physical
42 * volume (for example, if the volume is a built-in emulated storage).
45 * The storage volume is not necessarily mounted, applications should use {@link #getState()} to
49 * Applications willing to read or write to this storage volume needs to get a permission from the
59 * select this specific volume.
60 * <li>To get read and write access to the primary storage volume, applications can declare the
75 // NOTE: This is a legacy specialization of VolumeInfo which describes the volume for a specifi
333 StorageVolume volume = (StorageVolume)obj; local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
PackageHelperTests.java 164 String volume = null; local
165 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name",
167 assertEquals(StorageManager.UUID_PRIVATE_INTERNAL, volume);
171 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name",
173 assertEquals(StorageManager.UUID_PRIVATE_INTERNAL, volume);
177 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name",
179 assertEquals(StorageManager.UUID_PRIVATE_INTERNAL, volume);
183 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name",
185 assertEquals(StorageManager.UUID_PRIVATE_INTERNAL, volume);
233 // Existing apps always stay on the same volume
240 String volume = null; local
257 String volume; local
336 String volume = null; local
371 String volume = null; local
407 String volume = null; local
427 String volume = null; local
444 String volume = null; local
474 String volume = null; local
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaPresetReverbTest.java 47 // Implementor UUID for volume controller effect defined in
203 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); local
210 // creating a volume controller on output mix ensures that ro.audio.silent mutes
258 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0);
276 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); local
281 // creating a volume controller on output mix ensures that ro.audio.silent mutes
343 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0);
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/statusbar/phone/
DemoStatusIcons.java 103 String volume = args.getString("volume"); local
104 if (volume != null) {
105 int iconId = volume.equals("vibrate") ? R.drawable.stat_sys_ringer_vibrate
107 updateSlot("volume", null, iconId);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
Events.java 17 package com.android.systemui.volume;
32 * Interesting events related to the volume.
MediaSessions.java 17 package com.android.systemui.volume;
  /frameworks/base/services/core/java/com/android/server/storage/
DiskStatsLoggingService.java 66 VolumeInfo volume = getPackageManager().getPrimaryStorageCurrentVolume(); local
67 // volume is null if the primary storage is not yet mounted.
68 if (volume == null) {
71 AppCollector collector = new AppCollector(this, volume);
  /hardware/qcom/audio/legacy/libalsa-intf/
alsa_mixer.c 72 {" Playback Volume", CTL_PLAYBACK_VOLUME},
73 {" Capture Volume", CTL_CAPTURE_VOLUME},
74 {" Volume", CTL_GLOBAL_VOLUME},
404 ALOGV("capability: volume\n");
477 * This is useful for volume controls which take two parameters as input value.
529 int volume = 0; local
538 ALOGV("capability: volume\n");
553 volume = 1;
558 volume = 1;
574 if (!volume)
    [all...]
  /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/apps/CtsVerifier/src/com/android/cts/verifier/audio/
RingerModeActivity.java 143 private int getVolumeDelta(int volume) {
285 float volume = 13; local
292 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP, volume);
293 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN, volume);
294 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT, volume);
295 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT, volume);
305 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP, volume);
306 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN, volume);
307 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT, volume);
308 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT, volume);
815 int volume, volumeDelta; 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/adhd/cras/src/server/
cras_dbus_control.c 30 " <arg name=\"volume\" type=\"i\" direction=\"in\"/>\n" \
34 " <arg name=\"volume\" type=\"i\" direction=\"in\"/>\n" \
382 dbus_int32_t volume; local
390 volume = cras_system_get_volume();
397 DBUS_TYPE_INT32, &volume,
430 dbus_uint64_t node_volume = node->volume;
871 static void signal_output_volume(void *context, int32_t volume)
881 volume = cras_system_get_volume();
883 DBUS_TYPE_INT32, &volume,
978 /* Called by iodev_list when a node volume changes. *
    [all...]
cras_iodev.h 55 * volume - per-node volume (0-100)
65 * softvol_scalers - pointer to software volume scalers.
66 * software_volume_needed - For output: True if the volume range of the node
79 unsigned int volume; member in struct:cras_ionode
96 * set_volume - Function to call if the system volume changes.
154 * software_volume_needed - True if volume control is not supported by hardware.
394 /* Adjust the system volume based on the volume of the given node. */
399 unsigned int node_vol_offset = 100 - node->volume;
    [all...]
  /external/adhd/cras/src/tests/
rclient_unittest.cc 251 msg.volume = 66;
265 msg.volume = 66;
464 const int32_t volume = 90; local
466 send_output_volume_changed(void_client, volume);
470 EXPECT_EQ(msg->volume, volume);
504 EXPECT_EQ(msg->volume, gain);
716 void cras_system_set_volume(size_t volume)
718 cras_system_set_volume_value = volume;
  /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/python/cpython3/Modules/
ossaudiodev.c 798 int channel, volume; local
812 if (ioctl(self->fd, MIXER_READ(channel), &volume) == -1)
815 return Py_BuildValue("(ii)", volume & 0xff, (volume & 0xff00) >> 8);
821 int channel, volume, leftVol, rightVol; local
840 volume = (rightVol << 8) | leftVol;
842 if (ioctl(self->fd, MIXER_WRITE(channel), &volume) == -1)
845 return Py_BuildValue("(ii)", volume & 0xff, (volume & 0xff00) >> 8);
    [all...]
  /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:__anon44510
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 52 static constexpr uint32_t MAX_NUM_VOLUMES = FCC_2; // stereo volume only
63 RAMP_VOLUME = 0x3002, // ramp to new volume
64 VOLUME = 0x3003, // don't ramp
88 // for target RAMP_VOLUME and VOLUME (8 channels max)
175 * USEFLOATVOL (set to true if float volume is used)
176 * ADJUSTVOL (set to true if volume ramp parameters needs adjustment afterwards)
261 // TODO: Eventually remove legacy integer volume settings
263 int16_t volume[MAX_NUM_VOLUMES]; // U4.12 fixed point (top bit should be zero) member in union:android::AudioMixer::Track::__anon44991
326 float mVolume[MAX_NUM_VOLUMES]; // floating point set volume
327 float mPrevVolume[MAX_NUM_VOLUMES]; // floating point previous volume
    [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/av/packages/MediaComponents/src/com/android/support/mediarouter/media/
MediaRouteProviderService.java 311 int controllerId, int volume) {
317 controller.onSetVolume(volume);
319 Log.d(TAG, client + ": Route volume changed"
320 + ", controllerId=" + controllerId + ", volume=" + volume);
338 Log.d(TAG, client + ": Route volume updated"
721 int volume = data.getInt(CLIENT_DATA_VOLUME, -1); local
722 if (volume >= 0) {
724 messenger, requestId, arg, volume);
  /frameworks/base/media/java/android/media/
Ringtone.java 170 * Sets the volume on this player.
171 * @param volume a raw scalar in range 0.0 to 1.0, where 0.0 mutes this player, and 1.0
174 public void setVolume(float volume) {
176 if (volume < 0.0f) { volume = 0.0f; }
177 if (volume > 1.0f) { volume = 1.0f; }
178 mVolume = volume;
184 * Returns the volume scalar set on this player.
347 // do not play ringtones if stream volume is
356 final float volume; local
    [all...]

Completed in 528 milliseconds

1 2 3 45 6 7 8 91011