Searched refs:getCacheDir (Results 1 - 25 of 43) sorted by relevance

12

/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/
H A DBaseTest.java26 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().getPath());
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
H A DSysuiTestCase.java28 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().getPath());
/frameworks/support/documents-archive/tests/src/android/support/provider/
H A DTestUtils.java38 "}.zip", context.getCacheDir());
H A DDocumentArchiveTest.java47 "}.zip", mContext.getCacheDir());
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptC.java118 String cachePath = rs.getApplicationContext().getCacheDir().toString();
127 String cachePath = rs.getApplicationContext().getCacheDir().toString();
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
H A DHelloComputeNDK.java50 nativeMono(this.getCacheDir().toString(),
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DVolley.java43 File cacheDir = new File(context.getCacheDir(), DEFAULT_CACHE_DIR);
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpFileWriter.java39 final File tempFile = File.createTempFile("mtp", "tmp", context.getCacheDir());
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationCoreTestRunner.java61 File cacheDir = getTargetContext().getCacheDir();
H A DRenamingDelegatingContext.java225 * In order to support calls to getCacheDir(), we create a temp cache dir (inside the real
226 * one) and return it instead. This code is basically getCacheDir(), except it uses the real
230 public File getCacheDir() { method in class:RenamingDelegatingContext
233 mCacheDir = new File(mFileContext.getCacheDir(), renamedFileName("cache"));
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DAppCacheTest.java77 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();
733 File cacheDir = mContext.getCacheDir();
[all...]
H A DRegisteredServicesCacheTest.java65 File cacheDir = mContext.getCacheDir();
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
H A DSettingsStateTest.java125 final File file = new File(getContext().getCacheDir(), "setting.xml");
155 final File file = new File(getContext().getCacheDir(), "setting.xml");
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DImageReaderTest.java53 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString());
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkManagementServiceTest.java54 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString());
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmTestBase.java57 mRealTestContext, new File(mRealTestContext.getCacheDir(), "test-data"));
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceTest.java42 restrictionsFile = new File(mContext.getCacheDir(), "restrictions.xml");
H A DShortcutManagerTest7.java63 getTestContext().getCacheDir());
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java453 return new File(mRealTestContext.getCacheDir(), CE_DB).getPath();
458 return new File(mRealTestContext.getCacheDir(), DE_DB).getPath();
463 return new File(mRealTestContext.getCacheDir(), PREN_DB).getPath();
/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java265 * <li>The contents of the {@link #getCacheDir()} directory</li>
321 final String cacheDir = ceContext.getCacheDir().getCanonicalPath();
332 final String deviceCacheDir = deContext.getCacheDir().getCanonicalPath();
535 cacheDir = ceContext.getCacheDir().getCanonicalPath();
545 deviceCacheDir = deContext.getCacheDir().getCanonicalPath();
H A DFullBackup.java328 CACHE_DIR = ceContext.getCacheDir();
336 DEVICE_CACHE_DIR = deContext.getCacheDir();
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkScorerAppManagerTest.java51 getInstrumentation().getTargetContext().getCacheDir().getPath());
/frameworks/base/packages/StatementService/src/com/android/statementservice/
H A DDirectStatementService.java135 getCacheDir());
/frameworks/rs/
H A DrsContext.h285 const char * getCacheDir() { function in class:android::renderscript::Context
/frameworks/base/core/tests/coretests/src/android/print/
H A DBasePrintTest.java139 .getTargetContext().getCacheDir().getPath());

Completed in 631 milliseconds

12