/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | StorageManagerVolumeProvider.java | 31 private StorageManager mStorageManager; field in StorageManagerVolumeProvider 34 mStorageManager = sm; in StorageManagerVolumeProvider() 39 return mStorageManager.getPrimaryStorageSize(); in getPrimaryStorageSize() 44 return mStorageManager.getVolumes(); in getVolumes() 49 return mStorageManager.findEmulatedForPrivate(privateVolume); in findEmulatedForPrivate()
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 294 private final IStorageManager mStorageManager; field in StorageManager 505 … mStorageManager = IStorageManager.Stub.asInterface(ServiceManager.getServiceOrThrow("mount")); in StorageManager() 522 mStorageManager.registerListener(delegate); in registerListener() 544 mStorageManager.unregisterListener(delegate); in unregisterListener() 626 mStorageManager.mountObb(rawPath, canonicalPath, key, mObbActionListener, nonce, in mountObb() 671 mStorageManager.unmountObb(rawPath, force, mObbActionListener, nonce); in unmountObb() 688 return mStorageManager.isObbMounted(rawPath); in isObbMounted() 707 return mStorageManager.getMountedObbPath(rawPath); in getMountedObbPath() 717 return Arrays.asList(mStorageManager.getDisks()); in getDisks() 822 for (VolumeInfo vol : mStorageManager.getVolumes(0)) { in getUuidForPath() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockLockSettingsContext.java | 34 private StorageManager mStorageManager; field in MockLockSettingsContext 46 mStorageManager = storageManager; in MockLockSettingsContext() 60 return mStorageManager; in getSystemService()
|
D | BaseLockSettingsServiceTests.java | 90 FakeStorageManager mStorageManager; field in BaseLockSettingsServiceTests 108 mStorageManager = new FakeStorageManager(); in setUp_baseServices() 171 mStorageManager.unlockUser((int)args[0], (byte[])args[2], in setUp_baseServices() 210 mStorageManager.addUserKeyAuth((int) args[0] /* userId */, in setUpStorageManagerMock() 222 mStorageManager.clearUserKeyAuth((int) args[0] /* userId */, in setUpStorageManagerMock() 235 mStorageManager.fixateNewestUserKeyAuth((int) args[0] /* userId */); in setUpStorageManagerMock()
|
D | LockSettingsServiceTestable.java | 45 private IStorageManager mStorageManager; field in LockSettingsServiceTestable.MockInjector 61 mStorageManager = storageManager; in MockInjector() 104 return mStorageManager; in getStorageManager()
|
D | LockSettingsServiceTests.java | 164 mStorageManager.setIgnoreBadUnlock(true); in testManagedProfileUnifiedChallenge() 169 mStorageManager.setIgnoreBadUnlock(false); in testManagedProfileUnifiedChallenge() 193 mStorageManager.setIgnoreBadUnlock(true); in testManagedProfileSeparateChallenge() 197 mStorageManager.setIgnoreBadUnlock(false); in testManagedProfileSeparateChallenge() 221 mStorageManager.setIgnoreBadUnlock(true); in testManagedProfileSeparateChallenge() 224 mStorageManager.setIgnoreBadUnlock(false); in testManagedProfileSeparateChallenge()
|
D | SyntheticPasswordTests.java | 253 final byte[] storageKey = mStorageManager.getUserUnlockToken(PRIMARY_USER_ID); in testTokenBasedResetPassword() 277 assertArrayEquals(storageKey, mStorageManager.getUserUnlockToken(PRIMARY_USER_ID)); in testTokenBasedResetPassword() 286 final byte[] storageKey = mStorageManager.getUserUnlockToken(PRIMARY_USER_ID); in testTokenBasedClearPassword() 304 assertArrayEquals(storageKey, mStorageManager.getUserUnlockToken(PRIMARY_USER_ID)); in testTokenBasedClearPassword() 314 final byte[] storageKey = mStorageManager.getUserUnlockToken(PRIMARY_USER_ID); in testTokenBasedResetPasswordAfterCredentialChanges() 333 assertArrayEquals(storageKey, mStorageManager.getUserUnlockToken(PRIMARY_USER_ID)); in testTokenBasedResetPasswordAfterCredentialChanges()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 61 private StorageManager mStorageManager; field in StorageNotification 84 final VolumeInfo vol = mStorageManager.findVolumeByUuid(rec.getFsUuid()); 113 mStorageManager.setVolumeSnoozed(fsUuid, true); 161 mStorageManager = mContext.getSystemService(StorageManager.class); in start() 162 mStorageManager.registerListener(mListener); in start() 170 final List<DiskInfo> disks = mStorageManager.getDisks(); in start() 175 final List<VolumeInfo> vols = mStorageManager.getVolumes(); in start() 191 final List<VolumeRecord> recs = mStorageManager.getVolumeRecords(); in updateMissingPrivateVolumes() 196 final VolumeInfo info = mStorageManager.findVolumeByUuid(fsUuid); in updateMissingPrivateVolumes() 352 final VolumeRecord rec = mStorageManager.findRecordByUuid(vol.getFsUuid()); in onVolumeMounted() [all …]
|
/frameworks/base/native/android/ |
D | storage_manager.cpp | 38 sp<AStorageManager> mStorageManager; member 42 mStorageManager(mgr) in ObbActionListener() 189 mStorageManager->fireCallback(String8(filename).string(), nonce, state); in onObbResult()
|
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/ |
D | BackupRestoreConfirmation.java | 69 IStorageManager mStorageManager; field in BackupRestoreConfirmation 147 mStorageManager = IStorageManager.Stub.asInterface(ServiceManager.getService("mount")); in onCreate() 317 return mStorageManager.getEncryptionState() in deviceIsEncrypted() 319 && mStorageManager.getPasswordType() in deviceIsEncrypted()
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | ExternalStorageProvider.java | 103 private StorageManager mStorageManager; field in ExternalStorageProvider 115 mStorageManager = getContext().getSystemService(StorageManager.class); in onCreate() 156 final List<VolumeInfo> volumes = mStorageManager.getVolumes(); in updateVolumesLocked() 186 final VolumeInfo privateVol = mStorageManager.findPrivateForEmulated(volume); in updateVolumesLocked() 187 title = mStorageManager.getBestVolumeDescription(privateVol); in updateVolumesLocked() 194 title = mStorageManager.getBestVolumeDescription(volume); in updateVolumesLocked() 562 mStorageManager.unmount(root.volumeId); in ejectRoot()
|
/frameworks/base/core/java/android/app/backup/ |
D | FullBackup.java | 239 final StorageManager mStorageManager; field in FullBackup.BackupScheme 305 if (mStorageManager != null) { in getVolumeList() 307 mVolumes = mStorageManager.getVolumeList(); in getVolumeList() 358 mStorageManager = (StorageManager) context.getSystemService(Context.STORAGE_SERVICE); in BackupScheme()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpDocumentsProvider.java | 98 private StorageManager mStorageManager; field in MtpDocumentsProvider 118 mStorageManager = getContext().getSystemService(StorageManager.class); in onCreate() 162 mStorageManager = storageManager; in onCreateForTesting() 300 return mStorageManager.openProxyFileDescriptor( in openDocument() 312 return mStorageManager.openProxyFileDescriptor( in openDocument()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 205 private final IStorageManager mStorageManager; field in LockSettingsService 487 mStorageManager = injector.getStorageManager(); in LockSettingsService() 1695 mStorageManager.clearUserKeyAuth(userId, userInfo.serialNumber, null, secret); in clearUserKeyProtection() 1720 return mStorageManager.isUserKeyUnlocked(userId); in isUserKeyUnlocked() 1730 mStorageManager.unlockUserKey(userId, userInfo.serialNumber, token, secret); in unlockUserKey() 1738 mStorageManager.addUserKeyAuth(userId, userInfo.serialNumber, token, secret); in addUserKeyAuth() 1749 mStorageManager.fixateNewestUserKeyAuth(userId); in fixateNewestUserKeyAuth()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 310 private final IStorageManager mStorageManager; field in UserBackupManagerService 526 mStorageManager = IStorageManager.Stub.asInterface(ServiceManager.getService("mount")); in UserBackupManagerService() 1999 return mStorageManager.getEncryptionState() in deviceIsEncrypted() 2001 && mStorageManager.getPasswordType() in deviceIsEncrypted()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 4297 Landroid/app/backup/FullBackup$BackupScheme;->mStorageManager:Landroid/os/storage/StorageManager; 52816 Landroid/os/storage/StorageManager;->mStorageManager:Landroid/os/storage/IStorageManager;
|