Home
last modified time | relevance | path

Searched refs:mStorageManager (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbStorageActivity.java70 private StorageManager mStorageManager = null; field in UsbStorageActivity
104 if (mStorageManager == null) { in onCreate()
105 mStorageManager = (StorageManager) getSystemService(Context.STORAGE_SERVICE); in onCreate()
106 if (mStorageManager == null) { in onCreate()
172 mStorageManager.registerListener(mStorageListener); in onResume()
178 switchDisplay(mStorageManager.isUsbMassStorageEnabled()); in onResume()
191 if (mStorageManager == null && mStorageListener != null) { in onPause()
192 mStorageManager.unregisterListener(mStorageListener); in onPause()
267 mStorageManager.enableUsbMassStorage();
269 mStorageManager.disableUsbMassStorage();
DStorageNotification.java65 private StorageManager mStorageManager; field in StorageNotification
72 mStorageManager = (StorageManager) context.getSystemService(Context.STORAGE_SERVICE); in StorageNotification()
73 final boolean connected = mStorageManager.isUsbMassStorageConnected(); in StorageNotification()
169 if (!mStorageManager.isUsbMassStorageEnabled()) { in onStorageStateChangedAsync()
/frameworks/base/core/java/com/android/internal/os/storage/
DExternalStorageFormatter.java45 private StorageManager mStorageManager = null; field in ExternalStorageFormatter
68 if (mStorageManager == null) { in onCreate()
69 mStorageManager = (StorageManager) getSystemService(Context.STORAGE_SERVICE); in onCreate()
70 mStorageManager.registerListener(mStorageListener); in onCreate()
106 if (mStorageManager != null) { in onDestroy()
107 mStorageManager.unregisterListener(mStorageListener); in onDestroy()
146 mStorageManager.getVolumeState(mStorageVolume.getPath()); in updateProgressState()
/frameworks/base/native/android/
Dstorage_manager.cpp37 sp<AStorageManager> mStorageManager; member
41 mStorageManager(mgr) in ObbActionListener()
167 mStorageManager->fireCallback(String8(filename).string(), nonce, state); in onObbResult()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java75 private StorageManager mStorageManager; field in PhoneStatusBarPolicy
154 mStorageManager = (StorageManager) context.getSystemService(Context.STORAGE_SERVICE); in PhoneStatusBarPolicy()
155 mStorageManager.registerListener( in PhoneStatusBarPolicy()