/frameworks/support/tests/java/android/support/v4/content/ |
D | FileProviderTest.java | 61 strat.addRoot("tag", mContext.getFilesDir()); in testStrategyUriSimple() 63 File file = buildPath(mContext.getFilesDir(), "file.test"); in testStrategyUriSimple() 67 file = buildPath(mContext.getFilesDir(), "subdir", "file.test"); in testStrategyUriSimple() 81 strat.addRoot("tag", mContext.getFilesDir()); in testStrategyUriJumpOutside() 83 File file = buildPath(mContext.getFilesDir(), "..", "file.test"); in testStrategyUriJumpOutside() 93 strat.addRoot("tag1", mContext.getFilesDir()); in testStrategyUriShortestRoot() 96 File file = buildPath(mContext.getFilesDir(), "file.test"); in testStrategyUriShortestRoot() 102 strat.addRoot("tag2", mContext.getFilesDir()); in testStrategyUriShortestRoot() 104 file = buildPath(mContext.getFilesDir(), "file.test"); in testStrategyUriShortestRoot() 111 strat.addRoot("tag", mContext.getFilesDir()); in testStrategyFileSimple() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageManagerSettingsTests.java | 72 writeFile(new File(getContext().getFilesDir(), "system/packages.xml"), in writePackagesXml() 142 writeFile(new File(getContext().getFilesDir(), "system/packages-stopped.xml"), in writeStoppedPackagesXml() 152 writeFile(new File(getContext().getFilesDir(), "system/packages.list"), in writePackagesList() 160 File systemFolder = new File(getContext().getFilesDir(), "system"); in deleteSystemFolder() 192 new Object(), new Object(), getContext().getFilesDir(), in createUserManagerServiceRef() 193 new File(getContext().getFilesDir(), "user")); in createUserManagerServiceRef() 258 Settings settings = new Settings(getContext().getFilesDir(), new Object()); in testReadKeySetSettings() 270 Settings settings = new Settings(getContext().getFilesDir(), new Object()); in testWriteKeySetSettings() 282 Settings settings = new Settings(getContext().getFilesDir(), new Object()); in testSettingsReadOld() 302 Settings settings = new Settings(getContext().getFilesDir(), new Object()); in testNewPackageRestrictionsFile() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | FullBackupTest.java | 72 new File(mContext.getFilesDir(), "onlyInclude.txt").getCanonicalPath(), in testparseBackupSchemeFromXml_onlyInclude() 88 new File(mContext.getFilesDir(), "onlyExclude.txt").getCanonicalPath(), in testparseBackupSchemeFromXml_onlyExclude() 105 new File(mContext.getFilesDir(), "include.txt").getCanonicalPath(), in testparseBackupSchemeFromXml_includeAndExclude() 110 new File(mContext.getFilesDir(), "exclude.txt").getCanonicalPath(), in testparseBackupSchemeFromXml_includeAndExclude() 134 new File(mContext.getFilesDir(), "include1.txt").getCanonicalPath(), in testparseBackupSchemeFromXml_lotsOfIncludesAndExcludes() 197 new File(mContext.getFilesDir(), "exclude1.txt").getCanonicalPath(), in testparseBackupSchemeFromXml_lotsOfIncludesAndExcludes()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncStorageEngineTest.java | 63 return new File(new File(getContext().getFilesDir(), "system"), "sync"); in getSyncDir() 198 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync"); in testAuthorityRenaming() 238 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync"); in testSyncableMigration() 327 public File getFilesDir() { in getFilesDir() method in TestContext 328 return mRealContext.getFilesDir(); in getFilesDir()
|
/frameworks/base/core/java/android/app/backup/ |
D | FileBackupHelper.java | 57 mFilesDir = context.getFilesDir(); in FileBackupHelper() 77 File base = mContext.getFilesDir(); in performBackup()
|
D | BackupAgent.java | 313 final String filesDir = ceContext.getFilesDir().getCanonicalPath(); in onFullBackup() 324 final String deviceFilesDir = deContext.getFilesDir().getCanonicalPath(); in onFullBackup() 529 filesDir = ceContext.getFilesDir().getCanonicalPath(); in fullBackupFile() 538 deviceFilesDir = deContext.getFilesDir().getCanonicalPath(); in fullBackupFile()
|
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgent.java | 77 final File filesDir = getFilesDir(); in onFullBackup() 127 final File infoStage = new File(getFilesDir(), INFO_STAGE); in onRestoreFinished() 128 final File imageStage = new File (getFilesDir(), IMAGE_STAGE); in onRestoreFinished()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsCollectionTest.java | 69 final File testFile = new File(getContext().getFilesDir(), TEST_FILE); in testReadLegacyNetwork() 95 final File testFile = new File(getContext().getFilesDir(), TEST_FILE); in testReadLegacyUid() 121 final File testFile = new File(getContext().getFilesDir(), TEST_FILE); in testReadLegacyUidTags()
|
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
D | TestSoundTriggerActivity.java | 92 for (File file : getFilesDir().listFiles()) { in onCreate() 139 getFilesDir().getPath() + "/" + properties.getProperty("triggerAudio"))); in createModelInfoAndWidget() 144 getFilesDir().getPath() + "/" + properties.getProperty("dataFile")); in createModelInfoAndWidget()
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 138 new File(getFilesDir(), "state"), 162 new File(getFilesDir(), "restore_state"),
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/ |
D | ServicesTests.java | 38 File targetFilesDir = getInstrumentation().getTargetContext().getFilesDir(); in testStressConcurentFirstLaunch()
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/ |
D | AbstractService.java | 57 File resultFile = new File(applicationContext.getFilesDir(), getId()); in run() 86 …RandomAccessFile raf = new RandomAccessFile(new File(applicationContext.getFilesDir(), getId() + "… in run()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | TaskPersisterTest.java | 43 mTaskPersister = new TaskPersister(getContext().getFilesDir()); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppIdleHistoryTests.java | 34 mStorageDir = new File(getContext().getFilesDir(), "appidle"); in setUp()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesLocaleTest.java | 37 File path = new File(getContext().getFilesDir(), resources.getResourceEntryName(id)); in extractApkAndGetPath()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseLockTest.java | 45 File parentDir = getContext().getFilesDir(); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobStoreTest.java | 37 Log.d(TAG, "Saving tasks to '" + mTestContext.getFilesDir() + "'"); in setUp() 39 JobStore.initAndGetForTesting(mTestContext, mTestContext.getFilesDir()); in setUp()
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
D | HugeBackupActivity.java | 79 mDataFile = new File(getFilesDir(), HugeBackupActivity.DATA_FILE_NAME); in onCreate()
|
D | HugeAgent.java | 68 mDataFile = new File(getFilesDir(), HugeBackupActivity.DATA_FILE_NAME); in onCreate()
|
/frameworks/base/test-runner/src/android/test/ |
D | IsolatedContext.java | 193 public File getFilesDir() { in getFilesDir() method in IsolatedContext
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | FileRotatorTest.java | 69 mBasePath = getContext().getFilesDir(); in setUp() 374 String dirPath = getContext().getFilesDir() + File.separator + "inaccessible"; in testFileSystemInaccessible()
|
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/data-storage/ |
D | files.jd | 138 <dt>{@link android.content.Context#getFilesDir}</dt> 153 File file = new File(context.getFilesDir(), filename);
|
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/data-storage/ |
D | files.jd | 138 <dt>{@link android.content.Context#getFilesDir}</dt> 153 File file = new File(context.getFilesDir(), filename);
|
/frameworks/base/docs/html-intl/intl/ko/training/basics/data-storage/ |
D | files.jd | 138 <dt>{@link android.content.Context#getFilesDir}</dt> 153 File file = new File(context.getFilesDir(), filename);
|
/frameworks/base/docs/html-intl/intl/ru/training/basics/data-storage/ |
D | files.jd | 138 <dt>{@link android.content.Context#getFilesDir}</dt> 153 File file = new File(context.getFilesDir(), filename);
|