Lines Matching refs:c_str

50     mDevPath = StringPrintf("/dev/block/vold/%s", getId().c_str());  in PublicVolume()
69 if (!access(legacyPath.c_str(), R_OK | X_OK) && access(securePath.c_str(), R_OK | X_OK)) { in initAsecStage()
70 if (rename(legacyPath.c_str(), securePath.c_str())) { in initAsecStage()
75 if (TEMP_FAILURE_RETRY(mkdir(securePath.c_str(), 0700))) { in initAsecStage()
119 mRawPath = StringPrintf("/mnt/media_rw/%s", stableName.c_str()); in doMount()
121 mFuseDefault = StringPrintf("/mnt/runtime/default/%s", stableName.c_str()); in doMount()
122 mFuseRead = StringPrintf("/mnt/runtime/read/%s", stableName.c_str()); in doMount()
123 mFuseWrite = StringPrintf("/mnt/runtime/write/%s", stableName.c_str()); in doMount()
124 mFuseFull = StringPrintf("/mnt/runtime/full/%s", stableName.c_str()); in doMount()
128 setPath(StringPrintf("/storage/%s", stableName.c_str())); in doMount()
133 if (fs_prepare_dir(mRawPath.c_str(), 0700, AID_ROOT, AID_ROOT)) { in doMount()
160 if (fs_prepare_dir(mFuseDefault.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount()
161 fs_prepare_dir(mFuseRead.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount()
162 fs_prepare_dir(mFuseWrite.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount()
163 fs_prepare_dir(mFuseFull.c_str(), 0700, AID_ROOT, AID_ROOT)) { in doMount()
176 "-U", std::to_string(getMountUserId()).c_str(), in doMount()
178 mRawPath.c_str(), in doMount()
179 stableName.c_str(), in doMount()
189 "-U", std::to_string(getMountUserId()).c_str(), in doMount()
190 mRawPath.c_str(), in doMount()
191 stableName.c_str(), in doMount()
240 rmdir(mFuseDefault.c_str()); in doUnmount()
241 rmdir(mFuseRead.c_str()); in doUnmount()
242 rmdir(mFuseWrite.c_str()); in doUnmount()
243 rmdir(mFuseFull.c_str()); in doUnmount()
244 rmdir(mRawPath.c_str()); in doUnmount()