/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/apps/TvFeedbackConsent/src/com/android/tv/feedbackconsent/ |
D | TvFeedbackBugreportHelper.java | 47 private final File cacheDir; field in TvFeedbackBugreportHelper 52 cacheDir = mContext.getCacheDir(); in TvFeedbackBugreportHelper() 92 mBugreportFile = File.createTempFile(BUGREPORT_FILENAME, null, cacheDir); in createBugreportFile()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestGenerated.cpp | 478 char* cacheDir = mkdtemp(cacheDirTemp); in SetUp() local 479 ASSERT_NE(cacheDir, nullptr); in SetUp() 480 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 | 553 char* cacheDir = mkdtemp(cacheDirTemp); in SetUp() local 554 ASSERT_NE(cacheDir, nullptr); in SetUp() 555 mCacheDir = cacheDir; in SetUp()
|
D | TestNeuralNetworksWrapper.h | 307 Result setCaching(const std::string& cacheDir, const std::vector<uint8_t>& token) { in setCaching() argument 312 mCompilation, cacheDir.c_str(), token.data())); in setCaching()
|
/packages/modules/NeuralNetworks/runtime/ |
D | CompilationBuilder.cpp | 125 int CompilationBuilder::setCaching(const std::string& cacheDir, const uint8_t* token) { in setCaching() argument 131 std::string path = cacheDir; in setCaching()
|
D | CompilationBuilder.h | 56 int setCaching(const std::string& cacheDir, const uint8_t* token);
|
D | Manager.cpp | 456 const auto& cacheDir = std::get<CacheDir>(cacheInfo.variant); in getCacheHandles() local 457 CHECK(cacheDir.empty() || cacheDir.back() == '/'); in getCacheHandles() 458 std::string cacheFileName = cacheDir + filename; in getCacheHandles() 459 const uint32_t cacheTypeIdentifierIndex = cacheDir.size() + kByteSizeOfCacheToken * 2; in getCacheHandles()
|
D | NeuralNetworks.cpp | 1273 const char* cacheDir, const uint8_t* token) { in ANeuralNetworksCompilation_setCaching() argument 1275 if (!compilation || !cacheDir || !token) { in ANeuralNetworksCompilation_setCaching() 1280 return c->setCaching(cacheDir, token); in ANeuralNetworksCompilation_setCaching()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/v33/ |
D | PermissionDecisionStorageImplTest.kt | 79 filesDir = context.cacheDir in setup()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/ |
D | PersistedStoragePackageUninstalledReceiverTest.kt | 79 filesDir = context.cacheDir in setup()
|
D | PermissionEventCleanupJobServiceTest.kt | 68 filesDir = context.cacheDir in setup()
|
D | PermissionChangeStorageImplTest.kt | 78 filesDir = context.cacheDir in setup()
|
D | PermissionStorageTimeChangeReceiverTest.kt | 93 filesDir = context.cacheDir in setup()
|
D | BasePermissionEventStorageTest.kt | 89 filesDir = context.cacheDir in setup()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/hibernation/ |
D | HibernationPolicyTest.kt | 93 filesDir = realContext.cacheDir in setup()
|
/packages/modules/NeuralNetworks/runtime/include/ |
D | NeuralNetworksWrapper.h | 522 Result setCaching(const std::string& cacheDir, const std::vector<uint8_t>& token) { argument 527 mCompilation, cacheDir.c_str(), token.data())));
|
D | NeuralNetworks.h | 628 const char* cacheDir, const uint8_t* token)
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | SupportLibraryWrapper.h | 404 Result setCaching(const std::string& cacheDir, const std::vector<uint8_t>& token) { in setCaching() argument 409 mCompilation, cacheDir.c_str(), token.data())); in setCaching()
|
/packages/modules/NeuralNetworks/shim_and_sl/public/ |
D | NeuralNetworksSupportLibraryImpl.h | 721 const char* cacheDir, const uint8_t* token);
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 841 File cacheDir = getContext().getCacheDir(); in getBackup() local 842 File backupOutput = File.createTempFile("backup", runId, cacheDir); in getBackup()
|