/frameworks/support/tests/java/android/support/v4/content/ |
FileProviderTest.java | 61 strat.addRoot("tag", mContext.getFilesDir()); 63 File file = buildPath(mContext.getFilesDir(), "file.test"); 67 file = buildPath(mContext.getFilesDir(), "subdir", "file.test"); 81 strat.addRoot("tag", mContext.getFilesDir()); 83 File file = buildPath(mContext.getFilesDir(), "..", "file.test"); 93 strat.addRoot("tag1", mContext.getFilesDir()); 96 File file = buildPath(mContext.getFilesDir(), "file.test"); 102 strat.addRoot("tag2", mContext.getFilesDir()); 104 file = buildPath(mContext.getFilesDir(), "file.test"); 111 strat.addRoot("tag", mContext.getFilesDir()); [all...] |
/external/sl4a/Utils/src/com/googlecode/android_scripting/interpreter/ |
InterpreterUtils.java | 30 return context.getFilesDir();
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
HelpersTest.java | 36 IoUtils.deleteContents(getContext().getFilesDir()); 43 final File expected = new File(getContext().getFilesDir(), "file.mp4"); 51 final File expected1 = new File(getContext().getFilesDir(), "file.txt"); 55 final File expected2 = new File(getContext().getFilesDir(), "file-1.txt"); 64 final File expected = new File(getContext().getFilesDir(), "file.mp4"); 72 final File expected = new File(getContext().getFilesDir(), "meow"); 82 final File expected = new File(getContext().getFilesDir(), "real.mp4");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
PackageManagerSettingsTests.java | 72 writeFile(new File(getContext().getFilesDir(), "system/packages.xml"), 142 writeFile(new File(getContext().getFilesDir(), "system/packages-stopped.xml"), 152 writeFile(new File(getContext().getFilesDir(), "system/packages.list"), 160 File systemFolder = new File(getContext().getFilesDir(), "system"); 192 new Object(), new Object(), getContext().getFilesDir(), 193 new File(getContext().getFilesDir(), "user")); 258 Settings settings = new Settings(getContext().getFilesDir(), new Object()); 270 Settings settings = new Settings(getContext().getFilesDir(), new Object()); 282 Settings settings = new Settings(getContext().getFilesDir(), new Object()); 302 Settings settings = new Settings(getContext().getFilesDir(), new Object()) [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ContextTest.java | 31 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();
|
/frameworks/base/core/java/android/app/backup/ |
FileBackupHelper.java | 57 mFilesDir = context.getFilesDir(); 77 File base = mContext.getFilesDir();
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
SharingSupport.java | 75 FileWriter fw = new FileWriter(getFilesDir() + "/foo.txt"); 94 FileWriter fw = new FileWriter(getFilesDir() + "/foo.txt"); 98 fw = new FileWriter(getFilesDir() + "/bar.txt");
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
SystemUtil.java | 26 final StatFs statFs = new StatFs(context.getFilesDir().getAbsolutePath());
|
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
FullBackupTest.java | 72 new File(mContext.getFilesDir(), "onlyInclude.txt").getCanonicalPath(), 88 new File(mContext.getFilesDir(), "onlyExclude.txt").getCanonicalPath(), 105 new File(mContext.getFilesDir(), "include.txt").getCanonicalPath(), 110 new File(mContext.getFilesDir(), "exclude.txt").getCanonicalPath(), 134 new File(mContext.getFilesDir(), "include1.txt").getCanonicalPath(), 197 new File(mContext.getFilesDir(), "exclude1.txt").getCanonicalPath(),
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
SavedWallpaperImages.java | 122 File file = new File(mContext.getFilesDir(), filename); 143 new File(mContext.getFilesDir(), result.getString(2)), 195 File imageFile = new File(mContext.getFilesDir(), filenames.first); 197 File thumbFile = new File(mContext.getFilesDir(), filenames.second); 224 File imageFile = File.createTempFile("wallpaper", "", mContext.getFilesDir()); 235 File thumbFile = File.createTempFile("wallpaperthumb", "", mContext.getFilesDir());
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
BaseBootReceiver.java | 34 final File probe = new File(context.getFilesDir(),
|
/cts/libs/deviceutil/src/android/cts/util/ |
SystemUtil.java | 31 StatFs statFs = new StatFs(context.getFilesDir().getAbsolutePath());
|
/cts/tests/backup/app/src/android/backup/app/ |
MainActivity.java | 68 File f = new File(getFilesDir().getAbsolutePath(), FILE_NAME);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
MediaStoreSaver.java | 42 picDir = mContext.getFilesDir();
|
/cts/tests/tests/security/src/android/security/cts/ |
SELinuxTest.java | 54 File appDataDir = getContext().getFilesDir();
|
/cts/tests/tests/util/src/android/util/cts/ |
PrintStreamPrinterTest.java | 35 mFile = new File(getContext().getFilesDir(), "PrintStreamPrinter.log");
|
/development/samples/Support4Demos/src/com/example/android/supportv4/content/ |
SharingSupportProvider.java | 81 new File(getContext().getFilesDir() + path),
|
FileProviderExample.java | 48 final File thumbsDir = new File(getFilesDir(), "thumbs");
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/ |
ServicesTests.java | 38 File targetFilesDir = getInstrumentation().getTargetContext().getFilesDir();
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
UtilityTest.java | 106 new IsolatedContext(new MockContentResolver(), getContext()).getFilesDir(); 132 new IsolatedContext(new MockContentResolver(), getContext()).getFilesDir(); 146 new IsolatedContext(new MockContentResolver(), getContext()).getFilesDir(); 184 new IsolatedContext(new MockContentResolver(), getContext()).getFilesDir();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
SyncStorageEngineTest.java | 63 return new File(new File(getContext().getFilesDir(), "system"), "sync"); 198 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync"); 238 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync"); 327 public File getFilesDir() { 328 return mRealContext.getFilesDir();
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContext.java | 94 public File getFilesDir() { 127 return new File(getFilesDir(), name);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
WearPackageUtil.java | 53 File newFileDir = new File(context.getFilesDir(), "tmp"); 66 File newFileDir = new File(context.getFilesDir(), "images/icons");
|
/cts/tests/tests/content/src/android/content/cts/ |
SyncStorageEngineTest.java | 71 return new File(new File(getContext().getFilesDir(), "system"), "sync");
|
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetFileDescriptor_AutoCloseOutputStreamTest.java | 55 File file = new File(getContext().getFilesDir(), FILE_NAME);
|