Home
last modified time | relevance | path

Searched refs:VolumeManager (Results 1 – 12 of 12) sorted by relevance

/system/vold/
DVolumeManager.cpp74 const char *VolumeManager::SEC_ASECDIR_EXT = "/mnt/secure/asec";
79 const char *VolumeManager::SEC_ASECDIR_INT = "/data/app-asec";
84 const char *VolumeManager::ASECDIR = "/mnt/asec";
89 const char *VolumeManager::LOOPDIR = "/mnt/obb";
198 VolumeManager *VolumeManager::sInstance = NULL;
200 VolumeManager *VolumeManager::Instance() { in Instance()
202 sInstance = new VolumeManager(); in Instance()
206 VolumeManager::VolumeManager() { in VolumeManager() function in VolumeManager
216 VolumeManager::~VolumeManager() { in ~VolumeManager()
220 char *VolumeManager::asecHash(const char *id, char *buffer, size_t len) { in asecHash()
[all …]
Dmain.cpp42 static int process_config(VolumeManager *vm);
63 VolumeManager *vm; in main()
85 if (!(vm = VolumeManager::Instance())) { in main()
210 static int process_config(VolumeManager *vm) { in process_config()
240 vm->addDiskSource(std::shared_ptr<VolumeManager::DiskSource>( in process_config()
241 new VolumeManager::DiskSource(sysPattern, nickname, flags))); in process_config()
DNetlinkHandler.cpp46 VolumeManager *vm = VolumeManager::Instance(); in onEvent()
DVolumeManager.h66 class VolumeManager {
74 static VolumeManager *sInstance;
87 virtual ~VolumeManager();
184 static VolumeManager *Instance();
198 VolumeManager();
DTrimTask.cpp53 VolumeManager* vm = VolumeManager::Instance(); in TrimTask()
110 VolumeManager::Instance()->getBroadcaster()->sendBroadcast( in notifyResult()
DCommandListener.cpp150 VolumeManager *vm = VolumeManager::Instance(); in runCommand()
398 VolumeManager *vm = VolumeManager::Instance(); in runCommand()
404 listAsecsInDirectory(cli, VolumeManager::SEC_ASECDIR_EXT); in runCommand()
405 listAsecsInDirectory(cli, VolumeManager::SEC_ASECDIR_INT); in runCommand()
540 VolumeManager *vm = VolumeManager::Instance(); in runCommand()
608 VolumeManager *vm = VolumeManager::Instance(); in runCommand()
DVolumeBase.cpp136 VolumeManager::Instance()->getBroadcaster()->sendBroadcast(event, in notifyEvent()
142 VolumeManager::Instance()->getBroadcaster()->sendBroadcast(event, in notifyEvent()
DBenchmark.cpp47 VolumeManager::Instance()->getBroadcaster()->sendBroadcast( in notifyResult()
DAndroid.mk4 VolumeManager.cpp \
DMoveTask.cpp59 VolumeManager::Instance()->getBroadcaster()->sendBroadcast(ResponseCode::MoveStatus, in notifyProgress()
DDisk.cpp518 VolumeManager::Instance()->getBroadcaster()->sendBroadcast(event, in notifyEvent()
523 VolumeManager::Instance()->getBroadcaster()->sendBroadcast(event, in notifyEvent()
/system/vold/tests/
DVolumeManager_test.cpp44 … EXPECT_TRUE(VolumeManager::asecHash(exp1, (char*)NULL, sizeof(buffer)) == NULL && errno == ESPIPE) in TEST_F()
46 EXPECT_TRUE(VolumeManager::asecHash(exp1, dst, 0) == NULL && errno == ESPIPE) in TEST_F()
48 …EXPECT_TRUE(VolumeManager::asecHash((const char*)NULL, dst, sizeof(buffer)) == NULL && errno == ES… in TEST_F()
51 EXPECT_FALSE(VolumeManager::asecHash(src1, dst, sizeof(buffer)) == NULL) in TEST_F()
58 EXPECT_FALSE(VolumeManager::asecHash(src2, dst, sizeof(buffer)) == NULL) in TEST_F()