Home
last modified time | relevance | path

Searched refs:MEDIA_MOUNTED (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DMountService.java623 updatePublicVolumeState(volume, Environment.MEDIA_MOUNTED); in handleSystemReady()
744 } else if (Environment.MEDIA_MOUNTED.equals(state)) { in updatePublicVolumeState()
799 state = Environment.MEDIA_MOUNTED; in onDaemonConnected()
1043 updatePublicVolumeState(volume, Environment.MEDIA_MOUNTED); in notifyVolumeStateChange()
1140 if (!getVolumeState(path).equals(Environment.MEDIA_MOUNTED)) { in doUnmountVolume()
1407 updatePublicVolumeState(volume, Environment.MEDIA_MOUNTED); in createEmulatedVolumeForUserLocked()
1410 mVolumeStates.put(volume.getPath(), Environment.MEDIA_MOUNTED); in createEmulatedVolumeForUserLocked()
1411 volume.setState(Environment.MEDIA_MOUNTED); in createEmulatedVolumeForUserLocked()
1572 if (state.equals(Environment.MEDIA_MOUNTED)) { in shutdown()
1628 if (enable && vs.equals(Environment.MEDIA_MOUNTED)) { in setUsbMassStorageEnabled()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java106 mOrigState = checkMediaState(Environment.MEDIA_MOUNTED); in setUp()
115 boolean newState = checkMediaState(Environment.MEDIA_MOUNTED); in tearDown()
322 if (!status.equals(Environment.MEDIA_MOUNTED)) { in checkSd()
1187 if (checkMediaState(Environment.MEDIA_MOUNTED)) { in mountMedia()
1192 StorageListener observer = new StorageListener(Environment.MEDIA_MOUNTED); in mountMedia()
1260 boolean origState = checkMediaState(Environment.MEDIA_MOUNTED); in mountFromRawResource()
1870 boolean origState = checkMediaState(Environment.MEDIA_MOUNTED); in testInstallSdcardUnmount()
1900 boolean origState = checkMediaState(Environment.MEDIA_MOUNTED); in testInstallManifestSdcardUnmount()
2825 boolean origMediaState = checkMediaState(Environment.MEDIA_MOUNTED); in testInstallOnSdPermissionsUnmount()
2861 boolean origMediaState = checkMediaState(Environment.MEDIA_MOUNTED); in testInstallSdcardStaleContainer()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/storage/
DAsecTests.java142 return Environment.MEDIA_MOUNTED.equals(state); in isMediaMounted()
510 return Environment.MEDIA_MOUNTED.equals(state); in getMediaState()
/frameworks/base/core/java/com/android/internal/os/storage/
DExternalStorageFormatter.java152 if (Environment.MEDIA_MOUNTED.equals(status) in updateProgressState()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBenchRS.java152 if (!Environment.MEDIA_MOUNTED.equals(state)) { in saveTestResults()
/frameworks/base/media/java/android/media/
DRingtoneManager.java492 return (status.equals(Environment.MEDIA_MOUNTED) || in getMediaRingtones()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java425 while (!extStorageState.equals(Environment.MEDIA_MOUNTED)) { in waitForExternalStoreMount()
/frameworks/base/docs/html/training/basics/data-storage/
Dfiles.jd214 state is equal to {@link android.os.Environment#MEDIA_MOUNTED}, then you can read and
222 if (Environment.MEDIA_MOUNTED.equals(state)) {
231 if (Environment.MEDIA_MOUNTED.equals(state) ||
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java423 && !Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())) { in resolveInstallLocation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java148 } else if (newState.equals(Environment.MEDIA_MOUNTED)) { in onStorageStateChangedAsync()
/frameworks/base/core/java/android/os/
DEnvironment.java652 public static final String MEDIA_MOUNTED = "mounted"; field in Environment
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java96 if (!status.equals(Environment.MEDIA_MOUNTED)) {
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java127 final boolean mounted = Environment.MEDIA_MOUNTED.equals(volume.getState()) in updateVolumesLocked()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java784 while (!extStorageState.equals(Environment.MEDIA_MOUNTED)) { in waitForExternalStoreMount()
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd276 if (Environment.MEDIA_MOUNTED.equals(state)) {
285 if (Environment.MEDIA_MOUNTED.equals(state) ||
/frameworks/base/docs/html/training/displaying-bitmaps/
Dcache-bitmap.jd284 Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState()) ||
/frameworks/base/docs/html/google/play/
Dexpansion-files.jd970 application, the return value must be {@link android.os.Environment#MEDIA_MOUNTED}.</p>
998 .equals(Environment.MEDIA_MOUNTED)) {
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java8630 mounted = (Environment.MEDIA_MOUNTED.equals(status) in handleStartCopy()
11210 mounted = status.equals(Environment.MEDIA_MOUNTED) in clearExternalStorageDataSync()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java5479 if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) { in run()
/frameworks/base/api/
Dcurrent.txt7603 … public static final java.lang.String ACTION_MEDIA_MOUNTED = "android.intent.action.MEDIA_MOUNTED";
21670 field public static final java.lang.String MEDIA_MOUNTED = "mounted";