OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getExternalStorageState
(Results
1 - 25
of
110
) 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
();
/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/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);
/frameworks/support/compat/java/android/support/v4/os/
EnvironmentCompat.java
65
return Environment.
getExternalStorageState
();
/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
() {
/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))) {
/cts/tests/tests/os/src/android/os/cts/
EnvironmentTest.java
31
assertNotNull(Environment.
getExternalStorageState
());
/packages/apps/Music/src/com/android/music/
ScanningProgress.java
36
String status = Environment.
getExternalStorageState
();
/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
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)) {
/frameworks/base/core/java/android/os/
Environment.java
400
* {@link #
getExternalStorageState
()}.
452
* @see #
getExternalStorageState
()
709
* @see #
getExternalStorageState
(File)
716
* @see #
getExternalStorageState
(File)
723
* @see #
getExternalStorageState
(File)
730
* @see #
getExternalStorageState
(File)
738
* @see #
getExternalStorageState
(File)
746
* @see #
getExternalStorageState
(File)
754
* @see #
getExternalStorageState
(File)
762
* @see #
getExternalStorageState
(File
[
all
...]
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
ImportTask.java
107
String state = Environment.
getExternalStorageState
();
/cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/src/com/android/cts/multiuserstorageapp/
MultiUserStorageTest.java
78
Environment.
getExternalStorageState
(path));
102
Environment.
getExternalStorageState
(path));
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp22/src/com/android/cts/usepermission/
UsePermissionTest22.java
57
assertEquals(Environment.MEDIA_MOUNTED, Environment.
getExternalStorageState
());
86
assertEquals(Environment.MEDIA_UNMOUNTED, Environment.
getExternalStorageState
());
/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
157
// using Environment.
getExternalStorageState
() before doing this.
158
if (!Environment.
getExternalStorageState
().equalsIgnoreCase(Environment.MEDIA_MOUNTED)) {
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java
157
// using Environment.
getExternalStorageState
() before doing this.
158
if (!Environment.
getExternalStorageState
().equalsIgnoreCase(Environment.MEDIA_MOUNTED)) {
Completed in 3274 milliseconds
1
2
3
4
5