Home
last modified time | relevance | path

Searched refs:resName (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/rs/java/android/renderscript/
DScriptC.java73 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/androidx/renderscript/
DScriptC.java74 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()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt46 private var resName = "" variable in com.android.egg.quares.QuaresActivity
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/cpu_ref/
DrsCpuExecutable.cpp66 const char *resName, in findSharedObjectName() argument
80 scriptSOName.append(resName); in findSharedObjectName()
125 const char *resName, in createSharedLibrary() argument
128 std::string sharedLibName = findSharedObjectName(cacheDir, resName, reuse); in createSharedLibrary()
134 objFileName.append(resName); in createSharedLibrary()
195 const char *resName, in loadSharedLibrary() argument
201 std::string scriptSOName = findSharedObjectName(nativeLibDir, resName); in loadSharedLibrary()
203 std::string scriptSOName = findSharedObjectName(cacheDir, resName); in loadSharedLibrary()
208 loaded = loadSOHelper(scriptSOName.c_str(), cacheDir, resName, alreadyLoaded); in loadSharedLibrary()
221 scriptSONameSystem.append(resName); in loadSharedLibrary()
[all …]
DrsCpuScript.cpp62 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 …]
DrsCpuExecutable.h39 const char* resName,
52 static void* loadSharedLibrary(const char *cacheDir, const char *resName,
71 const char *resName, bool* alreadyLoaded = nullptr);
DrsCpuScriptGroup2.cpp439 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()
Drsd_cpu.h128 virtual CpuScript * createScript(const ScriptC *s, char const *resName, char const *cacheDir,
DrsCpuCore.h174 CpuScript * createScript(const ScriptC *s, char const *resName, char const *cacheDir,
DrsCpuScript.h42 bool init(char const *resName, char const *cacheDir,
/frameworks/rs/
DrsScriptC.cpp262 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()
DrsScriptC.h58 bool runCompiler(Context *rsc, const char *resName, const char *cacheDir,
Drs.spec475 param const char * resName
/frameworks/rs/rsov/driver/
DrsovScript.cpp95 std::vector<uint32_t> compileBitcode(const char *resName, const char *cacheDir, in compileBitcode() argument
104 bcFileName.append(resName); in compileBitcode()
120 spvFileName.append(resName); in compileBitcode()
124 modifiedBCFileName.append("/").append(resName).append("_modified.bc"); in compileBitcode()
761 bool rsovScriptInit(const Context *rsc, ScriptC *script, char const *resName, in rsovScriptInit() argument
769 ALOGE("Could not extract metadata from bitcode from %s", resName); in rsovScriptInit()
775 compileBitcode(resName, cacheDir, (const char *)bitcode, bitcodeSize, modifiedBitcode); in rsovScriptInit()
788 std::string modifiedResName(resName); in rsovScriptInit()
802 ALOGD("Failed creating an RSoV script for %s", resName); in rsovScriptInit()
806 script, resName, cacheDir, bitcode, bitcodeSize, flags)); in rsovScriptInit()
[all …]
DrsovScript.h156 char const *resName, char const *cacheDir,
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/
DExternalResources.java138 private <T> void put(ResName resName, TypedResource<T> value) { in put() argument
141 resourceIds.put(resName, id); in put()
/frameworks/rs/driver/
DrsdBcc.cpp39 char const *resName, in rsdScriptInit() argument
46 dc->mCpuRef->createScript(script, resName, cacheDir, bitcode, in rsdScriptInit()
DrsdBcc.h24 char const *resName, char const *cacheDir,
/frameworks/base/core/java/android/content/res/
DResourcesImpl.java756 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/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/
DExternalResources.java224 private <T> void put(ResName resName, TypedResource<T> value) { in put() argument
227 mResourceIds.put(resName, id); in put()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp7491 resource_name resName; in print() local
7492 if (this->getResourceName(resID, true, &resName)) { in print()
7495 if (resName.type8 != NULL) { in print()
7496 type8 = String8(resName.type8, resName.typeLen); in print()
7498 type8 = String8(resName.type, resName.typeLen); in print()
7500 if (resName.name8 != NULL) { in print()
7501 name8 = String8(resName.name8, resName.nameLen); in print()
7503 name8 = String8(resName.name, resName.nameLen); in print()
7507 CHAR16_TO_CSTR(resName.package, resName.packageLen), in print()
7578 resource_name resName; in print() local
[all …]
/frameworks/base/core/java/android/app/
DLoadedApk.java1083 @Override public URL getResource(String resName) { in getResource() argument
1085 return getParent().getResource(resName); in getResource()
1088 @Override public Enumeration<URL> getResources(String resName) throws IOException { in getResources() argument
1090 return getParent().getResources(resName); in getResources()
1093 @Override public InputStream getResourceAsStream(String resName) { in getResourceAsStream() argument
1095 return getParent().getResourceAsStream(resName); in getResourceAsStream()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java3219 String resName = wallpaper.name.substring(4); in restoreNamedResourceLocked() local
3222 int colon = resName.indexOf(':'); in restoreNamedResourceLocked()
3224 pkg = resName.substring(0, colon); in restoreNamedResourceLocked()
3228 int slash = resName.lastIndexOf('/'); in restoreNamedResourceLocked()
3230 ident = resName.substring(slash+1); in restoreNamedResourceLocked()
3235 type = resName.substring(colon+1, slash); in restoreNamedResourceLocked()
3246 resId = r.getIdentifier(resName, null, null); in restoreNamedResourceLocked()
3269 Slog.v(TAG, "Restored wallpaper: " + resName); in restoreNamedResourceLocked()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp124 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/core/java/com/android/internal/widget/
DViewPager.java939 String resName;
941 resName = getResources().getResourceName(getId());
943 resName = Integer.toHexString(getId());
948 " Pager id: " + resName +

12