Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/storage/
DVolumeInfo.java120 sStateToEnvironment.put(VolumeInfo.STATE_MOUNTED, Environment.MEDIA_MOUNTED); in sStateToEnvironment.put() argument
130 sEnvironmentToBroadcast.put(Environment.MEDIA_MOUNTED, Intent.ACTION_MEDIA_MOUNTED); in sEnvironmentToBroadcast.put() argument
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java120 mOrigState = checkMediaState(Environment.MEDIA_MOUNTED); in setUp()
129 boolean newState = checkMediaState(Environment.MEDIA_MOUNTED); in tearDown()
370 if (!status.equals(Environment.MEDIA_MOUNTED)) { in checkSd()
1180 if (checkMediaState(Environment.MEDIA_MOUNTED)) { in mountMedia()
1185 StorageListener observer = new StorageListener(Environment.MEDIA_MOUNTED); in mountMedia()
1253 boolean origState = checkMediaState(Environment.MEDIA_MOUNTED); in mountFromRawResource()
1727 boolean origState = checkMediaState(Environment.MEDIA_MOUNTED); in testInstallSdcardUnmount()
1757 boolean origState = checkMediaState(Environment.MEDIA_MOUNTED); in testInstallManifestSdcardUnmount()
2535 boolean origMediaState = checkMediaState(Environment.MEDIA_MOUNTED); in testInstallOnSdPermissionsUnmount()
2571 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/media/java/android/media/
DRingtoneManager.java629 return (status.equals(Environment.MEDIA_MOUNTED) || in getMediaRingtones()
940 if (!Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) { in addCustomExternalRingtone()
/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/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java97 if (!status.equals(Environment.MEDIA_MOUNTED)) {
/frameworks/base/core/java/android/os/
DEnvironment.java748 public static final String MEDIA_MOUNTED = "mounted"; field in Environment
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java786 while (!extStorageState.equals(Environment.MEDIA_MOUNTED)) { in waitForExternalStoreMount()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java537 && Environment.MEDIA_MOUNTED.equals(primary.getState()) in fitsOnExternal()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformAdbRestoreTask.java172 if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) { in run()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java7184 if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) { in run()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java20537 mounted = status.equals(Environment.MEDIA_MOUNTED) in clearExternalStorageDataSync()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7638 … public static final java.lang.String ACTION_MEDIA_MOUNTED = "android.intent.action.MEDIA_MOUNTED";
21737 field public static final java.lang.String MEDIA_MOUNTED = "mounted";
/frameworks/base/api/
Dcurrent.txt9383 … public static final java.lang.String ACTION_MEDIA_MOUNTED = "android.intent.action.MEDIA_MOUNTED";
30910 field public static final java.lang.String MEDIA_MOUNTED = "mounted";
Dtest-current.txt9418 … public static final java.lang.String ACTION_MEDIA_MOUNTED = "android.intent.action.MEDIA_MOUNTED";
31066 field public static final java.lang.String MEDIA_MOUNTED = "mounted";
Dsystem-current.txt9917 … public static final java.lang.String ACTION_MEDIA_MOUNTED = "android.intent.action.MEDIA_MOUNTED";
33636 field public static final java.lang.String MEDIA_MOUNTED = "mounted";