Searched refs:mCacheDir (Results 1 – 5 of 5) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | RenamingDelegatingContext.java | 43 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/ |
D | SupportLibraryTestGenerated.cpp | 85 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()
|
D | TestGenerated.cpp | 81 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()
|
D | TestCompilationCaching.cpp | 366 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
|
D | TestPartitioning.cpp | 2615 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
|