Home
last modified time | relevance | path

Searched refs:getExternalStorageState (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/os/
DEnvironment.java695 public static String getExternalStorageState() { in getExternalStorageState() method in Environment
697 return getExternalStorageState(externalDir); in getExternalStorageState()
705 return getExternalStorageState(path); in getStorageState()
718 public static String getExternalStorageState(File path) { in getExternalStorageState() method in Environment
/frameworks/support/v4/java/android/support/v4/os/
DEnvironmentCompat.java67 return Environment.getExternalStorageState(); in getStorageState()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java423 String extStorageState = Environment.getExternalStorageState(); in waitForExternalStoreMount()
429 extStorageState = Environment.getExternalStorageState(); in waitForExternalStoreMount()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java91 mUmsAvailable, Environment.getExternalStorageState())); in start()
108 String st = Environment.getExternalStorageState(); in onUsbMassStorageConnectionChangedAsync()
/frameworks/base/core/java/com/android/internal/os/storage/
DExternalStorageFormatter.java150 Environment.getExternalStorageState() : in updateProgressState()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java782 String extStorageState = Environment.getExternalStorageState(); in waitForExternalStoreMount()
788 extStorageState = Environment.getExternalStorageState(); in waitForExternalStoreMount()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBenchRS.java151 String state = Environment.getExternalStorageState(); in saveTestResults()
/frameworks/base/media/java/android/media/
DRingtoneManager.java490 final String status = Environment.getExternalStorageState(); in getMediaRingtones()
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd268 android.os.Environment#getExternalStorageState()} to check whether the media is available. The
275 String state = Environment.getExternalStorageState();
284 String state = Environment.getExternalStorageState();
293 <p>The {@link android.os.Environment#getExternalStorageState()} method returns other states that you
/frameworks/base/docs/html/training/basics/data-storage/
Dfiles.jd215 storage state by calling {@link android.os.Environment#getExternalStorageState}. If the returned
223 String state = Environment.getExternalStorageState();
232 String state = Environment.getExternalStorageState();
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java423 && !Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())) { in resolveInstallLocation()
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java95 String status = Environment.getExternalStorageState();
/frameworks/base/docs/html/training/displaying-bitmaps/
Dcache-bitmap.jd284 Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState()) ||
/frameworks/base/docs/html/google/play/
Dexpansion-files.jd968 android.os.Environment#getExternalStorageState()}. This returns one of several possible strings
997 if (Environment.getExternalStorageState()
/frameworks/base/services/core/java/com/android/server/
DMountService.java1611 state = Environment.getExternalStorageState(); in shutdown()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java325 String status = Environment.getExternalStorageState(); in checkSd()
/frameworks/base/docs/html/guide/topics/media/
Dcamera.jd1047 // using Environment.getExternalStorageState() before doing this.
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java8751 final String status = Environment.getExternalStorageState(); in handleStartCopy()
11352 final String status = Environment.getExternalStorageState(); in clearExternalStorageDataSync()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java5589 if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) { in run()
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt456 NO DOC BLOCK: android.os.Environment Method getExternalStorageState(java.io.File)
/frameworks/base/api/
Dsystem-current.txt23299 method public static java.lang.String getExternalStorageState();
23300 method public static java.lang.String getExternalStorageState(java.io.File);
Dcurrent.txt21719 method public static java.lang.String getExternalStorageState();
21720 method public static java.lang.String getExternalStorageState(java.io.File);