Searched refs:StorageManager (Results 1 - 14 of 14) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | MountServiceTests.java | 24 import android.os.storage.StorageManager; 136 private StorageManager getStorageManager() { 137 return (StorageManager) getContext().getSystemService(Context.STORAGE_SERVICE); 140 private void mountObb(StorageManager sm, final int resource, final File file, 161 private ObbObserver mountObbWithoutWait(final StorageManager sm, final int resource, 172 private void waitForObbActionCompletion(final StorageManager sm, final File file, 186 private String checkMountedPath(final StorageManager sm, final File file) { 194 private void unmountObb(final StorageManager sm, final File file, int expectedState) { 213 StorageManager sm = getStorageManager(); 232 StorageManager s [all...] |
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
H A D | SharedStorageAgent.java | 9 import android.os.storage.StorageManager; 25 StorageManager mgr = (StorageManager) getSystemService(Context.STORAGE_SERVICE);
|
/frameworks/base/core/java/com/android/internal/os/storage/ |
H A D | ExternalStorageFormatter.java | 16 import android.os.storage.StorageManager; 45 private StorageManager mStorageManager = null; 69 mStorageManager = (StorageManager) getSystemService(Context.STORAGE_SERVICE);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbStorageActivity.java | 40 import android.os.storage.StorageManager; 68 private StorageManager mStorageManager = null; 103 mStorageManager = (StorageManager) getSystemService(Context.STORAGE_SERVICE); 105 Log.w(TAG, "Failed to get StorageManager");
|
H A D | StorageNotification.java | 30 import android.os.storage.StorageManager; 62 private StorageManager mStorageManager; 88 mStorageManager = (StorageManager) mContext.getSystemService(Context.STORAGE_SERVICE);
|
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageManager.java | 44 * StorageManager is the interface to the systems storage service. The storage 60 public class StorageManager { class 61 private static final String TAG = "StorageManager"; 298 public static StorageManager from(Context context) { 299 return (StorageManager) context.getSystemService(Context.STORAGE_SERVICE); 303 * Constructs a StorageManager object through which an application can 314 public StorageManager(ContentResolver resolver, Looper tgtLooper) throws RemoteException { method in class:StorageManager 443 * The OBB will remain mounted for as long as the StorageManager reference
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | StorageManagerBaseTest.java | 29 import android.os.storage.StorageManager; 44 protected StorageManager mSm = null; 217 mSm = (StorageManager)mContext.getSystemService(android.content.Context.STORAGE_SERVICE);
|
H A D | AsecTests.java | 565 StorageManager sm = (StorageManager) mContext.getSystemService(Context.STORAGE_SERVICE); 625 StorageManager sm = (StorageManager) mContext.getSystemService(Context.STORAGE_SERVICE);
|
/frameworks/base/services/java/com/android/server/ |
H A D | DeviceStorageMonitorService.java | 40 import android.os.storage.StorageManager; 336 final StorageManager sm = StorageManager.from(context);
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 31 import android.os.storage.StorageManager; 80 private StorageManager mStorageManager; 96 mStorageManager = (StorageManager) getContext().getSystemService(Context.STORAGE_SERVICE);
|
/frameworks/base/core/java/android/os/ |
H A D | Environment.java | 21 import android.os.storage.StorageManager; 86 sPrimaryVolume = StorageManager.getPrimaryVolume(volumes);
|
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbDeviceManager.java | 42 import android.os.storage.StorageManager; 196 final StorageManager storageManager = StorageManager.from(mContext);
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 45 import android.os.storage.StorageManager; 1189 StorageManager sm = (StorageManager) mContext.getSystemService(Context.STORAGE_SERVICE); 1228 StorageManager sm = (StorageManager) mContext.getSystemService(Context.STORAGE_SERVICE);
|
/frameworks/base/core/java/android/app/ |
H A D | ContextImpl.java | 96 import android.os.storage.StorageManager; 492 return new StorageManager( 495 Log.e(TAG, "Failed to create StorageManager", rex);
|
Completed in 429 milliseconds