Home
last modified time | relevance | path

Searched refs:getDataDir (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DSetupObserverTest.java86 new File(mContext.getDataDir(), "test1"), in setUp()
87 new File(mContext.getDataDir(), "test2"), in setUp()
/frameworks/base/services/robotests/backup/src/android/app/backup/
DBackupUtilsTest.java166 File file = new File(mContext.getDataDir(), path); in file()
177 File directory = new File(mContext.getDataDir(), path); in directory()
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/
DBackupRestoreFileStorage.kt83 get() = ContextCompat.getDataDir(this)!!
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerFiles.java43 static File getDataDir(int userId) { in getDataDir() method in UserBackupManagerFiles
/frameworks/base/apct-tests/perftests/blobstore/src/com/android/perftests/blob/
DBlobStorePerfTests.java127 final File file = new File(mContext.getDataDir(), "test_read_file"); in testDirectReads()
167 final File file = new File(mContext.getDataDir(), "test_write_file"); in testDirectWrites()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityLeakTests.java181 final String fileName = getDataDir().getPath() + "/ActivityLeakHeapDump.hprof"; in dumpHprofData()
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DHostUtils.kt92 fun getDataDir(device: ITestDevice, pkgName: String) = in getDataDir() method
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DBenchmarkState.java139 File f = new File(InstrumentationRegistry.getContext().getDataDir(), "benchprof"); in beginBenchmark()
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java478 final String rootDir = ceContext.getDataDir().getCanonicalPath(); in onFullBackup()
486 final String deviceRootDir = deContext.getDataDir().getCanonicalPath(); in onFullBackup()
726 rootDir = ceContext.getDataDir().getCanonicalPath(); in fullBackupFile()
735 deviceRootDir = deContext.getDataDir().getCanonicalPath(); in fullBackupFile()
DFullBackup.java444 ROOT_DIR = ceContext.getDataDir(); in BackupScheme()
452 DEVICE_ROOT_DIR = deContext.getDataDir(); in BackupScheme()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DUserWakeupStoreTest.java56 .getInstrumentation().getContext().getDataDir(), "alarmsTestDir");
/frameworks/base/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/
DBackgroundDexOptServiceIntegrationTests.java118 File dataDir = getContext().getDataDir(); in setUp()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DFullBackupEngine.java97 mFilesDir = userBackupManagerService.getDataDir(); in FullBackupRunner()
DPerformAdbBackupTask.java453 mUserBackupManagerService.getDataDir()); in run()
/frameworks/base/core/java/android/app/
DContextImpl.java764 mPreferencesDir = new File(getDataDir(), "shared_prefs"); in getPreferencesDir()
853 mFilesDir = new File(getDataDir(), "files"); in getFilesDir()
862 final Path cratesRootPath = getDataDir().toPath().resolve("crates"); in getCrateDir()
881 mNoBackupFilesDir = new File(getDataDir(), "no_backup"); in getNoBackupFilesDir()
924 mCacheDir = new File(getDataDir(), "cache"); in getCacheDir()
934 mCodeCacheDir = getCodeCacheDirBeforeBind(getDataDir()); in getCodeCacheDir()
1076 mDatabasesDir = new File(getDataDir(), "databases"); in getDatabasesDir()
3259 public File getDataDir() { in getDataDir() method in ContextImpl
3290 File file = makeFilename(getDataDir(), name); in getDir()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/restore/
DPerformUnifiedRestoreTaskTest.java380 when(mBackupManagerService.getDataDir()).thenReturn(mContext.getCacheDir()); in setupForRestoreKeyValueState()
/frameworks/base/ravenwood/junit-impl-src/android/platform/test/ravenwood/
DRavenwoodBaseContext.java193 public File getDataDir() { in getDataDir() method in RavenwoodBaseContext
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DAppWidgetServiceImplTest.java375 final File file = new File(mTestContext.getDataDir(), "appwidget_provider_info.xml"); in testWidgetProviderInfoPersistence()
/frameworks/base/core/java/android/content/
DContextWrapper.java282 public File getDataDir() { in getDataDir() method in ContextWrapper
283 return mBase.getDataDir(); in getDataDir()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DApplicationContext.java279 public File getDataDir() { in getDataDir() method in ApplicationContext
282 return context.getDataDir(); in getDataDir()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngine.java486 mBackupManagerService.getDataDir(), info, mPipes[0], in restoreOneFile()
DPerformUnifiedRestoreTask.java858 mBackupDataName = new File(backupManagerService.getDataDir(), packageName + ".restore"); in initiateOneRestore()
859 mStageName = new File(backupManagerService.getDataDir(), packageName + ".stage"); in initiateOneRestore()
/frameworks/base/telephony/java/android/telephony/
DMbmsDownloadSession.java566 if (mContext.getDataDir().getCanonicalPath().equals(canonicalTempFilePath)) { in validateTempFileRootSanity()
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java206 public File getDataDir() { in getDataDir() method in MockContext
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java339 mDataDirectory = mBackupManagerService.getDataDir(); in KeyValueBackupTask()

12