/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowContextTest.java | 140 assertThat(context.getFilesDir().exists()).isTrue(); in getFilesDir_shouldCreateDirectory() 145 assertThat(context.fileList()).isEqualTo(context.getFilesDir().list()); in fileList() 177 File file = new File(context.getFilesDir(), "__test__"); in openFileInput_shouldReturnAFileInputStream() 203 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldReturnAFileOutputStream() 231 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldAppendData() 249 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldOverwriteData() 258 File filesDir = context.getFilesDir(); in deleteFile_shouldReturnTrue() 268 File filesDir = context.getFilesDir(); in deleteFile_shouldReturnFalse()
|
D | ShadowParcelFileDescriptorTest.java | 46 file = new File(ApplicationProvider.getApplicationContext().getFilesDir(), "test"); in setUp() 50 new File(ApplicationProvider.getApplicationContext().getFilesDir(), "test_readonly"); in setUp() 293 File f = new File(ApplicationProvider.getApplicationContext().getFilesDir(), "outfile"); in testAutoCloseOutputStream()
|
D | ShadowBugreportManagerTest.java | 302 File f = new File(context.getFilesDir(), fileName); in createWriteFile()
|
/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()
|
/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/cronet/base/test/android/javatests/src/org/chromium/base/test/ |
D | BaseChromiumRunnerCommon.java | 47 public File getFilesDir() { in getFilesDir() method in BaseChromiumRunnerCommon.MultiDexContextWrapper 48 return mAppContext.getFilesDir(); in getFilesDir()
|
/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/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/backends/ |
D | AndroidFileEnvironment.java | 201 File filesDir = context.getFilesDir(); in getFilesDirWithPreNWorkaround() 207 filesDir = context.getFilesDir(); in getFilesDirWithPreNWorkaround()
|
D | AndroidUriAdapter.java | 76 rootLocation = context.createDeviceProtectedStorageContext().getFilesDir(); in toFile()
|
/external/sl4a/Utils/src/com/googlecode/android_scripting/interpreter/ |
D | InterpreterUtils.java | 30 return context.getFilesDir(); in getInterpreterRoot()
|
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/backends/ |
D | AndroidFileBackendTest.java | 156 context.createDeviceProtectedStorageContext().getFilesDir(), in openForRead_directBootFilesOnNShouldUseDeviceProtectedStorageContext() 158 File filesFile = new File(context.getFilesDir(), "testboot/shared/inDirectBoot.txt"); in openForRead_directBootFilesOnNShouldUseDeviceProtectedStorageContext() 284 File file = new File(context.getFilesDir(), "managed/common/123/file"); in managedUris_isSerializedAsIntegerOnDisk()
|
/external/tflite-support/tensorflow_lite_support/java/src/javatests/org/tensorflow/lite/task/core/ |
D | TestUtils.java | 25 File target = new File(context.getFilesDir(), fileName); in loadFile()
|
/external/cronet/components/cronet/android/test/javaperftests/src/org/chromium/net/ |
D | CronetPerfTestActivity.java | 245 getFilesDir().getPath() + "/" + mName + ".json", false); in startLogging() 248 Debug.startMethodTracing(getFilesDir().getPath() + "/" + mName + ".trace"); in startLogging() 251 getFilesDir().getPath() + "/" + mName + ".trace", 8000000, 10); in startLogging()
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/util/ |
D | FileGroupsMetadataUtil.java | 93 return new File(context.getFilesDir(), fileName); in getGarbageCollectorFile()
|
/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/content/res/ |
D | AssetManagerTest.java | 80 getTargetContext().getFilesDir() in open_shouldProvideFileDescriptor()
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/ |
D | ShadowUtils.java | 135 public File getFilesDir() { in getFilesDir() method in ShadowUtils.ShadowContextImpl
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/demos/main/src/main/java/com/google/android/exoplayer2/demo/ |
D | DemoUtil.java | 174 downloadDirectory = context.getFilesDir(); in getDownloadDirectory()
|
/external/oboe/tests/UnitTestRunner/app/src/main/java/com/google/oboe/tests/unittestrunner/ |
D | MainActivity.java | 111 String filesDir = getFilesDir().getPath(); in getExecutablePathFromAssets()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/demos/main/src/main/java/com/google/android/exoplayer2/demo/ |
D | DemoUtil.java | 206 downloadDirectory = context.getFilesDir(); in getDownloadDirectory()
|
/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
|
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/downloader/ |
D | ModelDownloadManagerTest.java | 107 ApplicationProvider.getApplicationContext().getFilesDir()); in tearDown()
|
/external/libtextclassifier/java/src/com/android/textclassifier/downloader/ |
D | DownloadedModelManagerImpl.java | 78 File modelDownloaderDir = new File(context.getFilesDir(), DOWNLOAD_SUB_DIR_NAME); in getInstance()
|
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/ |
D | ShadowNativeTypefaceTest.java | 210 File dir = context.getFilesDir(); in obtainPath()
|