/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 | rsCacheDir.cpp | 26 static std::string cacheDir; in rsQueryCacheDir() local 42 cacheDir = std::string(path_chars); in rsQueryCacheDir() 52 return cacheDir.c_str(); in rsQueryCacheDir()
|
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);
|
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
D | PackageParsingPerfTest.kt | 198 abstract class PackageCacher<PackageType : Parcelable>(private val cacheDir: File) { in <lambda>() constant in android.os.PackageCacher 201 val cacheFile = File(cacheDir, file.name) in <lambda>() 218 val cacheFile = File(cacheDir, file.name) in <lambda>() 244 class PackageCacher1(cacheDir: File) : PackageCacher<PackageParser.Package>(cacheDir) { in <lambda>() 251 class PackageCacher2(cacheDir: File) : PackageCacher<ParsingPackageRead>(cacheDir) { in <lambda>()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuExecutable.cpp | 65 static std::string findSharedObjectName(const char *cacheDir, in findSharedObjectName() argument 68 std::string scriptSOName(cacheDir); in findSharedObjectName() 74 ALOGE("Found peculiar cacheDir (missing \"cache\"): %s", cacheDir); in findSharedObjectName() 124 const char *cacheDir, in createSharedLibrary() argument 128 std::string sharedLibName = findSharedObjectName(cacheDir, resName, reuse); in createSharedLibrary() 132 std::string objFileName = cacheDir; in createSharedLibrary() 194 void* SharedLibraryUtils::loadSharedLibrary(const char *cacheDir, in loadSharedLibrary() argument 203 std::string scriptSOName = findSharedObjectName(cacheDir, resName); in loadSharedLibrary() 208 loaded = loadSOHelper(scriptSOName.c_str(), cacheDir, resName, alreadyLoaded); in loadSharedLibrary() 223 loaded = loadSOHelper(scriptSONameApk.c_str(), cacheDir, resName); 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() 163 bool isChecksumNeeded(const char *cacheDir) { in isChecksumNeeded() argument 165 if ((::strcmp(SYSLIBPATH, cacheDir) == 0) || in isChecksumNeeded() 166 (::strcmp(sysLibPathVndk.c_str(), cacheDir) == 0) || in isChecksumNeeded() 167 (::strcmp(SYSLIBPATH_VENDOR, cacheDir) == 0)) in isChecksumNeeded() 300 bool RsdCpuScriptImpl::init(char const *resName, char const *cacheDir, in init() argument 326 std::string bcFileName(cacheDir); in init() 334 setCompileArguments(&compileArguments, bcFileName, cacheDir, resName, core_lib, 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()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | FontFallbackSetup.java | 52 final File cacheDir = new File(targetCtx.getCacheDir(), testSubDir); in FontFallbackSetup() local 53 if (!cacheDir.isDirectory()) { in FontFallbackSetup() 54 final boolean dirsCreated = cacheDir.mkdirs(); in FontFallbackSetup() 59 mTestFontsDir = cacheDir.getAbsolutePath() + "/"; in FontFallbackSetup()
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScriptCacheDir.java | 36 public static void setupDiskCache(File cacheDir) { in setupDiskCache() argument 38 mCacheDir = cacheDir; in setupDiskCache()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageParser2.java | 115 DisplayMetrics displayMetrics, @Nullable File cacheDir, @NonNull Callback callback) { 121 mCacher = cacheDir == null ? null : new PackageCacher(cacheDir);
|
/frameworks/rs/cpp/ |
D | ScriptC.cpp | 25 const char *cacheDir, size_t cacheDirLength) in ScriptC() 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/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/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/KernelVariables/src/com/android/rs/jnikernelvariables/ |
D | MainActivity.java | 34 native void nativeRS(String cacheDir); in nativeRS() argument
|
/frameworks/ml/nn/runtime/ |
D | VersionedInterfaces.h | 224 const std::optional<Deadline>& deadline, const std::string& cacheDir, 394 const std::optional<Deadline>& deadline, const std::string& cacheDir, 397 const std::optional<Deadline>& deadline, const std::string& cacheDir,
|
D | CompilationBuilder.cpp | 117 int CompilationBuilder::setCaching(const std::string& cacheDir, const uint8_t* token) { in setCaching() argument 123 mCacheDir = cacheDir; in setCaching()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceSystemFallbackTest.java | 79 final File cacheDir = new File(targetCtx.getCacheDir(), "TypefaceSystemFallbackTest"); 80 if (!cacheDir.isDirectory()) { 81 cacheDir.mkdirs(); in cacheDir.mkdirs() 83 TEST_FONT_DIR = cacheDir.getAbsolutePath() + "/fonts/"; 84 TEST_FONTS_XML = new File(cacheDir, "fonts.xml").getAbsolutePath(); 85 TEST_OEM_DIR = cacheDir.getAbsolutePath() + "/oem_fonts/"; 86 TEST_OEM_XML = new File(cacheDir, "fonts_customization.xml").getAbsolutePath();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenMediaRecorder.java | 107 File cacheDir = mContext.getCacheDir(); in prepare() local 108 cacheDir.mkdirs(); in prepare() 109 mTempVideoFile = File.createTempFile("temp", ".mp4", cacheDir); in prepare()
|