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

1 2 3 4 5

  /cts/common/device-side/preconditions/src/com/android/compatibility/common/preconditions/
ExternalStorageHelper.java 29 String state = Environment.getExternalStorageState();
35 String state = Environment.getExternalStorageState();
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
WorkDir.java 27 Assert.assertEquals(Environment.getExternalStorageState(), Environment.MEDIA_MOUNTED);
  /developers/build/prebuilts/gradle/AutoBackupForApps/Application/src/main/java/com/example/android/autobackupsample/
Utils.java 30 String state = Environment.getExternalStorageState();
  /developers/samples/android/content/AutoBackupForApps/Application/src/main/java/com/example/android/autobackupsample/
Utils.java 30 String state = Environment.getExternalStorageState();
  /development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/
Utils.java 30 String state = Environment.getExternalStorageState();
  /cts/tests/tests/os/src/android/os/cts/
EnvironmentTest.java 24 assertNotNull(Environment.getExternalStorageState());
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
DynamicConfigDeviceSide.java 35 if (!Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) {
  /cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
WriteExternalStorageTest.java 81 assertEquals(Environment.MEDIA_MOUNTED, Environment.getExternalStorageState());
146 Environment.getExternalStorageState(path));
151 while (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState(path))) {
182 assertEquals(Environment.MEDIA_MOUNTED, Environment.getExternalStorageState(path));
197 assertEquals(Environment.MEDIA_UNKNOWN, Environment.getExternalStorageState(path));
205 Environment.getExternalStorageState(new File("/meow-should-never-exist")));
209 Environment.getExternalStorageState(getContext().getCacheDir()));
223 Environment.getExternalStorageState(path));
235 if (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState(path))) {
259 Environment.getExternalStorageState(path))
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
EnvironmentTest.java 29 assertThat( Environment.getExternalStorageState(), equalTo("removed") );
31 assertThat( Environment.getExternalStorageState(), equalTo("mounted") );
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowEnvironment.java 17 public static String getExternalStorageState() {
  /frameworks/support/compat/java/android/support/v4/os/
EnvironmentCompat.java 67 return Environment.getExternalStorageState();
  /cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/src/com/android/cts/readexternalstorageapp/
ReadExternalStorageTest.java 53 Environment.getExternalStorageState(path));
65 if (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState(path))) {
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
UsbTunerTvInputService.java 48 Environment.getExternalStorageState()) &&
  /cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/src/com/android/cts/multiuserstorageapp/
MultiUserStorageTest.java 73 Environment.getExternalStorageState(path));
97 Environment.getExternalStorageState(path));
  /external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
APKExpansionSupport.java 33 if (Environment.getExternalStorageState().equals(
  /packages/apps/Music/src/com/android/music/
ScanningProgress.java 38 String status = Environment.getExternalStorageState();
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
ReportExporter.java 53 if (!Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())) {
  /cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DeviceInfo.java 73 if (!Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) {
  /developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 156 // using Environment.getExternalStorageState() before doing this.
157 if (!Environment.getExternalStorageState().equalsIgnoreCase(Environment.MEDIA_MOUNTED)) {
  /developers/build/prebuilts/gradle/BasicRenderScript/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 156 // using Environment.getExternalStorageState() before doing this.
157 if (!Environment.getExternalStorageState().equalsIgnoreCase(Environment.MEDIA_MOUNTED)) {
  /developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 156 // using Environment.getExternalStorageState() before doing this.
157 if (!Environment.getExternalStorageState().equalsIgnoreCase(Environment.MEDIA_MOUNTED)) {
  /developers/samples/android/common/src/java/com/example/android/common/media/
CameraHelper.java 156 // using Environment.getExternalStorageState() before doing this.
157 if (!Environment.getExternalStorageState().equalsIgnoreCase(Environment.MEDIA_MOUNTED)) {
  /development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
CameraHelper.java 156 // using Environment.getExternalStorageState() before doing this.
157 if (!Environment.getExternalStorageState().equalsIgnoreCase(Environment.MEDIA_MOUNTED)) {
  /development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
CameraHelper.java 156 // using Environment.getExternalStorageState() before doing this.
157 if (!Environment.getExternalStorageState().equalsIgnoreCase(Environment.MEDIA_MOUNTED)) {
  /development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
CameraHelper.java 156 // using Environment.getExternalStorageState() before doing this.
157 if (!Environment.getExternalStorageState().equalsIgnoreCase(Environment.MEDIA_MOUNTED)) {

Completed in 1041 milliseconds

1 2 3 4 5