Searched refs:mMountService (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/native/android/
H A Dstorage_manager.cpp67 sp<IMountService> mMountService; member in struct:AStorageManager
94 mMountService = interface_cast<IMountService>(sm->getService(String16("mount")));
95 if (mMountService == NULL) {
132 mMountService->mountObb(filename16, key16, mObbActionListener, cb->nonce);
138 mMountService->unmountObb(filename16, force, mObbActionListener, cb->nonce);
143 return mMountService->isObbMounted(filename16);
149 if (mMountService->getMountedObbPath(filename16, path16)) {
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java58 private IMountService mMountService; field in class:StorageManager
300 mMountService = IMountService.Stub.asInterface(ServiceManager.getService("mount"));
301 if (mMountService == null) {
307 mMountService.registerListener(mBinderListener);
359 mMountService.setUsbMassStorageEnabled(true);
372 mMountService.setUsbMassStorageEnabled(false);
386 return mMountService.isUsbMassStorageConnected();
401 return mMountService.isUsbMassStorageEnabled();
440 mMountService.mountObb(filename, key, mObbActionListener, nonce);
480 mMountService
[all...]
/frameworks/base/core/java/com/android/internal/os/storage/
H A DExternalStorageFormatter.java43 private IMountService mMountService = null; field in class:ExternalStorageFormatter
234 if (mMountService == null) {
237 mMountService = IMountService.Stub.asInterface(service);
242 return mMountService;
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
H A DBackupRestoreConfirmation.java65 IMountService mMountService; field in class:BackupRestoreConfirmation
159 mMountService = IMountService.Stub.asInterface(ServiceManager.getService("mount"));
264 return (mMountService.getEncryptionState() != IMountService.ENCRYPTION_STATE_NONE);
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java191 private IMountService mMountService; field in class:BackupManagerService
665 mMountService = IMountService.Stub.asInterface(ServiceManager.getService("mount"));
1046 isEncrypted = (mMountService.getEncryptionState() != MountService.ENCRYPTION_STATE_NONE);
1055 final int result = mMountService.verifyEncryptionPassword(candidatePw);
1156 return (mMountService.getEncryptionState() != IMountService.ENCRYPTION_STATE_NONE)
5058 isEncrypted = (mMountService.getEncryptionState() != MountService.ENCRYPTION_STATE_NONE);

Completed in 155 milliseconds