OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Volume
(Results
1 - 8
of
8
) sorted by null
/system/vold/
Volume.cpp
39
#include "
Volume
.h"
52
const char *
Volume
::SECDIR = "/mnt/secure";
57
const char *
Volume
::SEC_STGDIR = "/mnt/secure/staging";
64
const char *
Volume
::SEC_STG_SECIMGDIR = "/mnt/secure/staging/.android_secure";
69
const char *
Volume
::SEC_ASECDIR = "/mnt/secure/asec";
74
const char *
Volume
::ASECDIR = "/mnt/asec";
77
if (state ==
Volume
::State_Init)
79
else if (state ==
Volume
::State_NoMedia)
81
else if (state ==
Volume
::State_Idle)
83
else if (state ==
Volume
::State_Pending
[
all
...]
Volume.h
25
class
Volume
{
59
Volume
(VolumeManager *vm, const char *label, const char *mount_point);
60
virtual ~
Volume
();
93
typedef android::List<
Volume
*> VolumeCollection;
DirectVolume.cpp
37
Volume
(vm, label, mount_point) {
48
setState(
Volume
::State_NoMedia);
69
setState(
Volume
::State_Shared);
73
setState(
Volume
::State_Idle);
151
setState(
Volume
::State_Idle);
157
setState(
Volume
::State_Pending);
160
snprintf(msg, sizeof(msg), "
Volume
%s %s disk inserted (%d:%d)",
199
if (getState() !=
Volume
::State_Formatting) {
200
setState(
Volume
::State_Idle);
217
SLOGI("
Volume
%s disk has changed", getLabel())
[
all
...]
VolumeManager.cpp
106
int VolumeManager::addVolume(
Volume
*v) {
151
/* Lookup a
volume
to handle this device */
157
SLOGD("Device '%s' event handled by
volume
%s\n", devpath, (*it)->getLabel());
187
Volume
*v = lookupVolume(label);
199
snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec",
Volume
::SEC_ASECDIR, id);
207
snprintf(buffer, maxlen, "%s/%s",
Volume
::ASECDIR, id);
232
snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec",
Volume
::SEC_ASECDIR, id);
344
snprintf(mountPoint, sizeof(mountPoint), "%s/%s",
Volume
::ASECDIR, id);
380
snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec",
Volume
::SEC_ASECDIR, id);
393
snprintf(mountPoint, sizeof(mountPoint), "%s/%s",
Volume
::ASECDIR, id)
[
all
...]
VolumeManager.h
25
#include "
Volume
.h"
50
int addVolume(
Volume
*v);
75
int cleanupAsec(
Volume
*v, bool force);
86
Volume
*lookupVolume(const char *label);
DirectVolume.h
22
#include "
Volume
.h"
28
class DirectVolume : public
Volume
{
Android.mk
19
Volume
.cpp \
CommandListener.cpp
108
VoldCommand("
volume
") {
127
cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage:
volume
debug <off/on>", false);
133
cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage:
volume
mount <path>", false);
139
cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage:
volume
unmount <path> [force]", false);
150
cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage:
volume
format <path>", false);
157
"Usage:
volume
share <path> <method>", false);
164
"Usage:
volume
unshare <path> <method>", false);
172
"Usage:
volume
shared <path> <method>", false);
185
cli->sendMsg(ResponseCode::CommandSyntaxError, "Unknown
volume
cmd", false);
189
cli->sendMsg(ResponseCode::CommandOkay, "
volume
operation succeeded", false)
[
all
...]
Completed in 52 milliseconds