/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/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/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/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
HelpersTest.java | 37 IoUtils.deleteContents(getContext().getCacheDir());
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
AppCacheTest.java | 77 File testDir = mContext.getCacheDir(); 130 File cacheDir = mContext.getCacheDir(); 147 File cacheDir = mContext.getCacheDir(); 224 File file = new File(con.getCacheDir(), fileName); 231 File cacheDir = mContext.getCacheDir(); 291 File testDir = new File(mContext.getCacheDir(), testDirName); 364 //createTestFiles(new File(super.getContext().getCacheDir(), "testtmp", "dir", 3) 543 File cacheDir = mContext.getCacheDir(); 649 File cacheDir = mContext.getCacheDir(); 734 File cacheDir = mContext.getCacheDir(); [all...] |
/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 | 229 * In order to support calls to getCacheDir(), we create a temp cache dir (inside the real 230 * one) and return it instead. This code is basically getCacheDir(), except it uses the real 234 public File getCacheDir() { 237 mCacheDir = new File(mFileContext.getCacheDir(), renamedFileName("cache"));
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
ManualDiscovery.java | 126 File cachedPrintersFile = new File(getPrintService().getCacheDir(), CACHE_FILE); 151 File cachedPrintersFile = new File(getPrintService().getCacheDir(), CACHE_FILE);
|
/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();
|
/cts/hostsidetests/incident/apps/boundwidgetapp/src/android/appwidget/cts/ |
AppWidgetTest.java | 52 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().getPath());
|
/developers/build/prebuilts/gradle/PdfRendererBasic/Application/src/main/java/com/example/android/pdfrendererbasic/ |
PdfRendererBasicFragment.java | 152 File file = new File(context.getCacheDir(), FILENAME);
|
/developers/samples/android/ui/graphics/PdfRendererBasic/Application/src/main/java/com/example/android/pdfrendererbasic/ |
PdfRendererBasicFragment.java | 152 File file = new File(context.getCacheDir(), FILENAME);
|
/development/samples/browseable/PdfRendererBasic/src/com.example.android.pdfrendererbasic/ |
PdfRendererBasicFragment.java | 147 File file = new File(context.getCacheDir(), FILENAME);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContext.java | 88 public File getCacheDir() {
|