HomeSort by relevance Sort by last modified time
    Searched refs:getFilesDir (Results 1 - 25 of 116) sorted by null

1 2 3 4 5

  /frameworks/support/tests/java/android/support/v4/content/
FileProviderTest.java 60 strat.addRoot("tag", mContext.getFilesDir());
62 File file = buildPath(mContext.getFilesDir(), "file.test");
66 file = buildPath(mContext.getFilesDir(), "subdir", "file.test");
80 strat.addRoot("tag", mContext.getFilesDir());
82 File file = buildPath(mContext.getFilesDir(), "..", "file.test");
92 strat.addRoot("tag1", mContext.getFilesDir());
95 File file = buildPath(mContext.getFilesDir(), "file.test");
101 strat.addRoot("tag2", mContext.getFilesDir());
103 file = buildPath(mContext.getFilesDir(), "file.test");
110 strat.addRoot("tag", mContext.getFilesDir());
    [all...]
  /external/chromium_org/content/shell/android/java/src/org/chromium/content_shell/
ShellLayoutTestUtils.java 23 return appContext.getFilesDir().getAbsolutePath();
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
PackageManagerSettingsTests.java 63 writeFile(new File(getContext().getFilesDir(), "system/packages.xml"),
103 writeFile(new File(getContext().getFilesDir(), "system/packages-stopped.xml"),
113 writeFile(new File(getContext().getFilesDir(), "system/packages.list"),
141 Settings settings = new Settings(getContext(), getContext().getFilesDir());
159 Settings settings = new Settings(getContext(), getContext().getFilesDir());
163 settings = new Settings(getContext(), getContext().getFilesDir());
174 Settings settings = new Settings(getContext(), getContext().getFilesDir());
  /external/robolectric/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();
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
AbstractDictionaryWriter.java 68 final File file = new File(mContext.getFilesDir(), fileName);
69 final File tempFile = new File(mContext.getFilesDir(), tempFileName);
  /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/libs/deviceutil/src/android/cts/util/
SystemUtil.java 26 StatFs statFs = new StatFs(context.getFilesDir().getAbsolutePath());
  /packages/apps/Launcher3/src/com/android/launcher3/
SavedWallpaperImages.java 62 File file = new File(a.getFilesDir(), imageFilename);
111 File file = new File(mContext.getFilesDir(), filename);
174 File imageFile = new File(mContext.getFilesDir(), filenames.first);
176 File thumbFile = new File(mContext.getFilesDir(), filenames.second);
188 File imageFile = File.createTempFile("wallpaper", "", mContext.getFilesDir());
194 File thumbFile = File.createTempFile("wallpaperthumb", "", mContext.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");
  /external/chromium_org/content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/
ContentBrowserTestsActivity.java 53 nativeRunTests(getFilesDir().getAbsolutePath(), getApplicationContext());
  /external/chromium_org/testing/android/java/src/org/chromium/native_test/
ChromeNativeTestActivity.java 65 nativeRunTests(getFilesDir().getAbsolutePath(), getApplicationContext());
  /packages/apps/Email/tests/src/com/android/email/activity/
MessageFileViewTest.java 68 getInstrumentation().getContext().getFilesDir());
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
ArchiveTest.java 80 final String path = new File(getActivity().getFilesDir(), "test.mht").getAbsolutePath();
94 final String path = getActivity().getFilesDir().getAbsolutePath() + "/";
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContext.java 94 public File getFilesDir() {
127 return new File(getFilesDir(), name);
  /cts/tests/tests/content/src/android/content/res/cts/
AssetFileDescriptor_AutoCloseOutputStreamTest.java 55 File file = new File(getContext().getFilesDir(), FILE_NAME);
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
ImportantFileWriterAndroidTest.java 73 File dir = getInstrumentation().getTargetContext().getFilesDir();
  /frameworks/testing/androidtestlib/src/com/android/test/runner/listener/
CoverageListener.java 55 mCoverageFilePath = instr.getTargetContext().getFilesDir().getAbsolutePath() +
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
ResearchLogDirectory.java 65 // TODO: Switch to using a subdirectory of getFilesDir().
66 return context.getFilesDir();
  /frameworks/base/services/tests/servicestests/src/com/android/server/net/
NetworkStatsCollectionTest.java 63 final File testFile = new File(getContext().getFilesDir(), TEST_FILE);
89 final File testFile = new File(getContext().getFilesDir(), TEST_FILE);
115 final File testFile = new File(getContext().getFilesDir(), TEST_FILE);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
UserHistoryDictionaryTests.java 159 final File dictFile = new File(getContext().getFilesDir(), fileName);
183 dictFiles[i] = new File(getContext().getFilesDir(), fileName);
230 final File dictFile = new File(getContext().getFilesDir(), fileName);
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DrawableTest.java 125 File imageFile = new File(mContext.getFilesDir(), "tempimage.jpg");
167 File emptyFile = new File(mContext.getFilesDir(), "tempemptyimage.jpg");
177 imageFile = new File(mContext.getFilesDir(), "tempimage.jpg");
211 File emptyFile = new File(mContext.getFilesDir(), "tempemptyimage.jpg");
222 imageFile = new File(mContext.getFilesDir(), "tempimage.jpg");
261 File emptyFile = new File(mContext.getFilesDir(), "tempemptyimage.jpg");
272 imageFile = new File(mContext.getFilesDir(), "tempimage.jpg");
  /cts/tests/tests/media/src/android/media/cts/
MediaScannerConnectionTest.java 53 File dir = getContext().getFilesDir();

Completed in 1127 milliseconds

1 2 3 4 5