/frameworks/support/core-utils/tests/java/android/support/v4/content/ |
D | FileProviderTest.java | 72 strat.addRoot("tag", mContext.getFilesDir()); in testStrategyUriSimple() 74 File file = buildPath(mContext.getFilesDir(), "file.test"); in testStrategyUriSimple() 78 file = buildPath(mContext.getFilesDir(), "subdir", "file.test"); in testStrategyUriSimple() 93 strat.addRoot("tag", mContext.getFilesDir()); in testStrategyUriJumpOutside() 95 File file = buildPath(mContext.getFilesDir(), "..", "file.test"); in testStrategyUriJumpOutside() 106 strat.addRoot("tag1", mContext.getFilesDir()); in testStrategyUriShortestRoot() 109 File file = buildPath(mContext.getFilesDir(), "file.test"); in testStrategyUriShortestRoot() 115 strat.addRoot("tag2", mContext.getFilesDir()); in testStrategyUriShortestRoot() 117 file = buildPath(mContext.getFilesDir(), "file.test"); in testStrategyUriShortestRoot() 125 strat.addRoot("tag", mContext.getFilesDir()); in testStrategyFileSimple() [all …]
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | SharingSupport.java | 74 FileWriter fw = new FileWriter(getFilesDir() + "/foo.txt"); in onShareFileClick() 93 FileWriter fw = new FileWriter(getFilesDir() + "/foo.txt"); in onShareMultipleFileClick() 97 fw = new FileWriter(getFilesDir() + "/bar.txt"); in onShareMultipleFileClick()
|
/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 | 66 return new File(new File(getContext().getFilesDir(), "system"), "sync"); in getSyncDir() 201 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync"); in testAuthorityRenaming() 241 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync"); in testSyncableMigration() 330 public File getFilesDir() { in getFilesDir() method in TestContext 331 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 | 327 final String filesDir = ceContext.getFilesDir().getCanonicalPath(); in onFullBackup() 338 final String deviceFilesDir = deContext.getFilesDir().getCanonicalPath(); in onFullBackup() 543 filesDir = ceContext.getFilesDir().getCanonicalPath(); in fullBackupFile() 552 deviceFilesDir = deContext.getFilesDir().getCanonicalPath(); in fullBackupFile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageManagerSettingsTests.java | 83 new Settings(InstrumentationRegistry.getContext().getFilesDir(), new Object()); in testReadKeySetSettings() 95 new Settings(InstrumentationRegistry.getContext().getFilesDir(), new Object()); in testWriteKeySetSettings() 109 new Settings(InstrumentationRegistry.getContext().getFilesDir(), new Object()); in testSettingsReadOld() 129 new Settings(InstrumentationRegistry.getContext().getFilesDir(), new Object()); in testNewPackageRestrictionsFile() 134 settings = new Settings(InstrumentationRegistry.getContext().getFilesDir(), new Object()); in testNewPackageRestrictionsFile() 147 new Settings(InstrumentationRegistry.getContext().getFilesDir(), new Object()); in testEnableDisable() 186 new File(InstrumentationRegistry.getContext().getFilesDir(), "com.android.bar-1"); 188 new File(InstrumentationRegistry.getContext().getFilesDir(), "com.android.bar-2"); 546 new Settings(InstrumentationRegistry.getContext().getFilesDir(), new Object()); in testInsertPackageSetting() 706 … writeFile(new File(InstrumentationRegistry.getContext().getFilesDir(), "system/packages.xml"), in writePackagesXml() [all …]
|
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgent.java | 98 mQuotaFile = new File(getFilesDir(), QUOTA_SENTINEL); in onCreate() 108 final File filesDir = getFilesDir(); in onFullBackup() 209 final File filesDir = getFilesDir(); in onRestoreFinished()
|
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
D | SoundTriggerTestService.java | 94 getFilesDir().mkdir(); in onCreate() 433 for (File file : getFilesDir().listFiles()) { in loadModelsInDataDir() 488 getFilesDir().getPath() + "/" + properties.getProperty("triggerAudio"))); in createModelInfo() 497 getFilesDir().getPath() + "/" + properties.getProperty("dataFile")); in createModelInfo() 604 getFilesDir() + File.separator + mModelInfo.name.replace(' ', '_') + in run()
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 138 new File(getFilesDir(), "state"), 162 new File(getFilesDir(), "restore_state"),
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/ |
D | SharingSupportProvider.java | 81 new File(getContext().getFilesDir() + path), in openFile()
|
D | FileProviderExample.java | 48 final File thumbsDir = new File(getFilesDir(), "thumbs"); in onShareFileClick()
|
/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/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/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/wm/ |
D | TaskSnapshotPersisterTestBase.java | 52 sFilesDir = InstrumentationRegistry.getContext().getFilesDir(); in setUpUser()
|
/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/tests/net/java/com/android/server/net/ |
D | NetworkStatsCollectionTest.java | 102 final File testFile = new File(getContext().getFilesDir(), TEST_FILE); in testReadLegacyNetwork() 128 final File testFile = new File(getContext().getFilesDir(), TEST_FILE); in testReadLegacyUid() 154 final File testFile = new File(getContext().getFilesDir(), TEST_FILE); in testReadLegacyUidTags() 254 final File testFile = new File(getContext().getFilesDir(), TEST_FILE); in testAugmentPlan()
|
/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 | 192 public File getFilesDir() { in getFilesDir() method in IsolatedContext
|
/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/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsStorageTests.java | 63 mStorageDir = new File(getContext().getFilesDir(), "locksettings"); in setUp() 80 new File(getContext().getFilesDir(), "locksettings")); in setUp()
|