/frameworks/base/rs/java/android/renderscript/ |
D | ScriptC.java | 73 protected ScriptC(RenderScript rs, String resName, byte[] bitcode32, byte[] bitcode64) { in ScriptC() argument 77 id = internalStringCreate(rs, resName, bitcode32); in ScriptC() 79 id = internalStringCreate(rs, resName, bitcode64); in ScriptC() 116 String resName = resources.getResourceEntryName(resourceID); in internalCreate() local 119 return rs.nScriptCCreate(resName, RenderScript.getCachePath(), pgm, pgmLength); in internalCreate() 122 …private static synchronized long internalStringCreate(RenderScript rs, String resName, byte[] bitc… in internalStringCreate() argument 124 return rs.nScriptCCreate(resName, RenderScript.getCachePath(), bitcode, bitcode.length); in internalStringCreate()
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
D | ScriptC.java | 74 protected ScriptC(RenderScript rs, String resName, byte[] bitcode32, byte[] bitcode64) { in ScriptC() argument 78 id = internalStringCreate(rs, resName, bitcode32); in ScriptC() 80 id = internalStringCreate(rs, resName, bitcode64); in ScriptC() 117 String resName = resources.getResourceEntryName(resourceID); in internalCreate() local 122 return rs.nScriptCCreate(resName, cachePath, pgm, pgmLength); in internalCreate() 125 …private static synchronized long internalStringCreate(RenderScript rs, String resName, byte[] bitc… in internalStringCreate() argument 128 return rs.nScriptCCreate(resName, cachePath, bitcode, bitcode.length); in internalStringCreate()
|
D | RenderScript.java | 759 native long rsnScriptCCreate(long con, String resName, String cacheDir, in rsnScriptCCreate() argument 761 synchronized long nScriptCCreate(String resName, String cacheDir, byte[] script, int length) { in nScriptCCreate() argument 763 return rsnScriptCCreate(mContext, resName, cacheDir, script, length); in nScriptCCreate()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuExecutable.cpp | 63 const char *resName, in findSharedObjectName() argument 77 scriptSOName.append(resName); in findSharedObjectName() 106 const char *resName, in createSharedLibrary() argument 109 std::string sharedLibName = findSharedObjectName(cacheDir, resName, reuse); in createSharedLibrary() 115 objFileName.append(resName); in createSharedLibrary() 164 const char *resName, in loadSharedLibrary() argument 170 std::string scriptSOName = findSharedObjectName(nativeLibDir, resName); in loadSharedLibrary() 172 std::string scriptSOName = findSharedObjectName(cacheDir, resName); in loadSharedLibrary() 177 loaded = loadSOHelper(scriptSOName.c_str(), cacheDir, resName, alreadyLoaded); in loadSharedLibrary() 190 scriptSONameSystem.append(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() 77 args->push_back(resName); in setCompileArguments() 292 bool RsdCpuScriptImpl::init(char const *resName, char const *cacheDir, in init() argument 320 bcFileName.append(resName); in init() 326 setCompileArguments(&compileArguments, bcFileName, cacheDir, resName, core_lib, in init() 368 mScriptSO = SharedLibraryUtils::loadSharedLibrary(cacheDir, resName); in init() 383 ALOGE("bcc: FAILS to compile '%s'", resName); in init() 391 mCtx->getContext()->getDriverName(), cacheDir, resName, reuse, in init() 393 ALOGE("Linker: Failed to link object file '%s'", resName); in init() [all …]
|
D | rsCpuExecutable.h | 39 const char* resName, 52 static void* loadSharedLibrary(const char *cacheDir, const char *resName, 71 const char *resName, bool* alreadyLoaded = nullptr);
|
D | rsCpuScriptGroup2.cpp | 439 const char* resName = mGroup->mName; in compile() local 448 resName, coreLibPath.c_str(), coreLibRelaxedPath.c_str(), in compile() 480 mScriptObj = SharedLibraryUtils::loadSharedLibrary(cacheDir, resName, nullptr, in compile() 504 cloneName.append(resName); in compile() 539 getCpuRefImpl()->getContext()->getDriverName(), cacheDir, resName, in compile() 541 ALOGE("Failed to link object file '%s'", resName); in compile() 549 mScriptObj = SharedLibraryUtils::loadSharedLibrary(cacheDir, resName); in compile() 554 ALOGE("Unable to load '%s'", resName); in compile()
|
D | rsd_cpu.h | 128 virtual CpuScript * createScript(const ScriptC *s, char const *resName, char const *cacheDir,
|
D | rsCpuCore.h | 174 CpuScript * createScript(const ScriptC *s, char const *resName, char const *cacheDir,
|
D | rsCpuScript.h | 42 bool init(char const *resName, char const *cacheDir,
|
/frameworks/rs/ |
D | rsScriptC.cpp | 262 static bool dumpBitcodeFile(const char *cacheDir, const char *resName, in dumpBitcodeFile() argument 267 f.append(resName); in dumpBitcodeFile() 295 const char *resName, in runCompiler() argument 333 if (!dumpBitcodeFile(cacheDir, resName, "after", bitcode, bitcodeLen)) { in runCompiler() 355 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) { in runCompiler() 443 const char *resName, size_t resName_length, in rsi_ScriptCCreate() argument 449 if (!s->runCompiler(rsc, resName, cacheDir, (uint8_t *)text, text_length)) { in rsi_ScriptCCreate()
|
D | rsScriptC.h | 58 bool runCompiler(Context *rsc, const char *resName, const char *cacheDir,
|
D | rs.spec | 475 param const char * resName
|
/frameworks/rs/rsov/driver/ |
D | rsovScript.cpp | 86 std::vector<uint32_t> compileBitcode(const char *resName, const char *cacheDir, in compileBitcode() argument 94 bcFileName.append(resName); in compileBitcode() 110 spvFileName.append(resName); in compileBitcode() 685 bool rsovScriptInit(const Context *rsc, ScriptC *script, char const *resName, in rsovScriptInit() argument 691 script, resName, cacheDir, bitcode, bitcodeSize, flags)); in rsovScriptInit() 693 ALOGE("Failed creating a CPU script %p for %s (%p)", cs.get(), resName, in rsovScriptInit() 702 ALOGE("Could not extract metadata from bitcode from %s", resName); in rsovScriptInit() 707 compileBitcode(resName, cacheDir, (const char *)bitcode, bitcodeSize); in rsovScriptInit() 725 ALOGD("Failed creating an RSoV script for %s", resName); in rsovScriptInit()
|
D | rsovScript.h | 147 char const *resName, char const *cacheDir,
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesImpl.java | 697 String resName; in verifyPreloadConfig() local 699 resName = getResourceName(resourceId); in verifyPreloadConfig() 701 resName = "?"; in verifyPreloadConfig() 707 + " (" + resName + ") that varies with configuration!!"); in verifyPreloadConfig() 711 String resName; in verifyPreloadConfig() local 713 resName = getResourceName(resourceId); in verifyPreloadConfig() 715 resName = "?"; in verifyPreloadConfig() 719 + " (" + resName + ")"); in verifyPreloadConfig()
|
/frameworks/rs/driver/ |
D | rsdBcc.cpp | 39 char const *resName, in rsdScriptInit() argument 46 dc->mCpuRef->createScript(script, resName, cacheDir, bitcode, in rsdScriptInit()
|
D | rsdBcc.h | 24 char const *resName, char const *cacheDir,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 407 public Integer getId(ResourceType resType, String resName) { in getId() argument 408 return Bridge.getResourceId(resType, resName); in getId()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 6793 resource_name resName; in createIdmap() local 6794 if (!this->getResourceName(resID, false, &resName)) { in createIdmap() 6801 const String16 overlayType(resName.type, resName.typeLen); in createIdmap() 6802 const String16 overlayName(resName.name, resName.nameLen); in createIdmap() 7115 resource_name resName; in print() local 7116 if (this->getResourceName(resID, true, &resName)) { in print() 7119 if (resName.type8 != NULL) { in print() 7120 type8 = String8(resName.type8, resName.typeLen); in print() 7122 type8 = String8(resName.type, resName.typeLen); in print() 7124 if (resName.name8 != NULL) { in print() [all …]
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 838 @Override public URL getResource(String resName) { in getResource() argument 840 return getParent().getResource(resName); in getResource() 843 @Override public Enumeration<URL> getResources(String resName) throws IOException { in getResources() argument 845 return getParent().getResources(resName); in getResources() 848 @Override public InputStream getResourceAsStream(String resName) { in getResourceAsStream() argument 850 return getParent().getResourceAsStream(resName); in getResourceAsStream()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 1137 public int getFrameworkResourceValue(ResourceType resType, String resName, int defValue) { in getFrameworkResourceValue() argument 1138 if (getRenderResources().getFrameworkResource(resType, resName) != null) { in getFrameworkResourceValue() 1141 return Bridge.getResourceId(resType, resName); in getFrameworkResourceValue() 1147 public int getProjectResourceValue(ResourceType resType, String resName, int defValue) { in getProjectResourceValue() argument 1150 if (getRenderResources().getProjectResource(resType, resName) != null) { in getProjectResourceValue() 1152 Integer value = mLayoutlibCallback.getResourceId(resType, resName); in getProjectResourceValue()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 2252 String resName = wallpaper.name.substring(4); in restoreNamedResourceLocked() local 2255 int colon = resName.indexOf(':'); in restoreNamedResourceLocked() 2257 pkg = resName.substring(0, colon); in restoreNamedResourceLocked() 2261 int slash = resName.lastIndexOf('/'); in restoreNamedResourceLocked() 2263 ident = resName.substring(slash+1); in restoreNamedResourceLocked() 2268 type = resName.substring(colon+1, slash); in restoreNamedResourceLocked() 2279 resId = r.getIdentifier(resName, null, null); in restoreNamedResourceLocked() 2302 Slog.v(TAG, "Restored wallpaper: " + resName); in restoreNamedResourceLocked()
|
/frameworks/base/tools/aapt2/flatten/ |
D | TableFlattener_test.cpp | 123 Maybe<ResourceName> resName = ResourceUtils::ToResourceName(actual_name); in Exists() local 124 if (!resName) { in Exists()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 932 String resName; 934 resName = getResources().getResourceName(getId()); 936 resName = Integer.toHexString(getId()); 941 " Pager id: " + resName +
|