Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSlicePermissionManagerTest.java56 File sliceDir = new File(mContext.getCacheDir(), "testGrantSlices"); in testGrant()
74 File sliceDir = new File(mContext.getCacheDir(), "testBackupSlices"); in testBackup()
118 File sliceDir = new File(mContext.getCacheDir(), "testInvalidSlices"); in testInvalid()
/frameworks/rs/support/java/src/androidx/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/InfiniteLoop/src/com/android/rs/jniinfiniteloop/
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/MultipleRSFiles/src/com/android/rs/jnimultiplersfiles/
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/Allocations/src/com/android/rs/jniallocations/
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/KernelVariables/src/com/android/rs/jnikernelvariables/
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.java235 public File getCacheDir() { in getCacheDir() method in RenamingDelegatingContext
238 mCacheDir = new File(mFileContext.getCacheDir(), renamedFileName("cache")); in getCacheDir()
/frameworks/rs/tests/java_api/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
DHelloComputeNDK.java50 nativeMono(this.getCacheDir().toString(), in onCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/license/
DLicenseHtmlLoaderCompat.java91 return new File(context.getCacheDir(), NOTICE_HTML_FILE_NAME); in getCachedHtmlFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java82 FileUtils.deleteContents(ctx.getCacheDir()); in setup()
86 ctx.getCacheDir()); in setup()
DUserManagerServiceTest.java42 restrictionsFile = new File(mContext.getCacheDir(), "restrictions.xml"); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DLeakReporterTest.java55 mLeakDir = new File(mContext.getCacheDir(), LeakReporter.LEAK_DIR); in setup()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpFileWriter.java39 final File tempFile = File.createTempFile("mtp", "tmp", context.getCacheDir()); in MtpFileWriter()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DTypefaceCreatePerfTest.java88 outFile = File.createTempFile("example", "ttf", context.getCacheDir()); in testCreate_fromFile()
/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/accounts/
DAccountsDbTest.java82 preNDb = new File(context.getCacheDir(), PREN_DB); in setUp()
83 ceDb = new File(context.getCacheDir(), CE_DB); in setUp()
84 deDb = new File(context.getCacheDir(), DE_DB); in setUp()
/frameworks/base/core/tests/coretests/src/android/text/
DFontFallbackSetup.java52 final File cacheDir = new File(targetCtx.getCacheDir(), testSubDir); in FontFallbackSetup()
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java396 final String cacheDir = ceContext.getCacheDir().getCanonicalPath(); in onFullBackup()
407 final String deviceCacheDir = deContext.getCacheDir().getCanonicalPath(); in onFullBackup()
622 cacheDir = ceContext.getCacheDir().getCanonicalPath(); in fullBackupFile()
632 deviceCacheDir = deContext.getCacheDir().getCanonicalPath(); in fullBackupFile()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DImageReaderTest.java54 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakReporter.java77 File leakDir = new File(mContext.getCacheDir(), LEAK_DIR); in dumpLeak()

123