Home
last modified time | relevance | path

Searched refs:origName (Results 1 – 3 of 3) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuExecutable.cpp255 static void* loadAsCopy(const char *origName, std::string newName) { in loadAsCopy() argument
258 int fd = TEMP_FAILURE_RETRY(open(origName, O_RDONLY | O_CLOEXEC)); in loadAsCopy()
260 ALOGE("Unable to open original file %s: %s", origName, strerror(errno)); in loadAsCopy()
272 int r = copyFile(newName.c_str(), origName); in loadAsCopy()
274 ALOGE("Could not create copy %s -> %s", origName, newName.c_str()); in loadAsCopy()
286 void* SharedLibraryUtils::loadSOHelper(const char *origName, const char *cacheDir, in loadSOHelper() argument
299 if (access(origName, F_OK) != 0) { in loadSOHelper()
304 if (LoadedLibraries.find(origName) == LoadedLibraries.end()) { in loadSOHelper()
308 loaded = dlopen(origName, RTLD_NOW | RTLD_LOCAL); in loadSOHelper()
310 LoadedLibraries.insert(origName); in loadSOHelper()
[all …]
DrsCpuExecutable.h70 static void *loadSOHelper(const char *origName, const char *cacheDir,
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java11080 final String origName = pkg.mAdoptPermissions.get(i);
11081 final PackageSetting orig = mSettings.getPackageLPr(origName);
11084 Slog.i(TAG, "Adopting permissions from " + origName + " to "
11086 mSettings.mPermissions.transferPermissions(origName, pkg.packageName);