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

  /bootable/recovery/
roots.h 22 // Load and parse volume data from /etc/recovery.fstab.
25 // Return the Volume* record for this path (or NULL).
26 Volume* volume_for_path(const char* path);
28 // Make sure that the volume 'path' is on is mounted. Returns 0 on
29 // success (volume is mounted).
32 // Make sure that the volume 'path' is on is mounted. Returns 0 on
33 // success (volume is unmounted);
36 // Reformat the given volume (must be the mount point only, eg
37 // "/cache"), no paths permitted. Attempts to unmount the volume if
39 int format_volume(const char* volume);
    [all...]
bootloader.c 28 static int get_bootloader_message_mtd(struct bootloader_message *out, const Volume* v);
29 static int set_bootloader_message_mtd(const struct bootloader_message *in, const Volume* v);
30 static int get_bootloader_message_block(struct bootloader_message *out, const Volume* v);
31 static int set_bootloader_message_block(const struct bootloader_message *in, const Volume* v);
34 Volume* v = volume_for_path("/misc");
36 LOGE("Cannot load volume /misc!\n");
49 Volume* v = volume_for_path("/misc");
51 LOGE("Cannot load volume /misc!\n");
71 const Volume* v) {
97 const Volume* v)
    [all...]
roots.c 32 static Volume* device_volumes = NULL;
34 static int parse_options(char* options, Volume* volume) {
40 volume->length = strtoll(option+7, NULL, 10);
51 device_volumes = malloc(alloc * sizeof(Volume));
94 device_volumes = realloc(device_volumes, alloc*sizeof(Volume));
119 Volume* v = &device_volumes[i];
126 Volume* volume_for_path(const char* path) {
129 Volume* v = device_volumes+i;
140 Volume* v = volume_for_path(path)
    [all...]
common.h 108 } Volume;
  /system/vold/
Volume.cpp 43 #include "Volume.h"
57 const char *Volume::SECDIR = "/mnt/secure";
62 const char *Volume::SEC_STGDIR = "/mnt/secure/staging";
69 const char *Volume::SEC_STG_SECIMGDIR = "/mnt/secure/staging/.android_secure";
74 const char *Volume::SEC_ASECDIR = "/mnt/secure/asec";
79 const char *Volume::ASECDIR = "/mnt/asec";
84 const char *Volume::LOOPDIR = "/mnt/obb";
87 if (state == Volume::State_Init)
89 else if (state == Volume::State_NoMedia)
91 else if (state == Volume::State_Idle
    [all...]
Volume.h 25 class Volume {
64 Volume(VolumeManager *vm, const char *label, const char *mount_point);
65 virtual ~Volume();
104 typedef android::List<Volume *> VolumeCollection;
DirectVolume.cpp 38 Volume(vm, label, mount_point) {
49 setState(Volume::State_NoMedia);
82 setState(Volume::State_Shared);
86 setState(Volume::State_Idle);
164 setState(Volume::State_Idle);
170 setState(Volume::State_Pending);
173 snprintf(msg, sizeof(msg), "Volume %s %s disk inserted (%d:%d)",
221 if (getState() != Volume::State_Formatting) {
222 setState(Volume::State_Idle);
243 SLOGI("Volume %s disk has changed", getLabel())
    [all...]
VolumeManager.cpp 121 int VolumeManager::addVolume(Volume *v) {
129 /* Lookup a volume to handle this device */
135 SLOGD("Device '%s' event handled by volume %s\n", devpath, (*it)->getLabel());
165 Volume *v = lookupVolume(label);
188 snprintf(mountPath, mountPathLen, "%s/%s", Volume::LOOPDIR, idHash);
200 snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec", Volume::SEC_ASECDIR, id);
208 snprintf(buffer, maxlen, "%s/%s", Volume::ASECDIR, id);
214 snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec", Volume::SEC_ASECDIR, id);
247 snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec", Volume::SEC_ASECDIR, id);
359 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id)
    [all...]
VolumeManager.h 26 #include "Volume.h"
78 int addVolume(Volume *v);
113 int cleanupAsec(Volume *v, bool force);
122 Volume *lookupVolume(const char *label);
Android.mk 9 Volume.cpp \
DirectVolume.h 22 #include "Volume.h"
28 class DirectVolume : public Volume {
CommandListener.cpp 112 VoldCommand("volume") {
131 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume debug <off/on>", false);
137 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume mount <path>", false);
145 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume unmount <path> [force|force_and_revert]", false);
160 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume format <path>", false);
167 "Usage: volume share <path> <method>", false);
174 "Usage: volume unshare <path> <method>", false);
182 "Usage: volume shared <path> <method>", false);
195 cli->sendMsg(ResponseCode::CommandSyntaxError, "Unknown volume cmd", false);
199 cli->sendMsg(ResponseCode::CommandOkay, "volume operation succeeded", false)
    [all...]
  /frameworks/base/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/base/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...]
LVDBE_Init.c 237 * Initialise the volume
239 LVDBE_SetVolume(pInstance, /* Set the Volume */
242 pInstance->pData->AGCInstance.Volume = pInstance->pData->AGCInstance.Target;
  /frameworks/base/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/base/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/chrome/browser/resources/file_manager/js/
mock_chrome.js 139 VOLUME_LABEL: 'Volume Label',

Completed in 394 milliseconds