HomeSort by relevance Sort by last modified time
    Searched refs:getCacheDir (Results 51 - 75 of 461) sorted by null

1 23 4 5 6 7 8 91011>>

  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
TestUtils.java 66 final File path = new File(context.getCacheDir(), "test-db");
110 final File toDir = new File(context.getCacheDir(), "snapshot-" + name);
215 File file = File.createTempFile(prefix, suffix, context.getCacheDir());
RenamingDelegatingContext.java 232 * In order to support calls to getCacheDir(), we create a temp cache dir (inside the real
233 * one) and return it instead. This code is basically getCacheDir(), except it uses the real
237 public File getCacheDir() {
240 mCacheDir = new File(mFileContext.getCacheDir(), renamedFileName("cache"));
  /cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
UtilsReceiver.java 60 final File intDir = context.getCacheDir();
  /cts/tests/tests/rscpp/src/android/cts/rscpp/
RS3DLUTTest.java 70 lutTest(this.getContext().getCacheDir().toString(), X, Y, lutSize, byteAlloc, byteColorCube, nativeByteAlloc);
RSBlendTest.java 111 blendTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, byteAlloc2, iter);
  /cts/tests/tests/security/src/android/security/cts/
ServicePermissionsTest.java 47 mTempFile = new File(getContext().getCacheDir(), "CTS_DUMP");
  /frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
TypefaceCreatePerfTest.java 84 outFile = File.createTempFile("example", "ttf", context.getCacheDir());
  /frameworks/base/core/tests/coretests/src/android/provider/
TestFontsProvider.java 129 final File file = new File(getContext().getCacheDir(), "font.ttf");
  /frameworks/base/core/tests/coretests/src/android/text/
FontFallbackSetup.java 47 final File cacheDir = new File(targetCtx.getCacheDir(), testSubDir);
  /frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
MtpFileWriter.java 39 final File tempFile = File.createTempFile("mtp", "tmp", context.getCacheDir());
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
LeakReporterTest.java 54 mLeakDir = new File(mContext.getCacheDir(), LeakReporter.LEAK_DIR);
  /packages/apps/Launcher3/tests/src/com/android/launcher3/logging/
FileLogTest.java 33 mTempDir = new File(InstrumentationRegistry.getTargetContext().getCacheDir(),
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
EmlAttachmentProvider.java 476 Environment.DIRECTORY_DOWNLOADS).getAbsolutePath() : getCacheDir();
493 return getCacheDir() + "/" + Uri.encode(uri.getPathSegments().get(1));
499 private String getCacheDir() {
500 return getContext().getCacheDir().getAbsolutePath().concat("/eml");
  /packages/apps/WallpaperPicker/src/com/android/gallery3d/common/
ExifOrientation.java 73 tempFile = File.createTempFile(TAG, ".jpg", context.getCacheDir());
  /packages/experimental/KBars/app/src/main/java/js/kbars/
CameraBackgroundMenuItem.java 50 return new File(this.mActivity.getCacheDir(), "background.png");
ImageBackgroundMenuItem.java 60 return new File(this.mActivity.getCacheDir(), "background.png");
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
HelpersTest.java 37 IoUtils.deleteContents(getContext().getCacheDir());
  /packages/services/BuiltInPrintService/src/com/android/bips/
LocalDiscoverySessionInfo.java 52 mCacheFile = new File(service.getCacheDir(), CACHE_FILE);
  /cts/tests/core/runner/src/com/android/cts/runner/
CtsTestRunListener.java 72 File cacheDir = getInstrumentation().getTargetContext().getCacheDir();
216 mProperties.setProperty("java.io.tmpdir", context.getCacheDir().getAbsolutePath());
  /development/apps/Development/src/com/android/development/
CacheAbuser.java 107 mInternalAbuseTask = new AbuseTask(getCacheDir(), true);
118 mInternalAbuseTask = new AbuseTask(getCacheDir(), false);
  /frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
SettingsStateTest.java 125 final File file = new File(getContext().getCacheDir(), "setting.xml");
155 final File file = new File(getContext().getCacheDir(), "setting.xml");
  /frameworks/base/test-runner/src/android/test/
RenamingDelegatingContext.java 230 * In order to support calls to getCacheDir(), we create a temp cache dir (inside the real
231 * one) and return it instead. This code is basically getCacheDir(), except it uses the real
235 public File getCacheDir() {
238 mCacheDir = new File(mFileContext.getCacheDir(), renamedFileName("cache"));
  /packages/apps/Settings/src/com/android/settings/users/
EditUserPhotoController.java 345 new File(mContext.getCacheDir(), TAKE_PICTURE_FILE_NAME).delete();
346 new File(mContext.getCacheDir(), CROP_PICTURE_FILE_NAME).delete();
364 final File folder = context.getCacheDir();
379 File file = new File(mContext.getCacheDir(), NEW_USER_PHOTO_FILE_NAME);
396 new File(mContext.getCacheDir(), NEW_USER_PHOTO_FILE_NAME).delete();
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowContextTest.java 76 assertThat(context.getCacheDir()).exists();
86 assertThat(context.getCacheDir()).isNotNull();
87 File cacheTest = new File(context.getCacheDir(), "__test__");
  /cts/hostsidetests/incident/apps/boundwidgetapp/src/android/appwidget/cts/
AppWidgetTest.java 52 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().getPath());

Completed in 666 milliseconds

1 23 4 5 6 7 8 91011>>