Home
last modified time | relevance | path

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

/system/vold/
DVolumeManager.cpp99 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 VolumeManager
115 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 …]
DVoldNativeService.cpp111 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 …]
DNetlinkHandler.cpp41 VolumeManager* vm = VolumeManager::Instance(); in onEvent()
Dmain.cpp51 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()
DVolumeManager.h41 class VolumeManager {
43 static VolumeManager* sInstance;
48 virtual ~VolumeManager();
110 static VolumeManager* Instance();
135 VolumeManager();
DMoveStorage.cpp207 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()
DIdleMaint.cpp86 VolumeManager* vm = VolumeManager::Instance(); in addFromVolumeManager()
DAndroid.bp134 "VolumeManager.cpp",
Dcryptfs.cpp2112 VolumeManager* vm = VolumeManager::Instance(); in vold_unmountAll()
/system/vold/model/
DDisk.cpp139 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()
DVolumeBase.cpp150 return VolumeManager::Instance()->getListener(); in getListener()