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
278
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/services/Car/service/src/com/android/car/systeminterface/
IOInterface.java
26
File
getFilesDir
();
32
mFilesDir = context.
getFilesDir
();
36
public File
getFilesDir
() {
/external/sl4a/Utils/src/com/googlecode/android_scripting/interpreter/
InterpreterUtils.java
30
return context.
getFilesDir
();
/frameworks/support/compat/src/androidTest/java/androidx/core/content/
FileProviderTest.java
74
strat.addRoot("tag", mContext.
getFilesDir
());
76
File file = buildPath(mContext.
getFilesDir
(), "file.test");
80
file = buildPath(mContext.
getFilesDir
(), "subdir", "file.test");
95
strat.addRoot("tag", mContext.
getFilesDir
());
97
File file = buildPath(mContext.
getFilesDir
(), "..", "file.test");
108
strat.addRoot("tag1", mContext.
getFilesDir
());
111
File file = buildPath(mContext.
getFilesDir
(), "file.test");
117
strat.addRoot("tag2", mContext.
getFilesDir
());
119
file = buildPath(mContext.
getFilesDir
(), "file.test");
127
strat.addRoot("tag", mContext.
getFilesDir
());
[
all
...]
/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/support/samples/Support4Demos/src/main/java/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/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/
SimpleIOActivity.java
31
File testFile = new File(
getFilesDir
(), "StoragedTest_Temp_FG");
/packages/apps/Launcher3/src/com/android/launcher3/
LauncherBackupAgent.java
17
FileLog.setDir(
getFilesDir
());
MainProcessInitializer.java
36
FileLog.setDir(context.getApplicationContext().
getFilesDir
());
/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
();
/cts/tests/autofillservice/src/android/autofillservice/cts/
OutOfProcessLoginActivity.java
83
return new File(context.
getFilesDir
(), "stopped");
93
return new File(context.
getFilesDir
(), "started");
/cts/tests/tests/telephony/src/android/telephony/embms/cts/
DownloadRequestTest.java
38
File destinationDirectory = new File(getInstrumentation().getContext().
getFilesDir
(),
50
File destinationDirectory = new File(getInstrumentation().getContext().
getFilesDir
(),
MbmsDownloadSessionTest.java
84
File tempFileRootDirectory = new File(mContext.
getFilesDir
(), tempFileDirName);
97
File tempFileRootDirectory = new File(mContext.
getFilesDir
(), "NNN-DoesNotExist");
107
tempFileRootDirectory = new File(mContext.
getFilesDir
(), "this-is-a-file.dat");
118
mDownloadSession.setTempFileRootDirectory(mContext.
getFilesDir
());
177
File tempFileRootDir = new File(mContext.
getFilesDir
(), "CtsTestDir");
191
File tempFileRootDirectory = new File(mContext.
getFilesDir
(), tempFileDirName);
/frameworks/base/core/java/android/app/backup/
FileBackupHelper.java
57
mFilesDir = context.
getFilesDir
();
77
File base = mContext.
getFilesDir
();
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
RecoverySnapshotStorageTest.java
72
mRecoverySnapshotStorage = new RecoverySnapshotStorage(mContext.
getFilesDir
());
77
File file = new File(mContext.
getFilesDir
(), SNAPSHOT_TOP_LEVEL_DIRECTORY);
96
RecoverySnapshotStorage storage = new RecoverySnapshotStorage(mContext.
getFilesDir
());
103
File folder = new File(mContext.
getFilesDir
(), SNAPSHOT_DIRECTORY);
123
KeyChainSnapshot snapshot = new RecoverySnapshotStorage(mContext.
getFilesDir
())
130
File evilFile = new File(mContext.
getFilesDir
(), "recoverablekeystore");
135
assertNull(new RecoverySnapshotStorage(mContext.
getFilesDir
()).get(TEST_UID));
150
new RecoverySnapshotStorage(mContext.
getFilesDir
()).remove(TEST_UID);
152
assertNull(new RecoverySnapshotStorage(mContext.
getFilesDir
()).get(TEST_UID));
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DeviceAdminIconParser.java
38
mFileIcon = new File(new File(mContext.
getFilesDir
(), DIR_PROVISIONING_PARAMS_FILE_CACHE),
/frameworks/base/core/tests/coretests/src/android/app/backup/
FullBackupTest.java
73
new File(mContext.
getFilesDir
(), "onlyInclude.txt").getCanonicalPath(),
95
new File(mContext.
getFilesDir
(), "onlyInclude.txt").getCanonicalPath(),
117
new File(mContext.
getFilesDir
(), "onlyInclude.txt").getCanonicalPath(),
141
new File(mContext.
getFilesDir
(), "onlyInclude.txt").getCanonicalPath(),
166
new File(mContext.
getFilesDir
(), "onlyInclude.txt").getCanonicalPath(),
192
new File(mContext.
getFilesDir
(), "onlyInclude.txt").getCanonicalPath(),
226
new File(mContext.
getFilesDir
(), "onlyExclude.txt").getCanonicalPath(),
243
new File(mContext.
getFilesDir
(), "include.txt").getCanonicalPath(),
248
new File(mContext.
getFilesDir
(), "exclude.txt").getCanonicalPath(),
271
new File(mContext.
getFilesDir
(), "include1.txt").getCanonicalPath()
[
all
...]
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DownloadCompletionReceiver.java
52
.getPath(context.
getFilesDir
().getPath(), "images/animals/", fileName)
60
.getPath(context.
getFilesDir
().getPath(), "images/image.png")
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
SavedWallpaperImages.java
85
File file = new File(mContext.
getFilesDir
(), filename);
90
new File(mContext.
getFilesDir
(), c.getString(2)),
111
new File(mContext.
getFilesDir
(), result.getString(0)).delete();
112
new File(mContext.
getFilesDir
(), result.getString(1)).delete();
125
File imageFile = File.createTempFile("wallpaper", "", mContext.
getFilesDir
());
131
File thumbFile = File.createTempFile("wallpaperthumb", "", mContext.
getFilesDir
());
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowParcelFileDescriptorTest.java
21
file = new File(RuntimeEnvironment.application.
getFilesDir
(), "test");
24
readOnlyFile = new File(RuntimeEnvironment.application.
getFilesDir
(), "test_readonly");
93
File f = new File(RuntimeEnvironment.application.
getFilesDir
(), "outfile");
ShadowContextTest.java
117
assertThat(context.
getFilesDir
()).exists();
122
assertThat(context.fileList()).isEqualTo(context.
getFilesDir
().list());
154
File file = new File(context.
getFilesDir
(), "__test__");
178
try (FileInputStream fileInputStream = new FileInputStream(new File(context.
getFilesDir
(), file.getName()))) {
202
try (FileInputStream fileInputStream = new FileInputStream(new File(context.
getFilesDir
(), file.getName()))) {
220
try (FileInputStream fileInputStream = new FileInputStream(new File(context.
getFilesDir
(), file.getName()))) {
229
File filesDir = context.
getFilesDir
();
239
File filesDir = context.
getFilesDir
();
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DeviceAdminIconParserTest.java
64
TEST_FILE_DIR = new File(targetContext.
getFilesDir
(), TEST_FILE_DIRNAME);
79
when(mContext.
getFilesDir
()).thenReturn(TEST_FILE_DIR);
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/
SystemAppsSnapshotTest.java
64
when(mContext.
getFilesDir
())
65
.thenReturn(InstrumentationRegistry.getTargetContext().
getFilesDir
());
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
WearPackageUtil.java
43
File newFileDir = new File(context.
getFilesDir
(), "tmp");
56
File newFileDir = new File(context.
getFilesDir
(), "images/icons");
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
BaseBootReceiver.java
34
final File probe = new File(context.
getFilesDir
(),
/cts/tests/backup/app/src/android/backup/app/
MainActivity.java
69
File f = new File(
getFilesDir
().getAbsolutePath(), FILE_NAME);
Completed in 1353 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>