Home
last modified time | relevance | path

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

/system/vold/
DVolumeManager.cpp1576 bool VolumeManager::isAsecInDirectory(const char *dir, const char *asecName) const { in isAsecInDirectory()
1584 bool ret = (fstatat(dirfd, asecName, &sb, AT_SYMLINK_NOFOLLOW) == 0) in isAsecInDirectory()
1594 char *asecName; in findAsec() local
1602 if (asprintf(&asecName, "%s.asec", id) < 0) { in findAsec()
1608 if (isAsecInDirectory(VolumeManager::SEC_ASECDIR_INT, asecName)) { in findAsec()
1610 } else if (isAsecInDirectory(VolumeManager::SEC_ASECDIR_EXT, asecName)) { in findAsec()
1613 free(asecName); in findAsec()
1622 int written = snprintf(asecPath, asecPathLen, "%s/%s", dir, asecName); in findAsec()
1625 free(asecName); in findAsec()
1630 free(asecName); in findAsec()