Searched refs:mStorageManager (Results 1 – 4 of 4) sorted by relevance
57 String state = mStorageManager.getVolumeState(path); in addStorageDevicesLocked()114 private StorageManager mStorageManager; field in MtpService126 mStorageManager = StorageManager.from(this); in onCreate()129 mStorageManager.registerListener(mStorageEventListener); in onCreate()130 StorageVolume[] volumes = mStorageManager.getVolumeList(); in onCreate()134 String state = mStorageManager.getVolumeState(path); in onCreate()209 mStorageManager.unregisterListener(mStorageEventListener); in onDestroy()
147 private StorageManager mStorageManager; field in MediaProvider570 mStorageManager = (StorageManager) context.getSystemService(Context.STORAGE_SERVICE); in onCreate()5319 final StorageVolume actualVolume = mStorageManager.getPrimaryVolume(); in attachVolume()
82 private StorageManager mStorageManager; field in Memory95 mStorageManager = StorageManager.from(context); in onCreate()96 mStorageManager.registerListener(mStorageListener); in onCreate()102 final StorageVolume[] storageVolumes = mStorageManager.getVolumeList(); in onCreate()120 final StorageVolume[] volumes = mStorageManager.getVolumeList(); in isMassStorageEnabled()168 if (mStorageManager != null && mStorageListener != null) { in onDestroy()169 mStorageManager.unregisterListener(mStorageListener); in onDestroy()242 String state = mStorageManager.getVolumeState(volume.getPath()); in onPreferenceTreeClick()
61 private final StorageManager mStorageManager; field in StorageVolumePreferenceCategory128 mStorageManager = StorageManager.from(context); in StorageVolumePreferenceCategory()243 final String state = mStorageManager.getVolumeState(mVolume.getPath()); in updatePreferencesFromState()