Searched refs:mStorageManager (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | Memory.java | 66 private StorageManager mStorageManager = null; field in Memory 75 if (mStorageManager == null) { in onCreate() 76 mStorageManager = (StorageManager) getSystemService(Context.STORAGE_SERVICE); in onCreate() 77 mStorageManager.registerListener(mStorageListener); in onCreate() 88 getActivity(), mResources, null, mStorageManager, false); in onCreate() 93 StorageVolume[] storageVolumes = mStorageManager.getVolumeList(); in onCreate() 100 getActivity(), mResources, storageVolume, mStorageManager, isPrimary); in onCreate() 110 final StorageVolume[] storageVolumes = mStorageManager.getVolumeList(); in isMassStorageEnabled() 159 if (mStorageManager != null && mStorageListener != null) { in onDestroy() 160 mStorageManager.unregisterListener(mStorageListener); in onDestroy() [all …]
|
D | StorageVolumePreferenceCategory.java | 66 private StorageManager mStorageManager = null; field in StorageVolumePreferenceCategory 168 mStorageManager = storageManager; in StorageVolumePreferenceCategory() 264 ? mStorageManager.getVolumeState(mStorageVolume.getPath()) in updatePreferencesFromState()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MtpService.java | 95 private StorageManager mStorageManager; field in MtpService 110 mStorageManager = (StorageManager)getSystemService(Context.STORAGE_SERVICE); in onCreate() 112 mStorageManager.registerListener(mStorageEventListener); in onCreate() 113 StorageVolume[] volumes = mStorageManager.getVolumeList(); in onCreate() 117 String state = mStorageManager.getVolumeState(path); in onCreate() 161 mStorageManager.unregisterListener(mStorageEventListener); in onDestroy()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadService.java | 107 private StorageManager mStorageManager; field in DownloadService 226 mStorageManager = StorageManager.getInstance(getApplicationContext()); in onCreate() 443 info.startIfReady(now, mStorageManager); in insertDownloadLocked() 471 info.startIfReady(now, mStorageManager); in updateDownload()
|
D | DownloadThread.java | 60 private final StorageManager mStorageManager; field in DownloadThread 70 mStorageManager = storageManager; in DownloadThread() 223 mStorageManager.incrementNumDownloadsSoFar(); in run() 434 mStorageManager.verifySpaceBeforeWritingToFile(mInfo.mDestination, state.mFilename, in writeDataToDestination() 453 mStorageManager.verifySpace(mInfo.mDestination, state.mFilename, bytesRead); in writeDataToDestination() 571 mInfo.mIsPublicApi, mStorageManager); in processResponseHeaders() 835 mStorageManager.getDownloadDataDirectory())) { in setupDestinationFile()
|