Searched refs:getFilesDir (Results 1 - 25 of 58) sorted by relevance

123

/frameworks/support/core-utils/tests/java/android/support/v4/content/
H A DFileProviderTest.java60 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...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DPackageManagerSettingsTests.java72 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(), ne
[all...]
/frameworks/base/core/java/android/app/backup/
H A DFileBackupHelper.java57 mFilesDir = context.getFilesDir();
77 File base = mContext.getFilesDir();
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DSharingSupport.java75 FileWriter fw = new FileWriter(getFilesDir() + "/foo.txt");
94 FileWriter fw = new FileWriter(getFilesDir() + "/foo.txt");
98 fw = new FileWriter(getFilesDir() + "/bar.txt");
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DSharingSupport.java75 FileWriter fw = new FileWriter(getFilesDir() + "/foo.txt");
94 FileWriter fw = new FileWriter(getFilesDir() + "/foo.txt");
98 fw = new FileWriter(getFilesDir() + "/bar.txt");
/frameworks/base/core/tests/coretests/src/android/app/backup/
H A DFullBackupTest.java72 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(),
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/
H A DServicesTests.java38 File targetFilesDir = getInstrumentation().getTargetContext().getFilesDir();
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/
H A DSharingSupportProvider.java81 new File(getContext().getFilesDir() + path),
H A DFileProviderExample.java48 final File thumbsDir = new File(getFilesDir(), "thumbs");
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/
H A DSharingSupportProvider.java81 new File(getContext().getFilesDir() + path),
H A DFileProviderExample.java48 final File thumbsDir = new File(getFilesDir(), "thumbs");
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
H A DSyncStorageEngineTest.java63 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() { method in class:TestContext
328 return mRealContext.getFilesDir();
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DTaskPersisterTest.java43 mTaskPersister = new TaskPersister(getContext().getFilesDir());
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
H A DAppIdleHistoryTests.java34 mStorageDir = new File(getContext().getFilesDir(), "appidle");
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DNetworkStatsCollectionTest.java69 final File testFile = new File(getContext().getFilesDir(), TEST_FILE);
95 final File testFile = new File(getContext().getFilesDir(), TEST_FILE);
121 final File testFile = new File(getContext().getFilesDir(), TEST_FILE);
/frameworks/base/core/tests/coretests/src/android/content/res/
H A DResourcesLocaleTest.java37 File path = new File(getContext().getFilesDir(), resources.getResourceEntryName(id));
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseLockTest.java45 File parentDir = getContext().getFilesDir();
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
H A DAbstractService.java57 File resultFile = new File(applicationContext.getFilesDir(), getId());
86 RandomAccessFile raf = new RandomAccessFile(new File(applicationContext.getFilesDir(), getId() + ".complete"), "rw");
/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java138 new File(getFilesDir(), "state"),
162 new File(getFilesDir(), "restore_state"),
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
H A DSoundTriggerTestService.java94 getFilesDir().mkdir();
425 for (File file : getFilesDir().listFiles()) {
480 getFilesDir().getPath() + "/" + properties.getProperty("triggerAudio")));
489 getFilesDir().getPath() + "/" + properties.getProperty("dataFile"));
596 getFilesDir() + File.separator + mModelInfo.name.replace(' ', '_') +
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
H A DWallpaperBackupAgent.java98 mQuotaFile = new File(getFilesDir(), QUOTA_SENTINEL);
108 final File filesDir = getFilesDir();
209 final File filesDir = getFilesDir();
/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java193 public File getFilesDir() { method in class:IsolatedContext
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
H A DHugeAgent.java68 mDataFile = new File(getFilesDir(), HugeBackupActivity.DATA_FILE_NAME);
H A DHugeBackupActivity.java79 mDataFile = new File(getFilesDir(), HugeBackupActivity.DATA_FILE_NAME);
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DFileRotatorTest.java69 mBasePath = getContext().getFilesDir();
374 String dirPath = getContext().getFilesDir() + File.separator + "inaccessible";

Completed in 744 milliseconds

123