Searched refs:getFilesDir (Results 1 - 15 of 15) sorted by relevance

/external/sl4a/Utils/src/com/googlecode/android_scripting/interpreter/
H A DInterpreterUtils.java30 return context.getFilesDir();
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DContextTest.java31 deleteDir(context.getFilesDir());
34 File[] files = context.getFilesDir().listFiles();
38 File[] cachedFiles = context.getFilesDir().listFiles();
45 deleteDir(context.getFilesDir());
140 assertTrue(context.getFilesDir().exists());
159 File file = new File(context.getFilesDir(), "__test__");
202 fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.getName()));
225 File filesDir = context.getFilesDir();
235 File filesDir = context.getFilesDir();
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowParcelFileDescriptorTest.java21 file = new File(RuntimeEnvironment.application.getFilesDir(), "test");
24 readOnlyFile = new File(RuntimeEnvironment.application.getFilesDir(), "test_readonly");
93 File f = new File(RuntimeEnvironment.application.getFilesDir(), "outfile");
H A DShadowContextTest.java117 assertThat(context.getFilesDir()).exists();
122 assertThat(context.fileList()).isEqualTo(context.getFilesDir().list());
154 File file = new File(context.getFilesDir(), "__test__");
178 try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.getName()))) {
202 try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.getName()))) {
220 try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.getName()))) {
229 File filesDir = context.getFilesDir();
239 File filesDir = context.getFilesDir();
H A DShadowContentResolverTest.java863 final File file = new File(RuntimeEnvironment.application.getFilesDir(), "test_file");
/external/libbackup/src/com/google/android/libraries/backup/shadow/
H A DFileBackupHelperSimulator.java124 File base = context.getFilesDir();
144 File base = context.getFilesDir();
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowContext.java94 public File getFilesDir() { method in class:ShadowContext
127 return new File(getFilesDir(), name);
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
H A DMockContext.java139 public File getFilesDir() { method in class:MockContext.MockContext2
/external/robolectric/v1/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 305 milliseconds