Searched refs:VolumeManager (Results 1 – 11 of 11) sorted by relevance
99 VolumeManager* VolumeManager::sInstance = NULL;101 VolumeManager* VolumeManager::Instance() { in Instance()102 if (!sInstance) sInstance = new VolumeManager(); in Instance()106 VolumeManager::VolumeManager() { in VolumeManager() function in VolumeManager115 VolumeManager::~VolumeManager() {} in ~VolumeManager()117 int VolumeManager::updateVirtualDisk() { in updateVirtualDisk()158 int VolumeManager::setDebug(bool enable) { in setDebug()163 int VolumeManager::start() { in start()186 int VolumeManager::stop() { in stop()193 void VolumeManager::handleBlockEvent(NetlinkEvent* evt) { in handleBlockEvent()[all …]
111 std::lock_guard<std::mutex> lock(VolumeManager::Instance()->getLock()); \115 std::lock_guard<std::mutex> lock(VolumeManager::Instance()->getCryptLock()); \150 VolumeManager::Instance()->setListener(listener); in setListener()168 return translate(VolumeManager::Instance()->reset()); in reset()175 return translate(VolumeManager::Instance()->shutdown()); in shutdown()182 return translate(VolumeManager::Instance()->onUserAdded(userId, userSerial)); in onUserAdded()189 return translate(VolumeManager::Instance()->onUserRemoved(userId)); in onUserRemoved()196 return translate(VolumeManager::Instance()->onUserStarted(userId)); in onUserStarted()203 return translate(VolumeManager::Instance()->onUserStopped(userId)); in onUserStopped()220 return translate(VolumeManager::Instance()->onSecureKeyguardStateChanged(isShowing)); in onSecureKeyguardStateChanged()[all …]
41 VolumeManager* vm = VolumeManager::Instance(); in onEvent()
51 static int process_config(VolumeManager* vm, VoldConfigs* configs);74 VolumeManager* vm; in main()90 if (!(vm = VolumeManager::Instance())) { in main()220 static int process_config(VolumeManager* vm, VoldConfigs* configs) { in process_config()269 vm->addDiskSource(std::shared_ptr<VolumeManager::DiskSource>( in process_config()270 new VolumeManager::DiskSource(sysPattern, nickname, flags))); in process_config()
41 class VolumeManager {43 static VolumeManager* sInstance;48 virtual ~VolumeManager();110 static VolumeManager* Instance();135 VolumeManager();
207 std::lock_guard<std::mutex> lock(VolumeManager::Instance()->getLock()); in moveStorageInternal()229 std::lock_guard<std::mutex> lock(VolumeManager::Instance()->getLock()); in moveStorageInternal()250 std::lock_guard<std::mutex> lock(VolumeManager::Instance()->getLock()); in moveStorageInternal()
86 VolumeManager* vm = VolumeManager::Instance(); in addFromVolumeManager()
134 "VolumeManager.cpp",
2112 VolumeManager* vm = VolumeManager::Instance(); in vold_unmountAll()
139 auto listener = VolumeManager::Instance()->getListener(); in create()152 auto listener = VolumeManager::Instance()->getListener(); in destroy()293 auto listener = VolumeManager::Instance()->getListener(); in readMetadata()319 auto listener = VolumeManager::Instance()->getListener(); in readPartitions()399 auto listener = VolumeManager::Instance()->getListener(); in readPartitions()
150 return VolumeManager::Instance()->getListener(); in getListener()