Searched refs:getFilesDir (Results 51 - 75 of 84) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageParserTest.java310 File outFile = new File(context.getFilesDir(), apkFileName);
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/
H A DServicesTests.java90 targetFilesDir = InstrumentationRegistry.getTargetContext().getFilesDir();
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
H A DDataCollector.java184 String dir = mContext.getFilesDir().getAbsolutePath();
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DOverlayPackagesProviderTest.java79 when(mTestContext.getFilesDir()).thenReturn(
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DBaseLockSettingsServiceTests.java109 new File(getContext().getFilesDir(), "locksettings"));
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
H A DCertPinInstallReceiverTest.java159 return mContext.getFilesDir() + "/content.txt";
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyTester.java267 File packageFile = new File(context.getFilesDir(), fileName);
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/
H A DMockFontProvider.java266 final File cacheDir = new File(context.getFilesDir(), "fontCache");
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/
H A DSliceRenderer.java119 File storage = mContext.getFilesDir();
/frameworks/base/core/java/android/app/
H A DContextImpl.java559 File f = makeFilename(getFilesDir(), name);
567 File f = makeFilename(getFilesDir(), name);
588 File f = makeFilename(getFilesDir(), name);
636 public File getFilesDir() { method in class:ContextImpl
742 return makeFilename(getFilesDir(), name);
752 return FileUtils.listOrEmpty(getFilesDir());
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPrintSpoolerService.java168 File[] files = getFilesDir().listFiles();
372 File[] files = getFilesDir().listFiles();
477 return new File(context.getFilesDir(), PRINT_JOB_FILE_PREFIX
864 mStatePersistFile = new AtomicFile(new File(getFilesDir(),
/frameworks/base/tests/net/java/com/android/internal/net/
H A DNetworkStatsFactoryTest.java65 mTestProc = new File(InstrumentationRegistry.getContext().getFilesDir(), "proc");
/frameworks/support/compat/src/main/java/androidx/core/content/
H A DFileProvider.java139 * area. This subdirectory is the same as the value returned by {@link Context#getFilesDir()
140 * Context.getFilesDir()}.
263 *File imagePath = new File(Context.getFilesDir(), "images");
624 target = context.getFilesDir();
687 * {@code addRoot("myfiles", context.getFilesDir())}, then
/frameworks/base/core/java/android/content/
H A DContextWrapper.java238 public File getFilesDir() { method in class:ContextWrapper
239 return mBase.getFilesDir();
H A DContext.java910 * @see #getFilesDir
933 * path directly; they should instead use {@link #getFilesDir()},
962 public abstract File getFilesDir(); method in class:Context
966 * {@link #getFilesDir()}. The difference is that files placed under this
992 * This is like {@link #getFilesDir()} in that these files will be deleted
1009 * by {@link #getFilesDir()}, etc.
1065 * @see #getFilesDir
1080 * This is like {@link #getFilesDir()} in that these files will be deleted
1097 * by {@link #getFilesDir()}, etc.
1141 * This is like {@link #getFilesDir()} i
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
H A DKeySyncTaskTest.java130 mRecoverySnapshotStorage = new RecoverySnapshotStorage(context.getFilesDir());
155 File file = new File(InstrumentationRegistry.getTargetContext().getFilesDir(),
/frameworks/base/core/tests/coretests/src/android/os/
H A DFileUtilsTest.java76 mTarget = getContext().getFilesDir();
/frameworks/base/test-mock/src/android/test/mock/
H A DMockContext.java210 public File getFilesDir() { method in class:MockContext
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationTestRunner.java644 return getTargetContext().getFilesDir().getAbsolutePath() + File.separator +
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsHelper.java248 return new File(context.getFilesDir(), fname);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DFusedPrintersProvider.java549 mStatePersistFile = new AtomicFile(new File(activity.getFilesDir(),
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/
H A DPackageTrackerTest.java81 mPackageStatusStorage = new PackageStatusStorage(context.getFilesDir());
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
H A DAppStandbyControllerTests.java173 return new File(getContext().getFilesDir(), Long.toString(Math.randomLongInternal()));
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DBugreportReceiverTest.java1002 final File rootDir = mContext.getFilesDir();
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DRecentTasksTest.java149 mTaskPersister = new TestTaskPersister(mContext.getFilesDir());

Completed in 564 milliseconds

1234