/frameworks/base/test-runner/src/android/test/ |
D | RenamingDelegatingContext.java | 53 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/ |
D | CompilationBuilder.cpp | 63 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()
|
D | ExecutionPlan.h | 552 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
|
D | CompilationBuilder.h | 100 std::string mCacheDir; variable
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageCacher.java | 50 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/ |
D | RenderScriptCacheDir.java | 38 mCacheDir = cacheDir; in setupDiskCache() 42 static File mCacheDir; field in RenderScriptCacheDir
|
D | RenderScript.java | 1395 if (RenderScriptCacheDir.mCacheDir == null) { in getCachePath() 1398 File f = new File(RenderScriptCacheDir.mCacheDir, CACHE_PATH); in getCachePath()
|
/frameworks/rs/ |
D | rsScriptGroup2.h | 19 mName(name), mCacheDir(cacheDir) {} in ScriptGroup2() 27 const char* mCacheDir; variable
|
D | rsContext.h | 278 return mCacheDir; in getCacheDir() 378 char mCacheDir[PATH_MAX+1]; variable
|
D | rsContext.cpp | 445 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/ |
D | IntrinsicBlurFilter.cpp | 36 if (!msg->findString("cacheDir", &mCacheDir)) { in configure() 48 if (!mRS->init(mCacheDir.c_str())) { in start()
|
D | IntrinsicBlurFilter.h | 40 AString mCacheDir;
|
D | SaturationFilter.h | 42 AString mCacheDir;
|
D | RSFilter.h | 44 AString mCacheDir;
|
D | RSFilter.cpp | 44 if (!msg->findString("cacheDir", &mCacheDir)) { in configure()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | EventHistoryImplTest.java | 78 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/ |
D | TestGenerated.cpp | 71 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()
|
D | TestCompilationCaching.cpp | 355 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
|
D | TestPartitioning.cpp | 2044 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/ |
D | ScriptC.cpp | 28 … rs->mCacheDir, rs->mCacheDirLen, (const char *)codeTxt, codeLength); in ScriptC()
|
D | RenderScript.cpp | 150 memcpy(mCacheDir, name, nameLen); in init() 152 mCacheDir[nameLen] = 0; in init()
|
D | rsCppStructs.h | 445 char mCacheDir[PATH_MAX+1]; variable
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 273 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/ |
D | rsCpuScriptGroup2.cpp | 194 compile(mGroup->mCacheDir); in CpuScriptGroup2Impl()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 298 private File mCacheDir; field in PackageParser 573 mCacheDir = cacheDir; in setCacheDir()
|