/frameworks/base/services/core/java/com/android/server/ |
D | MountService.java | 623 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/ |
D | PackageManagerTests.java | 106 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/ |
D | AsecTests.java | 142 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/ |
D | ExternalStorageFormatter.java | 152 if (Environment.MEDIA_MOUNTED.equals(status) in updateProgressState()
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | RsBenchRS.java | 152 if (!Environment.MEDIA_MOUNTED.equals(state)) { in saveTestResults()
|
/frameworks/base/media/java/android/media/ |
D | RingtoneManager.java | 492 return (status.equals(Environment.MEDIA_MOUNTED) || in getMediaRingtones()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerBaseTest.java | 425 while (!extStorageState.equals(Environment.MEDIA_MOUNTED)) { in waitForExternalStoreMount()
|
/frameworks/base/docs/html/training/basics/data-storage/ |
D | files.jd | 214 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/ |
D | PackageHelper.java | 423 && !Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())) { in resolveInstallLocation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 148 } else if (newState.equals(Environment.MEDIA_MOUNTED)) { in onStorageStateChangedAsync()
|
/frameworks/base/core/java/android/os/ |
D | Environment.java | 652 public static final String MEDIA_MOUNTED = "mounted"; field in Environment
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
D | DefaultContainerService.java | 96 if (!status.equals(Environment.MEDIA_MOUNTED)) {
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | ExternalStorageProvider.java | 127 final boolean mounted = Environment.MEDIA_MOUNTED.equals(volume.getState()) in updateVolumesLocked()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 784 while (!extStorageState.equals(Environment.MEDIA_MOUNTED)) { in waitForExternalStoreMount()
|
/frameworks/base/docs/html/guide/topics/data/ |
D | data-storage.jd | 276 if (Environment.MEDIA_MOUNTED.equals(state)) { 285 if (Environment.MEDIA_MOUNTED.equals(state) ||
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | cache-bitmap.jd | 284 Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState()) ||
|
/frameworks/base/docs/html/google/play/ |
D | expansion-files.jd | 970 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/ |
D | PackageManagerService.java | 8630 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/ |
D | BackupManagerService.java | 5479 if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) { in run()
|
/frameworks/base/api/ |
D | current.txt | 7603 … 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";
|