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

/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java65 final private IMountService mMountService; field in class:StorageManager
312 mMountService = IMountService.Stub.asInterface(ServiceManager.getService("mount"));
313 if (mMountService == null) {
337 mMountService.registerListener(mBinderListener);
370 mMountService.unregisterListener(mBinderListener);
386 mMountService.setUsbMassStorageEnabled(true);
399 mMountService.setUsbMassStorageEnabled(false);
413 return mMountService.isUsbMassStorageConnected();
428 return mMountService.isUsbMassStorageEnabled();
463 mMountService
[all...]
/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) {
141 mMountService->mountObb(rawPath16, canonicalPath16, key16, mObbActionListener, cb->nonce);
147 mMountService->unmountObb(filename16, force, mObbActionListener, cb->nonce);
152 return mMountService->isObbMounted(filename16);
158 if (mMountService->getMountedObbPath(filename16, path16)) {
/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.java196 private IMountService mMountService; field in class:BackupManagerService
719 mMountService = IMountService.Stub.asInterface(ServiceManager.getService("mount"));
1107 isEncrypted = (mMountService.getEncryptionState() != MountService.ENCRYPTION_STATE_NONE);
1116 final int result = mMountService.verifyEncryptionPassword(candidatePw);
1217 return (mMountService.getEncryptionState() != IMountService.ENCRYPTION_STATE_NONE)
5186 isEncrypted = (mMountService.getEncryptionState() != MountService.ENCRYPTION_STATE_NONE);

Completed in 68 milliseconds