/frameworks/support/core-utils/tests/java/android/support/v4/content/ |
H A D | 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...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | 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(), ne [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | FileBackupHelper.java | 57 mFilesDir = context.getFilesDir(); 77 File base = mContext.getFilesDir();
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
H A D | 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");
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
H A D | 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");
|
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
H A D | 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(),
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/ |
H A D | ServicesTests.java | 38 File targetFilesDir = getInstrumentation().getTargetContext().getFilesDir();
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/ |
H A D | SharingSupportProvider.java | 81 new File(getContext().getFilesDir() + path),
|
H A D | FileProviderExample.java | 48 final File thumbsDir = new File(getFilesDir(), "thumbs");
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/ |
H A D | SharingSupportProvider.java | 81 new File(getContext().getFilesDir() + path),
|
H A D | FileProviderExample.java | 48 final File thumbsDir = new File(getFilesDir(), "thumbs");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
H A D | 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() { method in class:TestContext 328 return mRealContext.getFilesDir();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A D | TaskPersisterTest.java | 43 mTaskPersister = new TaskPersister(getContext().getFilesDir());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
H A D | AppIdleHistoryTests.java | 34 mStorageDir = new File(getContext().getFilesDir(), "appidle");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
H A D | NetworkStatsCollectionTest.java | 69 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 D | ResourcesLocaleTest.java | 37 File path = new File(getContext().getFilesDir(), resources.getResourceEntryName(id));
|
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabaseLockTest.java | 45 File parentDir = getContext().getFilesDir();
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/ |
H A D | AbstractService.java | 57 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 D | BackupTestActivity.java | 138 new File(getFilesDir(), "state"), 162 new File(getFilesDir(), "restore_state"),
|
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
H A D | SoundTriggerTestService.java | 94 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 D | WallpaperBackupAgent.java | 98 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 D | IsolatedContext.java | 193 public File getFilesDir() { method in class:IsolatedContext
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
H A D | HugeAgent.java | 68 mDataFile = new File(getFilesDir(), HugeBackupActivity.DATA_FILE_NAME);
|
H A D | HugeBackupActivity.java | 79 mDataFile = new File(getFilesDir(), HugeBackupActivity.DATA_FILE_NAME);
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | FileRotatorTest.java | 69 mBasePath = getContext().getFilesDir(); 374 String dirPath = getContext().getFilesDir() + File.separator + "inaccessible";
|