/frameworks/support/compat/src/androidTest/java/androidx/core/content/ |
H A D | 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...] |
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/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/main/java/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/java/android/app/backup/ |
H A D | FileBackupHelper.java | 57 mFilesDir = context.getFilesDir(); 77 File base = mContext.getFilesDir();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
H A D | 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));
|
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
H A D | 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(), "include [all...] |
/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/main/java/com/example/android/supportv4/content/ |
H A D | SharingSupportProvider.java | 81 new File(getContext().getFilesDir() + path),
|
H A D | FileProviderExample.java | 50 final File thumbsDir = new File(getFilesDir(), "thumbs");
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/ |
H A D | SharingSupportProvider.java | 81 new File(getContext().getFilesDir() + path),
|
H A D | FileProviderExample.java | 50 final File thumbsDir = new File(getFilesDir(), "thumbs");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | PackageManagerSettingsTests.java | 90 new Settings(context.getFilesDir(), pmInt.getPermissionSettings(), lock); 105 new Settings(context.getFilesDir(), pmInt.getPermissionSettings(), lock); 122 new Settings(context.getFilesDir(), pmInt.getPermissionSettings(), lock); 145 new Settings(context.getFilesDir(), pmInt.getPermissionSettings(), lock); 151 new Settings(context.getFilesDir(), pmInt.getPermissionSettings(), lock); 174 final Settings settingsUnderTest = new Settings(context.getFilesDir(), null, lock); 193 final Settings settingsUnderTest = new Settings(context.getFilesDir(), null, new Object()); 259 new Settings(context.getFilesDir(), pmInt.getPermissionSettings(), lock); 298 new File(InstrumentationRegistry.getContext().getFilesDir(), "com.android.bar-1"); 300 new File(InstrumentationRegistry.getContext().getFilesDir(), "co [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A D | TaskPersisterTest.java | 46 mTaskPersister = new TaskPersister(getContext().getFilesDir());
|
/frameworks/base/test-runner/src/android/test/ |
H A D | IsolatedContext.java | 119 public File getFilesDir() { method in class:IsolatedContext
|
/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/services/tests/servicestests/src/com/android/server/net/watchlist/ |
H A D | ReportEncoderTests.java | 60 mTestXmlFile = new File(mContext.getFilesDir(), "test_watchlist_config.xml");
|
H A D | WatchlistLoggingHandlerTests.java | 146 String fileDir = InstrumentationRegistry.getContext().getFilesDir().getAbsolutePath(); 162 String fileDir = InstrumentationRegistry.getContext().getFilesDir().getAbsolutePath();
|
H A D | WatchlistSettingsTests.java | 58 mTestXmlFile = new File(mContext.getFilesDir(), "test_settings_config.xml");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | TaskSnapshotPersisterTestBase.java | 53 sFilesDir = InstrumentationRegistry.getContext().getFilesDir();
|
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/ |
H A D | RenderTest.java | 64 String path = new File(mContext.getFilesDir(), SCREENSHOT_DIR).getAbsolutePath();
|
/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()); 90 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/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/packages/Shell/src/com/android/shell/ |
H A D | BugreportStorageProvider.java | 54 mRoot = new File(getContext().getFilesDir(), "bugreports");
|