/frameworks/rs/ |
D | rsScriptC.cpp | 61 bool ScriptC::createCacheDir(const char *cacheDir) { in createCacheDir() argument 63 const std::string cacheDirString(cacheDir); in createCacheDir() 66 int statReturn = stat(cacheDir, &statBuf); in createCacheDir() 262 static bool dumpBitcodeFile(const char *cacheDir, const char *resName, in dumpBitcodeFile() argument 265 std::string f(cacheDir); in dumpBitcodeFile() 272 if (!ScriptC::createCacheDir(cacheDir)) { in dumpBitcodeFile() 296 const char *cacheDir, in runCompiler() argument 333 if (!dumpBitcodeFile(cacheDir, resName, "after", bitcode, bitcodeLen)) { in runCompiler() 343 if (!cacheDir) { in runCompiler() 345 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 | rsApiStubs.cpp | 115 std::string cacheDir; in queryCacheDir() local 131 cacheDir = std::string(path_chars); in queryCacheDir() 143 return cacheDir; in queryCacheDir() 261 extern "C" void rsContextSetCacheDir (RsContext ctxWrapper, const char * cacheDir, size_t cacheDir_… in rsContextSetCacheDir() argument 263 RS_DISPATCH(ctxWrapper, ContextSetCacheDir, cacheDir, cacheDir_length); in rsContextSetCacheDir() 525 const char * cacheDir, size_t cacheDir_length, in rsScriptGroup2Create() argument 530 cacheDir, cacheDir_length, in rsScriptGroup2Create() 618 const char * cacheDir, size_t cacheDir_length, in rsScriptCCreate() argument 621 …return RS_DISPATCH(ctxWrapper, ScriptCCreate, resName, resName_length, cacheDir, cacheDir_length, … in rsScriptCCreate()
|
/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 …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuExecutable.cpp | 62 static std::string findSharedObjectName(const char *cacheDir, in findSharedObjectName() argument 65 std::string scriptSOName(cacheDir); in findSharedObjectName() 71 ALOGE("Found peculiar cacheDir (missing \"cache\"): %s", cacheDir); in findSharedObjectName() 105 const char *cacheDir, in createSharedLibrary() argument 109 std::string sharedLibName = findSharedObjectName(cacheDir, resName, reuse); in createSharedLibrary() 113 std::string objFileName = cacheDir; in createSharedLibrary() 163 void* SharedLibraryUtils::loadSharedLibrary(const char *cacheDir, in loadSharedLibrary() argument 172 std::string scriptSOName = findSharedObjectName(cacheDir, resName); in loadSharedLibrary() 177 loaded = loadSOHelper(scriptSOName.c_str(), cacheDir, resName, alreadyLoaded); in loadSharedLibrary() 192 loaded = loadSOHelper(scriptSONameSystem.c_str(), cacheDir, in loadSharedLibrary() [all …]
|
D | rsCpuScript.cpp | 62 const char* cacheDir, const char* resName, in setCompileArguments() argument 66 rsAssert(cacheDir && resName && core_lib); in setCompileArguments() 79 args->push_back(cacheDir); in setCompileArguments() 157 bool isChecksumNeeded(const char *cacheDir) { in isChecksumNeeded() argument 158 if ((::strcmp(SYSLIBPATH, cacheDir) == 0) || in isChecksumNeeded() 159 (::strcmp(SYSLIBPATH_VENDOR, cacheDir) == 0)) in isChecksumNeeded() 292 bool RsdCpuScriptImpl::init(char const *resName, char const *cacheDir, in init() argument 318 std::string bcFileName(cacheDir); in init() 326 setCompileArguments(&compileArguments, bcFileName, cacheDir, resName, core_lib, in init() 330 mChecksumNeeded = isChecksumNeeded(cacheDir); in init() [all …]
|
D | rsCpuExecutable.h | 38 const char* cacheDir, 52 static void* loadSharedLibrary(const char *cacheDir, const char *resName, 70 static void *loadSOHelper(const char *origName, const char *cacheDir,
|
D | rsCpuScriptGroup2.cpp | 363 void CpuScriptGroup2Impl::compile(const char* cacheDir) { in compile() argument 433 rsAssert(cacheDir != nullptr); in compile() 434 string objFilePath(cacheDir); in compile() 447 setupCompileArguments(inputs, kernelBatches, invokeBatches, cacheDir, in compile() 480 mScriptObj = SharedLibraryUtils::loadSharedLibrary(cacheDir, resName, nullptr, in compile() 539 getCpuRefImpl()->getContext()->getDriverName(), cacheDir, resName, in compile() 549 mScriptObj = SharedLibraryUtils::loadSharedLibrary(cacheDir, resName); in compile() 561 string cloneFilePath(cacheDir); in compile()
|
D | rsCpuScriptGroup2.h | 71 void compile(const char* cacheDir);
|
/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/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/services/core/java/com/android/server/pm/ |
D | ParallelPackageParser.java | 58 DisplayMetrics metrics, File cacheDir, PackageParser.Callback callback) { in ParallelPackageParser() argument 62 mCacheDir = cacheDir; in ParallelPackageParser()
|
/frameworks/rs/rsov/driver/ |
D | rsovScript.cpp | 50 const char *cacheDir) { in setCompilerArgs() argument 51 rsAssert(bcFileName && cacheDir); in setCompilerArgs() 86 std::vector<uint32_t> compileBitcode(const char *resName, const char *cacheDir, in compileBitcode() argument 92 std::string bcFileName(cacheDir); in compileBitcode() 99 auto args = setCompilerArgs(bcFileName.c_str(), cacheDir); in compileBitcode() 108 std::string spvFileName(cacheDir); in compileBitcode() 686 char const *cacheDir, uint8_t const *bitcode, in rsovScriptInit() argument 691 script, resName, cacheDir, bitcode, bitcodeSize, flags)); in rsovScriptInit() 707 compileBitcode(resName, cacheDir, (const char *)bitcode, bitcodeSize); in rsovScriptInit()
|
/frameworks/rs/cpp/ |
D | ScriptC.cpp | 25 const char *cacheDir, size_t cacheDirLength) in ScriptC() argument
|
/frameworks/rs/tests/lldb/jni/KernelVariables/src/com/android/rs/jnikernelvariables/ |
D | MainActivity.java | 34 native void nativeRS(String cacheDir); in nativeRS() argument
|
/frameworks/rs/tests/lldb/jni/Allocations/src/com/android/rs/jniallocations/ |
D | MainActivity.java | 34 native void nativeRS(String cacheDir); in nativeRS() argument
|
/frameworks/rs/tests/lldb/jni/InfiniteLoop/src/com/android/rs/jniinfiniteloop/ |
D | MainActivity.java | 34 native void nativeRS(String cacheDir); in nativeRS() argument
|
/frameworks/rs/tests/lldb/jni/DebugWaitAttach/src/com/android/rs/jniwaitattachdebug/ |
D | MainActivity.java | 34 native void nativeRS(String cacheDir); in nativeRS() argument
|
/frameworks/rs/tests/lldb/jni/NoDebugWaitAttach/src/com/android/rs/jninodebugwaitattach/ |
D | MainActivity.java | 34 native void nativeRS(String cacheDir); in nativeRS() argument
|
/frameworks/rs/tests/lldb/jni/BranchingFunCalls/src/com/android/rs/jnibranchingfuncalls/ |
D | MainActivity.java | 34 native void nativeRS(String cacheDir); in nativeRS() argument
|
/frameworks/rs/tests/lldb/jni/MultipleRSFiles/src/com/android/rs/jnimultiplersfiles/ |
D | MainActivity.java | 34 native void nativeRS(String cacheDir); in nativeRS() argument
|
/frameworks/rs/tests/java_api/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/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()
|