Home
last modified time | relevance | path

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

/system/vold/
DVolumeManager.cpp865 bool VolumeManager::isAsecInDirectory(const char *dir, const char *asecName) const { in isAsecInDirectory()
874 if (!faccessat(dirfd, asecName, F_OK, AT_SYMLINK_NOFOLLOW)) { in isAsecInDirectory()
887 char *asecName; in findAsec() local
889 if (asprintf(&asecName, "%s.asec", id) < 0) { in findAsec()
895 if (isAsecInDirectory(Volume::SEC_ASECDIR_INT, asecName)) { in findAsec()
897 } else if (isAsecInDirectory(Volume::SEC_ASECDIR_EXT, asecName)) { in findAsec()
900 free(asecName); in findAsec()
909 int written = snprintf(asecPath, asecPathLen, "%s/%s", dir, asecName); in findAsec()
912 free(asecName); in findAsec()
917 free(asecName); in findAsec()