/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverySnapshotStorageTest.java | 73 mRecoverySnapshotStorage = new RecoverySnapshotStorage(mContext.getFilesDir()); in setUp() 78 File file = new File(mContext.getFilesDir(), SNAPSHOT_TOP_LEVEL_DIRECTORY); in tearDown() 97 RecoverySnapshotStorage storage = new RecoverySnapshotStorage(mContext.getFilesDir()); in get_readsFromDiskIfNoneInMemory() 104 File folder = new File(mContext.getFilesDir(), SNAPSHOT_DIRECTORY); in get_deletesFileIfItIsInvalidSnapshot() 124 KeyChainSnapshot snapshot = new RecoverySnapshotStorage(mContext.getFilesDir()) in put_overwritesOldFiles() 131 File evilFile = new File(mContext.getFilesDir(), "recoverablekeystore"); in put_doesNotThrowIfCannotCreateFiles() 136 assertNull(new RecoverySnapshotStorage(mContext.getFilesDir()).get(TEST_UID)); in put_doesNotThrowIfCannotCreateFiles() 151 new RecoverySnapshotStorage(mContext.getFilesDir()).remove(TEST_UID); in remove_removesSnapshotsFromDisk() 153 assertNull(new RecoverySnapshotStorage(mContext.getFilesDir()).get(TEST_UID)); in remove_removesSnapshotsFromDisk()
|
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | FullBackupTest.java | 74 new File(mContext.getFilesDir(), "onlyInclude.txt").getCanonicalPath(), in testparseBackupSchemeFromXml_onlyInclude() 96 new File(mContext.getFilesDir(), "onlyInclude.txt").getCanonicalPath(), in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag() 118 new File(mContext.getFilesDir(), "onlyInclude.txt").getCanonicalPath(), in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag() 142 new File(mContext.getFilesDir(), "onlyInclude.txt").getCanonicalPath(), in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlag() 167 new File(mContext.getFilesDir(), "onlyInclude.txt").getCanonicalPath(), in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionAndD2DFlags() 193 new File(mContext.getFilesDir(), "onlyInclude.txt").getCanonicalPath(), in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlagAndIngoreGarbage() 227 new File(mContext.getFilesDir(), "onlyExclude.txt").getCanonicalPath(), in testparseBackupSchemeFromXml_onlyExclude() 244 new File(mContext.getFilesDir(), "include.txt").getCanonicalPath(), in testparseBackupSchemeFromXml_includeAndExclude() 249 new File(mContext.getFilesDir(), "exclude.txt").getCanonicalPath(), in testparseBackupSchemeFromXml_includeAndExclude() 272 new File(mContext.getFilesDir(), "include1.txt").getCanonicalPath(), in testparseBackupSchemeFromXml_lotsOfIncludesAndExcludes() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageManagerSettingsTests.java | 93 new Settings(context.getFilesDir(), pmInt.getPermissionSettings(), lock); in testReadKeySetSettings() 108 new Settings(context.getFilesDir(), pmInt.getPermissionSettings(), lock); in testWriteKeySetSettings() 125 new Settings(context.getFilesDir(), pmInt.getPermissionSettings(), lock); in testSettingsReadOld() 148 new Settings(context.getFilesDir(), pmInt.getPermissionSettings(), lock); in testNewPackageRestrictionsFile() 154 new Settings(context.getFilesDir(), pmInt.getPermissionSettings(), lock); in testNewPackageRestrictionsFile() 177 final Settings settingsUnderTest = new Settings(context.getFilesDir(), null, lock); in testReadPackageRestrictions_oldSuspendInfo() 196 final Settings settingsUnderTest = new Settings(context.getFilesDir(), null, new Object()); in testReadWritePackageRestrictions_newSuspendInfo() 265 final Settings settingsUnderTest = new Settings(context.getFilesDir(), null, new Object()); in testReadWritePackageRestrictions_distractionFlags() 318 new Settings(context.getFilesDir(), pmInt.getPermissionSettings(), lock); in testEnableDisable() 357 new File(InstrumentationRegistry.getContext().getFilesDir(), "com.android.bar-1"); [all …]
|
/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 | 390 final String filesDir = ceContext.getFilesDir().getCanonicalPath(); in onFullBackup() 401 final String deviceFilesDir = deContext.getFilesDir().getCanonicalPath(); in onFullBackup() 618 filesDir = ceContext.getFilesDir().getCanonicalPath(); in fullBackupFile() 627 deviceFilesDir = deContext.getFilesDir().getCanonicalPath(); in fullBackupFile()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageUtil.java | 43 File newFileDir = new File(context.getFilesDir(), "tmp"); in getTemporaryFile() 56 File newFileDir = new File(context.getFilesDir(), "images/icons"); in getIconFile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | PasswordSlotManagerTestable.java | 41 final File testDir = InstrumentationRegistry.getContext().getFilesDir(); in getSlotMapDir()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | HeapDumpReceiver.java | 103 Log.d(TAG, "Deleting from " + new File(context.getFilesDir(), "heapdumps")); in cleanupOldFiles() 104 FileUtils.deleteOlderFiles(new File(context.getFilesDir(), "heapdumps"), 0, in cleanupOldFiles()
|
D | HeapDumpProvider.java | 41 mRoot = new File(getContext().createCredentialProtectedStorageContext().getFilesDir(), in onCreate()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandlerTests.java | 144 String fileDir = InstrumentationRegistry.getContext().getFilesDir().getAbsolutePath(); in setUp() 160 String fileDir = InstrumentationRegistry.getContext().getFilesDir().getAbsolutePath(); in tearDown()
|
D | ReportEncoderTests.java | 61 mTestXmlFile = new File(mContext.getFilesDir(), "test_watchlist_config.xml"); in setUp()
|
/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() 211 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() 489 getFilesDir().getPath() + "/" + properties.getProperty("triggerAudio"))); in createModelInfo() 498 getFilesDir().getPath() + "/" + properties.getProperty("dataFile")); in createModelInfo() 605 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/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/tests/GamePerformance/src/android/gameperformance/ |
D | GamePerformanceTest.java | 61 final String output = (new File(getInstrumentation().getContext().getFilesDir(), in testGraphicBufferMetrics()
|
/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() 90 new File(applicationContext.getFilesDir(), getId() + ".complete"), "rw"); in run()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Muxer.java | 43 mMuxer = new MediaMuxer(context.getFilesDir().getPath() + "/mux.out.", outputFormat); in setUpMuxer()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskPersisterTest.java | 56 mTaskPersister = new TaskPersister(context.getFilesDir()); in setUp()
|
D | TaskSnapshotPersisterTestBase.java | 55 static final File FILES_DIR = getInstrumentation().getTargetContext().getFilesDir();
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesLocaleTest.java | 38 File path = new File(getContext().getFilesDir(), resources.getResourceEntryName(id)); in extractApkAndGetPath()
|
/frameworks/base/test-runner/src/android/test/ |
D | IsolatedContext.java | 132 public File getFilesDir() { in getFilesDir() method in IsolatedContext
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseLockTest.java | 47 File parentDir = getContext().getFilesDir(); in setUp()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsCollectionTest.java | 115 new File(InstrumentationRegistry.getContext().getFilesDir(), TEST_FILE); in testReadLegacyNetwork() 143 new File(InstrumentationRegistry.getContext().getFilesDir(), TEST_FILE); in testReadLegacyUid() 171 new File(InstrumentationRegistry.getContext().getFilesDir(), TEST_FILE); in testReadLegacyUidTags() 275 new File(InstrumentationRegistry.getContext().getFilesDir(), TEST_FILE); in testAugmentPlan()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | StoragedUidIoStatsReaderTest.java | 68 mRoot = getContext().getFilesDir(); in setUp()
|