OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getFilesDir
(Results
1 - 25
of
140
) sorted by null
1
2
3
4
5
6
/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();
/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
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
();
/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());
/cts/libs/deviceutil/src/android/cts/util/
SystemUtil.java
26
StatFs statFs = new StatFs(context.
getFilesDir
().getAbsolutePath());
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
SavedWallpaperImages.java
88
File file = new File(mContext.
getFilesDir
(), filename);
93
new File(mContext.
getFilesDir
(), result.getString(2)),
145
File imageFile = new File(mContext.
getFilesDir
(), filenames.first);
147
File thumbFile = new File(mContext.
getFilesDir
(), filenames.second);
159
File imageFile = File.createTempFile("wallpaper", "", mContext.
getFilesDir
());
165
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
58
nativeRunTests(
getFilesDir
().getAbsolutePath(), getApplicationContext());
/external/chromium_org/testing/android/java/src/org/chromium/native_test/
ChromeNativeTestActivity.java
61
nativeRunTests(
getFilesDir
().getAbsolutePath(), getApplicationContext());
/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
();
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
ArchiveTest.java
91
final String path = new File(getActivity().
getFilesDir
(), "test.mht").getAbsolutePath();
103
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
71
File dir = getInstrumentation().getTargetContext().
getFilesDir
();
/frameworks/testing/support/src/android/support/test/internal/runner/listener/
CoverageListener.java
58
mCoverageFilePath = instr.getTargetContext().
getFilesDir
().getAbsolutePath() +
/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);
/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/content/src/android/content/cts/
ImageCaptureUriExtraToClipDataTest.java
58
mTestFile = new File(getContext().
getFilesDir
() + File.separator + FILE_NAME);
Completed in 311 milliseconds
1
2
3
4
5
6