Home
last modified time | relevance | path

Searched refs:filesDir (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerSettingsDeviceTests.java109 File filesDir = InstrumentationRegistry.getContext().getFilesDir(); in testWriteBinaryXmlSettings() local
110 File packageXml = new File(filesDir, "system/packages.xml"); in testWriteBinaryXmlSettings()
111 File packagesReserveCopyXml = new File(filesDir, "system/packages.xml.reservecopy"); in testWriteBinaryXmlSettings()
119 assertFalse(new File(filesDir, "packages-backup.xml").exists()); in testWriteBinaryXmlSettings()
132 File filesDir = InstrumentationRegistry.getContext().getFilesDir(); in testWriteTextXmlSettings() local
133 File packageXml = new File(filesDir, "system/packages.xml"); in testWriteTextXmlSettings()
DPackageManagerTests.java704 File filesDir = mContext.getFilesDir(); in getParsedPackage() local
705 File outFile = new File(filesDir, outFileName); in getParsedPackage()
2480 File filesDir = mContext.getFilesDir(); in testCheckSignaturesUnknown() local
2481 File outFile = new File(filesDir, apk2Name); in testCheckSignaturesUnknown()
DPackageManagerSettingsTests.java340 File filesDir = InstrumentationRegistry.getContext().getFilesDir(); in testWriteCorruptReadKeySetSettings() local
341 File packageXml = new File(filesDir, "system/packages.xml"); in testWriteCorruptReadKeySetSettings()
342 File packagesReserveCopyXml = new File(filesDir, "system/packages.xml.reservecopy"); in testWriteCorruptReadKeySetSettings()
348 assertFalse(new File(filesDir, "packages-backup.xml").exists()); in testWriteCorruptReadKeySetSettings()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DAppMetadataBackupWriter.java59 PackageInfo packageInfo, File manifestFile, File filesDir, boolean withApk) in backupManifest() argument
64 filesDir, in backupManifest()
85 File filesDir, in backupManifest() argument
105 filesDir.getAbsolutePath(), in backupManifest()
170 PackageInfo packageInfo, File metadataFile, File filesDir, byte[] widgetData) in backupWidget() argument
193 filesDir.getAbsolutePath(), in backupWidget()
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DSettingsTest.java77 File filesDir = new File( in performTest() local
79 File packagesXml = new File(filesDir, "system/packages.xml"); in performTest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DUserFileManagerImpl.kt74 context.filesDir, in <lambda>()
115 val file = File(context.filesDir, createFile(fileName, userId).path) in <lambda>()
141 deleteFiles(context.filesDir) in <lambda>()
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DUpdatableFontDir.java144 UpdatableFontDir(File filesDir, FontFileParser parser, FsverityUtil fsverityUtil, in UpdatableFontDir() argument
146 this(filesDir, parser, fsverityUtil, configFile, in UpdatableFontDir()
153 UpdatableFontDir(File filesDir, FontFileParser parser, FsverityUtil fsverityUtil, in UpdatableFontDir() argument
156 mFilesDir = filesDir; in UpdatableFontDir()
713 /* package */ static void deleteAllFiles(File filesDir, File configFile) { in deleteAllFiles() argument
722 FileUtils.deleteContents(filesDir); in deleteAllFiles()
724 Slog.w(TAG, "Failed to delete " + filesDir); in deleteAllFiles()
/frameworks/base/tests/InputScreenshotTest/src/android/input/screenshot/
DInputGoldenPathManager.kt31 .filesDir
/frameworks/base/packages/SettingsLib/Spa/screenshot/src/com/android/settingslib/spa/screenshot/util/
DSettingsGoldenPathManager.kt31 .filesDir
/frameworks/base/packages/CredentialManager/tests/robotests/screenshot/src/com/android/credentialmanager/
DCredentialManagerGoldenPathManager.kt41 .filesDir
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
DUserFileManagerImplTest.kt113 assertThat(File(context.filesDir, UserFileManagerImpl.ROOT_DIR).exists()).isFalse() in testMigrateFile()
142 assertThat(File(context.filesDir, UserFileManagerImpl.ROOT_DIR).exists()).isFalse() in testMigrateSharedPrefs()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/
DBubblePersistentRepository.kt28 private val bubbleFile: AtomicFile = AtomicFile(File(context.filesDir,
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java479 final String filesDir = ceContext.getFilesDir().getCanonicalPath(); in onFullBackup() local
503 traversalExcludeSet.add(filesDir); in onFullBackup()
536 traversalExcludeSet.remove(filesDir); in onFullBackup()
540 traversalExcludeSet.add(filesDir); in onFullBackup()
702 final String filesDir; in fullBackupFile() local
727 filesDir = ceContext.getFilesDir().getCanonicalPath(); in fullBackupFile()
784 } else if (filePath.startsWith(filesDir)) { in fullBackupFile()
786 rootpath = filesDir; in fullBackupFile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/backup/
DCommunalBackupUtils.kt107 return File(context.filesDir, FILE_NAME) in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/systemconfig/
DSystemConfigNamedActorTest.kt44 val tempFolder = TemporaryFolder(context.filesDir)
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
DPackageParsingDeferErrorTest.kt56 val tempFolder = TemporaryFolder(context.filesDir) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dump/
DLogBufferEulogizer.kt64 Paths.get(context.filesDir.toPath().toString(), "log_buffers.txt"), in <lambda>()
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java438 final File filesDir = getFilesDir(); in onRestoreFinished() local
439 final File infoStage = new File(filesDir, WALLPAPER_INFO_STAGE); in onRestoreFinished()
440 final File imageStage = new File(filesDir, SYSTEM_WALLPAPER_STAGE); in onRestoreFinished()
441 final File lockImageStage = new File(filesDir, LOCK_WALLPAPER_STAGE); in onRestoreFinished()
442 final File deviceDimensionsStage = new File(filesDir, WALLPAPER_BACKUP_DEVICE_INFO_STAGE); in onRestoreFinished()
/frameworks/base/packages/SystemUI/src/com/android/systemui/backup/
DBackupHelper.kt149 val file = Environment.buildPath(context.filesDir, data.key) in restoreEntity()
/frameworks/libs/systemui/monet/tests/com/android/systemui/monet/
DColorSchemeTest.kt219 val outPath = context.filesDir.path + "/" + fileName in saveFile()