Home
last modified time | relevance | path

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

/system/vold/
DVolumeManager.cpp952 bool VolumeManager::isAsecInDirectory(const char *dir, const char *asecName) const { in isAsecInDirectory()
961 if (!faccessat(dirfd, asecName, F_OK, AT_SYMLINK_NOFOLLOW)) { in isAsecInDirectory()
974 char *asecName; in findAsec() local
982 if (asprintf(&asecName, "%s.asec", id) < 0) { in findAsec()
988 if (isAsecInDirectory(Volume::SEC_ASECDIR_INT, asecName)) { in findAsec()
990 } else if (isAsecInDirectory(Volume::SEC_ASECDIR_EXT, asecName)) { in findAsec()
993 free(asecName); in findAsec()
1002 int written = snprintf(asecPath, asecPathLen, "%s/%s", dir, asecName); in findAsec()
1005 free(asecName); in findAsec()
1010 free(asecName); in findAsec()