Lines Matching full:c_str
47 mDevPath = StringPrintf("/dev/block/vold/%s", getId().c_str());
66 if (!access(legacyPath.c_str(), R_OK | X_OK)
67 && access(securePath.c_str(), R_OK | X_OK)) {
68 if (rename(legacyPath.c_str(), securePath.c_str())) {
73 if (TEMP_FAILURE_RETRY(mkdir(securePath.c_str(), 0700))) {
113 mRawPath = StringPrintf("/mnt/media_rw/%s", stableName.c_str());
115 mFuseDefault = StringPrintf("/mnt/runtime/default/%s", stableName.c_str());
116 mFuseRead = StringPrintf("/mnt/runtime/read/%s", stableName.c_str());
117 mFuseWrite = StringPrintf("/mnt/runtime/write/%s", stableName.c_str());
121 setPath(StringPrintf("/storage/%s", stableName.c_str()));
126 if (fs_prepare_dir(mRawPath.c_str(), 0700, AID_ROOT, AID_ROOT)) {
146 if (fs_prepare_dir(mFuseDefault.c_str(), 0700, AID_ROOT, AID_ROOT) ||
147 fs_prepare_dir(mFuseRead.c_str(), 0700, AID_ROOT, AID_ROOT) ||
148 fs_prepare_dir(mFuseWrite.c_str(), 0700, AID_ROOT, AID_ROOT)) {
160 "-U", std::to_string(getMountUserId()).c_str(),
162 mRawPath.c_str(),
163 stableName.c_str(),
171 "-U", std::to_string(getMountUserId()).c_str(),
172 mRawPath.c_str(),
173 stableName.c_str(),
216 rmdir(mFuseDefault.c_str());
217 rmdir(mFuseRead.c_str());
218 rmdir(mFuseWrite.c_str());
219 rmdir(mRawPath.c_str());