Home
last modified time | relevance | path

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

/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java53 private File mCacheDir; field in RenamingDelegatingContext
237 if (mCacheDir == null) { in getCacheDir()
238 mCacheDir = new File(mFileContext.getCacheDir(), renamedFileName("cache")); in getCacheDir()
240 if (!mCacheDir.exists()) { in getCacheDir()
241 if(!mCacheDir.mkdirs()) { in getCacheDir()
247 Files.setPosixFilePermissions(mCacheDir.toPath(), in getCacheDir()
255 return mCacheDir; in getCacheDir()
/frameworks/ml/nn/runtime/
DCompilationBuilder.cpp63 mPlan.setCaching(&mCacheDir, mToken); in finish()
123 mCacheDir = cacheDir; in setCaching()
125 if (!mCacheDir.empty() && mCacheDir.back() != '/') { in setCaching()
126 mCacheDir.push_back('/'); in setCaching()
DExecutionPlan.h552 mCacheDir = cacheDir; in setCaching()
555 const std::string* getCacheDir() const { return mCacheDir; } in getCacheDir()
646 : mDevice(device), mModel(model), mCacheDir(cacheDir), mToken(token) {} in SimpleBody()
661 const std::string* mCacheDir; member
759 const std::string* mCacheDir = nullptr; variable
DCompilationBuilder.h100 std::string mCacheDir; variable
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageCacher.java50 private File mCacheDir; field in PackageCacher
53 this.mCacheDir = cacheDir; in PackageCacher()
151 final File cacheFile = new File(mCacheDir, cacheKey); in getCachedResult()
177 final File cacheFile = new File(mCacheDir, cacheKey); in cacheResult()
207 final File[] files = FileUtils.listFilesOrEmpty(mCacheDir, in cleanCachedResult()
/frameworks/base/rs/java/android/renderscript/
DRenderScriptCacheDir.java38 mCacheDir = cacheDir; in setupDiskCache()
42 static File mCacheDir; field in RenderScriptCacheDir
DRenderScript.java1395 if (RenderScriptCacheDir.mCacheDir == null) { in getCachePath()
1398 File f = new File(RenderScriptCacheDir.mCacheDir, CACHE_PATH); in getCachePath()
/frameworks/rs/
DrsScriptGroup2.h19 mName(name), mCacheDir(cacheDir) {} in ScriptGroup2()
27 const char* mCacheDir; variable
DrsContext.h278 return mCacheDir; in getCacheDir()
378 char mCacheDir[PATH_MAX+1]; variable
DrsContext.cpp445 memset(mCacheDir, 0, sizeof(mCacheDir)); in Context()
453 memcpy(mCacheDir, cacheDir_arg, length); in setCacheDir()
454 mCacheDir[length] = 0; in setCacheDir()
/frameworks/av/media/libstagefright/filters/
DIntrinsicBlurFilter.cpp36 if (!msg->findString("cacheDir", &mCacheDir)) { in configure()
48 if (!mRS->init(mCacheDir.c_str())) { in start()
DIntrinsicBlurFilter.h40 AString mCacheDir;
DSaturationFilter.h42 AString mCacheDir;
DRSFilter.h44 AString mCacheDir;
DRSFilter.cpp44 if (!msg->findString("cacheDir", &mCacheDir)) { in configure()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DEventHistoryImplTest.java78 private File mCacheDir; field in EventHistoryImplTest
85 mCacheDir = ctx.getCacheDir(); in setUp()
86 mFile = new File(mCacheDir, "testdir"); in setUp()
232 EVENT_HISTORY_INJECTOR, mCacheDir, mMockScheduledExecutorService); in testEventHistoriesImplFromDisk()
/frameworks/ml/nn/runtime/test/
DTestGenerated.cpp71 std::string mCacheDir; member in android::nn::generated_tests::GeneratedTests
113 EXPECT_EQ(compilation1.setCaching(mCacheDir, mToken), Result::NO_ERROR); in compileModel()
116 EXPECT_EQ(compilation2.setCaching(mCacheDir, mToken), Result::NO_ERROR); in compileModel()
336 mCacheDir = cacheDir; in SetUp()
347 nftw(mCacheDir.c_str(), callback, 128, FTW_DEPTH | FTW_MOUNT | FTW_PHYS); in TearDown()
DTestCompilationCaching.cpp355 mCacheDir = cacheDir; in SetUp()
361 std::filesystem::remove_all(mCacheDir); in TearDown()
381 ASSERT_EQ(ANeuralNetworksCompilation_setCaching(compilation, mCacheDir.c_str(), in compileModel()
400 std::string mCacheDir; member in __anondf3c1f010111::CompilationCachingTest
DTestPartitioning.cpp2044 mCacheDir = cacheDir; in SetUp()
2049 std::filesystem::remove_all(mCacheDir); in TearDown()
2079 compilation.setCaching(mCacheDir.c_str(), tokenIn); in getTransformedCacheTokenSingle()
2197 std::string mCacheDir; member in __anon83dd480d0111::CacheTest
/frameworks/rs/cpp/
DScriptC.cpp28 … rs->mCacheDir, rs->mCacheDirLen, (const char *)codeTxt, codeLength); in ScriptC()
DRenderScript.cpp150 memcpy(mCacheDir, name, nameLen); in init()
152 mCacheDir[nameLen] = 0; in init()
DrsCppStructs.h445 char mCacheDir[PATH_MAX+1]; variable
/frameworks/base/core/java/android/app/
DContextImpl.java273 private File mCacheDir; field in ContextImpl
785 if (mCacheDir == null) { in getCacheDir()
786 mCacheDir = new File(getDataDir(), "cache"); in getCacheDir()
788 return ensurePrivateCacheDirExists(mCacheDir, XATTR_INODE_CACHE); in getCacheDir()
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.cpp194 compile(mGroup->mCacheDir); in CpuScriptGroup2Impl()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java298 private File mCacheDir; field in PackageParser
573 mCacheDir = cacheDir; in setCacheDir()