HomeSort by relevance Sort by last modified time
    Searched refs:MEDIA_MOUNTED (Results 1 - 25 of 95) sorted by null

1 2 3 4

  /cts/common/device-side/preconditions/src/com/android/compatibility/common/preconditions/
ExternalStorageHelper.java 30 return Environment.MEDIA_MOUNTED.equals(state);
36 return (Environment.MEDIA_MOUNTED.equals(state) ||
  /developers/build/prebuilts/gradle/AutoBackupForApps/Application/src/main/java/com/example/android/autobackupsample/
Utils.java 31 if (!Environment.MEDIA_MOUNTED.equals(state)) {
  /developers/samples/android/content/AutoBackupForApps/Application/src/main/java/com/example/android/autobackupsample/
Utils.java 31 if (!Environment.MEDIA_MOUNTED.equals(state)) {
  /development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/
Utils.java 31 if (!Environment.MEDIA_MOUNTED.equals(state)) {
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
DynamicConfigDeviceSide.java 35 if (!Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) {
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
WorkDir.java 32 Assert.assertEquals(Environment.getExternalStorageState(), Environment.MEDIA_MOUNTED);
  /cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/src/com/android/cts/readexternalstorageapp/
ReadExternalStorageTest.java 52 assertEquals("Valid media must be inserted during CTS", Environment.MEDIA_MOUNTED,
65 if (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState(path))) {
  /cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
WriteExternalStorageTest.java 81 assertEquals(Environment.MEDIA_MOUNTED, Environment.getExternalStorageState());
145 assertEquals("Valid media must be inserted during CTS", Environment.MEDIA_MOUNTED,
151 while (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState(path))) {
182 assertEquals(Environment.MEDIA_MOUNTED, Environment.getExternalStorageState(path));
222 assertEquals("Valid media must be inserted during CTS", Environment.MEDIA_MOUNTED,
235 if (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState(path))) {
258 assertEquals("Valid media must be inserted during CTS", Environment.MEDIA_MOUNTED,
264 while (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState(path))) {
  /packages/apps/Music/src/com/android/music/
ScanningProgress.java 37 if (!status.equals(Environment.MEDIA_MOUNTED)) {
  /packages/providers/MediaProvider/src/com/android/providers/media/
MtpService.java 59 if (Environment.MEDIA_MOUNTED.equals(state)) {
75 if (Environment.MEDIA_MOUNTED.equals(newState)) {
77 } else if (Environment.MEDIA_MOUNTED.equals(oldState)) {
126 if (Environment.MEDIA_MOUNTED.equals(state)) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
ReportExporter.java 55 if (!Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())) {
  /development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
CameraHelper.java 157 if (!Environment.getExternalStorageState().equalsIgnoreCase(Environment.MEDIA_MOUNTED)) {
  /development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
CameraHelper.java 157 if (!Environment.getExternalStorageState().equalsIgnoreCase(Environment.MEDIA_MOUNTED)) {
  /development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
CameraHelper.java 157 if (!Environment.getExternalStorageState().equalsIgnoreCase(Environment.MEDIA_MOUNTED)) {
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
ImportTask.java 108 if (!Environment.MEDIA_MOUNTED.equals(state)) {
  /cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/src/com/android/cts/multiuserstorageapp/
MultiUserStorageTest.java 77 assertEquals("Valid media must be inserted during CTS", Environment.MEDIA_MOUNTED,
101 assertEquals("Valid media must be inserted during CTS", Environment.MEDIA_MOUNTED,
  /cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DeviceInfo.java 73 if (!Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) {
  /cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
UsePermissionTest23.java 66 assertEquals(Environment.MEDIA_MOUNTED, Environment.getExternalStorageState());
80 assertEquals(Environment.MEDIA_MOUNTED, Environment.getExternalStorageState());
95 assertEquals(Environment.MEDIA_MOUNTED, Environment.getExternalStorageState());
128 assertEquals(Environment.MEDIA_MOUNTED, Environment.getExternalStorageState());
  /developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 158 if (!Environment.getExternalStorageState().equalsIgnoreCase(Environment.MEDIA_MOUNTED)) {
  /developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 158 if (!Environment.getExternalStorageState().equalsIgnoreCase(Environment.MEDIA_MOUNTED)) {
  /developers/build/prebuilts/gradle/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/
IncomingRequestPhoneService.java 173 return Environment.MEDIA_MOUNTED.equals(state)
  /developers/samples/android/common/src/java/com/example/android/common/media/
CameraHelper.java 158 if (!Environment.getExternalStorageState().equalsIgnoreCase(Environment.MEDIA_MOUNTED)) {
  /developers/samples/android/wearable/wear/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/
IncomingRequestPhoneService.java 173 return Environment.MEDIA_MOUNTED.equals(state)
  /development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/
IncomingRequestPhoneService.java 173 return Environment.MEDIA_MOUNTED.equals(state)
  /external/sl4a/Utils/src/com/googlecode/android_scripting/
FileUtils.java 45 return Environment.MEDIA_MOUNTED.equals(state)

Completed in 1519 milliseconds

1 2 3 4