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";
196 VolumeManager *VolumeManager::sInstance = NULL;
198 VolumeManager *VolumeManager::Instance() { in Instance()
200 sInstance = new VolumeManager(); in Instance()
204 VolumeManager::VolumeManager() { in VolumeManager() function in VolumeManager
214 VolumeManager::~VolumeManager() { in ~VolumeManager()
218 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.cpp145 VolumeManager *vm = VolumeManager::Instance(); in runCommand()
393 VolumeManager *vm = VolumeManager::Instance(); in runCommand()
399 listAsecsInDirectory(cli, VolumeManager::SEC_ASECDIR_EXT); in runCommand()
400 listAsecsInDirectory(cli, VolumeManager::SEC_ASECDIR_INT); in runCommand()
535 VolumeManager *vm = VolumeManager::Instance(); in runCommand()
603 VolumeManager *vm = VolumeManager::Instance(); in runCommand()
DVolumeBase.cpp136 VolumeManager::Instance()->getBroadcaster()->sendBroadcast(event, in notifyEvent()
142 VolumeManager::Instance()->getBroadcaster()->sendBroadcast(event, in notifyEvent()
DAndroid.mk4 VolumeManager.cpp \
DBenchmark.cpp47 VolumeManager::Instance()->getBroadcaster()->sendBroadcast( in notifyResult()
DDisk.cpp468 VolumeManager::Instance()->getBroadcaster()->sendBroadcast(event, in notifyEvent()
473 VolumeManager::Instance()->getBroadcaster()->sendBroadcast(event, in notifyEvent()
DMoveTask.cpp59 VolumeManager::Instance()->getBroadcaster()->sendBroadcast(ResponseCode::MoveStatus, in notifyProgress()
/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()