/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 | 74 Volume(vm, rec, flags) { 91 snprintf(mount, PATH_MAX, "%s/%s", Volume::MEDIA_DIR, rec->label); 93 snprintf(mount, PATH_MAX, "%s/%s", Volume::FUSE_DIR, rec->label); 96 setState(Volume::State_NoMedia); 125 setState(Volume::State_Shared); 129 setState(Volume::State_Idle); 160 if (getState() == Volume::State_Idle) { 164 "Volume %s %s disk inserted (%d:%d)", getLabel(), 213 setState(Volume::State_Idle); 218 setState(Volume::State_Pending) [all...] |
VolumeManager.h | 26 #include "Volume.h" 78 int addVolume(Volume *v); 121 Volume* getVolumeForFile(const char *fileName); 130 int cleanupAsec(Volume *v, bool force); 139 Volume *lookupVolume(const char *label); 149 * ensures that path belongs to a volume managed by vold.
|
VolumeManager.cpp | 235 int VolumeManager::addVolume(Volume *v) { 243 /* Lookup a volume to handle this device */ 249 SLOGD("Device '%s' event handled by volume %s\n", devpath, (*it)->getLabel()); 294 Volume *v = lookupVolume(label); 317 int written = snprintf(mountPath, mountPathLen, "%s/%s", Volume::LOOPDIR, idHash); 351 int written = snprintf(buffer, maxlen, "%s/%s", Volume::ASECDIR, id); 438 const char *asecDir = isExternal ? Volume::SEC_ASECDIR_EXT : Volume::SEC_ASECDIR_INT; 514 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); 605 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id) [all...] |
DirectVolume.h | 22 #include "Volume.h" 38 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...] |
common.h | 42 typedef struct fstab_rec Volume;
|
roots.cpp | 64 Volume* v = &fstab->recs[i]; 71 Volume* volume_for_path(const char* path) { 76 Volume* v = volume_for_path(path); 78 LOGE("unknown volume for path [%s]\n", path); 96 // volume is already mounted 128 Volume* v = volume_for_path(path); 130 LOGE("unknown volume for path [%s]\n", path); 148 // volume is already unmounted 169 int format_volume(const char* volume) { 170 Volume* v = volume_for_path(volume) [all...] |
/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/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());
|
/build/core/combo/ |
mac_version.mk | 31 # or /Volume/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.?.sdk
|
/external/chromium_org/content/renderer/media/ |
webrtc_audio_capturer.h | 83 // Volume APIs used by WebRtcAudioDeviceImpl. 85 void SetVolume(int volume); 86 int Volume() const; 112 void GetAudioProcessingParams(base::TimeDelta* delay, int* volume, 138 double volume, 193 // Stores latest microphone volume received in a CaptureData() callback.
|
/external/chromium_org/third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/ |
SkPdfSoundActionDictionary_autogen.cpp | 35 double SkPdfSoundActionDictionary::Volume(SkPdfNativeDoc* doc) { 36 SkPdfNativeObject* ret = get("Volume", ""); 44 return get("Volume", "") != NULL;
|
/external/skia/experimental/PdfViewer/pdfparser/native/pdfapi/ |
SkPdfSoundActionDictionary_autogen.cpp | 35 double SkPdfSoundActionDictionary::Volume(SkPdfNativeDoc* doc) { 36 SkPdfNativeObject* ret = get("Volume", ""); 44 return get("Volume", "") != NULL;
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/fileSystemProvider/archive/ |
background.js | 12 // The value is a Volume object. 15 // Defines a volume object that contains information about a mounted file 17 function Volume(entry, metadata, opt_openedFiles) { 21 // The volume metadata. 45 saveState(); // Remove volume from local storage state. 168 volumes[fileSystemId] = new Volume(entry, metadata, 198 // Mount the volume and save its information in local storage 202 volumes[displayPath] = new Volume(item.entry, metadata);
|
/external/chromium_org/ui/file_manager/file_manager/background/js/ |
volume_manager.js | 8 * Represents each volume, such as "drive", "download directory", each "USB 11 * @param {VolumeManagerCommon.VolumeType} volumeType The type of the volume. 12 * @param {string} volumeId ID of the volume. 13 * @param {DOMFileSystem} fileSystem The file system object for this volume. 18 * @param {?string} devicePath Identifier of the device that the volume belongs 20 * @param {boolean} isReadOnly True if the volume is read only. 23 * @param {string} label Label of the volume. 24 * @param {string} extensionId Id of the extension providing this volume. Empty 67 // Note: This represents if the mounting of the volume is successfully done 82 * @return {VolumeManagerCommon.VolumeType} Volume type [all...] |