Home | History | Annotate | Download | only in installd

Lines Matching defs:source

2 ** Copyright 2008, The Android Open Source Project
469 auto source = (flags & FLAG_STORAGE_DE) ? ce_path : de_path;
473 << " is not active; migrating from " << source;
477 if (rename(source.c_str(), target.c_str()) != 0) {
478 return error("Failed to rename " + source + " to " + target);
768 // Data source may not exist for all users; that's okay
771 LOG(INFO) << "Missing source " << from_ce;
2290 std::string source;
2294 std::getline(in, source, ' ');
2300 LOG(DEBUG) << "Found storage mount " << source << " at " << target;
2301 mStorageMounts[source] = target;
2306 if (source.compare(0, 11, "/dev/block/") == 0) {
2308 if (quotactl(QCMD(Q_GETQUOTA, USRQUOTA), source.c_str(), 0,
2310 LOG(DEBUG) << "Found quota mount " << source << " at " << target;
2311 mQuotaReverseMounts[target] = source;
2315 if (quotactl(QCMD(Q_QUOTAON, USRQUOTA), source.c_str(), QFMT_VFS_V1, nullptr) != 0
2317 PLOG(ERROR) << "Failed to enable USRQUOTA on " << source;
2319 if (quotactl(QCMD(Q_QUOTAON, GRPQUOTA), source.c_str(), QFMT_VFS_V1, nullptr) != 0
2321 PLOG(ERROR) << "Failed to enable GRPQUOTA on " << source;