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

/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java68 private final IMountService mMountService; field in class:StorageManager
317 mMountService = IMountService.Stub.asInterface(ServiceManager.getService("mount"));
318 if (mMountService == null) {
340 mMountService.registerListener(mBinderListener);
373 mMountService.unregisterListener(mBinderListener);
389 mMountService.setUsbMassStorageEnabled(true);
402 mMountService.setUsbMassStorageEnabled(false);
416 return mMountService.isUsbMassStorageConnected();
431 return mMountService.isUsbMassStorageEnabled();
466 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.java206 private IMountService mMountService; field in class:BackupManagerService
781 mMountService = IMountService.Stub.asInterface(ServiceManager.getService("mount"));
1181 isEncrypted = (mMountService.getEncryptionState() != MountService.ENCRYPTION_STATE_NONE);
1190 final int result = mMountService.verifyEncryptionPassword(candidatePw);
1291 return (mMountService.getEncryptionState() != IMountService.ENCRYPTION_STATE_NONE)
5440 isEncrypted = (mMountService.getEncryptionState() != MountService.ENCRYPTION_STATE_NONE);

Completed in 758 milliseconds