/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
|
D | ExecutionPlan.cpp | 720 const int n = compile(*mDevice, *mModel, executionPreference, priority, deadline, *mCacheDir, in finish() 1472 mBody = new SimpleBody(device, model, mCacheDir, mToken); in becomeSingleStep()
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScriptCacheDir.java | 38 mCacheDir = cacheDir; in setupDiskCache() 42 static File mCacheDir; field in RenderScriptCacheDir
|
D | RenderScript.java | 1406 if (RenderScriptCacheDir.mCacheDir == null) { in getCachePath() 1409 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/base/services/core/java/com/android/server/pm/ |
D | ParallelPackageParser.java | 48 private final File mCacheDir; field in ParallelPackageParser 62 mCacheDir = cacheDir; in ParallelPackageParser() 114 pp.setCacheDir(mCacheDir); in submit()
|
/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 | SaturationFilter.cpp | 36 if (!msg->findString("cacheDir", &mCacheDir)) { in configure() 48 if (!mRS->init(mCacheDir.c_str())) { in start()
|
D | RSFilter.h | 44 AString mCacheDir;
|
D | SaturationFilter.h | 42 AString mCacheDir;
|
D | IntrinsicBlurFilter.h | 40 AString mCacheDir;
|
D | RSFilter.cpp | 44 if (!msg->findString("cacheDir", &mCacheDir)) { in configure()
|
/frameworks/ml/nn/runtime/test/ |
D | TestGenerated.cpp | 78 std::string mCacheDir; member in android::nn::generated_tests::GeneratedTests 122 EXPECT_EQ(compilation1.setCaching(mCacheDir, mToken), Result::NO_ERROR); in compileModel() 125 EXPECT_EQ(compilation2.setCaching(mCacheDir, mToken), Result::NO_ERROR); in compileModel() 372 mCacheDir = cacheDir; in SetUp() 383 nftw(mCacheDir.c_str(), callback, 128, FTW_DEPTH | FTW_MOUNT | FTW_PHYS); in TearDown()
|
D | TestCompilationCaching.cpp | 356 mCacheDir = cacheDir; in SetUp() 362 std::filesystem::remove_all(mCacheDir); in TearDown() 382 ASSERT_EQ(ANeuralNetworksCompilation_setCaching(compilation, mCacheDir.c_str(), in compileModel() 404 std::string mCacheDir; member in __anondf3c1f010111::CompilationCachingTest
|
D | TestPartitioning.cpp | 2053 mCacheDir = cacheDir; in SetUp() 2058 std::filesystem::remove_all(mCacheDir); in TearDown() 2088 compilation.setCaching(mCacheDir.c_str(), tokenIn); in getTransformedCacheTokenSingle() 2206 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()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 252 private File mCacheDir; field in ContextImpl 739 if (mCacheDir == null) { in getCacheDir() 740 mCacheDir = new File(getDataDir(), "cache"); in getCacheDir() 742 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 | 305 private File mCacheDir; field in PackageParser 571 mCacheDir = cacheDir; in setCacheDir() 1184 if (mCacheDir == null) { in getCachedResult() 1189 final File cacheFile = new File(mCacheDir, cacheKey); in getCachedResult() 1225 if (mCacheDir == null) { in cacheResult() 1231 final File cacheFile = new File(mCacheDir, cacheKey); in cacheResult()
|