Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DRenamingDelegatingContext.java43 private File mCacheDir; field in RenamingDelegatingContext
239 if (mCacheDir == null) { in getCacheDir()
240 mCacheDir = new File(mFileContext.getCacheDir(), renamedFileName("cache")); in getCacheDir()
242 if (!mCacheDir.exists()) { in getCacheDir()
243 if(!mCacheDir.mkdirs()) { in getCacheDir()
248 mCacheDir.getPath(), in getCacheDir()
253 return mCacheDir; in getCacheDir()
/packages/modules/NeuralNetworks/runtime/test/
DSupportLibraryTestGenerated.cpp85 std::string mCacheDir; member in android::nn::generated_tests::GeneratedTests
195 modelCacheFilenames.push_back({mCacheDir + "/model" + std::to_string(i)}); in compileModel()
198 dataCacheFilenames.push_back({mCacheDir + "/data" + std::to_string(i)}); in compileModel()
211 EXPECT_EQ(compilation1.setCaching(mCacheDir, mToken), Result::NO_ERROR); in compileModel()
224 EXPECT_EQ(compilation2.setCaching(mCacheDir, mToken), Result::NO_ERROR); in compileModel()
533 mCacheDir = cacheDir; in SetUp()
546 nftw(mCacheDir.c_str(), callback, 128, FTW_DEPTH | FTW_MOUNT | FTW_PHYS); in TearDown()
DTestGenerated.cpp81 std::string mCacheDir; member in android::nn::generated_tests::GeneratedTests
133 EXPECT_EQ(compilation1.setCaching(mCacheDir, mToken), Result::NO_ERROR); in compileModel()
136 EXPECT_EQ(compilation2.setCaching(mCacheDir, mToken), Result::NO_ERROR); in compileModel()
435 mCacheDir = cacheDir; in SetUp()
446 nftw(mCacheDir.c_str(), callback, 128, FTW_DEPTH | FTW_MOUNT | FTW_PHYS); in TearDown()
DTestCompilationCaching.cpp366 mCacheDir = cacheDir; in SetUp()
372 std::filesystem::remove_all(mCacheDir); in TearDown()
392 ASSERT_EQ(ANeuralNetworksCompilation_setCaching(compilation, mCacheDir.c_str(), in compileModel()
415 std::string mCacheDir; member in __anone2f2eb4e0111::CompilationCachingTest
DTestPartitioning.cpp2615 mCacheDir = cacheDir; in SetUp()
2620 std::filesystem::remove_all(mCacheDir); in TearDown()
2650 compilation.setCaching(mCacheDir.c_str(), tokenIn); in getTransformedCacheTokenSingle()
2768 std::string mCacheDir; member in __anon27781e9a0111::CacheTest