HomeSort by relevance Sort by last modified time
    Searched refs:getFilesDir (Results 1 - 25 of 241) sorted by null

1 2 3 4 5 6 7 8 910

  /external/sl4a/Utils/src/com/googlecode/android_scripting/interpreter/
InterpreterUtils.java 30 return context.getFilesDir();
  /frameworks/support/core-utils/tests/java/android/support/v4/content/
FileProviderTest.java 72 strat.addRoot("tag", mContext.getFilesDir());
74 File file = buildPath(mContext.getFilesDir(), "file.test");
78 file = buildPath(mContext.getFilesDir(), "subdir", "file.test");
93 strat.addRoot("tag", mContext.getFilesDir());
95 File file = buildPath(mContext.getFilesDir(), "..", "file.test");
106 strat.addRoot("tag1", mContext.getFilesDir());
109 File file = buildPath(mContext.getFilesDir(), "file.test");
115 strat.addRoot("tag2", mContext.getFilesDir());
117 file = buildPath(mContext.getFilesDir(), "file.test");
125 strat.addRoot("tag", mContext.getFilesDir());
    [all...]
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
HelpersTest.java 36 IoUtils.deleteContents(getContext().getFilesDir());
43 final File expected = new File(getContext().getFilesDir(), "file.mp4");
51 final File expected1 = new File(getContext().getFilesDir(), "file.txt");
55 final File expected2 = new File(getContext().getFilesDir(), "file-1.txt");
64 final File expected = new File(getContext().getFilesDir(), "file.mp4");
72 final File expected = new File(getContext().getFilesDir(), "meow");
82 final File expected = new File(getContext().getFilesDir(), "real.mp4");
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
SharingSupport.java 74 FileWriter fw = new FileWriter(getFilesDir() + "/foo.txt");
93 FileWriter fw = new FileWriter(getFilesDir() + "/foo.txt");
97 fw = new FileWriter(getFilesDir() + "/bar.txt");
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/tapjacking/
UsbTest.java 96 File adb = new File(this.getFilesDir() + "/adb");
119 File adb = new File(this.getFilesDir() + "/adb");
123 builder.directory(this.getFilesDir());
126 env.put("HOME", this.getFilesDir().toString());
127 env.put("TMPDIR", this.getFilesDir().toString());
243 File adb = new File(this.getFilesDir() + "/adb");
247 builder.directory(this.getFilesDir());
250 env.put("HOME", this.getFilesDir().toString());
251 env.put("TMPDIR", this.getFilesDir().toString());
  /cts/hostsidetests/incident/apps/storagedapp/src/com/android/server/cts/storaged/
SimpleIOActivity.java 31 File testFile = new File(getFilesDir(), "StoragedTest_Temp_FG");
SimpleIOService.java 43 File testFile = new File(getFilesDir(), "StoragedTest_Temp_BG");
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ContextTest.java 31 deleteDir(context.getFilesDir());
34 File[] files = context.getFilesDir().listFiles();
38 File[] cachedFiles = context.getFilesDir().listFiles();
45 deleteDir(context.getFilesDir());
140 assertTrue(context.getFilesDir().exists());
159 File file = new File(context.getFilesDir(), "__test__");
202 fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.getName()));
225 File filesDir = context.getFilesDir();
235 File filesDir = context.getFilesDir();
  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherBackupAgent.java 17 FileLog.setDir(getFilesDir());
  /frameworks/base/core/java/android/app/backup/
FileBackupHelper.java 57 mFilesDir = context.getFilesDir();
77 File base = mContext.getFilesDir();
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DeviceAdminIconParser.java 38 mFileIcon = new File(new File(mContext.getFilesDir(), DIR_PROVISIONING_PARAMS_FILE_CACHE),
  /frameworks/base/core/tests/coretests/src/android/app/backup/
FullBackupTest.java 72 new File(mContext.getFilesDir(), "onlyInclude.txt").getCanonicalPath(),
88 new File(mContext.getFilesDir(), "onlyExclude.txt").getCanonicalPath(),
105 new File(mContext.getFilesDir(), "include.txt").getCanonicalPath(),
110 new File(mContext.getFilesDir(), "exclude.txt").getCanonicalPath(),
134 new File(mContext.getFilesDir(), "include1.txt").getCanonicalPath(),
197 new File(mContext.getFilesDir(), "exclude1.txt").getCanonicalPath(),
  /packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
SavedWallpaperImages.java 85 File file = new File(mContext.getFilesDir(), filename);
90 new File(mContext.getFilesDir(), c.getString(2)),
111 new File(mContext.getFilesDir(), result.getString(0)).delete();
112 new File(mContext.getFilesDir(), result.getString(1)).delete();
125 File imageFile = File.createTempFile("wallpaper", "", mContext.getFilesDir());
131 File thumbFile = File.createTempFile("wallpaperthumb", "", mContext.getFilesDir());
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DeviceAdminIconParserTest.java 64 TEST_FILE_DIR = new File(targetContext.getFilesDir(), TEST_FILE_DIRNAME);
79 when(mContext.getFilesDir()).thenReturn(TEST_FILE_DIR);
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/
SystemAppsSnapshotTest.java 63 when(mContext.getFilesDir())
64 .thenReturn(InstrumentationRegistry.getTargetContext().getFilesDir());
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
WearPackageUtil.java 43 File newFileDir = new File(context.getFilesDir(), "tmp");
56 File newFileDir = new File(context.getFilesDir(), "images/icons");
  /packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DownloadCompletionReceiver.java 68 .getPath(context.getFilesDir().getPath(), "images/animals/", fileName)
76 .getPath(context.getFilesDir().getPath(), "images/image.png")
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
SystemUtil.java 31 final StatFs statFs = new StatFs(context.getFilesDir().getAbsolutePath());
  /cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
BaseBootReceiver.java 34 final File probe = new File(context.getFilesDir(),
  /cts/tests/autofillservice/src/android/autofillservice/cts/
OutOfProcessLoginActivity.java 72 return new File(context.getFilesDir(), "stopped");
  /cts/tests/backup/app/src/android/backup/app/
MainActivity.java 69 File f = new File(getFilesDir().getAbsolutePath(), FILE_NAME);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
MediaStoreSaver.java 42 picDir = mContext.getFilesDir();
  /frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/
ServicesTests.java 38 File targetFilesDir = getInstrumentation().getTargetContext().getFilesDir();
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/
SharingSupportProvider.java 81 new File(getContext().getFilesDir() + path),
  /packages/apps/Email/tests/src/com/android/emailcommon/utility/
UtilityTest.java 106 new IsolatedContext(new MockContentResolver(), getContext()).getFilesDir();
132 new IsolatedContext(new MockContentResolver(), getContext()).getFilesDir();
146 new IsolatedContext(new MockContentResolver(), getContext()).getFilesDir();
184 new IsolatedContext(new MockContentResolver(), getContext()).getFilesDir();

Completed in 919 milliseconds

1 2 3 4 5 6 7 8 910