HomeSort by relevance Sort by last modified time
    Searched refs:Volume (Results 1 - 25 of 40) sorted by null

1 2

  /external/jmonkeyengine/engine/src/core/com/jme3/audio/
ListenerParam.java 39 Volume;
AudioParam.java 4 Volume,
Listener.java 43 private float volume = 1; field in class:Listener
56 volume = source.volume;
64 return volume;
67 public void setVolume(float volume) {
68 this.volume = volume;
70 renderer.updateListenerParam(this, ListenerParam.Volume);
  /system/vold/
Volume.cpp 45 #include "Volume.h"
59 const char *Volume::MEDIA_DIR = "/mnt/media_rw";
64 const char *Volume::FUSE_DIR = "/storage";
69 const char *Volume::SEC_ASECDIR_EXT = "/mnt/secure/asec";
74 const char *Volume::SEC_ASECDIR_INT = "/data/app-asec";
79 const char *Volume::ASECDIR = "/mnt/asec";
84 const char *Volume::LOOPDIR = "/mnt/obb";
86 const char *Volume::BLKID_PATH = "/system/bin/blkid";
89 if (state == Volume::State_Init)
91 else if (state == Volume::State_NoMedia
    [all...]
Volume.h 26 class Volume {
67 Volume(VolumeManager *vm, const fstab_rec* rec, int flags);
68 virtual ~Volume();
80 /* Mountpoint of the raw volume */
113 typedef android::List<Volume *> VolumeCollection;
DirectVolume.cpp 37 Volume(vm, rec, flags) {
53 snprintf(mount, PATH_MAX, "%s/%s", Volume::MEDIA_DIR, rec->label);
55 snprintf(mount, PATH_MAX, "%s/%s", Volume::FUSE_DIR, rec->label);
58 setState(Volume::State_NoMedia);
87 setState(Volume::State_Shared);
91 setState(Volume::State_Idle);
122 if (getState() == Volume::State_Idle) {
126 "Volume %s %s disk inserted (%d:%d)", getLabel(),
177 setState(Volume::State_Idle);
183 setState(Volume::State_Pending)
    [all...]
VolumeManager.h 26 #include "Volume.h"
78 int addVolume(Volume *v);
120 Volume* getVolumeForFile(const char *fileName);
129 int cleanupAsec(Volume *v, bool force);
138 Volume *lookupVolume(const char *label);
148 * ensures that path belongs to a volume managed by vold.
VolumeManager.cpp 128 int VolumeManager::addVolume(Volume *v) {
136 /* Lookup a volume to handle this device */
142 SLOGD("Device '%s' event handled by volume %s\n", devpath, (*it)->getLabel());
172 Volume *v = lookupVolume(label);
195 int written = snprintf(mountPath, mountPathLen, "%s/%s", Volume::LOOPDIR, idHash);
223 int written = snprintf(buffer, maxlen, "%s/%s", Volume::ASECDIR, id);
298 const char *asecDir = isExternal ? Volume::SEC_ASECDIR_EXT : Volume::SEC_ASECDIR_INT;
404 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id);
507 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id)
    [all...]
DirectVolume.h 22 #include "Volume.h"
28 class DirectVolume : public Volume {
Android.mk 9 Volume.cpp \
  /bootable/recovery/
roots.h 26 // Load and parse volume data from /etc/recovery.fstab.
29 // Return the Volume* record for this path (or NULL).
30 Volume* volume_for_path(const char* path);
32 // Make sure that the volume 'path' is on is mounted. Returns 0 on
33 // success (volume is mounted).
36 // Make sure that the volume 'path' is on is mounted. Returns 0 on
37 // success (volume is unmounted);
40 // Reformat the given volume (must be the mount point only, eg
41 // "/cache"), no paths permitted. Attempts to unmount the volume if
43 int format_volume(const char* volume);
    [all...]
bootloader.cpp 29 static int get_bootloader_message_mtd(struct bootloader_message *out, const Volume* v);
30 static int set_bootloader_message_mtd(const struct bootloader_message *in, const Volume* v);
31 static int get_bootloader_message_block(struct bootloader_message *out, const Volume* v);
32 static int set_bootloader_message_block(const struct bootloader_message *in, const Volume* v);
35 Volume* v = volume_for_path("/misc");
37 LOGE("Cannot load volume /misc!\n");
50 Volume* v = volume_for_path("/misc");
52 LOGE("Cannot load volume /misc!\n");
72 const Volume* v) {
98 const Volume* v)
    [all...]
roots.cpp 58 Volume* v = &fstab->recs[i];
65 Volume* volume_for_path(const char* path) {
70 Volume* v = volume_for_path(path);
72 LOGE("unknown volume for path [%s]\n", path);
90 // volume is already mounted
122 Volume* v = volume_for_path(path);
124 LOGE("unknown volume for path [%s]\n", path);
142 // volume is already unmounted
149 int format_volume(const char* volume) {
150 Volume* v = volume_for_path(volume)
    [all...]
common.h 42 typedef struct fstab_rec Volume;
  /frameworks/av/media/libeffects/lvm/lib/Common/lib/
AGC.h 45 LVM_INT32 Volume; /* The current volume setting */
46 LVM_INT32 Target; /* The target volume setting */
51 LVM_INT16 VolumeShift; /* Volume shift scaling */
52 LVM_INT16 VolumeTC; /* Volume update time constant */
  /frameworks/av/media/libeffects/lvm/lib/Bass/src/
LVDBE_Control.c 189 /* Converts the input volume demand from dBs to linear. */
196 /* 1. The volume should have the following settings: */
198 /* DBE Vol Control Volume setting */
213 LVM_INT16 Volume = 0; /* Required volume in dBs */
216 * Apply the volume if enabled
225 Volume = VOLUME_MAX;
229 Volume = pParams->VolumedB;
237 dBOffset = (LVM_UINT16)(6 + Volume % 6); /* Get the dBs 0-5 */
238 dBShifts = (LVM_UINT16)(Volume / -6); /* Get the 6dB shifts *
    [all...]
  /frameworks/av/media/libeffects/lvm/lib/Common/src/
AGC_MIX_VOL_2St1Mon_D32_WRA.c 50 /* MonoSrc -->| AGC |---->| + |----->| Volume |------------------------------+---> */
91 LVM_INT16 Vol_Mult; /* Short volume */
103 LVM_INT32 Vol_Current = pInstance->Volume; /* Actual volume setting */
104 LVM_INT32 Vol_Target = pInstance->Target; /* Target volume setting */
105 LVM_INT16 Vol_Shift = pInstance->VolumeShift; /* Volume shift scaling */
119 Vol_Mult = (LVM_INT16)(Vol_Current >> 16); /* Get the short volume gain */
141 * Apply the volume and write to the output stream
191 pInstance->Volume = Vol_Current; /* Actual volume setting *
    [all...]
  /frameworks/av/media/libeffects/lvm/lib/Bundle/src/
LVM_Control.c 166 * Volume Control parameters
331 /* Converts the input volume demand from dBs to linear. */
344 LVM_INT16 Volume = 0; /* Required volume in dBs */
351 Volume = 0;
355 Volume = pParams->VC_EffectLevel;
358 /* Compensate this volume in PSA plot */
359 if(Volume > -60) /* Limit volume loss to PSA Limits*/
360 pInstance->PSA_GainOffset=(LVM_INT16)(-Volume);/* Loss is compensated by Gain*
    [all...]
  /external/chromium_org/content/renderer/media/
webrtc_audio_capturer.h 76 // Volume APIs used by WebRtcAudioDeviceImpl.
78 void SetVolume(int volume);
79 int Volume() const;
111 double volume) OVERRIDE;
158 // Stores latest microphone volume received in a CaptureData() callback.
  /external/eigen/unsupported/Eigen/src/BVH/
KdBVH.h 55 * \brief A simple bounding volume hierarchy based on AlignedBox
62 * This class provides a simple (as opposed to optimized) implementation of a bounding volume hierarchy analogous to a Kd-tree.
74 typedef AlignedBox<Scalar, Dim> Volume;
75 typedef std::vector<Volume, aligned_allocator<Volume> > VolumeList;
82 /** Given an iterator range over \a Object references, constructs the BVH. Requires that bounding_box(Object) return a Volume. */
89 * Requires that bounding_box(Object) return a Volume. */
130 /** Given an \a index of a node, on exit, \a outVBegin and \a outVEnd range over the indices of the volume children of the node
155 } else { //if the first child is a volume and the second is an object
164 inline const Volume &getVolume(Index index) cons
    [all...]
BVAlgorithms.h 74 bool intersectVolume(const BVH::Volume &volume) //returns true if volume intersects the query
86 bool intersectVolumeVolume(const BVH1::Volume &v1, const BVH2::Volume &v2) //returns true if product of volumes intersects the query
87 bool intersectVolumeObject(const BVH1::Volume &v1, const BVH2::Object &o2) //returns true if the volume-object product intersects the query
88 bool intersectObjectVolume(const BVH1::Object &o1, const BVH2::Volume &v2) //returns true if the volume-object product intersects the query
97 typedef internal::intersector_helper1<typename BVH1::Volume, typename BVH1::Object, typename BVH2::Object, Intersector> Helper1
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/audio/symbian/
streamplayer.h 39 TInt Volume() const;
streamplayer.cpp 112 TInt CStreamPlayer::Volume() const
220 SetVolume(Volume());
  /external/chromium_org/chrome/browser/resources/file_manager/js/
volume_manager.js 168 * @param {string} mountPath Volume root path.
198 var onVolumeInfo = function(volume) {
199 mountedVolumes.push(volume);
206 var volume = mountedVolumes[i];
207 self.mountedVolumes_[volume.mountPath] = volume;
231 * Event handler called when some volume was mounted or unmouted.
241 this.makeVolumeInfo_(event.mountPath, error, function(volume) {
242 this.mountedVolumes_[volume.mountPath] = volume;
    [all...]
  /external/libnfc-nci/src/udrv/include/
ucodec.h 82 #define UCODEC_AUDIO_VOLUME 8 /* Volume settings */
195 UINT8 Volume; /* 0 to mute. 0xFF for the max volume */

Completed in 640 milliseconds

1 2