/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()
|
D | RenderScript.java | 846 native long rsnScriptCCreate(long con, String resName, String cacheDir, in rsnScriptCCreate() argument 849 synchronized long nScriptCCreate(String resName, String cacheDir, byte[] script, int length) { in nScriptCCreate() argument 851 return rsnScriptCCreate(mContext, resName, cacheDir, script, length); in nScriptCCreate()
|
/frameworks/rs/support/java/src/androidx/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 | 771 native long rsnScriptCCreate(long con, String resName, String cacheDir, in rsnScriptCCreate() argument 773 synchronized long nScriptCCreate(String resName, String cacheDir, byte[] script, int length) { in nScriptCCreate() argument 775 return rsnScriptCCreate(mContext, resName, cacheDir, script, length); in nScriptCCreate()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuExecutable.cpp | 67 const char *resName, in findSharedObjectName() argument 81 scriptSOName.append(resName); in findSharedObjectName() 126 const char *resName, in createSharedLibrary() argument 129 std::string sharedLibName = findSharedObjectName(cacheDir, resName, reuse); in createSharedLibrary() 135 objFileName.append(resName); in createSharedLibrary() 196 const char *resName, in loadSharedLibrary() argument 202 std::string scriptSOName = findSharedObjectName(nativeLibDir, resName); in loadSharedLibrary() 204 std::string scriptSOName = findSharedObjectName(cacheDir, resName); in loadSharedLibrary() 209 loaded = loadSOHelper(scriptSOName.c_str(), cacheDir, resName, alreadyLoaded); in loadSharedLibrary() 222 scriptSONameApk.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() 300 bool RsdCpuScriptImpl::init(char const *resName, char const *cacheDir, in init() argument 328 bcFileName.append(resName); in init() 334 setCompileArguments(&compileArguments, bcFileName, cacheDir, resName, core_lib, in init() 376 mScriptSO = SharedLibraryUtils::loadSharedLibrary(cacheDir, resName); in init() 391 ALOGE("bcc: FAILS to compile '%s'", resName); in init() 399 mCtx->getContext()->getDriverName(), cacheDir, resName, reuse, in init() 401 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 | rsCpuScript.h | 42 bool init(char const *resName, char const *cacheDir,
|
D | rsCpuCore.h | 174 CpuScript * createScript(const ScriptC *s, char const *resName, char const *cacheDir,
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/ |
D | QuaresActivity.kt | 46 private var resName = "" variable 69 resName = savedInstanceState.getString("resName", "") in onCreate() 90 outState.putString("resName", resName) in onSaveInstanceState() 115 resName = newName in newPuzzle() 138 label.text = resName.replace(Regex("^.*/"), "") in checkVictory() 152 Log.v(TAG, "loading " + resName + " at " + q.width + "x" + q.height) in loadPuzzle() 156 icon = Icon.createWithResource(getPackageNameForResourceName(resName), resId) in loadPuzzle() 162 resName = "" in loadPuzzle()
|
/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/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/ |
D | ExternalResources.java | 138 private <T> void put(ResName resName, TypedResource<T> value) { in put() argument 141 resourceIds.put(resName, id); in put()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesImpl.java | 756 String resName; in verifyPreloadConfig() local 758 resName = getResourceName(resourceId); in verifyPreloadConfig() 760 resName = "?"; in verifyPreloadConfig() 766 + " (" + resName + ") that varies with configuration!!"); in verifyPreloadConfig() 770 String resName; in verifyPreloadConfig() local 772 resName = getResourceName(resourceId); in verifyPreloadConfig() 774 resName = "?"; in verifyPreloadConfig() 778 + " (" + 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/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/ |
D | ExternalResources.java | 224 private <T> void put(ResName resName, TypedResource<T> value) { in put() argument 227 mResourceIds.put(resName, id); in put()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 7490 resource_name resName; in print() local 7491 if (this->getResourceName(resID, true, &resName)) { in print() 7494 if (resName.type8 != NULL) { in print() 7495 type8 = String8(resName.type8, resName.typeLen); in print() 7497 type8 = String8(resName.type, resName.typeLen); in print() 7499 if (resName.name8 != NULL) { in print() 7500 name8 = String8(resName.name8, resName.nameLen); in print() 7502 name8 = String8(resName.name, resName.nameLen); in print() 7506 CHAR16_TO_CSTR(resName.package, resName.packageLen), in print() 7577 resource_name resName; in print() local [all …]
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 1059 @Override public URL getResource(String resName) { in getResource() argument 1061 return getParent().getResource(resName); in getResource() 1064 @Override public Enumeration<URL> getResources(String resName) throws IOException { in getResources() argument 1066 return getParent().getResources(resName); in getResources() 1069 @Override public InputStream getResourceAsStream(String resName) { in getResourceAsStream() argument 1071 return getParent().getResourceAsStream(resName); in getResourceAsStream()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener_test.cpp | 124 Maybe<ResourceName> resName = ResourceUtils::ToResourceName(actual_name); in Exists() local 125 if (!resName) { in Exists() 133 ResourceName actual_res_name(resName.value()); in Exists()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 3294 String resName = wallpaper.name.substring(4); in restoreNamedResourceLocked() local 3297 int colon = resName.indexOf(':'); in restoreNamedResourceLocked() 3299 pkg = resName.substring(0, colon); in restoreNamedResourceLocked() 3303 int slash = resName.lastIndexOf('/'); in restoreNamedResourceLocked() 3305 ident = resName.substring(slash+1); in restoreNamedResourceLocked() 3310 type = resName.substring(colon+1, slash); in restoreNamedResourceLocked() 3321 resId = r.getIdentifier(resName, null, null); in restoreNamedResourceLocked() 3344 Slog.v(TAG, "Restored wallpaper: " + resName); in restoreNamedResourceLocked()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 939 String resName; 941 resName = getResources().getResourceName(getId()); 943 resName = Integer.toHexString(getId()); 948 " Pager id: " + resName +
|