/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | GalleryAppImpl.java | 93 File cacheDir = new File(getExternalCacheDir(), DOWNLOAD_FOLDER); in getDownloadCache() local 95 if (!cacheDir.isDirectory()) cacheDir.mkdirs(); in getDownloadCache() 97 if (!cacheDir.isDirectory()) { in getDownloadCache() 99 "fail to create: " + cacheDir.getAbsolutePath()); in getDownloadCache() 101 mDownloadCache = new DownloadCache(this, cacheDir, DOWNLOAD_CAPACITY); in getDownloadCache()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | CacheStorageUsageInfo.java | 57 File cacheDir = mContext.getExternalCacheDir(); in loadStorageInfo() local 58 if (cacheDir == null) { in loadStorageInfo() 59 cacheDir = mContext.getCacheDir(); in loadStorageInfo() 62 String path = cacheDir.getAbsolutePath(); in loadStorageInfo()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | CacheManager.java | 48 File cacheDir = context.getExternalCacheDir(); in getCache() local 49 String path = cacheDir.getAbsolutePath() + "/" + filename; in getCache() 75 File cacheDir = context.getExternalCacheDir(); in removeOldFilesIfNecessary() local 76 String prefix = cacheDir.getAbsolutePath() + "/"; in removeOldFilesIfNecessary()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | ClipStorage.java | 194 public static File prepareStorage(File cacheDir) { in prepareStorage() argument 195 File clipDir = getClipDir(cacheDir); in prepareStorage() 202 private static File getClipDir(File cacheDir) { in getClipDir() argument 203 return new File(cacheDir, "clippings"); in getClipDir()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestGenerated.cpp | 433 char* cacheDir = mkdtemp(cacheDirTemp); in SetUp() local 434 ASSERT_NE(cacheDir, nullptr); in SetUp() 435 mCacheDir = cacheDir; in SetUp()
|
D | TestCompilationCaching.cpp | 364 char* cacheDir = mkdtemp(cacheDirTemp); in SetUp() local 365 ASSERT_NE(cacheDir, nullptr); in SetUp() 366 mCacheDir = cacheDir; in SetUp()
|
D | SupportLibraryTestGenerated.cpp | 531 char* cacheDir = mkdtemp(cacheDirTemp); in SetUp() local 532 ASSERT_NE(cacheDir, nullptr); in SetUp() 533 mCacheDir = cacheDir; in SetUp()
|
D | TestNeuralNetworksWrapper.h | 305 Result setCaching(const std::string& cacheDir, const std::vector<uint8_t>& token) { in setCaching() argument 310 mCompilation, cacheDir.c_str(), token.data())); in setCaching()
|
D | TestPartitioning.cpp | 2613 char* cacheDir = mkdtemp(cacheDirTemp); in SetUp() local 2614 ASSERT_NE(cacheDir, nullptr); in SetUp() 2615 mCacheDir = cacheDir; in SetUp()
|
/packages/modules/NeuralNetworks/runtime/ |
D | CompilationBuilder.cpp | 119 int CompilationBuilder::setCaching(const std::string& cacheDir, const uint8_t* token) { in setCaching() argument 125 std::string path = cacheDir; in setCaching()
|
D | Manager.cpp | 404 const auto& cacheDir = std::get<CacheDir>(cacheInfo.variant); in getCacheHandles() local 405 CHECK(cacheDir.empty() || cacheDir.back() == '/'); in getCacheHandles() 406 std::string cacheFileName = cacheDir + filename; in getCacheHandles() 407 const uint32_t cacheTypeIdentifierIndex = cacheDir.size() + kByteSizeOfCacheToken * 2; in getCacheHandles()
|
D | CompilationBuilder.h | 51 int setCaching(const std::string& cacheDir, const uint8_t* token);
|
D | NeuralNetworks.cpp | 1225 const char* cacheDir, const uint8_t* token) { in ANeuralNetworksCompilation_setCaching() argument 1227 if (!compilation || !cacheDir || !token) { in ANeuralNetworksCompilation_setCaching() 1232 return c->setCaching(cacheDir, token); in ANeuralNetworksCompilation_setCaching()
|
/packages/modules/NeuralNetworks/runtime/include/ |
D | NeuralNetworksWrapper.h | 509 Result setCaching(const std::string& cacheDir, const std::vector<uint8_t>& token) { argument 514 mCompilation, cacheDir.c_str(), token.data())));
|
D | NeuralNetworks.h | 555 const char* cacheDir, const uint8_t* token)
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | SupportLibraryWrapper.h | 402 Result setCaching(const std::string& cacheDir, const std::vector<uint8_t>& token) { in setCaching() argument 407 mCompilation, cacheDir.c_str(), token.data())); in setCaching()
|
/packages/modules/NeuralNetworks/shim_and_sl/public/ |
D | NeuralNetworksSupportLibraryImpl.h | 397 const char* cacheDir, const uint8_t* token);
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 757 File cacheDir = getContext().getCacheDir(); in getBackup() local 758 File backupOutput = File.createTempFile("backup", runId, cacheDir); in getBackup()
|