Home
last modified time | relevance | path

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

/system/vold/
DVolumeManager.cpp1570 bool VolumeManager::isAsecInDirectory(const char *dir, const char *asecName) const { in isAsecInDirectory()
1578 bool ret = (fstatat(dirfd, asecName, &sb, AT_SYMLINK_NOFOLLOW) == 0) in isAsecInDirectory()
1588 char *asecName; in findAsec() local
1596 if (asprintf(&asecName, "%s.asec", id) < 0) { in findAsec()
1602 if (isAsecInDirectory(VolumeManager::SEC_ASECDIR_INT, asecName)) { in findAsec()
1604 } else if (isAsecInDirectory(VolumeManager::SEC_ASECDIR_EXT, asecName)) { in findAsec()
1607 free(asecName); in findAsec()
1616 int written = snprintf(asecPath, asecPathLen, "%s/%s", dir, asecName); in findAsec()
1619 free(asecName); in findAsec()
1624 free(asecName); in findAsec()