Home
last modified time | relevance | path

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

1234

/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.java123 String cachePath = rs.getApplicationContext().getCacheDir().toString(); in internalCreate()
132 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/DebugWaitAttach/src/com/android/rs/jniwaitattachdebug/
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/NoDebugWaitAttach/src/com/android/rs/jninodebugwaitattach/
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/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/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.java57 mSettingsFile = new File(getContext().getCacheDir(), "setting.xml"); in setUp()
134 final File file = new File(getContext().getCacheDir(), "setting.xml"); in testReadWrite()
164 final File file = new File(getContext().getCacheDir(), "setting.xml"); in testUpgrade()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/settings/
DFakeLocationSettings.java33 return ApplicationProvider.getApplicationContext().getCacheDir(); in getUserSettingsDir()
/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/SystemUI/src/com/android/systemui/screenrecord/
DScreenMediaRecorder.java109 File cacheDir = mContext.getCacheDir(); in prepare()
172 mContext.getCacheDir()); in prepare()
327 mContext.getCacheDir()); in save()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/license/
DLicenseHtmlLoaderCompat.java91 return new File(context.getCacheDir(), NOTICE_HTML_FILE_NAME); in getCachedHtmlFile()
/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/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java82 FileUtils.deleteContents(ctx.getCacheDir()); in setup()
86 ctx.getCacheDir()); in setup()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DBatteryStatsServiceTest.java53 context.getCacheDir(), new Handler(mBgThread.getLooper())); in setUp()
/frameworks/base/core/tests/coretests/src/android/provider/
DTestFontsProvider.java129 final File file = new File(getContext().getCacheDir(), "font.ttf"); in createFontFile()
/frameworks/base/core/tests/coretests/src/android/text/
DFontFallbackSetup.java52 final File cacheDir = new File(targetCtx.getCacheDir(), testSubDir); in FontFallbackSetup()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/usage/
DUserUsageStatsServiceTest.java69 File dir = new File(InstrumentationRegistry.getContext().getCacheDir(), "test"); in setUp()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DTypefaceCreatePerfTest.java110 outFile = File.createTempFile("example", "ttf", context.getCacheDir()); in testCreate_fromFile()
/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/services/tests/servicestests/src/com/android/server/people/data/
DAggregateEventHistoryImplTest.java69 File testDir = new File(ctx.getCacheDir(), "testdir"); in setUp()

1234