/frameworks/rs/ |
D | rsScriptC.cpp | 67 bool ScriptC::createCacheDir(const char *cacheDir) { in createCacheDir() argument 69 const std::string cacheDirString(cacheDir); in createCacheDir() 72 int statReturn = stat(cacheDir, &statBuf); in createCacheDir() 279 static bool dumpBitcodeFile(const char *cacheDir, const char *resName, in dumpBitcodeFile() argument 282 std::string f(cacheDir); in dumpBitcodeFile() 289 if (!ScriptC::createCacheDir(cacheDir)) { in dumpBitcodeFile() 314 const char *cacheDir, in runCompiler() argument 352 if (!dumpBitcodeFile(cacheDir, resName, "after", bitcode, bitcodeLen)) { in runCompiler() 363 if (!cacheDir) { in runCompiler() 365 cacheDir = getenv("EXTERNAL_STORAGE"); in runCompiler() [all …]
|
D | rsScriptGroup2.h | 16 ScriptGroup2(Context* rsc, const char* name, const char* cacheDir, in ScriptGroup2() argument 19 mName(name), mCacheDir(cacheDir) {} in ScriptGroup2()
|
D | rsScriptGroup2.cpp | 22 const char* cacheDir, in rsi_ScriptGroup2Create() argument 25 ScriptGroup2* group = new ScriptGroup2(rsc, name, cacheDir, in rsi_ScriptGroup2Create()
|
D | rsScriptC.h | 58 bool runCompiler(Context *rsc, const char *resName, const char *cacheDir, 66 static bool createCacheDir(const char *cacheDir);
|
D | rs.spec | 35 param const char * cacheDir 476 param const char * cacheDir 531 param const char * cacheDir
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | AppCacheTest.java | 130 File cacheDir = mContext.getCacheDir(); in testFreeApplicationCacheAllFiles() local 131 assertNotNull(cacheDir); in testFreeApplicationCacheAllFiles() 132 createTestFiles1(cacheDir, "testtmpdir", 5); in testFreeApplicationCacheAllFiles() 141 verifyTestFiles1(cacheDir, "testtmpdir", 5); in testFreeApplicationCacheAllFiles() 147 File cacheDir = mContext.getCacheDir(); in testFreeApplicationCacheSomeFiles() local 148 assertNotNull(cacheDir); in testFreeApplicationCacheSomeFiles() 149 createTestFiles1(cacheDir, "testtmpdir", 5); in testFreeApplicationCacheSomeFiles() 231 File cacheDir = mContext.getCacheDir(); in testAppCreateCacheFiles() local 233 File testTmpDir = new File(cacheDir, testDirName); in testAppCreateCacheFiles() 365 void createTestFiles1(File cacheDir, String testFilePrefix, int numTestFiles) { in createTestFiles1() argument [all …]
|
D | RegisteredServicesCacheTest.java | 65 File cacheDir = mContext.getCacheDir(); in setUp() local 66 mDataDir = new File(cacheDir, "testServicesCache"); in setUp()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuExecutable.cpp | 60 static std::string findSharedObjectName(const char *cacheDir, in findSharedObjectName() argument 63 std::string scriptSOName(cacheDir); in findSharedObjectName() 69 ALOGE("Found peculiar cacheDir (missing \"cache\"): %s", cacheDir); in findSharedObjectName() 93 const char *cacheDir, in createSharedLibrary() argument 95 std::string sharedLibName = findSharedObjectName(cacheDir, resName); in createSharedLibrary() 96 std::string objFileName = cacheDir; in createSharedLibrary() 131 void* SharedLibraryUtils::loadSharedLibrary(const char *cacheDir, in loadSharedLibrary() argument 140 std::string scriptSOName = findSharedObjectName(cacheDir, resName); in loadSharedLibrary() 145 loaded = loadSOHelper(scriptSOName.c_str(), cacheDir, resName, alreadyLoaded); in loadSharedLibrary() 160 loaded = loadSOHelper(scriptSONameSystem.c_str(), cacheDir, in loadSharedLibrary() [all …]
|
D | rsCpuScript.cpp | 85 const char* cacheDir, const char* resName, in setCompileArguments() argument 89 rsAssert(cacheDir && resName && core_lib); in setCompileArguments() 102 args->push_back(cacheDir); in setCompileArguments() 180 bool isChecksumNeeded(const char *cacheDir) { in isChecksumNeeded() argument 181 if ((::strcmp(SYSLIBPATH, cacheDir) == 0) || in isChecksumNeeded() 182 (::strcmp(SYSLIBPATH_VENDOR, cacheDir) == 0)) in isChecksumNeeded() 315 bool RsdCpuScriptImpl::init(char const *resName, char const *cacheDir, in init() argument 341 std::string bcFileName(cacheDir); in init() 349 setCompileArguments(&compileArguments, bcFileName, cacheDir, resName, core_lib, in init() 353 mChecksumNeeded = isChecksumNeeded(cacheDir); in init() [all …]
|
D | rsCpuScriptGroup2.cpp | 333 void CpuScriptGroup2Impl::compile(const char* cacheDir) { in compile() argument 383 rsAssert(cacheDir != nullptr); in compile() 384 string objFilePath(cacheDir); in compile() 399 setupCompileArguments(inputs, kernelBatches, invokeBatches, cacheDir, in compile() 428 mScriptObj = SharedLibraryUtils::loadSharedLibrary(cacheDir, resName, nullptr, in compile() 484 getCpuRefImpl()->getContext()->getDriverName(), cacheDir, resName)) { in compile() 492 mScriptObj = SharedLibraryUtils::loadSharedLibrary(cacheDir, resName); in compile() 501 string cloneFilePath(cacheDir); in compile()
|
D | rsCpuExecutable.h | 33 const char* cacheDir, 45 static void* loadSharedLibrary(const char *cacheDir, const char *resName, 56 static void *loadSOHelper(const char *origName, const char *cacheDir,
|
D | rsCpuScriptGroup2.h | 71 void compile(const char* cacheDir);
|
D | rsd_cpu.h | 124 virtual CpuScript * createScript(const ScriptC *s, char const *resName, char const *cacheDir,
|
D | rsCpuScript.h | 40 bool init(char const *resName, char const *cacheDir,
|
D | rsCpuCore.h | 172 CpuScript * createScript(const ScriptC *s, char const *resName, char const *cacheDir,
|
/frameworks/base/test-runner/src/android/test/ |
D | InstrumentationCoreTestRunner.java | 61 File cacheDir = getTargetContext().getCacheDir(); in onCreate() local 67 System.setProperty("java.home", cacheDir.getAbsolutePath()); in onCreate() 68 System.setProperty("user.home", cacheDir.getAbsolutePath()); in onCreate() 69 System.setProperty("java.io.tmpdir", cacheDir.getAbsolutePath()); in onCreate()
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScriptCacheDir.java | 33 public static void setupDiskCache(File cacheDir) { in setupDiskCache() argument 35 mCacheDir = cacheDir; in setupDiskCache()
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
D | Volley.java | 43 File cacheDir = new File(context.getCacheDir(), DEFAULT_CACHE_DIR); in newRequestQueue() local 65 RequestQueue queue = new RequestQueue(new DiskBasedCache(cacheDir), network); in newRequestQueue()
|
/frameworks/native/cmds/installd/ |
D | utils.cpp | 678 cache_dir_t* cacheDir = NULL; in _add_cache_files() local 690 cacheDir = _add_cache_dir_t(cache, parentDir, dirName); in _add_cache_files() 716 if (cacheDir == NULL) { in _add_cache_files() 717 cacheDir = _add_cache_dir_t(cache, parentDir, dirName); in _add_cache_files() 719 if (cacheDir != NULL) { in _add_cache_files() 726 _add_cache_files(cache, cacheDir, name, subdir, pathBase, in _add_cache_files() 745 if (cacheDir == NULL) { in _add_cache_files() 746 cacheDir = _add_cache_dir_t(cache, parentDir, dirName); in _add_cache_files() 749 cacheDir->hiddenCount++; in _add_cache_files() 752 if (cacheDir != NULL) { in _add_cache_files() [all …]
|
/frameworks/rs/cpp/ |
D | ScriptC.cpp | 26 const char *cacheDir, size_t cacheDirLength) in ScriptC() argument
|
/frameworks/rs/driver/ |
D | rsdBcc.cpp | 41 char const *cacheDir, in rsdScriptInit() argument 47 dc->mCpuRef->createScript(script, resName, cacheDir, bitcode, in rsdScriptInit()
|
D | rsdBcc.h | 24 char const *resName, char const *cacheDir,
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
D | DirectStatementService.java | 142 File cacheDir) { in onCreate() argument 148 File httpCacheDir = new File(cacheDir, CACHE_FILENAME); in onCreate()
|
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/ |
D | HelloComputeNDK.java | 33 native void nativeMono(String cacheDir, int X, int Y, Bitmap in, Bitmap out); in nativeMono() argument
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 321 final String cacheDir = ceContext.getCacheDir().getCanonicalPath(); in onFullBackup() local 349 traversalExcludeSet.add(cacheDir); in onFullBackup() 510 final String cacheDir; in fullBackupFile() local 535 cacheDir = ceContext.getCacheDir().getCanonicalPath(); in fullBackupFile() 569 if (filePath.startsWith(cacheDir) in fullBackupFile()
|