/frameworks/support/tests/java/android/support/v4/content/ |
D | FileProviderTest.java | 62 strat.addRoot("tag", mContext.getFilesDir()); in testStrategyUriSimple() 64 File file = buildPath(mContext.getFilesDir(), "file.test"); in testStrategyUriSimple() 68 file = buildPath(mContext.getFilesDir(), "subdir", "file.test"); in testStrategyUriSimple() 82 strat.addRoot("tag", mContext.getFilesDir()); in testStrategyUriJumpOutside() 84 File file = buildPath(mContext.getFilesDir(), "..", "file.test"); in testStrategyUriJumpOutside() 94 strat.addRoot("tag1", mContext.getFilesDir()); in testStrategyUriShortestRoot() 97 File file = buildPath(mContext.getFilesDir(), "file.test"); in testStrategyUriShortestRoot() 103 strat.addRoot("tag2", mContext.getFilesDir()); in testStrategyUriShortestRoot() 105 file = buildPath(mContext.getFilesDir(), "file.test"); in testStrategyUriShortestRoot() 112 strat.addRoot("tag", mContext.getFilesDir()); in testStrategyFileSimple() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageManagerSettingsTests.java | 56 writeFile(new File(getContext().getFilesDir(), "system/packages.xml"), in writePackagesXml() 96 writeFile(new File(getContext().getFilesDir(), "system/packages-stopped.xml"), in writeStoppedPackagesXml() 106 writeFile(new File(getContext().getFilesDir(), "system/packages.list"), in writePackagesList() 134 Settings settings = new Settings(getContext(), getContext().getFilesDir()); in testSettingsReadOld() 152 Settings settings = new Settings(getContext(), getContext().getFilesDir()); in testNewPackageRestrictionsFile() 156 settings = new Settings(getContext(), getContext().getFilesDir()); in testNewPackageRestrictionsFile() 167 Settings settings = new Settings(getContext(), getContext().getFilesDir()); in testEnableDisable()
|
/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 | 284 String filesDir = getFilesDir().getCanonicalPath(); in onFullBackup() 365 filesDir = getFilesDir().getCanonicalPath(); in fullBackupFile() 528 basePath = getFilesDir().getCanonicalPath(); in onRestoreFile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsCollectionTest.java | 63 final File testFile = new File(getContext().getFilesDir(), TEST_FILE); in testReadLegacyNetwork() 89 final File testFile = new File(getContext().getFilesDir(), TEST_FILE); in testReadLegacyUid() 115 final File testFile = new File(getContext().getFilesDir(), TEST_FILE); in testReadLegacyUidTags()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobStoreTest.java | 35 Log.d(TAG, "Saving tasks to '" + mTestContext.getFilesDir() + "'"); in setUp() 37 JobStore.initAndGetForTesting(mTestContext, mTestContext.getFilesDir()); in setUp()
|
/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/packages/ExternalStorageProvider/tests/src/com/android/externalstorage/ |
D | ExternalStorageProviderTest.java | 36 mTarget = getContext().getFilesDir(); 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/core/tests/coretests/src/android/database/ |
D | DatabaseLockTest.java | 45 File parentDir = getContext().getFilesDir(); in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | TelephonyTester.java | 134 File packageFile = new File(context.getFilesDir(), fileName); in handleTestConferenceEventPackage()
|
/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 | 189 public File getFilesDir() { in getFilesDir() method in IsolatedContext
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncStorageEngineTest.java | 65 return new File(new File(getContext().getFilesDir(), "system"), "sync"); in getSyncDir() 774 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync"); in testAuthorityRenaming() 814 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync"); in testSyncableMigration() 903 public File getFilesDir() { in getFilesDir() method in TestContext 904 return mRealContext.getFilesDir(); in getFilesDir()
|
/frameworks/base/core/tests/coretests/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/core/tests/coretests/src/com/android/internal/net/ |
D | NetworkStatsFactoryTest.java | 53 mTestProc = new File(getContext().getFilesDir(), "proc"); in setUp()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 201 public File getFilesDir() { in getFilesDir() method in ContextWrapper 202 return mBase.getFilesDir(); in getFilesDir()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
D | CertPinInstallReceiverTest.java | 157 return mContext.getFilesDir() + "/content.txt"; in makeTemporaryContentFile()
|
/frameworks/base/core/java/android/app/ |
D | NativeActivity.java | 177 getAbsolutePath(getFilesDir()), getAbsolutePath(getObbDir()), in onCreate()
|
D | ContextImpl.java | 960 File f = makeFilename(getFilesDir(), name); in openFileInput() 968 File f = makeFilename(getFilesDir(), name); in openFileOutput() 989 File f = makeFilename(getFilesDir(), name); in deleteFile() 1013 public File getFilesDir() { in getFilesDir() method in ContextImpl 1126 return makeFilename(getFilesDir(), name); in getFileStreamPath() 1131 final String[] list = getFilesDir().list(); in fileList()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PrintSpoolerService.java | 150 File[] files = getFilesDir().listFiles(); in dump() 327 File[] files = getFilesDir().listFiles(); in handleReadPrintJobsLocked() 432 return new File(context.getFilesDir(), PRINT_JOB_FILE_PREFIX in generateFileForPrintJob() 726 mStatePersistFile = new AtomicFile(new File(getFilesDir(), in PersistenceManager()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | MountServiceTests.java | 116 final File filesDir = mContext.getFilesDir(); in getFilePath()
|
D | LockSettingsStorageTests.java | 42 mStorageDir = new File(getContext().getFilesDir(), "locksettings"); in setUp()
|