Searched refs:getFilesDir (Results 1 – 11 of 11) sorted by relevance
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowContextTest.java | 120 assertThat(context.getFilesDir().exists()).isTrue(); in getFilesDir_shouldCreateDirectory() 125 assertThat(context.fileList()).isEqualTo(context.getFilesDir().list()); in fileList() 157 File file = new File(context.getFilesDir(), "__test__"); in openFileInput_shouldReturnAFileInputStream() 181 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldReturnAFileOutputStream() 205 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldAppendData() 223 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldOverwriteData() 232 File filesDir = context.getFilesDir(); in deleteFile_shouldReturnTrue() 242 File filesDir = context.getFilesDir(); in deleteFile_shouldReturnFalse()
|
D | ShadowParcelFileDescriptorTest.java | 26 file = new File(ApplicationProvider.getApplicationContext().getFilesDir(), "test"); in setUp() 30 new File(ApplicationProvider.getApplicationContext().getFilesDir(), "test_readonly"); in setUp() 109 File f = new File(ApplicationProvider.getApplicationContext().getFilesDir(), "outfile"); in testAutoCloseOutputStream()
|
D | ShadowContentResolverTest.java | 881 new File(ApplicationProvider.getApplicationContext().getFilesDir(), "test_file"); in openFile()
|
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/ |
D | BaseChromiumRunnerCommon.java | 46 public File getFilesDir() { in getFilesDir() method in BaseChromiumRunnerCommon.MultiDexContextWrapper 47 return mAppContext.getFilesDir(); in getFilesDir()
|
/external/sl4a/Utils/src/com/googlecode/android_scripting/interpreter/ |
D | InterpreterUtils.java | 30 return context.getFilesDir(); in getInterpreterRoot()
|
/external/libbackup/src/com/google/android/libraries/backup/shadow/ |
D | FileBackupHelperSimulator.java | 124 File base = context.getFilesDir(); in backup() 144 File base = context.getFilesDir(); in restore()
|
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/ |
D | DemoApplication.java | 163 downloadDirectory = getFilesDir(); in getDownloadDirectory()
|
/external/oboe/tests/UnitTestRunner/app/src/main/java/com/google/oboe/tests/unittestrunner/ |
D | MainActivity.java | 63 String filesDir = getFilesDir().getPath(); in executeBinary()
|
/external/libtextclassifier/java/src/com/android/textclassifier/common/ |
D | ModelFileManager.java | 74 this.modelDownloaderDir = new File(context.getFilesDir(), DOWNLOAD_SUB_DIR_NAME); in ModelFileManager() 129 this.modelDownloaderDir = new File(context.getFilesDir(), DOWNLOAD_SUB_DIR_NAME); in ModelFileManager()
|
/external/downloader/src/example/java/com/google/android/downloader/example/ |
D | DownloaderTestActivity.java | 85 targetDirectory = getFilesDir(); in onCreate()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/ |
D | MockContext.java | 139 public File getFilesDir() { in getFilesDir() method in MockContext.MockContext2
|