Home
last modified time | relevance | path

Searched refs:getCacheDir (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java77 File testDir = mContext.getCacheDir(); in cleanUpCacheDirectory()
130 File cacheDir = mContext.getCacheDir(); in testFreeApplicationCacheAllFiles()
147 File cacheDir = mContext.getCacheDir(); in testFreeApplicationCacheSomeFiles()
224 File file = new File(con.getCacheDir(), fileName); in testAppCacheCreateFile()
231 File cacheDir = mContext.getCacheDir(); in testAppCreateCacheFiles()
291 File testDir = new File(mContext.getCacheDir(), testDirName); in testAppCacheClear()
543 File cacheDir = mContext.getCacheDir(); in testDeleteAppCacheFiles()
649 File cacheDir = mContext.getCacheDir(); in testFreeStorage()
734 File cacheDir = mContext.getCacheDir(); in testClearApplicationUserDataWithTestData()
/frameworks/rs/support/java/src/android/support/v8/renderscript/
DScriptC.java118 String cachePath = rs.getApplicationContext().getCacheDir().toString(); in internalCreate()
127 String cachePath = rs.getApplicationContext().getCacheDir().toString(); in internalStringCreate()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/
DBaseTest.java26 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().getPath()); in setUp()
/frameworks/rs/tests/lldb/jni/KernelVariables/src/com/android/rs/jnikernelvariables/
DMainActivity.java40 nativeRS(this.getCacheDir().toString()); in onCreate()
/frameworks/rs/tests/lldb/jni/Allocations/src/com/android/rs/jniallocations/
DMainActivity.java40 nativeRS(this.getCacheDir().toString()); in onCreate()
/frameworks/rs/tests/lldb/jni/InfiniteLoop/src/com/android/rs/jniinfiniteloop/
DMainActivity.java40 nativeRS(this.getCacheDir().toString()); in onCreate()
/frameworks/rs/tests/lldb/jni/DebugWaitAttach/src/com/android/rs/jniwaitattachdebug/
DMainActivity.java40 nativeRS(this.getCacheDir().toString()); in onCreate()
/frameworks/rs/tests/lldb/jni/NoDebugWaitAttach/src/com/android/rs/jninodebugwaitattach/
DMainActivity.java40 nativeRS(this.getCacheDir().toString()); in onCreate()
/frameworks/rs/tests/lldb/jni/BranchingFunCalls/src/com/android/rs/jnibranchingfuncalls/
DMainActivity.java40 nativeRS(this.getCacheDir().toString()); in onCreate()
/frameworks/rs/tests/lldb/jni/MultipleRSFiles/src/com/android/rs/jnimultiplersfiles/
DMainActivity.java40 nativeRS(this.getCacheDir().toString()); in onCreate()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsStateTest.java125 final File file = new File(getContext().getCacheDir(), "setting.xml"); in testReadWrite()
155 final File file = new File(getContext().getCacheDir(), "setting.xml"); in testUpgrade()
/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java230 public File getCacheDir() { in getCacheDir() method in RenamingDelegatingContext
233 mCacheDir = new File(mFileContext.getCacheDir(), renamedFileName("cache")); in getCacheDir()
DInstrumentationCoreTestRunner.java61 File cacheDir = getTargetContext().getCacheDir(); in onCreate()
/frameworks/rs/tests/java_api/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
DHelloComputeNDK.java50 nativeMono(this.getCacheDir().toString(), in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DLeakReporterTest.java54 mLeakDir = new File(mContext.getCacheDir(), LeakReporter.LEAK_DIR); in setup()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DTypefaceCreatePerfTest.java84 outFile = File.createTempFile("example", "ttf", context.getCacheDir()); in testCreate_fromFile()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpFileWriter.java39 final File tempFile = File.createTempFile("mtp", "tmp", context.getCacheDir()); in MtpFileWriter()
/frameworks/base/core/tests/coretests/src/android/provider/
DTestFontsProvider.java129 final File file = new File(getContext().getCacheDir(), "font.ttf"); in createFontFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java81 FileUtils.deleteContents(ctx.getCacheDir()); in setup()
85 ctx.getCacheDir()); in setup()
DUserManagerServiceTest.java42 restrictionsFile = new File(mContext.getCacheDir(), "restrictions.xml"); in setUp()
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java321 final String cacheDir = ceContext.getCacheDir().getCanonicalPath(); in onFullBackup()
332 final String deviceCacheDir = deContext.getCacheDir().getCanonicalPath(); in onFullBackup()
535 cacheDir = ceContext.getCacheDir().getCanonicalPath(); in fullBackupFile()
545 deviceCacheDir = deContext.getCacheDir().getCanonicalPath(); in fullBackupFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountsDbTest.java68 preNDb = new File(context.getCacheDir(), PREN_DB); in setUp()
69 ceDb = new File(context.getCacheDir(), CE_DB); in setUp()
70 deDb = new File(context.getCacheDir(), DE_DB); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkManagementServiceTest.java55 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp()
/frameworks/support/compat/java/android/support/v4/graphics/
DTypefaceCompatUtil.java57 final File file = new File(context.getCacheDir(), prefix + i); in getTempFile()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DImageReaderTest.java53 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp()

123