Home
last modified time | relevance | path

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

/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/data-storage/
Dfiles.jd212 如果返回的状态为 {@link android.os.Environment#MEDIA_MOUNTED},那么您可以对您的文件进行读写。
221 if (Environment.MEDIA_MOUNTED.equals(state)) {
230 if (Environment.MEDIA_MOUNTED.equals(state) ||
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/data-storage/
Dfiles.jd212 若傳回的狀態等於 {@link android.os.Environment#MEDIA_MOUNTED},則可以讀取並寫入檔案。
221 if (Environment.MEDIA_MOUNTED.equals(state)) {
230 if (Environment.MEDIA_MOUNTED.equals(state) ||
/frameworks/base/docs/html-intl/intl/ru/training/basics/data-storage/
Dfiles.jd213 равнозначно {@link android.os.Environment#MEDIA_MOUNTED}, вы сможете выполнять с файлами операции ч…
221 if (Environment.MEDIA_MOUNTED.equals(state)) {
230 if (Environment.MEDIA_MOUNTED.equals(state) ||
/frameworks/base/docs/html-intl/intl/ja/training/basics/data-storage/
Dfiles.jd212 返された状態が {@link android.os.Environment#MEDIA_MOUNTED} に等しい場合は、ファイルの読み取りと書き込みができます。
221 if (Environment.MEDIA_MOUNTED.equals(state)) {
230 if (Environment.MEDIA_MOUNTED.equals(state) ||
/frameworks/base/docs/html-intl/intl/ko/training/basics/data-storage/
Dfiles.jd213 상태가 {@link android.os.Environment#MEDIA_MOUNTED}와 동일하다면 파일을 읽거나 파일에
221 if (Environment.MEDIA_MOUNTED.equals(state)) {
230 if (Environment.MEDIA_MOUNTED.equals(state) ||
/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.java106 mOrigState = checkMediaState(Environment.MEDIA_MOUNTED); in setUp()
115 boolean newState = checkMediaState(Environment.MEDIA_MOUNTED); in tearDown()
326 if (!status.equals(Environment.MEDIA_MOUNTED)) { in checkSd()
1189 if (checkMediaState(Environment.MEDIA_MOUNTED)) { in mountMedia()
1194 StorageListener observer = new StorageListener(Environment.MEDIA_MOUNTED); in mountMedia()
1262 boolean origState = checkMediaState(Environment.MEDIA_MOUNTED); in mountFromRawResource()
1794 boolean origState = checkMediaState(Environment.MEDIA_MOUNTED); in testInstallSdcardUnmount()
1824 boolean origState = checkMediaState(Environment.MEDIA_MOUNTED); in testInstallManifestSdcardUnmount()
2749 boolean origMediaState = checkMediaState(Environment.MEDIA_MOUNTED); in testInstallOnSdPermissionsUnmount()
2785 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/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBenchRS.java152 if (!Environment.MEDIA_MOUNTED.equals(state)) { in saveTestResults()
/frameworks/base/core/java/android/os/
DEnvironment.java585 public static final String MEDIA_MOUNTED = "mounted"; field in Environment
/frameworks/base/media/java/android/media/
DRingtoneManager.java514 return (status.equals(Environment.MEDIA_MOUNTED) || in getMediaRingtones()
/frameworks/base/docs/html/training/basics/data-storage/
Dfiles.jd216 state is equal to {@link android.os.Environment#MEDIA_MOUNTED}, then you can read and
224 if (Environment.MEDIA_MOUNTED.equals(state)) {
233 if (Environment.MEDIA_MOUNTED.equals(state) ||
/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-intl/intl/pt-br/training/basics/data-storage/
Dfiles.jd213 retornado for igual a {@link android.os.Environment#MEDIA_MOUNTED}, os arquivos poderão ser lidos
221 if (Environment.MEDIA_MOUNTED.equals(state)) {
230 if (Environment.MEDIA_MOUNTED.equals(state) ||
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java96 if (!status.equals(Environment.MEDIA_MOUNTED)) {
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java421 && Environment.MEDIA_MOUNTED.equals(primary.getState()) in fitsOnExternal()
/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/backup/java/com/android/server/backup/
DBackupManagerService.java5908 if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) { in run()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java10304 mounted = (Environment.MEDIA_MOUNTED.equals(status) in handleStartCopy()
13216 mounted = status.equals(Environment.MEDIA_MOUNTED) in clearExternalStorageDataSync()
/frameworks/base/api/
Dcurrent.txt8143 … public static final java.lang.String ACTION_MEDIA_MOUNTED = "android.intent.action.MEDIA_MOUNTED";
22982 field public static final java.lang.String MEDIA_MOUNTED = "mounted";
Dsystem-current.txt8395 … public static final java.lang.String ACTION_MEDIA_MOUNTED = "android.intent.action.MEDIA_MOUNTED";
24926 field public static final java.lang.String MEDIA_MOUNTED = "mounted";